mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Patch for -d (DREI)
This commit is contained in:
parent
6d07d52ccd
commit
be340fcf11
5 changed files with 12 additions and 12 deletions
|
|
@ -13,7 +13,7 @@ except:
|
|||
import logging
|
||||
|
||||
from lib.core.common import getSafeExString
|
||||
from lib.core.convert import getBytes
|
||||
from lib.core.convert import getText
|
||||
from lib.core.data import conf
|
||||
from lib.core.data import logger
|
||||
from lib.core.exception import SqlmapConnectionException
|
||||
|
|
@ -75,7 +75,7 @@ class Connector(GenericConnector):
|
|||
|
||||
def execute(self, query):
|
||||
try:
|
||||
self.cursor.execute(getBytes(query))
|
||||
self.cursor.execute(getText(query))
|
||||
except self.__sqlite.OperationalError as ex:
|
||||
logger.log(logging.WARN if conf.dbmsHandler else logging.DEBUG, "(remote) '%s'" % getSafeExString(ex))
|
||||
except self.__sqlite.DatabaseError as ex:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue