How to create a Python 3.6 traceroute without SOCK RAW?

Irmen de Jong irmen.NOSPAM at xs4all.nl
Thu Feb 23 17:42:22 EST 2017


On 23-2-2017 22:33, Juan C. wrote:
> I need to implement a traceroute inside my script but I can't escalate privileges.  Unix uses UDP for traceroute, but I didn't find any material regarding UDP traceroute in Python.

import os
os.system("traceroute www.google.com")




More information about the Python-list mailing list