Sign in
nest-open-source
/
manifest_repos
/
avahi
/
79eb5e6c199a7f456952e553d12db382c02b4283
/
.
/
tests
/
fuzz-mdns.py
blob: aeea295c63a4949d1144950e5e4080fc316b0838 [
file
] [
log
] [
blame
]
#!/usr/bin/python
from
scapy
import
*
sendp
(
Ether
(
type
=
0x800
,
dst
=
"ff:ff:ff:ff:ff:ff"
)/
IP
(
dst
=
"224.0.0.251"
)/
fuzz
(
UDP
(
dport
=
5353
,
sport
=
5353
)/
DNS
(
qd
=
fuzz
(
DNSQR
()))),
loop
=
1
,
iface
=
"realtek0"
)