Added MADNESS experimental script.
This commit is contained in:
parent
68e16969da
commit
77ee6980ab
19
madness
Executable file
19
madness
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# maDNeSs with DNS - devloped by acidvegas (https://git.acid.vegas/mdaxfr)
|
||||||
|
|
||||||
|
genip() {
|
||||||
|
num_octets=$((RANDOM % 4 + 1))
|
||||||
|
ip=""
|
||||||
|
for i in $(seq 1 $num_octets); do
|
||||||
|
if [ $i -ne 1 ]; then
|
||||||
|
ip+="."
|
||||||
|
fi
|
||||||
|
ip+=$((RANDOM % 256))
|
||||||
|
done
|
||||||
|
echo $ip
|
||||||
|
}
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
ip=$(genip)
|
||||||
|
dig +time=1 +noall +authority $ip.in-addr.arpa | grep 'IN\sSOA' | sed "s/^/\x1B[35m$ip.in-addr.arpa\x1B[90m -> \x1B[1;33m/" | sed "s/$/\x1B[0m/"
|
||||||
|
done
|
2
mdaxfr
2
mdaxfr
@ -35,7 +35,7 @@ attempt_axfr() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "[\e[31WARNING\e[0m] Most nameservers will block AXFR requests \e[90m(It is normal for most of these to fail)\e[0m"
|
echo "[\e[31mWARNING\e[0m] Most nameservers will block AXFR requests \e[90m(It is normal for most of these to fail)\e[0m"
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
# For root IP space zones
|
# For root IP space zones
|
||||||
|
Loading…
Reference in New Issue
Block a user