mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Minor fix
This commit is contained in:
parent
d1ae62b22b
commit
a3d9a7b1ff
|
@ -1064,13 +1064,15 @@ def identifyWaf():
|
|||
|
||||
@cachedmethod
|
||||
def _(*args, **kwargs):
|
||||
page, headers, code = None, None, None
|
||||
try:
|
||||
if kwargs.get("get"):
|
||||
kwargs["get"] = urlencode(kwargs["get"])
|
||||
kwargs["raise404"] = False
|
||||
return Request.getPage(*args, **kwargs)
|
||||
except Exception, ex:
|
||||
return None, None, None
|
||||
page, headers, code = Request.getPage(*args, **kwargs)
|
||||
except Exception:
|
||||
pass
|
||||
return page or "", headers or {}, code
|
||||
|
||||
retVal = False
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user