Code Monkey home page Code Monkey logo

abuseipdbscan's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

abuseipdbscan's Issues

Tabular Format

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.

Bug with API 2.0 and CSV export

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?

IP returning abuse reports via web but not API

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

JSON format error for some IPs

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.

With CSV export, the content of a column is different in each line.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.