mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 19:55:26 +00:00
Fixed file extension list
This commit is contained in:
parent
0dd2e10fd2
commit
8d1178f8e8
@ -110,6 +110,8 @@ func (r *Request) validatePath(item string) bool {
|
|||||||
if len(r.extensions) > 0 {
|
if len(r.extensions) > 0 {
|
||||||
if _, ok := r.extensions[extension]; ok {
|
if _, ok := r.extensions[extension]; ok {
|
||||||
return true
|
return true
|
||||||
|
} else if !r.allExtensions {
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if _, ok := r.extensionDenylist[extension]; ok {
|
if _, ok := r.extensionDenylist[extension]; ok {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user