aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-01 22:55:33 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-06-01 22:55:33 +0200
commit7941b3f57d39db8eef93bd75bc62d49da33824fb (patch)
tree8bdf3d62606b32941f804f5c2d5a1f71a9bc7fdc /scripts
parent137306044139d30d4b6d604f2a5c031ed5a70cca (diff)
downloaddns-7941b3f57d39db8eef93bd75bc62d49da33824fb.tar.gz
move scripts to scripts/
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/netfuzz.sh6
-rwxr-xr-xscripts/request.sh5
2 files changed, 11 insertions, 0 deletions
diff --git a/scripts/netfuzz.sh b/scripts/netfuzz.sh
new file mode 100755
index 0000000..42a8543
--- /dev/null
+++ b/scripts/netfuzz.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+while true
+do
+ dd if=/dev/urandom bs=$(echo $RANDOM/100 | bc) count=1 2>/dev/null | nc -cu localhost 53 > /dev/null
+done
diff --git a/scripts/request.sh b/scripts/request.sh
new file mode 100755
index 0000000..bd418ce
--- /dev/null
+++ b/scripts/request.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+while true; do
+ dig test.example.com @localhost | sed -e '/;.*/d' -e '/^$/d'
+done