ans,unans=sr(IP(dst="www.targethost.com/30", ttl=(1,6))/TCP() ans.make_table( lambda (s,r): (s.dst, s.ttl, r.src) ) res,unans=traceroute(["www.google.com","www.Kali- linux.org","www.targethost.com"] ,dport=[80,443],maxttl=20, retry=-2) res.graph() res.graph(target="> /tmp/graph.svg") res.trace3D() exit()
|