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.16 "
20+ VERSION = "1.3.4.17 "
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 @@ -637,10 +637,11 @@ class _(dict):
637637 errMsg += "authentication type and valid credentials (%d)" % code
638638 raise SqlmapConnectionException (errMsg )
639639 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 )
640+ warnMsg = "turning off HTTP chunked transfer encoding "
641+ warnMsg += "as it seems that the target site doesn't support it (%d)" % code
642+ singleTimeWarnMessage (warnMsg )
643+ conf .chunked = kwargs ["chunked" ] = False
644+ return Connect .getPage (** kwargs )
644645 elif ex .code == _http_client .NOT_FOUND :
645646 if raise404 :
646647 errMsg = "page not found (%d)" % code
You can’t perform that action at this time.
0 commit comments