Code Monkey home page Code Monkey logo

Comments (2)

epi052 avatar epi052 commented on June 12, 2024

morning! I've seen this kind of setup in pentesting firms and similar. A workaround for yall is to use the per-target functionality, simulating per-user. As long as each user's cwd contains a config file, that one will take precendence. Additionally, if there are agreed upon defaults that most folks use, those can be placed in the more global configs.

root/
├── user-a
│   └── ferox-config.toml
├── user-b
│   └── ferox-config.toml
└── user-c
    └── ferox-config.toml

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?

the whole idea of searching from top down is that the config files stack. your global config is included in the per-user config and so on down. Each 'less global' config overrides options of the same value found in 'more global' configs. A shared pentest box is exactly the environment the stacked config design is meant to serve. If your team has some agreed-upon defaults, they go in the global config. Each user can then save their preferences that deviate from the team in their own specific config. Further, each user can save off target-specific configs in whatever folder they want. As long as they cd into that target directory, the target config will apply (this is the workaround described above).

it becomes messy to debug which config file is being used

the config with the 'lowest global' level is displayed in the banner. It's also stored in the state file in the config key. It's also the first entry logged when using -o OUTFILE

from feroxbuster.

JulianGR avatar JulianGR commented on June 12, 2024

Wow, didn't know about that behaviour!
Maybe the docs should reflect this in a more specific way - gonna make a pull request to the docs as soon as I have some free time.

Allright, then that solved the problem we had but anyways, wouldn't a --config flag be handy? I dont know if that would be difficult to implement, but something along the lines of:

  • If there is a --config specified, override the searching behaviour
  • Otherwise, search.

from feroxbuster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.