mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 15:55:26 +00:00
feat: add EnableMatcherStatus function to configure matcher status in NucleiEngine (#6191)
This commit is contained in:
parent
61bcf0f10e
commit
b95b04fc4d
@ -463,6 +463,14 @@ func EnablePassiveMode() NucleiSDKOptions {
|
||||
}
|
||||
}
|
||||
|
||||
// EnableMatcherStatus allows enabling matcher status
|
||||
func EnableMatcherStatus() NucleiSDKOptions {
|
||||
return func(e *NucleiEngine) error {
|
||||
e.opts.MatcherStatus = true
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// WithAuthProvider allows setting a custom authprovider implementation
|
||||
func WithAuthProvider(provider authprovider.AuthProvider) NucleiSDKOptions {
|
||||
return func(e *NucleiEngine) error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user