File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717from 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 "
2121TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2222TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2323VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments