mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor update (preventing WAF specific response reports on generic 403)
This commit is contained in:
parent
ca9a56c0ff
commit
3e72da66f9
3 changed files with 4 additions and 4 deletions
|
|
@ -1450,7 +1450,7 @@ def identifyWaf():
|
|||
retVal.append(product)
|
||||
|
||||
if retVal:
|
||||
if kb.wafSpecificResponse and len(retVal) == 1 and "unknown" in retVal[0].lower():
|
||||
if kb.wafSpecificResponse and "You don't have permission to access" not in kb.wafSpecificResponse and len(retVal) == 1 and "unknown" in retVal[0].lower():
|
||||
handle, filename = tempfile.mkstemp(prefix=MKSTEMP_PREFIX.SPECIFIC_RESPONSE)
|
||||
os.close(handle)
|
||||
with openFile(filename, "w+b") as f:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue