Interactive packet manipulation and network protocol analysis tool
Scapy: interactive packet manipulation tool
scapy$ scapy$ scapy -c 'IP(dst="192.168.1.1")/ICMP()/Raw(load="test").show()'$ scapy -c 'pkts = rdpcap("capture.pcap"); pkts[0].show()'$ scapy -c 'ans, unans = sr(IP(dst="192.168.1.0/24")/ICMP())'$ scapy -s script.py