1.0.0 • Published 4 years ago

otx_alientvautl_checkip_and_domain v1.0.0

Weekly downloads
6
License
ISC
Repository
github
Last release
4 years ago

otx_alientvautl_checkIP_and_Domain

Check in Node for malicious IPs and domains in OTX Alientvault

Install

npm install otx_alientvautl_checkIP_and_Domain

How to use

const otxalient = require('otx_alientvautl_checkIP_and_Domain');
otxalient.setApiKey("<API KEY>");

// A promise will be returned
ip = "8.8.8.8";
otxalient.checkIP(ip).then(function(result){ 
        console.log(result);
    }, function(err) {
        console.log(err);
});

domain = "bandroxoma.com"
otxalient.checkDomain(domain).then(function(result){ 
        console.log(result);
    }, function(err) {
        console.log(err);
});