GithubHelp home page GithubHelp logo

stanfrbd / abuseipdbscan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mikebanks/abuseipdbscan

0.0 1.0 0.0 49 KB

Python Scanner for passing IP addresses and utilizing AbuseIPdb API to find bad IPs

Python 100.00%

abuseipdbscan's Introduction

AbuseIPDB Scanner

This is a python script that will parse IP addresses from files or manually interact with AbuseIPDB API. It will return the information about the IP into standard out in various outputs.

Installation

git clone https://github.com/mikebanks/AbuseIPdbSCAN.git

Requirements

pip3 install -r requirements.txt

AbuseIPDB API Key

In order to use the script you will need an API key. The AbuseIPDB API key information can be found here: https://www.abuseipdb.com/api.html (deprecated, V2: https://docs.abuseipdb.com/)

Usage

Short Form Long Form Description
-b --block lookup an IP block
-c --csv outputs items in comma seperated values
-d --days take in the number of days in history to go back for IP reports. Default: 30 Days
-f --file parses IP Addresses from a single given file
-i --ip lookup a single IP address
-j --json outputs items in json format (reccomended)
-l --jsonl outputs items in jsonl format (reccomended)
-t --tsv outputs items in tab seperated values (Default)
-x --translate by default categories are numbers, with this flag it will convert them to text
-v --version displays version information
-cc --countrycode select a country code to check IP range

Examples

  • To search for reports on an IP address:

python3 AbuseIPDB.py -i 1.1.1.1

  • To search for reports on an IP Block:

python3 AbuseIPDB.py -b 1.1.1.0/24

  • To search a whole country IP range and translate the categories to names:

python3 AbuseIPDB.py -cc nz -x

abuseipdbscan's People

Contributors

mikebanks avatar ppavel avatar ahmetuludag avatar

Watchers

James Cloos avatar

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.