mirror of
https://github.com/Ekultek/Zeus-Scanner.git
synced 2026-03-11 08:55:51 +00:00
minor update so that it will not keep pulling the Apache server error, this way it will truly only pull what it believes are WAF/IDS/IPS's
This commit is contained in:
parent
c4af51be6d
commit
a805afd1fa
1 changed files with 3 additions and 0 deletions
|
|
@ -67,9 +67,12 @@ def detect_protection(url, **kwargs):
|
|||
"it appears that the WAF/IDS/IPS check threw a DBMS error and may be vulnerable "
|
||||
"to SQL injection attacks. it appears the backend DBMS is '{}'...".format(dbms), level=25
|
||||
))
|
||||
return None
|
||||
|
||||
retval = []
|
||||
if status != 200 and "not found" not in html.lower():
|
||||
if "Apache" in headers["Server"] and "you don't have permission" in html.lower():
|
||||
return None
|
||||
file_list = [f for f in os.listdir(DETECT_FIREWALL_PATH) if not any(ex in f for ex in ["__init__", ".pyc"])]
|
||||
for item in file_list:
|
||||
item = item[:-3]
|
||||
|
|
|
|||
Loading…
Reference in a new issue