Skip to content

carlospolop-node-apis/otx_alientvautl_checkIP_and_Domain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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);
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published