Last active
December 20, 2015 20:49
Revisions
-
mwatts272 revised this gist
Aug 9, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ from scapy.all import * if __name__ == "__main__": hosts = raw_input('Hostnames you would like to traceroute sepearated by a comma: ') ttl = raw_input("Time To Live: ") if not ttl: ttl = 20 traceroute([x.strip() for x in hosts.split(',')],maxttl=ttl) -
mwatts272 created this gist
Aug 9, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ #! /usr/bin/env python # Set log level to benefit from Scapy warnings import logging logging.getLogger("scapy").setLevel(1) from scapy.all import * if __name__ == "__main__": hosts = raw_input('Hostnames you would like to traceroute sepearated by a comma: ') ttl = raw_input("Time To Live: ") if not ttl: ttl = 20 traceroute([x.strip() for x in hosts.split(',')],maxttl=ttl)