Packet Generators: Difference between revisions
→Simple Examples: m
(→Simple Examples: m) |
(→Simple Examples: m) |
||
Line 82:
*Crafting ARP Packet:
Be careful with this example, it will
You need to clear arp cache or wait for timeout on the device/router 192.168.1.
>>> a = ARP()
>>> a.pdst="192.168.1.
>>> a.hwsrc="11:11:11:11:11:11"
>>> a.psrc="1.1.1.1"
|