mikebanks / abuseipdbscan Goto Github PK
View Code? Open in Web Editor NEWPython Scanner for passing IP addresses and utilizing AbuseIPdb API to find bad IPs
Python Scanner for passing IP addresses and utilizing AbuseIPdb API to find bad IPs
PR #9
How do I get a table like in your report examples with bulk IP checks?
The outputs I'm getting are 'ipAddress': '0.0.0.0', 'isPublic': True
Which I can only get to display in Excel as 'ipAddress': '0.0.0.0' | 'isPublic': True
As opposed to
'ipAddress' | 'isPublic':
'0.0.0.0' | True
I can't review large results in the current format so I must be doing something wrong.
Hello,
I detected a bug in this tool using a AbuseIPDB API 2.0
if I execute the following command I get the following error and the output file is empty
this error only happens if the IP file contains more than 5 consecutive ips
/usr/bin/python3 /AbuseIPDB.py -f list-ips.txt -c export.csv
Traceback (most recent call last):
File "/AbuseIPDB.py", line 283, in
main()
File "/AbuseIPDB.py", line 268, in main
check_file(args.file, days)
File "/AbuseIPDB.py", line 171, in check_file
check_ip(file_item, days)
File "/AbuseIPDB.py", line 157, in check_ip
get_report(logs)
File "/AbuseIPDB.py", line 223, in get_report
keys = logs[0].keys()
IndexError: list index out of range
Please , Can you check it out?
218.4.177.21 shows as reported 118 times online but when running through the script it says:
218.4.177.21: No Abuse Reports
10 other IPs run at same time reported correctly. Using latest script but w/ Python 2.7.15
I provided a list of IPs and the script works great for the most part but for some IPs it just returns a "JSON format error" (one line for each IP skipped, some times 20+ in a row but continues fine after that).
Not sure if it's something on AbuseIPDB's end so just submitting in case someone was aware of the issue or a workaround.
Hello,
I have detected using this script and the API V2 that with the CSV export, the content that is exported is not consistent on every line so the CSV exported is not very helpful.
text-export.txt
example of inconsistent CSV content.
BR - 1H : (318)
Protection Against DDoS WordPress plugin :
""odzyskiwanie danych help-dysk""
IP Address Ranges by Country : BR
NAME ASN : ASN264496
IP : 131.255.225.238
CIDR : 131.255.225.0/24
PREFIX COUNT : 8
UNIQUE IP COUNT : 2048
WYKRYTE ATAKI Z ASN264496 :
1H - 1
3H - 1
6H - 1
12H - 1
24H - 1
Can you check it out? I think it's a bug.
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.