The IP Reputation Checker is a Python script designed to investigate the reputation of IP addresses in bulk using three different services: AbuseIPDB, VirusTotal, and IBM X-Force. It provides valuable insights into an IP address's history, categorization, and risk factors, helping users assess the potential threat associated with a given IP.
- AbuseIPDB Investigation: Retrieve information and reports on IP addresses from AbuseIPDB.
- VirusTotal Investigation: Check IP addresses against VirusTotal for malicious indicators.
- IBM X-Force Investigation: Perform risk analysis and WHOIS lookup using IBM X-Force.
The first time you run the script, you will be prompted to provide API keys for each service. Without these keys, the script won't be able to function. Follow the instructions during the setup process to input the necessary API keys.
Ensure you have the following requirements installed:
- Python 3.x
- Required Python packages (install via
pip install -r requirements.txt):- requests
- At least one API key from AbuseIPDB, VirusTotal or IBM X-Force
- Open a terminal window.
- Clone the repository:
git clone https://github.com/your-username/IP-Reputation-Checker.git
- Navigate to the project directory:
cd IP-Reputation-Checker - Install the required packages:
pip install -r requirements.txt
- Download and install Python 3.x from python.org.
- Download the ZIP file of the repository and extract it to a folder.
- Open Command Prompt or PowerShell and navigate to the project directory:
cd path\to\IP-Reputation-Checker
- Install the required packages:
pip install -r requirements.txt
- Navigate to the project directory:
cd /path/to/IP-Reputation-Checker - Open IPs_to_Check.txt with a text editor like nano:
nano IPs_to_Check.txt
- Paste the IP addresses you want to check
- Save and exit IPs_to_Check.txt
- Run the script with the following command:
python3 IpReputationChecker.py
- Follow the on-screen prompts to choose the IP investigation service and provide API keys.
- The script will process the IP addresses specified in the 'IPs_to_Check.txt' file and display the results.
- Open the script folder.
- Open the file IPs_to_Check.txt with a text editor.
- Paste the IP addresses you want to check.
- Save and close "IPs_to_Check.txt"
- Open Command Prompt or PowerShell and navigate to the project directory:
cd path\to\IP-Reputation-Checker
- Run the script with the following command:
python.exe .\IpReputationChecker.py - Follow the on-screen prompts to choose the IP investigation service and provide API keys.
- The script will process the IP addresses specified in the 'IPs_to_Check.txt' file and display the results.
-
Change AbuseIPDB API Key: If you need to update your AbuseIPDB API key, run the following command in the terminal:
python IpReputationChecker.py -cak or python IpReputationChecker.py --changeabusekey
-
Change VirusTotal API Key: If you need to update your VirusTotal API key, run the following command in the terminal:
python IpReputationChecker.py -cvk or python IpReputationChecker.py --changeviruskey
-
Change IBM X-Force API Key: If you need to update your IBM X-Force API key, run the following command in the terminal:
python IpReputationChecker.py -cik or python IpReputationChecker.py --changeibmkey
This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the license terms. Contributions are welcome!