Skip to content

Commit

Permalink
Update traceroute script
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcraven committed Mar 1, 2021
1 parent c9066b0 commit 818b2e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions traceroute_scapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
Perform a traceroute using scapy
and create a graph from it.
"""
from scapy.all import *

from scapy.layers.inet import traceroute

# List of websites to trace
site_list = ["google.com",
"youtube.com",
site_list = ["google.com",
"youtube.com",
"wikipedia.org"]

# Max number of hops to trace
Expand Down

0 comments on commit 818b2e6

Please sign in to comment.