Adds a --plugins-threshold and --themes-threshold options

This commit is contained in:
erwanlr
2019-07-08 19:47:46 +01:00
parent 3fb5d33333
commit f50680b61f
8 changed files with 44 additions and 4 deletions

View File

@@ -62,6 +62,7 @@ module WPScan
def enum_plugins
opts = default_opts('plugins').merge(
list: plugins_list_from_opts(ParsedCli.options),
threshold: ParsedCli.plugins_threshold,
sort: true
)
@@ -108,6 +109,7 @@ module WPScan
def enum_themes
opts = default_opts('themes').merge(
list: themes_list_from_opts(ParsedCli.options),
threshold: ParsedCli.themes_threshold,
sort: true
)