November 2017
Intermediate to advanced
226 pages
5h 59m
English
To understand the layering in Scapy, we can go through the following steps:
>>> scapy
Next, create a packet and show its details, as follows:
>>> pkt = Ether()/IP(dst='192.168.1.1')/TCP(dport=80) >>> pkt.show()
Then it will print out the structure of the packet we created:

Even if we don't provide the source addresses, Scapy automatically assigns the source address.
Read now
Unlock full access