Skip to content

micheleriva/shoulditrust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤔 Should I Trust

Check if an IP address is safe or not

Highly inspired from jgamblin work: Is this IP bad?

Installation

Install this script globally using yarn:

$ yarn global add shoulditrust

or npm:

$ npm install -g shoulditrust

Usage

Simply check any valid IP address:

$ shoulditrust <ip-address> # => 0.0.0.0 is safe.

Remember to perform periodically database updates:

$ shoulditrust --update # or shoulditrust -u

Contributing

There are many way you can contribute to this project:

  • Adding new blacklist service url
  • Improving the regex used to extract IP addreses
  • Propising new features

License

MIT