codingo / Reconnoitre

A security tool for multithreaded information gathering and service enumeration whilst building directory structures to store results, along with writing out recommendations for further testing.
GNU General Public License v3.0
2.11k stars 456 forks source link

Fix: detailed TCP scan uses dns_server even if none is set #121

Closed koyaan closed 4 years ago

koyaan commented 4 years ago

Observed error was:

[...]
[+] Starting detailed TCP nmap scans for 192.168.0.1
Unable to split netmask from target expression: "/tmp/192.168.0.1/scans/192.168.0.1.nmap"
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers

easily fixed by removing dns_server usage if none is set: https://github.com/codingo/Reconnoitre/commit/843f63ff28725dd9cc6ae624d5f5687c47c28972#diff-dfe25e279ec5caa6f656464ed75c05a4L53

codingo commented 4 years ago

Thank-you!