Top "Scapy" questions

Scapy is a network packet manipulation tool for use with Python.

Scapy raw data manipulation

I am having troubles manipulating raw data. I am trying to change around a resp_cookie in my ISAKMP header …

networking python-2.7 packet-sniffers scapy
'ImportError: No module named dumbnet' when trying to run a script that leverages scapy on OS X

So, I am trying to learn about the scapy library in Python and trying to run a script that uses …

python macos scapy
Get IP addresses from PCAP file in scapy

Is there a smart and fast way to get all IP addresses from a PCAP file? I need only (destination …

optimization pcap scapy
Accessing 802.11 Wireless Management Frames from Python

From Python on Linux I would like to sniff 802.11 management 'probe-request' frames. This is possible from Scapy like so: # -*…

python linux wifi scapy tshark
Specify timestamp on each packet in Scapy?

With Scapy, when I create a packet and write it to a pcap file, it sets the timestamp of the …

python scapy
How to verify if a packet in Scapy has a TCP layer

I want to know how can I verify that a packet I received from the sr1() function in Scapy contains …

scapy
Scapy: how do I get the full IP packet header?

In Scapy, I want to manually match packets with their corresponding ICMP time-exceeded messages. I need to match: IP-in-ICMP field …

python header ip scapy
pypcap support for python 2.7?

I want to install Scapy on Windows using Python 2.7, but the required package pypcap doesn't support Python 2.7. Is there a …

python windows scapy
Using Scapy to send Fragment Packets with random Offsets

I would like to send fragmented packets size of 8 bytes and a random starting offset. Also want to leave out …

python scapy packet penetration-testing ip-fragmentation
Python scapy show ip of the ping (echo) requests

I want to grab and print the source address of the ping requests. I have the following script: pkt = sniff(…

python tcp scapy sniffer