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

[FEATURE REQUEST] Supply hostname to be used #423

Closed
rufflabs opened this issue Nov 26, 2021 · 2 comments
Closed

[FEATURE REQUEST] Supply hostname to be used #423

rufflabs opened this issue Nov 26, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@rufflabs
Copy link

Is your feature request related to a problem? Please describe.
When doing HTB/etc websites sometimes provide different content if you're using proper FQDN.

Describe the solution you'd like
A command line switch to supply a hostname/fqdn to be used when running scans.

Describe alternatives you've considered
Editing hosts file is always an option, but if the box doesn't actually require FQDN, I'd rather not spend the time adding it to a hosts file.

@rufflabs rufflabs added the enhancement New feature or request label Nov 26, 2021
@epi052
Copy link
Owner

epi052 commented Nov 27, 2021

Can you elaborate on what the solution would look like?

ferox can already request domains and can set arbitrary headers.

Have you tried just setting the host header? i.e.

feroxbuster -u htb.ip.addy -H HOST: Box.Fully.Qualified

In the past, I've simply used /etc/hosts, as you've described.

@rufflabs
Copy link
Author

Actually, I suppose supplying the -H and the Host header actually would suffice!

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

No branches or pull requests

2 participants