File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed 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.3.13 "
22+ VERSION = "1.1.3.14 "
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 1111from lib .core .data import logger
1212from lib .core .exception import SqlmapFilePathException
1313from lib .core .exception import SqlmapUndefinedMethod
14+ from lib .core .settings import UNICODE_ENCODING
1415
1516class 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
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ a8143dab9d3a27490f7d49b6b29ea530 lib/core/data.py
4545d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
474740c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48- ba6399c8321f618d237051e1e7110aeb lib/core/settings.py
48+ c33fe4941f9d344d9100104b0a0e4abb lib/core/settings.py
4949d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
50502ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
@@ -200,7 +200,7 @@ deed74334b637767fc9de8f74b37647a plugins/dbms/sybase/fingerprint.py
20020045436a42c2bb8075e1482a950d993d55 plugins/dbms/sybase/__init__.py
20120189412a921c8c598c19d36762d5820f05 plugins/dbms/sybase/syntax.py
202202654cd5e69cf5e5c644bfa5d284e61206 plugins/dbms/sybase/takeover.py
203- 1f46f2eac95cfdc3fa150ec5b0500eba plugins/generic/connector.py
203+ be7481a96214220bcd8f51ca00239bed plugins/generic/connector.py
204204a8f9d0516509e9e4226516ab4f13036a plugins/generic/custom.py
2052053b54fd65feb9f70c551d315e82653384 plugins/generic/databases.py
206206f7387352380136ac05c0bc3decb85638 plugins/generic/entries.py
You can’t perform that action at this time.
0 commit comments