Hello,
I’m working on Virtual Hosts in HTB Academy. I’m still a super beginner in IT and researching a lot both on the academy materials and others on the Internet.
However, I cannot get any info relating to the questions given.
Answer the question(s) below to complete this Section and earn cubes!
Target(s): 94.237.59.63:39793
vHosts needed for these questions:
inlanefreight.htb
Q) Brute-force vhosts on the target system. What is the full subdomain that is prefixed with “web”? Answer using the full domain, e.g. “x.inlanefreight.htb”
Literally, I tried various codes for about a few days.
I’m tryin again, but nothing seems to be changing.
Is there sth that I need to do in addition to simply performing gobuster/ffuf, or is something wrong with the machine itself (since it is labeled as ‘udpated’).?
First you need to edit hosts file on your machine
sudo nano /etc/hosts
Then you add the following line to the document in the top section
83.136.252.57 inlanefreight.htb
Press CTRL + O to save the document
Make sure you change the IP to the target machine IP and do not include the port
Use gobuster just like it was mentioned
sudo gobuster vhost -u http://inlanefreight.htb:47492/ -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -t 50 --append-domain
Hmm, try rebooting you target host. In some labs there is an issue with the connection preventing things from working well. Starting a new one usually helps
Thank you very much! I’ll try it again.
These troubles are always serious causes that can lead to a lack of concentration. Hopefully, I will be able to solve this again.
Btw, the same thing is happening even at a different question.
Just adding my two cents:
The VPN connection did not work for me in this lesson, giving me the same errors you had.
For anyone coming here for a solution: Try using the PWNbox HTB spawns for you, in addition to the steps above.