mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
Minor bug fix for URI injections
This commit is contained in:
parent
28bba9f5e6
commit
702ca22d54
|
@ -399,9 +399,15 @@ class Connect:
|
||||||
errMsg = "not authorized, try to provide right HTTP "
|
errMsg = "not authorized, try to provide right HTTP "
|
||||||
errMsg += "authentication type and valid credentials (%d)" % code
|
errMsg += "authentication type and valid credentials (%d)" % code
|
||||||
raise sqlmapConnectionException, errMsg
|
raise sqlmapConnectionException, errMsg
|
||||||
elif e.code == 404 and raise404:
|
elif e.code == 404
|
||||||
|
if raise404:
|
||||||
errMsg = "page not found (%d)" % code
|
errMsg = "page not found (%d)" % code
|
||||||
raise sqlmapConnectionException, errMsg
|
raise sqlmapConnectionException, errMsg
|
||||||
|
else:
|
||||||
|
debugMsg = "page not found (%d)" % code
|
||||||
|
logger.debug(debugMsg)
|
||||||
|
processResponse(page, responseHeaders)
|
||||||
|
return page, responseHeaders
|
||||||
elif e.code == 504:
|
elif e.code == 504:
|
||||||
if ignoreTimeout:
|
if ignoreTimeout:
|
||||||
return None, None
|
return None, None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user