mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #2598
This commit is contained in:
parent
e07ff7168b
commit
b622c25f9d
4 changed files with 10 additions and 8 deletions
|
|
@ -23,8 +23,8 @@ class Connector:
|
|||
self.cursor = None
|
||||
|
||||
def initConnection(self):
|
||||
self.user = conf.dbmsUser.encode(UNICODE_ENCODING) if conf.dbmsUser is not None else ""
|
||||
self.password = conf.dbmsPass.encode(UNICODE_ENCODING) if conf.dbmsPass is not None else ""
|
||||
self.user = conf.dbmsUser or ""
|
||||
self.password = conf.dbmsPass or ""
|
||||
self.hostname = conf.hostname
|
||||
self.port = conf.port
|
||||
self.db = conf.dbmsDb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue