Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/onyphe/cli
Official ONYPHE Command Line Interface & ONYPHE Processing Pipeline to call ONYPHE APIs
https://github.com/onyphe/cli
Last synced: about 6 hours ago
JSON representation
Official ONYPHE Command Line Interface & ONYPHE Processing Pipeline to call ONYPHE APIs
- Host: GitHub
- URL: https://github.com/onyphe/cli
- Owner: onyphe
- License: bsd-3-clause
- Created: 2018-10-30T11:08:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-31T09:14:19.000Z (17 days ago)
- Last Synced: 2024-10-31T10:19:45.371Z (17 days ago)
- Language: Perl
- Homepage: https://www.onyphe.io/docs
- Size: 283 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
- awesome-ip-search-engines - Onyphe CLI
README
1. Installating dependencies for Ubuntu/Debian/Kali systems
sudo apt-get install cpanminus libmojolicious-perl libtie-ixhash-perl
sudo apt-get install liblwp-protocol-https-perl libjson-xs-perl libfile-slurp-perl
sudo apt-get install libregexp-ipv6-perl libtext-csv-xs-perl
sudo cpanm -n Config::INI::Tiny Text::ParseWords Net::IPv4Addr Regexp::IPv42. Installing dependencies for all other systems
Install your local cpanminus ditribution and run the following:
sudo cpanm -n Mojolicious Config::INI::Tiny Tie::IxHash LWP::Protocol::https JSON::XS
sudo cpanm -n Text::ParseWords File::Slurp
sudo cpanm -n Regexp::IPv4 Text::CSV_XS Net::IPv4Addr Regexp::IPv63. Configure ONYPHE Command Line Interface settings
echo 'api_endpoint = https://www.onyphe.io/api/v2' > ~/.onyphe.ini
echo 'api_key = XXX' >> ~/.onyphe.ini4. Install ONYPHE Command Line Interface
perl Build.PL
./Build && ./Build test
sudo ./Build install5. With an Unrated API license
echo 'api_unrated_endpoint = https://www.onyphe.io/unrated/api/v2' > ~/.onyphe.ini
echo 'api_unrated_email = [email protected]' >> ~/.onyphe.ini
echo 'api_key = XXX' >> ~/.onyphe.ini6. You're done
onyphe -help
onyphe -versiononyphe -search 'protocol:ssh | uniq domain | addcount'