scapy python functions

Solutions on MaxInterview for scapy python functions by the best coders in the world

showing results for - "scapy python functions"
Alejandro
23 Jul 2017
1from scapy.all import *
Nicolás
26 Mar 2016
1>>> Ether(dst="ff:ff:ff:ff:ff:ff")
2      /IP(dst=["ketchup.com","mayo.com"],ttl=(1,9))
3      /UDP()
4
Esteban
10 Jan 2021
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