capt-meelo / LazyRecon

An automated approach to performing recon for bug bounty hunting and penetration testing.
MIT License
437 stars 103 forks source link

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

Open ikarann opened 3 years ago

ikarann commented 3 years ago

~/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$

breaker01 commented 3 years ago

did you run the install.sh script first ?

ikarann commented 3 years ago

Yes

ikarann commented 3 years ago

All tools are installed but still this is happening

breaker01 commented 3 years ago

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

ikarann commented 3 years ago

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

breaker01 commented 3 years ago

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

ikarann commented 3 years ago

yes i have installed go.

breaker01 commented 3 years ago

check if it's working by running go version

ikarann commented 3 years ago

it is.

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