summaryrefslogtreecommitdiffstats
path: root/tests/fuzz-mdns.py
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-12-31 18:36:42 +0000
committerLennart Poettering <lennart@poettering.net>2005-12-31 18:36:42 +0000
commit0449977b92d08726abde0cd5c38473435c8228d3 (patch)
tree634ec8e1939bf5e35918ced6102ed4942369697a /tests/fuzz-mdns.py
parent76e5b81f72de53614ac9c9b72d7b59d500e57770 (diff)
add experimental mdns fuzzer
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1048 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'tests/fuzz-mdns.py')
-rwxr-xr-xtests/fuzz-mdns.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/fuzz-mdns.py b/tests/fuzz-mdns.py
new file mode 100755
index 0000000..aeea295
--- /dev/null
+++ b/tests/fuzz-mdns.py
@@ -0,0 +1,8 @@
+#!/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")
+
+