https://github.com/micheleriva/shoulditrust
🤔Check if an IP address is safe or not!
https://github.com/micheleriva/shoulditrust
blacklist blacklist-ips hack hacking internet-security-protocols ip nodejs ping security security-tools tcp
Last synced: about 2 months ago
JSON representation
🤔Check if an IP address is safe or not!
- Host: GitHub
- URL: https://github.com/micheleriva/shoulditrust
- Owner: micheleriva
- License: mit
- Created: 2018-08-10T11:26:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-10T12:04:10.000Z (almost 8 years ago)
- Last Synced: 2025-02-07T12:46:43.402Z (over 1 year ago)
- Topics: blacklist, blacklist-ips, hack, hacking, internet-security-protocols, ip, nodejs, ping, security, security-tools, tcp
- Language: JavaScript
- Homepage:
- Size: 265 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🤔 Should I Trust

Check if an IP address is safe or not
Highly inspired from [jgamblin](https://github.com/jgamblin) work: [Is this IP bad?](https://github.com/jgamblin/isthisipbad)
# Installation
Install this script globally using yarn:
```bash
$ yarn global add shoulditrust
```
or npm:
```bash
$ npm install -g shoulditrust
```
# Usage
Simply check any valid IP address:
```bash
$ shoulditrust # => 0.0.0.0 is safe.
```
Remember to perform periodically database updates:
```bash
$ shoulditrust --update # or shoulditrust -u
```
# Contributing
There are many way you can contribute to this project:
- Adding new blacklist service url
- Improving the [regex](https://github.com/micheleriva/shoulditrust/blob/master/src/update.js#L52) used to extract IP addreses
- Propising new features
# License
[MIT](/LICENSE.md)