Map each hop of a network packet using traceroute/tracert on a world map.
The map shows traced hops with their geolocations and paths.
pip install folium selenium
Replace the platform-specific command in your script:
process = subprocess.Popen(["tracert", "{website}"], stdout=subprocess.PIPE, text=True)
process = subprocess.Popen(["traceroute", "-n", "{website}"], stdout=subprocess.PIPE, text=True)
Modify {website} with your target hostname or IP.
Adapt the subprocess command as needed for your OS. See the full guide: https://github.com/gromaxbro/geo-traceroute/tree/main
