mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 17:35:28 +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
|
// WithAuthProvider allows setting a custom authprovider implementation
|
||||||
func WithAuthProvider(provider authprovider.AuthProvider) NucleiSDKOptions {
|
func WithAuthProvider(provider authprovider.AuthProvider) NucleiSDKOptions {
|
||||||
return func(e *NucleiEngine) error {
|
return func(e *NucleiEngine) error {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user