Introduction to scapy

From Cheesy metal wiki
Jump to: navigation, search

Learning path

>>> ip=IP(src="10.10.10.10")
>>> ip
<IP  src=10.10.10.10 |>
>>> 

A packet can be builded step by step. Currently this potential packet [ip] contains only an ip source.

Now let's add stuff to it

>>> ip[IP].dst="20.20.20.20"
>>> ip[TCP].dport=500


[[Category:scapy]]
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox