1>>> Ether(dst="ff:ff:ff:ff:ff:ff")
2 /IP(dst=["ketchup.com","mayo.com"],ttl=(1,9))
3 /UDP()
4
1# ./run_scapy -s mysession
2New session [mysession]
3Welcome to Scapy (2.4.0)
4>>> IP()
5<IP |>
6>>> target="www.target.com/30"
7>>> ip=IP(dst=target)
8>>> ip
9<IP dst=<Net www.target.com/30> |>
10>>> [p for p in ip]
11[<IP dst=207.171.175.28 |>, <IP dst=207.171.175.29 |>,
12 <IP dst=207.171.175.30 |>, <IP dst=207.171.175.31 |>]
13>>> ^D
14