mirror of https://github.com/daffainfo/nuclei.git
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>dev
parent
0ecd7be9d9
commit
d1ad79f360
|
@ -75,9 +75,12 @@ func (e *NucleiEngine) applyRequiredDefaults() {
|
|||
if e.rateLimiter == nil {
|
||||
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
|
||||
// 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{
|
||||
Inputs: []*contextargs.MetaInput{},
|
||||
|
|
Loading…
Reference in New Issue