Update config.go

dev
bauthard 2020-08-24 00:28:59 +05:30
parent 320f312be0
commit a725e61c13
1 changed files with 1 additions and 1 deletions

View File

@ -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
}