File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020from thirdparty .six import unichr as _unichr
2121
2222# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23- VERSION = "1.5.9.4 "
23+ VERSION = "1.5.9.5 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_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 @@ -764,6 +764,10 @@ class _(dict):
764764 singleTimeWarnMessage (warnMsg )
765765 conf .chunked = kwargs ["chunked" ] = False
766766 return Connect .getPage (** kwargs )
767+ elif ex .code == _http_client .REQUEST_URI_TOO_LONG :
768+ warnMsg = "request URI is marked as too long by the target. "
769+ warnMsg += "you are advised to try a switch '--no-cast' and/or '--no-escape'"
770+ singleTimeWarnMessage (warnMsg )
767771 elif ex .code == _http_client .NOT_FOUND :
768772 if raise404 :
769773 errMsg = "page not found (%d)" % code
You can’t perform that action at this time.
0 commit comments