Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-virustotal

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-virustotal - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

2

package.json
{
"name": "node-virustotal",
"version": "0.2.7",
"version": "0.2.8",
"description": "An implementation of the Virustotal API for Node.js",

@@ -5,0 +5,0 @@ "main": "code.js",

@@ -269,2 +269,8 @@ # node-virustotal

### makePrivateConnection.setKey()
This function sets the apikey that the connection is using. It takes one parameter: the API key. It returns the connection object.
### makePrivateConnection.getKey()
This function returns the API key that the connection is using. It has no parameters.
### makePrivateConnection.publishUrlComment()

@@ -288,2 +294,19 @@ The interaction with this version of publishUrlComment is identical to the interaction with the same method in the public and honeypot API. The only difference is a lack of task spooling, so it has a chance of taking less than 15 seconds to run.

### makePrivateConnection example
```
var con = vt.makePrivateConnection();
con.setKey("e2513a75f92a4169e8a47b4ab1df757f83ae45008b4a8a49903450c8402add4d");
console.log(con.getKey());
con.getIP4Report("90.156.201.27",function(data){
console.dir(data);
}, function(err){
console.error(err);
});
con.getDomainReport("wikionemore.com",function(data){
console.dir(data);
}, function(err){
console.error(err);
});
```
## Security And Legal Notes

@@ -290,0 +313,0 @@ The Virustotal API supports both HTTP and HTTPS. This API only uses HTTPS.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc