A powerful, asynchronous IP analysis tool that provides comprehensive information about IP addresses, including geolocation, DNS records, WHOIS data, and security intelligence from multiple sources.
- 📍 Geolocation Analysis: Country, city, region, timezone, and coordinates
- 🔍 DNS Record Retrieval: A, AAAA, MX, NS, TXT, PTR, and SOA records
- 📋 WHOIS Information: Registration details, nameservers, and organization info
- 🛡️ Security Checks: Integration with AbuseIPDB, VirusTotal, and Shodan
- 📊 Rich Console Output: Beautiful, formatted console display
- 📑 Multiple Export Formats: JSON, CSV, and HTML reports
- ⚡ Asynchronous Operations: Fast, concurrent data gathering
- 🎯 Detailed Reporting: Comprehensive analysis with visualizations
- Clone the repository:
git clone https://github.com/Hamed233/Advanced-IP-Analyzer-Tool.git
cd Advanced-IP-Analyzer-Tool- Install required packages:
pip install -r requirements.txt- Create a
.envfile from the template:
cp .env.example .env- Add your API keys to the
.envfile:
ABUSEIPDB_API_KEY=your_key_here
VIRUSTOTAL_API_KEY=your_key_here
SHODAN_API_KEY=your_key_herepython ip_analyzer.py 8.8.8.8python ip_analyzer.py 8.8.8.8 -v -r -e html-v, --verbose: Enable verbose output-r, --report: Generate detailed report-e, --export {json,csv,html}: Export results in specified format
Here's an example analysis of an IP address:
IP Analysis Report
==================================================
Basic Information
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Property ┃ Value ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ IP │ 197.46.103.160 │
│ Hostname │ host-197.46.103.160.tedata.net │
│ Timestamp │ 2024-12-04 22:54:19 │
└───────────┴────────────────────────────────┘
Geolocation Information
┏━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━┓
┃ Property ┃ Value ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━┩
│ Country │ Egypt │
│ City │ Cairo │
│ Region │ Cairo Governorate │
│ ISP │ TE Data │
│ Timezone │ Africa/Cairo │
│ Coordinates │ 30.0588, 31.2268 │
│ Organization │ TE-AS │
│ AS │ AS8452 │
└──────────────┴───────────────────┘
WHOIS Information
┏━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Property ┃ Value ┃
┡━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Registrar │ GoDaddy.com, LLC │
│ Name Servers │ ['NS1.TEDATA.NET', 'NS2.TEDATA.NET'] │
│ Organization │ Domains By Proxy, LLC │
│ Emails │ abuse@godaddy.com │
└─────────────────┴──────────────────────────────────────┘
Core dependencies:
requests: HTTP requestspython-whois: WHOIS lookupsdnspython: DNS queriesaiohttp: Async HTTPrich: Console formatting- See
requirements.txtfor full list
For full functionality, obtain API keys from:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Hamed Esam
- Twitter: @Hamed__Esam
- Website: albashmoparmeg.com
- GitHub: @Hamed233
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to all the API providers
- Community contributors and feedback
- Python async community