Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vhost not working as expected #489

Open
cyberhunter69 opened this issue Mar 31, 2024 · 1 comment
Open

Vhost not working as expected #489

cyberhunter69 opened this issue Mar 31, 2024 · 1 comment

Comments

@cyberhunter69
Copy link

cyberhunter69 commented Mar 31, 2024

Hello,

The gobuster vhost mode is not woking properly in the gobuster v3.6.
The command I put is : gobuster vhost --url http://webenum.thm -w /usr/share/wordlists/seclists/Discovery/DNS/subdomains-top1million-5000.txt
In the wordlist there are 2 values that are true and the expected output is this :

Screenshot 2024-03-08 155521

But the output I have is this :
Screenshot 2024-03-31 184402

Please note that the website is in my /etc/hosts with the IP address and the website works fine in firefox and with the other mode (dir) it works perfectly well but with vhost and dns modes it doesn't find any results.

Thank you in advance for your responses.

@firefart
Copy link
Collaborator

I guess you are missing the -append-domain and —domain switch. Without this the plain word from the wordlist will be sent in the host header which could explain the 400s. I’m planning to make this the default setting in the next version as it causes a lot of confusion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants