mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Update regarding #3592
This commit is contained in:
parent
9459d5ea15
commit
77cb85f2b8
2 changed files with 6 additions and 1 deletions
|
|
@ -636,6 +636,11 @@ class Connect(object):
|
|||
errMsg = "not authorized, try to provide right HTTP "
|
||||
errMsg += "authentication type and valid credentials (%d)" % code
|
||||
raise SqlmapConnectionException(errMsg)
|
||||
elif chunked and ex.code in (_http_client.METHOD_NOT_ALLOWED, _http_client.LENGTH_REQUIRED):
|
||||
errMsg = "it seems that target site doesn't support "
|
||||
errMsg += "HTTP chunking (%d). " % code
|
||||
errMsg += "Please try to rerun without the switch '--chunked'"
|
||||
raise SqlmapConnectionException(errMsg)
|
||||
elif ex.code == _http_client.NOT_FOUND:
|
||||
if raise404:
|
||||
errMsg = "page not found (%d)" % code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue