mdaxfr

- Mass DNS AXFR
git clone git://git.acid.vegas/mdaxfr.git
Log | Files | Refs | Archive | README | LICENSE

madness (480B)

      1 #!/bin/sh
      2 # maDNeSs with DNS - devloped by acidvegas (https://git.acid.vegas/mdaxfr)
      3 
      4 genip() {
      5     num_octets=$((RANDOM % 4 + 1))
      6     ip=""
      7     for i in $(seq 1 $num_octets); do
      8         if [ $i -ne 1 ]; then
      9             ip+="."
     10         fi
     11         ip+=$((RANDOM % 256))
     12     done
     13     echo $ip
     14 }
     15 
     16 while true; do
     17     ip=$(genip)
     18     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/"
     19 done