File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.1.5.2 "
22+ VERSION = "1.1.5.3 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_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 @@ -105,6 +105,7 @@ class WebSocketException(Exception):
105105from lib .core .settings import REPLACEMENT_MARKER
106106from lib .core .settings import TEXT_CONTENT_TYPE_REGEX
107107from lib .core .settings import UNENCODED_ORIGINAL_VALUE
108+ from lib .core .settings import UNICODE_ENCODING
108109from lib .core .settings import URI_HTTP_HEADER
109110from lib .core .settings import WARN_TIME_STDEV
110111from lib .request .basic import decodePage
@@ -1051,7 +1052,7 @@ def _randomizeParameter(paramString, randomParameter):
10511052 if name != "__builtins__" and originals .get (name , "" ) != value :
10521053 if isinstance (value , (basestring , int )):
10531054 found = False
1054- value = getUnicode (value )
1055+ value = getUnicode (value , UNICODE_ENCODING )
10551056
10561057 if kb .postHint and re .search (r"\b%s\b" % re .escape (name ), post or "" ):
10571058 if kb .postHint in (POST_HINT .XML , POST_HINT .SOAP ):
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ ebb778c2d26eba8b34d7d8658e4105a6 lib/core/optiondict.py
4646d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4747785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
484840c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
49- 578150c2c76de42225eb9bc0857dda56 lib/core/settings.py
49+ 06e5a2f64fe5cc894c7f1188c86133c1 lib/core/settings.py
5050d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
51512ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5252155e2d3fda87b2e3ffa4f7a770513946 lib/core/target.py
@@ -68,7 +68,7 @@ aa89ea0c7c44eb74eaaeeccaddc94d39 lib/parse/cmdline.py
6868403d873f1d2fd0c7f73d83f104e41850 lib/request/basicauthhandler.py
6969aa8abda6eab79646b1759c0653925328 lib/request/basic.py
7070ef48de622b0a6b4a71df64b0d2785ef8 lib/request/comparison.py
71- 95363c8973208dd95295a23acc9674bc lib/request/connect.py
71+ d55a7a97efca1205510ecb0e8f7149e1 lib/request/connect.py
7272fb6b788d0016ab4ec5e5f661f0f702ad lib/request/direct.py
7373cc1163d38e9b7ee5db2adac6784c02bb lib/request/dns.py
74745dcdb37823a0b5eff65cd1018bcf09e4 lib/request/httpshandler.py
You can’t perform that action at this time.
0 commit comments