mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
minor update to the AWS WAF script, just some small edits
This commit is contained in:
parent
5757f311b2
commit
3d37e31747
1 changed files with 5 additions and 6 deletions
|
|
@ -14,9 +14,8 @@ def detect(content, **kwargs):
|
|||
re.compile(r"x.amz.id.\d+", re.I),
|
||||
re.compile(r"x.amz.request.id", re.I)
|
||||
)
|
||||
if headers is not None:
|
||||
for detection in detection_schema:
|
||||
if detection.search(content) is not None:
|
||||
return True
|
||||
elif detection.search(str(headers)) is not None:
|
||||
return True
|
||||
for detection in detection_schema:
|
||||
if detection.search(content) is not None:
|
||||
return True
|
||||
elif detection.search(str(headers)) is not None:
|
||||
return True
|
||||
|
|
|
|||
Loading…
Reference in a new issue