Created
March 7, 2018 18:31
-
-
Save virtualminds/52a34ccf3cefcd4c315a7289f0506ba5 to your computer and use it in GitHub Desktop.
Clean "fake" resolvers from massdns resolver list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./scripts/subbrute.py lists/names_small.txt LASDFALSKJDFLKAJSDLFKJALKSDFJLKAJD.COM | ./massdns -r lists/resolvers.txt -t A -o Snqr -w results.txt | |
for i in $(grep -Ev 'NXDOMAIN' results.txt | grep -v ' A ' | cut -d':' -f 1 | sort -u); do sed -i -e "/$i/d" lists/resolvers.txt; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment