Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 77cb85f

Browse files
committed
Update regarding #3592
1 parent 9459d5e commit 77cb85f

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from lib.core.enums import OS
1818

1919
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
20-
VERSION = "1.3.4.15"
20+
VERSION = "1.3.4.16"
2121
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2222
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2323
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/request/connect.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,11 @@ class _(dict):
636636
errMsg = "not authorized, try to provide right HTTP "
637637
errMsg += "authentication type and valid credentials (%d)" % code
638638
raise SqlmapConnectionException(errMsg)
639+
elif chunked and ex.code in (_http_client.METHOD_NOT_ALLOWED, _http_client.LENGTH_REQUIRED):
640+
errMsg = "it seems that target site doesn't support "
641+
errMsg += "HTTP chunking (%d). " % code
642+
errMsg += "Please try to rerun without the switch '--chunked'"
643+
raise SqlmapConnectionException(errMsg)
639644
elif ex.code == _http_client.NOT_FOUND:
640645
if raise404:
641646
errMsg = "page not found (%d)" % code

0 commit comments

Comments
 (0)