Checks the reputation of a domain or IP address using multiple services, including VirusTotal, AbuseIPDB, SecurityTrails, and DNS-based blacklists (DNSBLs).
-
Clone the repository:
git clone https://github.com/doomygloom/BadRep.git cd BadRep
-
Install Requirements:
pip install requests dnspython argparse
BadRep
uses the following APIs:
- VirusTotal
- AbuseIPDB
- SecurityTrails (Optional for historical DNS)
Replace the placeholders in the script with your actual API keys:
VIRUSTOTAL_API_KEY = "your_virustotal_api_key"
ABUSEIPDB_API_KEY = "your_abuseipdb_api_key"
SECURITYTRAILS_API_KEY = "your_securitytrails_api_key"
python BadRep.py <target> [options]
<target>
: The domain or IP address to analyze.
-n
,--no-api
: Disable all API-based checks.
-
Check a domain/IP with full analysis (APIs required):
python BadRep.py example.com
-
Check without API (DNSBL only):
python BadRep.py 192.168.1.1 --no-api
The script will provide the following information:
- Resolved IP address (if applicable)
- Reputation results from VirusTotal and AbuseIPDB (if APIs are enabled)
- DNS-based blacklist status
- Historical DNS records (if APIs are enabled)