-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
--detection-mode not used when --plugins-detection is not set #1472
Comments
That's the expected behaviour. The So If it's too annoying to change it via the CLI and you always want it aggressive unless overridden via the CLI (I would recommend to set it mixed though, which is passive + aggressive), you can create a cli_options:
plugins_detection: mixed Other locations/file extensions are also supported, see https://github.com/wpscanteam/wpscan#load-cli-options-from-files |
@erwanlr Shouldn't the help text be updated then ?
|
Which text would you suggest ? |
I have just reread your comment:
The problem currently is that |
It is set, by the default value.
|
What does this mean then ? If that is really the intended behavior (and I don't think it should) the text should read:
|
This was a leftover from when the option did not have a default. I've updated the messages and this will land in the next version released. |
Subject of the issue
When specifying the
--detection-mode
, it is not taken into account when doing plugin enumeration.Your environment
Steps to reproduce
Expected behavior
Actual behavior
Output:
Workaround
The text was updated successfully, but these errors were encountered: