Questions tagged [scapy]

Scapy is a Python program that enables the user to send, sniff and dissect and forge network packets. This capability allows construction of tools that can probe, scan or attack networks

Scapy is a powerful interactive packet manipulation program. It is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, match requests and replies, and much more. Scapy can easily handle most classical tasks like scanning, tracerouting, probing, unit tests, attacks or network discovery. It can replace hping, arpspoof, arp-sk, arping, p0f and even some parts of Nmap, tcpdump, and tshark).

enter image description here

4 questions
2
votes
0 answers

create HDLC interface in linux using serial port

I have modified MAX485 board (to work in sniff mod I deleted a terminator resistor) connected to Arduino. This Arduino connected to raspberry pi via USB. I probated this on Modbus/RS485 using IOninja and it works well. Also, I can read serial port…
Ratel
  • 21
1
vote
1 answer

Error while sniffing packets using scapy

arp = ARP(pdst=ip1,psrc=ip2,op="is-at") packet = ethernet / arp while True: sendp(packet, iface=iface) time.sleep(10) And the Error is - File "/home/darshan/.local/lib/python2.7/site- packages/scapy/arch/linux.py", line 414, in…
Darshan
  • 181
1
vote
1 answer

Install libdnet Python wrapper for ScaPy

How to install the Python (3) wrapper for libdnet on Ubuntu 14.04.4 LTS? I need is as it is a pre-requisite to ScaPy, however the Python 3.x wrapper does not seem to exist yet.
0
votes
1 answer

Scapy Module not found when running python script with SUDO

I have written a python script that uses from scapy.all import * and the sniff() function requires elevated privilege, so when I run python3 scapyScript.py I receive the error PermissionError: [Errno 1] Operation not permitted which makes sense. …
FeralShadow
  • 111
  • 1
  • 1
  • 4