https://github.com/p3rception/geopy
// wireshark traffic visualization
https://github.com/p3rception/geopy
Last synced: 7 months ago
JSON representation
// wireshark traffic visualization
- Host: GitHub
- URL: https://github.com/p3rception/geopy
- Owner: p3rception
- Created: 2023-12-14T18:48:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-04T11:22:47.000Z (over 2 years ago)
- Last Synced: 2025-02-15T21:13:37.351Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
GeoPy is a Python script that generates a KML file based on network traffic data from a Wireshark pcap file. It uses IP geolocation to map the network connections and creates a KML file that can be uploaded to Google My Maps for visualization.
## Installation
1. Clone the repository:
```bash
git clone https://github.com/p3rception/GeoPy.git
```
2. Navigate to the project directory:
```bash
cd GeoPy
```
3. (Optional) Create and activate a virtual environment.
```bash
# Creation
python -m venv venv
# Activation
source venv/bin/activate # Unix
venv\Scripts\activate.bat # Windows
```
4. Install the required dependencies:
```bash
pip install -r requirements.txt
```
5. Download GeoLiteCity database to translate IP addresses into a Geo location(longitude & latitude). The database can be downloaded here: https://github.com/mbcc2006/GeoLiteCity-data
6. Save Wireshark captured data in .pcap format.
## Usage
1. ```python main.py ```
2. Upload the generated KML file to [Google My Maps](https://www.google.com/mymaps).
3. Result:

## Author
Dimitris Pergelidis ([p3rception](https://github.com/p3rception))