Skip to content

Instantly share code, notes, and snippets.

@markandrewj
Forked from thepacketgeek/07-print-ping.py
Last active August 29, 2015 14:07
Show Gist options
  • Save markandrewj/a140db9558133db06006 to your computer and use it in GitHub Desktop.
Save markandrewj/a140db9558133db06006 to your computer and use it in GitHub Desktop.
Scapy Ping
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