feroxbuster icon indicating copy to clipboard operation
feroxbuster copied to clipboard

[FEATURE REQUEST] Specify config file to use via flags

Open JulianGR opened this issue 2 months ago • 2 comments

Hello again!

Is your feature request related to a problem? Please describe. A single machine from which we launch scans only has 1 user: root. However, a team of 10 people use the same root user. (I know it's not best practice...). Each time one member of the team needs to use feroxbuster, they need to change the /etc/feroxbuster/feroxbuster-config.toml file, and there is no possibility of using CONFIG_DIR/feroxbuster/ (per-user) as per documentation, since there is only root user in the machine.

Also, when using the config file in an appropiate setup (machine with multiple users, each one having a config file, plus the global one), the search for the config file that feroxbuster does is very DLL-search-Windows-like. I appreciate feroxbuster's best effort in searching for it's config file, but it becomes messy to debug which config file is being used. Wouldn't it be easier to just throw an error with the path feroxbuster is trying to use and that's it, instead of searching?

Describe the solution you'd like It could be nice that the config file to use is specify via flags. For example:

feroxbuster -u 'https://asdf.tld' --config ./local-config.toml

Describe alternatives you've considered N/A

Additional context N/A

JulianGR avatar Apr 24 '24 09:04 JulianGR