identify section/id post hscan 04
@@ -206,6 +206,7 @@ function waf_section_match(first_match, sections, request, exclude_sigs)
local sigid = first_match.id
local waf_sig = globals.WAFSignatures[sigid]
+ if waf_sig then
local patt = waf_sig.operand
for section, section_entries in pairs(exclude_sigs) do
@@ -218,6 +219,7 @@ function waf_section_match(first_match, sections, request, exclude_sigs)
end
end
end
+ end
return WAFPass, "waf-passed"
