INFORMATION GATHERING: WEB EDITION
OBJECTIVE: apply information gathering methods to answer the questions
root@htb:~$ sudo nano /etc/hosts
* 94.237.59.63 inlanefreight.htb
- do not include the port number Last updated
OBJECTIVE: apply information gathering methods to answer the questions
root@htb:~$ sudo nano /etc/hosts
* 94.237.59.63 inlanefreight.htb
- do not include the port number Last updated
root@htb:~$ whois inlanefreight.com
* ALT: root@htb:~$ ./finalrecon.py --whois --url http://inlanefreight.com
* Registrar IANA ID: 468root@htb:~$ whatweb inlanefreight.htb:{targetPort}
* HTTPServer[nginx/1.26.1]root@htb:~$ gobuster vhost -u http://inlanefreight.htb:33930 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt --append-domain -t 100 -k
* Found: web1337.inlanefreight.htb:33930 Status: 200 [Size: 104]
root@htb:~$ sudo nano /etc/hosts
* 94.237.59.63 web1337.inlanefreight.htb
root@htb:~$ ./finalrecon.py --dir --url http://web1337.inlanefreight.htb:33930
* 200 | http://web1337.inlanefreight.htb:33930/index.html
* 200 | http://web1337.inlanefreight.htb:33930/robots.txt
root@htb:~$ curl http://web1337.inlanefreight.htb:33930/robots.txt
* Disallow: /admin_h1dd3n
root@htb:~$ curl -i http://web1337.inlanefreight.htb:33930/admin_h1dd3n
* 301 Moved Permanently
root@htb:~$ curl -i http://web1337.inlanefreight.htb:33930/admin_h1dd3n/
* The admin panel... the key e963d863ee0e82ba7080fbf558ca0d3froot@htb:~$ gobuster vhost -u http://web1337.inlanefreight.htb:33930 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt --append-domain -t 100 -k
* Found: dev.web1337.inlanefreight.htb:33930 Status: 200 [Size: 123]
root@htb:~$ sudo nano /etc/hosts
* 94.237.59.63 dev.web1337.inlanefreight.htb
root@htb:~$ gobuster vhost -u http://dev.web1337.inlanefreight.htb:33930 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt --append-domain -t 100 -k
* 200 | http://dev.web1337.inlanefreight.htb:33930/index.html
root@htb:~$ pip3 install scrapy
root@htb:~$ wget -O ReconSpider.zip https://academy.hackthebox.com/storage/modules/144/ReconSpider.v1.2.zip
root@htb:~$ unzip ReconSpider.zip
root@htb:~$ python3 ReconSpider.py http://dev.web1337.inlanefreight.htb:33930
root@htb:~$ cat results.json
* "emails": ["[email protected]"]root@htb:~$ gobuster vhost -u http://web1337.inlanefreight.htb:33930 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt --append-domain -t 100 -k
* Found: dev.web1337.inlanefreight.htb:33930 Status: 200 [Size: 123]
root@htb:~$ sudo nano /etc/hosts
* 94.237.59.63 dev.web1337.inlanefreight.htb
root@htb:~$ gobuster vhost -u http://dev.web1337.inlanefreight.htb:33930 -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt --append-domain -t 100 -k
* 200 | http://dev.web1337.inlanefreight.htb:33930/index.html
root@htb:~$ pip3 install scrapy
root@htb:~$ wget -O ReconSpider.zip https://academy.hackthebox.com/storage/modules/144/ReconSpider.v1.2.zip
root@htb:~$ unzip ReconSpider.zip
root@htb:~$ python3 ReconSpider.py http://dev.web1337.inlanefreight.htb:33930
root@htb:~$ cat results.json
* "comments": ["<!-- ...change the API key to ba988b835be4aa97d068941dc852ff33 -->"