Last active
December 25, 2015 04:49
-
-
Save thepacketgeek/6920022 to your computer and use it in GitHub Desktop.
Ping an IP and print out the summary of the response packets
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
from scapy.all import * | |
print sr1(IP(dst="4.2.2.1")/ICMP()).summary() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment