gobuster
gobuster copied to clipboard
Feature Request: Ability to add query string to each request
The issue
During a penetration test I was faced with an application which uses authentication inside the URL as a query parameter, I was using gobuster in dir mode to try to enumerate the endpoints however all of them seemed to return 401 if the parameter was not set.
Feature Request
Could it be possible to add a feature that lets users specify a query string to be added to the end of each request? This could be done with a -Q or --query parameter when calling gobuster
Example
$ gobuster dir -u http://example.com/api/v1/ -w wordlist.txt -Q 'secret=blargh'
$ gobuster dir -u http://example.com/api/v1/ -w wordlist.txt --query 'secret=blargh'
PS
Thanks for your work on the tool, it's one of my all time favorites
Hello @Paradoxis. Thanks very much for the suggestion. I think it's a good idea and one what we should consider adding for sure.
Leave it with me and I'll have a think about what it might look like. I think what you've suggested for parameterisation is good.
Watch this space!
hi there @OJ , if you dont mind or have no problem, i would like to work on this issue please