Top "Scapy" questions

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

sending ICMP packets in scapy and choosing the correct interface

Can we use the srp() function for a Layer 3 ICMP packet? I see that when we craft an ICMP echo-request …

python scapy
Python: Can't import a function from another.py file

I have a file named handshake.py. Where there is a function send_data(argument). I want to import that …

python-2.7 visual-studio importerror scapy nameerror
Scapy In A Script

I have used scapy as a session in python, but I want to use it in a script. Why so? …

python scapy
Python Scapy wrpcap - How do you append packets to a pcap file?

I have some software that can emulate things like BER and delays on the network. I need a way to …

python networking network-programming scapy raw-ethernet
How to check for presence of a layer in a scapy packet?

How do I check for the presence of a particular layer in a scapy packet? For example, I need to …

python scapy
Get all the layers in a packet

How can I get a list of all the layers in scapy? Eg: Ether/IP/UDP/DNS or Ether/IP/…

python scapy
Importing python modules in jython

I'm having some issues importing scapy under jython. I've been doing java forever, but python for only a day or …

python import jython importerror scapy
How to recalculate IP checksum with scapy?

Possible Duplicate: How to calculate a packet checksum without sending it? I've spoofed a source IP and MAC address in …

python ip spoofing scapy
get packet size in scapy / python

In Scapy (or even just Python, for that sake), how do I get the size in bytes of a given …

python size packet scapy
How to send UDP packet to specific UDP dst port in scapy?

I would like to send my packet to a UDP dst port number and send it through eth0 interface (if …

scapy