Last active
December 20, 2015 20:49
-
-
Save mwatts272/6192900 to your computer and use it in GitHub Desktop.
A sharp trace-route tool built with scapy for testing the routes of multiple domains.
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 characters
#! /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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment