Skip to content

This Python script provides functionalities to gather information about IP addresses using various APIs, including geolocation, WHOIS lookup, and abuse checking.

Notifications You must be signed in to change notification settings

ElBu3no/whois_abuseipdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

IP Info Consultation Tool

This Python script provides functionalities to gather information about IP addresses using various APIs, including geolocation, WHOIS lookup, and abuse checking.

Features

  • Geolocation Consultation: Retrieve geolocation information for a given IP address.
  • AbuseIPDB Consultation: Check if an IP address has been listed as abusive on AbuseIPDB.
  • WHOIS Consultation: Obtain WHOIS information for an IP address.
  • IPinfo Consultation: Gather general information about an IP address using the IPinfo API.

Requirements

  • Python 3
  • Necessary Python libraries: requests, whois

Usage

  1. Ensure you have Python 3 installed on your system.
  2. Install the required Python libraries using pip: pip install requests whois
  3. Obtain API keys for the AbuseIPDB API and IPinfo API.
  4. Create a file named ips.txt containing the list of IP addresses you want to analyze, with each IP address on a new line.
  5. Replace the placeholder API keys (XXXXX) with your actual API keys in the script.
  6. Run the script using the following command: python whois_abuseipdb.py
  7. View the results printed in the console.

Notes

  • Make sure to handle API rate limits and usage restrictions according to the terms of service of each API provider.
  • For more information about each API and its usage, refer to the respective documentation:
  • AbuseIPDB API Documentation
  • IPinfo API Documentation

About

This Python script provides functionalities to gather information about IP addresses using various APIs, including geolocation, WHOIS lookup, and abuse checking.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages