mirror of https://github.com/daffainfo/nuclei.git
Update config.go
parent
320f312be0
commit
a725e61c13
|
@ -104,7 +104,7 @@ func (r *Runner) readNucleiIgnoreFile() {
|
|||
func (r *Runner) checkIfInNucleiIgnore(item string) bool {
|
||||
for _, paths := range r.templatesConfig.ignorePaths {
|
||||
// If we have a path to ignore, check if it's in the item.
|
||||
if paths[len(paths)] == '/' {
|
||||
if paths[len(paths)-1] == '/' {
|
||||
if strings.Contains(item, paths) {
|
||||
return true
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue