Using Scapy
Basics
BEFORE WE CAN SEND PACKETS, WE MUST FIX IPTABLES! SCAPY BYPASSES THE NORMAL KERNEL PROCEDURES!
Without this, we will NEVER see the responses from our packets we send!
There are several basics we can use to create layers in a packet for whatever we would like!
Command
Description
ls()
list protocols or variable
lsc()
list supported commands
send()
send layer 3, match all responses
sendp()
send layer 2, no response
srp1()
send layer 2, match 1 response
srp()
send layer 2, match all responses
Last updated