Sign in
android
/
platform
/
external
/
avahi
/
refs/tags/android-7.1.1_r33
/
.
/
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"
)