kristuff / abuseipdb-cli Goto Github PK
View Code? Open in Web Editor NEWA CLI tool to check ✔️, report 🚩 IP addresses, download blacklist 🚫 with AbuseIPDB API v2
Home Page: https://kristuff.fr/projects/abuseipdbcli
License: MIT License
A CLI tool to check ✔️, report 🚩 IP addresses, download blacklist 🚫 with AbuseIPDB API v2
Home Page: https://kristuff.fr/projects/abuseipdbcli
License: MIT License
Hello,
Nice job! But your documentation is off: kristuff.fr is inaccessible :-(
Hello,
Thanks for the project :)
Is there a way to bulk report when integrated with fail2ban ?
It would help if we had a way, using banaction, to tell abuseipdb-cli to fill a csv file, then we only would have to send it once a day using cron.
When there is a report each time there's a ban, i often get a 429 error.
Thanks.
Hello, I have been using your tool for a year without problems, but since this morning I receive an error "An unexpected error occurred." and there is no way to make it work.
Any ideas?
Thank you so much.
Is the tool compatible with PHP 8.1?
vagrant:~/ $ php -v [16:46:04]
PHP 8.1.15 (cli) (built: Feb 7 2023 11:30:51) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.15, Copyright (c) Zend Technologies
with Zend OPcache v8.1.15, Copyright (c), by Zend Technologies
vagrant:~/ $ abuseipdb --version [16:46:24]
_ ___ ___ ___ ___
__ _| |__ _ _ ___ ___|_ _| _ \ \| _ )
/ _` | '_ \ || (_-</ -_)| || _/ |) | _ \
\__,_|_.__/\_,_/__/\___|___|_| |___/|___/
Kristuff/AbuseIPDB Client version: v0.9.19
Kristuff/AbuseIPDB Core version: v1.1
Released under the MIT licence
Made with ♥ in France
© 2020-2022 Kristuff (https://github.com/kristuff)
Running the CLI gives an error:
vagrant:~/ $ abuseipdb --check 45.135.17.57 [16:46:06]
► Check IP: 45.135.17.57
PHP Fatal error: Uncaught Error: Call to undefined function Kristuff\Mishell\mb_strlen() in /usr/lib/abuseipdb-client/vendor/kristuff/mishell/lib/ShellColoredPrinter.php:359
Stack trace:
#0 /usr/lib/abuseipdb-client/src/CheckTrait.php(42): Kristuff\Mishell\ShellColoredPrinter::pad()
#1 /usr/lib/abuseipdb-client/src/AbuseIPDBClient.php(600): Kristuff\AbuseIPDB\AbuseIPDBClient::printCheckScore()
#2 [internal function]: Kristuff\AbuseIPDB\AbuseIPDBClient::checkIP()
#3 /usr/lib/abuseipdb-client/src/AbstractClient.php(99): call_user_func()
#4 /usr/lib/abuseipdb-client/src/AbuseIPDBClient.php(51): Kristuff\AbuseIPDB\AbstractClient::parseCommand()
#5 /usr/lib/abuseipdb-client/bin/abuseipdb(63): Kristuff\AbuseIPDB\AbuseIPDBClient::start()
#6 {main}
thrown in /usr/lib/abuseipdb-client/vendor/kristuff/mishell/lib/ShellColoredPrinter.php on line 359
I tried mishell's example separately:
vagrant:mishell/ (master✗) $ php demo/index.php
...
Kristuff/Mishell v1.2
Made with ♥ in France
© 2017-2021 Kristuff (https://github.com/kristuff))
Interactive sample
PHP Fatal error: Uncaught Error: Call to undefined function Kristuff\Mishell\mb_strlen() in /home/vagrant/mishell/lib/ShellTablePrinter.php:152
Stack trace:
#0 /home/vagrant/mishell/demo/index.php(113): Kristuff\Mishell\ShellTablePrinter::tableRowSeparator()
#1 /home/vagrant/mishell/demo/index.php(13): printIndex()
#2 /home/vagrant/mishell/demo/index.php(7): goIndex()
#3 {main}
thrown in /home/vagrant/mishell/lib/ShellTablePrinter.php on line 152
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.