Tracert
1.0.0
该软件包比traceroute/tracert可执行人员更快地实现了示踪工具,但对于响应而言,响应较少,而没有主机名分辨率。
此包需要:
pip install Tracertpython3 -m Tracert 8.8.8.8
python3 Tracert.pyz dns.google.com
Tracert 8.8.4.4
Tracert --help
Tracert -h
Tracert -6 -t 2 -r 5 -s 64 dns.google.com from Tracert import tracert
tracert ( "8.8.8.8" )
tracert ( "dns.google.com" , 6 , 64 , 2 , 5 ) usage: traceroute.py [-h] [-4 | -6] [--timeout TIMEOUT] [--retry RETRY] [--max-steps MAX_STEPS] destination
Fast tracert tool.
positional arguments:
destination IP or hostname you want to trace.
options:
-h, --help show this help message and exit
-4 Force IPv4.
-6 Force IPv6.
--timeout TIMEOUT, -t TIMEOUT
Timeout for each ping.
--retry RETRY, -r RETRY
Number of retry for each steps.
--max-steps MAX_STEPS, -s MAX_STEPS
Maximum steps to trace.
在GPL下获得许可,版本3。