LazyRecon icon indicating copy to clipboard operation
LazyRecon copied to clipboard

i am getting errors and the script is finishing in 1 second.

Open ikarann opened this issue 4 years ago • 9 comments

~/LazyRecon$ ./LazyRecon.sh target.com

██╗ █████╗ ███████╗██╗ ██╗██████╗ ███████╗ ██████╗ ██████╗ ███╗ ██╗ ██║ ██╔══██╗╚══███╔╝╚██╗ ██╔╝██╔══██╗██╔════╝██╔════╝██╔═══██╗████╗ ██║ ██║ ███████║ ███╔╝ ╚████╔╝ ██████╔╝█████╗ ██║ ██║ ██║██╔██╗ ██║ ██║ ██╔══██║ ███╔╝ ╚██╔╝ ██╔══██╗██╔══╝ ██║ ██║ ██║██║╚██╗██║ ███████╗██║ ██║███████╗ ██║ ██║ ██║███████╗╚██████╗╚██████╔╝██║ ╚████║ ╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══
v1.3 by @CaptMeelo

--==[ Setting things up ]==--

[+] Creating results directories... [] /home/baba/LazyRecon/results/target.com/subdomain [] /home/baba/LazyRecon/results/target.com/cors [] /home/baba/LazyRecon/results/target.com/ip [] /home/baba/LazyRecon/results/target.com/portscan [] /home/baba/LazyRecon/results/target.com/screenshot [] /home/baba/LazyRecon/results/target.com/directory

--==[ Enumerating subdomains ]==--

[+] Running Amass... ./LazyRecon.sh: line 68: /home/baba/go/bin/amass: No such file or directory

[+] Running subfinder... ./LazyRecon.sh: line 71: /home/baba/go/bin/subfinder: No such file or directory

[+] Combining subdomains... cat: '/home/baba/LazyRecon/results/target.com/subdomain/.txt': No such file or directory [] Check the list of subdomains at /home/baba/LazyRecon/results/target.com/subdomain/final-subdomains.txt

--==[ Checking for subdomain takeovers ]==--

[+] Running subjack... ./LazyRecon.sh: line 79: /home/baba/go/bin/subjack: No such file or directory cat: /home/baba/LazyRecon/results/target.com/subdomain/final-takeover.tmp: No such file or directory rm: cannot remove '/home/baba/LazyRecon/results/target.com/subdomain/final-takeover.tmp': No such file or directory [*] Check subjack's result at /home/baba/LazyRecon/results/target.com/subdomain/final-takeover.txt

--==[ Checking CORS configuration ]==--

[+] Running CORScanner... Traceback (most recent call last): File "/home/baba/LazyRecon/tools/CORScanner/cors_scan.py", line 8, in from common.corscheck import CORSCheck File "/home/baba/LazyRecon/tools/CORScanner/common/corscheck.py", line 12, in import urllib3 File "/usr/local/lib/python2.7/dist-packages/gevent/builtins.py", line 96, in import result = _import(args, **kwargs) ImportError: No module named urllib3 [] Check the result at /home/baba/LazyRecon/results/target.com/cors/final-cors.txt

--==[ Resolving IP addresses ]==--

[+] Running massdns...
[*] Check the list of IP addresses at /home/baba/LazyRecon/results/target.com/ip/final-ips.txt

--==[ Port-scanning targets ]==--

[+] Running masscan...
FAIL: target IP address list empty [hint] try something like "--range 10.0.0.0/8" [hint] try something like "--range 192.168.0.100-192.168.0.200" warning: failed to load external entity "/home/baba/LazyRecon/results/target.com/portscan/masscan.xml" unable to parse /home/baba/LazyRecon/results/target.com/portscan/masscan.xml cat: /home/baba/LazyRecon/results/target.com/portscan/masscan.xml: No such file or directory [*] Masscan Done! View the HTML report at /home/baba/LazyRecon/results/target.com/portscan/final-masscan.html

[+] Running nmap...
Starting Nmap 7.80 ( https://nmap.org ) at 2020-09-22 01:46 IST Error #486: Your port specifications are illegal. Example of proper form: "-100,200-1024,T:3000-4000,U:60000-" QUITTING! compilation error: file /home/baba/LazyRecon/results/target.com/portscan/nmap.xml line 1 element nmaprun xsltParseStylesheetProcess : document is not a stylesheet [*] Nmap Done! View the HTML report at /home/baba/LazyRecon/results/target.com/portscan/final-nmap.html

--==[ Taking screenshots ]==--

[+] Running aquatone...
aquatone v1.7.0 started at 2020-09-22T01:46:44+05:30

No targets found in input. [*] Check the result at /home/baba/LazyRecon/results/target.com/screenshot/aquatone/aquatone_report.html

--==[ Bruteforcing directories ]==--

[+] Running dirsearch...
[]Creating output directory... cat: /home/baba/LazyRecon/results/target.com/screenshot/aquatone/aquatone_urls.txt: No such file or directory [] Check the results at /home/baba/LazyRecon/results/target.com/directory/dirsearch/

--==[ DONE ]==--
baba@kali:~/LazyRecon$

ikarann avatar Sep 21 '20 20:09 ikarann

did you run the install.sh script first ?

breaker01 avatar Sep 21 '20 20:09 breaker01

Yes

ikarann avatar Sep 21 '20 20:09 ikarann

All tools are installed but still this is happening

ikarann avatar Sep 21 '20 20:09 ikarann

Try to run this /home/baba/go/bin/amass command.

breaker01 avatar Sep 21 '20 20:09 breaker01

i did it and its not installed there....says no such directory

ikarann avatar Sep 21 '20 22:09 ikarann

so the problem is in the tools setup. do you have go installed ?

breaker01 avatar Sep 21 '20 22:09 breaker01

yes i have installed go.

ikarann avatar Sep 21 '20 22:09 ikarann

check if it's working by running go version

breaker01 avatar Sep 21 '20 22:09 breaker01

it is.

baba@kali:~$ go version go version go1.15.2 linux/amd64 baba@kali:~$

ikarann avatar Sep 21 '20 22:09 ikarann