-
Notifications
You must be signed in to change notification settings - Fork 579
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 --user-agent and -user-agent-suffix CLI options #2190
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #2190 +/- ##
=====================================
- Coverage 93% 93% -0%
=====================================
Files 376 376
Lines 29225 29236 +11
=====================================
+ Hits 27006 27013 +7
- Misses 2219 2223 +4 ☔ View full report in Codecov by Sentry. |
Thanks for doing this one. In the interest of keeping
Mainly I want to avoid a situation like nuclei where we have so many cli flags, that it makes it hard to find the one you're looking for. Keeping the help output small will be a real challenge considering all of BBOT's functionality and the functionality we're adding, like the upcoming server / agent stuff etc. |
I think some feedback from the community might be good on that. Personally, I would probably only ever use the suffix one. Obviously I know how to make a preset / add the option and its not too big of a deal, but I think for the bug bounty crowd, there's a lot of situations where they will say: you must insert your hackerone username in user-agent field, etc... I guess I don't feel strongly either way, I think it's a useful flag that a select user base will make of, but I also hate cluttered CLI help pages. |
I think |
@TheTechromancer I left it in there but commented it, to make it easy for people who really want it to enable it themselves |
We should probably add |
Removing it made the combining logic not work, so i added it back but suppressed it from help. Effectively an undocumented feature. |
the way it works, user_agent_suffix never actually exists as a config option. It just lives for within the args long enough to change user_agent. If we want to do that we might just need to revisit the whole implementation |
#1453