-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add support for dir "wildcard" detection #26
Comments
Thanks for the suggestion @gehaxelt. This is a quirky edge case. Detection based on the percentage of results is hard given that we don't know how big the world list is up front and I'm deliberately not pre-parsing the file to reduce memory impact. I'll bounce some ideas around for this, coz it's definitely an issue. I think in the short term the best option is to get the Another option is to look at a baseline page size. If everything comes back as 200 with the content length the same, we could add a command line option to say "if you find a page of size X then mark it as 404". Watch this space, we'll come up with something! |
Using Basline page size might work, but could break on I'd try to argue for my hit-count idea, but with a fixed "hits-in-a-row" parameter instead of a percentage. |
Could we possibly take the approach that we took with wildcard DNS detection? Generate a GUID and do a single request for that, if it comes back with a status code match, then we can assume wildcard? |
That's probably the best idea and it should work. |
Thanks again for all your efforts so far mate! |
Thank you for this awesome tool! :) |
bump |
Awesome, thanks mate! |
I know this thread is old, but what was the reason that you guys didn't go with the |
My two cents Maybe this helps someone in the future |
Hi,
I noticed that a few times webservers are configured to return
200
s or301
s instead of404
s. That means that gobuster will happily "find" the wholewords.txt
.Idea: Count the "valid" hits in a row and if it exceeds 5% or 10% of the whole words.txt, then abort the scan (and/or add an "force" switch).
Kind regards,
gehaxelt
The text was updated successfully, but these errors were encountered: