Closed xtreme33 closed 4 years ago
I have just pushed a fix for this initial problem but there is more issues with this script that needs fixing
No problem, I did some some changes but just wanted to let you know just in case. Thanks.
On Sat, Oct 19, 2019 at 5:44 PM J.Townsend notifications@github.com wrote:
I have just pushed a fix for this initial problem but there is more issues with this script that needs fixing
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/leebaird/discover/issues/144?email_source=notifications&email_token=ABYLEZOA4CZIN6QAC3BSGULQPOLU5A5CNFSM4JCRYTA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBX64VA#issuecomment-544206420, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYLEZJ5MNMBANYCYMC2R4LQPOLU5ANCNFSM4JCRYTAQ .
There are 3 different bugs I'm seeing:
Script hangs in the beginning like previously reported. This is due to something with dnsrecon.
I'm testing this on a domain that I haven't previously ran a passive scan against. So we need to check for that. If that scan has NOT ran, we need to copy over the entire report folder.
Missing pages because no passive scan was ran. [recon-ng][acme.com] > exit /opt/discover/active.sh: line 202: /root/data/acme.com/data/active-recon.htm: No such file or directory /opt/discover/active.sh: line 203: /root/data/acme.com/data/active-recon.htm: No such file or directory /opt/discover/active.sh: line 204: /root/data/acme.com/data/traceroute.htm: No such file or directory /opt/discover/active.sh: line 205: /root/data/acme.com/data/traceroute.htm: No such file or directory /opt/discover/active.sh: line 206: /root/data/acme.com/data/waf.htm: No such file or directory /opt/discover/active.sh: line 207: /root/data/acme.com/data/waf.htm: No such file or directory /opt/discover/active.sh: line 208: /root/data/ace.com/data/whatweb.htm: No such file or directory /opt/discover/active.sh: line 209: /root/data/acme.com/data/whatweb.htm: No such file or directory /opt/discover/active.sh: line 210: /root/data/acme.com/data/zonetransfer.htm: No such file or directory /opt/discover/active.sh: line 211: /root/data/acme.com/data/zonetransfer.htm: No such file or directory
fixed
When I run ./discover.sh and go to RECON/Active (2), I get the following error:
RECON
Choice: 2 dnsrecon DNS Records (1/9) usage: dnsrecon.py [-h] [-d DOMAIN] [-n NS_SERVER] [-r RANGE] [-D DICTIONARY] [-f] [-t TYPE] [-a] [-s] [-g] [-b] [-k] [-w] [-z] [--threads THREADS] [--lifetime LIFETIME] [--tcp] [--db DB] [-x XML] [-c CSV] [-j JSON] [--iw] [--disable_check_recursion] [--disable_check_bindversion] [-v] dnsrecon.py: error: argument -d/--domain: expected one argument cp: cannot create regular file '/root/data//data/records.htm': No such file or directory /opt/discover/active.sh: line 17: /root/data//data/records.htm: No such file or directory /opt/discover/active.sh: line 18: /root/data//data/records.htm: No such file or directory Sub-domains (2/9) usage: dnsrecon.py [-h] [-d DOMAIN] [-n NS_SERVER] [-r RANGE] [-D DICTIONARY] [-f] [-t TYPE] [-a] [-s] [-g] [-b] [-k] [-w] [-z] [--threads THREADS] [--lifetime LIFETIME] [--tcp] [--db DB] [-x XML] [-c CSV] [-j JSON] [--iw] [--disable_check_recursion] [--disable_check_bindversion] [-v] dnsrecon.py: error: argument -d/--domain: expected one argument