November 2017
Intermediate to advanced
226 pages
5h 59m
English
Following are the steps to create packets with the scapy module:
from scapy.all import * from pprint import pprint
ethernet = Ether()
network = IP(dst='192.168.1.1/30')
As it's the network layer, we have to pass the destination IP as the parameter. Scapy accepts different IP notations, as follows:
Read now
Unlock full access