I made a custom layer in scapy, here's the code:
name = "CusPack1"
fields_desc=XByteField("mode", 0), IntField("data", 108)
And I send a few packets from the scapy terminal:
I used wireshark to see if the packets are sent, and it shows malformed packets (which is okay). How do i receive them with scapy? I'm new to scapy and correct my mistakes if any, thanks in advance :)