nsecx- NSEC[3] Walking for DNSSEC |
git clone git://git.acid.vegas/nsecx.git |
Log | Files | Refs | Archive | README | LICENSE |
nsec3 (511B)
1 #!/bin/bash 2 # NSEC walk script for DNSSEC - developed by acidvegas (https://git.acid.vegas/nsecx) 3 4 # https://github.com/anonion0/nsec3map 5 #python3 -m pip install n3map[predict] 6 7 TARGET=$1 # Can simply be a TLD (no dot) 8 mkdir -p output 9 for NS in $(dig @8.8.8.8 +short NS $TARGET | sort -R); do 10 IPADDR=$(dig +short "$1" A || dig +short "$1" AAAA) 11 echo "Targeting $TARGET on $NS ($IPADDR)..." 12 n3map -avpl --output=output/$TARGET_$NS.txt $IPV4 --ignore-overlapping $TARGET 13 echo "-------------------------" 14 done