mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 22:15:27 +00:00
append excludetags instead of replacing (#4353)
* append excludetags instead of replacing * bump asnmap client to v1.0.6 --------- Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io>
This commit is contained in:
parent
0ecd7be9d9
commit
d1ad79f360
@ -75,9 +75,12 @@ func (e *NucleiEngine) applyRequiredDefaults() {
|
|||||||
if e.rateLimiter == nil {
|
if e.rateLimiter == nil {
|
||||||
e.rateLimiter = ratelimit.New(context.Background(), 150, time.Second)
|
e.rateLimiter = ratelimit.New(context.Background(), 150, time.Second)
|
||||||
}
|
}
|
||||||
|
if e.opts.ExcludeTags == nil {
|
||||||
|
e.opts.ExcludeTags = []string{}
|
||||||
|
}
|
||||||
// these templates are known to have weak matchers
|
// these templates are known to have weak matchers
|
||||||
// and idea is to disable them to avoid false positives
|
// and idea is to disable them to avoid false positives
|
||||||
e.opts.ExcludeTags = config.ReadIgnoreFile().Tags
|
e.opts.ExcludeTags = append(e.opts.ExcludeTags, config.ReadIgnoreFile().Tags...)
|
||||||
|
|
||||||
e.inputProvider = &inputs.SimpleInputProvider{
|
e.inputProvider = &inputs.SimpleInputProvider{
|
||||||
Inputs: []*contextargs.MetaInput{},
|
Inputs: []*contextargs.MetaInput{},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user