IpGeo is a python tool to extract IP addresses from captured network traffic file (pcap/pcapng) and generate csv report containing details about the geolocation of each ip in the packets.
The report contains:
- Country:
- Country Code.
- Region
- Region Name
- City
- Zip
- Latitude
- Longitude
- Timezone
- Isp
- Org
- Ip
Installation
Use the package manager pip3 to install required modules.
pip3 install colorama pip3 install requests pip3 install pyshark
If you are not using Kali or ParrotOs or any other penetration distribution you need to install Tshark.
sudo apt install tshark
Usage
python3 ipGeo.py # then you will enter captured traffic file path