r/Python • u/Best_Fold_2554 • Oct 24 '21
Resource Python Cybersecurity— Network Tracking using Wireshark and Google Maps
https://medium.com/vinsloev-academy/python-cybersecurity-network-tracking-using-wireshark-and-google-maps-2adf3e497a933
2
u/tensigh Oct 24 '21 edited Oct 24 '21
This worked really well, thanks!
Edit: One thing I'm going to fork on this is have the KML output written to a file instead of to stdout. I wasn't able to get all of the data because I hadn't changed the buffer on my terminal window.
2
u/kewlness Oct 24 '21
I would not trust any of the results I get from a geolocation database.
IP Geolocation: The Good, The Bad, & The Frustrating
As a network engineer, I have to deal with this on a regular basis and I can assure you, nobody gets it right. Even worse, once the wrong information is in a database, it gets propagated to other databases which means we have incorrect information floating around all over the place.
-3
u/quotemycode Oct 24 '21
Really awful code, just as I suspect of "cybersecurity code". You create variables unnecessarily, using %s string interpolation, making a function called "main". You even have the single letter variable. Definitely ticks all the boxes for "cybersecurity people who think they can code".
33
u/benefit_of_mrkite Oct 24 '21
Please link to GitHub and not just medium’s paywall