Skip to content

Commit 0a3e771

Browse files
committed
1 parent f82c049 commit 0a3e771

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.3.13"
22+
VERSION = "1.1.3.14"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

plugins/generic/connector.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from lib.core.data import logger
1212
from lib.core.exception import SqlmapFilePathException
1313
from lib.core.exception import SqlmapUndefinedMethod
14+
from lib.core.settings import UNICODE_ENCODING
1415

1516
class Connector:
1617
"""
@@ -22,8 +23,8 @@ def __init__(self):
2223
self.cursor = None
2324

2425
def initConnection(self):
25-
self.user = conf.dbmsUser
26-
self.password = conf.dbmsPass if conf.dbmsPass is not None else ""
26+
self.user = conf.dbmsUser.encode(UNICODE_ENCODING) if conf.dbmsUser is not None else ""
27+
self.password = conf.dbmsPass.encode(UNICODE_ENCODING) if conf.dbmsPass is not None else ""
2728
self.hostname = conf.hostname
2829
self.port = conf.port
2930
self.db = conf.dbmsDb

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
4545
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4747
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48-
ba6399c8321f618d237051e1e7110aeb lib/core/settings.py
48+
c33fe4941f9d344d9100104b0a0e4abb lib/core/settings.py
4949
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5050
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151
afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
@@ -200,7 +200,7 @@ deed74334b637767fc9de8f74b37647a plugins/dbms/sybase/fingerprint.py
200200
45436a42c2bb8075e1482a950d993d55 plugins/dbms/sybase/__init__.py
201201
89412a921c8c598c19d36762d5820f05 plugins/dbms/sybase/syntax.py
202202
654cd5e69cf5e5c644bfa5d284e61206 plugins/dbms/sybase/takeover.py
203-
1f46f2eac95cfdc3fa150ec5b0500eba plugins/generic/connector.py
203+
be7481a96214220bcd8f51ca00239bed plugins/generic/connector.py
204204
a8f9d0516509e9e4226516ab4f13036a plugins/generic/custom.py
205205
3b54fd65feb9f70c551d315e82653384 plugins/generic/databases.py
206206
f7387352380136ac05c0bc3decb85638 plugins/generic/entries.py

0 commit comments

Comments
 (0)