Forum Thread : How Do I Capture Packets Made with Custom Layer in Scapy?
Hey guys, I made a custom layer in scapy, here's the code: # packets.py class CusPack(Packet): name = "CusPack1" fields_desc=XByteField("mode", 0), IntField("data", 108) And I send a few packets from the scapy terminal: >>>import packets >>>x=packets.CusPack()/IP(dst="192.16 ...more