1.0.0 • Published 3 years ago

ismalicious v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Installation

npm

npm i ismalicious

github

git clone https://github.com/XDumpy/ismalicious

Usage

//Requirement Importer
const IsMalicious =  require("ismalicious")

//Main
IsMalicious.url("https://www.npmjs.com", function(callback){
	console.log(callback)
})

IsMalicious.ip("70.32.94.216", function(callback){
	console.log(callback)
})

API

url(url, callback)

returns result if URL is malicious or not.

url

url to be scanned.

callback

To recieve module callback/result.

ip(ip, callback)

returns result if IP is malicious or not

ip

ip to be scanned.

callback

To recieve module callback/result.

file(file_path, virustotal_api, callback)

returns result if IP is malicious or not

file_path

The path of file to be scanned.

virustotal_api

Your Virustotal API that will be used in scanning, get it here.

callback

To recieve module callback/result.

License

MIT © XDumpy