This commit is contained in:
Bernardo Damele 2011-08-12 14:51:39 +00:00
parent 702ca22d54
commit 1505cb2a80

View File

@ -399,7 +399,7 @@ class Connect:
errMsg = "not authorized, try to provide right HTTP "
errMsg += "authentication type and valid credentials (%d)" % code
raise sqlmapConnectionException, errMsg
elif e.code == 404
elif e.code == 404:
if raise404:
errMsg = "page not found (%d)" % code
raise sqlmapConnectionException, errMsg