This commit is contained in:
Miroslav Stampar 2017-09-05 10:51:58 +02:00
parent e609bd04ad
commit 7c41bc57e7
3 changed files with 4 additions and 4 deletions

View File

@ -118,7 +118,7 @@ def hexencode(value):
'666f6f626172'
"""
return utf8encode(value).encode("hex")
return unicodeencode(value, conf.charset or UNICODE_ENCODING).encode("hex")
def unicodeencode(value, encoding=None):
"""

View File

@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
from lib.core.enums import OS
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.1.9.3"
VERSION = "1.1.9.4"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

View File

@ -28,7 +28,7 @@ a66093c734c7f94ecdf94d882c2d8b89 lib/controller/controller.py
9f1adb993f66da030a4168571978e6fa lib/core/agent.py
6cc95a117fbd34ef31b9aa25520f0e31 lib/core/bigarray.py
55e0317b8bacce94bd6edb1a644e6b4d lib/core/common.py
5065a4242a8cccf72f91e22e1007ae63 lib/core/convert.py
8fb2c878ffa7e965f1c8ad9beb08d162 lib/core/convert.py
a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
7936d78b1a7f1f008ff92bf2f88574ba lib/core/datatype.py
36c85e9ef109c5b4af3ca9bb1065ef1f lib/core/decorators.py
@ -46,7 +46,7 @@ c5f09788ee8ff9c9d12a052986875bc6 lib/core/option.py
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
b57b58b96088042397ce57b93a6be153 lib/core/settings.py
e508d69c22ce6df3833299ef7ff2b95d lib/core/settings.py
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
4a6ecdd8a6e44bb4737bd9bc7f9b5743 lib/core/target.py