1N3 / Sn1per

Attack Surface Management Platform
https://sn1persecurity.com
Other
7.9k stars 1.82k forks source link

FATAL: Module dnspython missing (python-dnspython) #299

Closed 1N3 closed 3 years ago

1N3 commented 3 years ago

@digitizeddude

Finally, the last issue that I'm experiencing is that I'm running in to some weird issue with dnscan.py. I'm getting this message when i run a stealth scan using sn1per

BRUTE FORCING DNS SUBDOMAINS VIA DNSCAN (THIS COULD TAKE A WHILE...) ====================================================================================•x2020-11-10x• FATAL: Module dnspython missing (python-dnspython)

I know that dnspython is installed when i check PIP but it keeps giving me this error.

digitizeddude commented 3 years ago

Is the DNSCAN bug a quick fix or is it more involved? How can i help?

1N3 commented 3 years ago

Looks like I need to explicitly use python3 for dnscan. To fix, edit your /usr/share/sniper/modes/recon.sh line 43 to the following:

python3 $PLUGINS_DIR/dnscan/dnscan.py -d $TARGET -w $DOMAINS_QUICK -o $LOOT_DIR/domains/domains-dnscan-$TARGET.txt -i $LOOT_DIR/domains/domains-ips-$TARGET.txt

This will be fixed in v8.9

digitizeddude commented 3 years ago

This was driving me bonkers. Spasibo