mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-23 14:49:03 +00:00
updates, fixes and stuff
This commit is contained in:
@@ -78,8 +78,8 @@ class Connector(GenericConnector):
|
||||
self.connector.commit()
|
||||
|
||||
def select(self, query):
|
||||
self.execute(query)
|
||||
return self.fetchall()
|
||||
self.cursor.execute(query)
|
||||
return self.cursor.fetchall()
|
||||
|
||||
def setCursor(self):
|
||||
self.cursor = self.connector.cursor()
|
||||
|
||||
@@ -93,6 +93,9 @@ class Fingerprint(GenericFingerprint):
|
||||
|
||||
logMsg = "testing SQLite"
|
||||
logger.info(logMsg)
|
||||
|
||||
if conf.direct:
|
||||
conf.dbmsConnector.connect()
|
||||
|
||||
payload = agent.fullPayload(" AND LAST_INSERT_ROWID()=LAST_INSERT_ROWID()")
|
||||
result = Request.queryPage(payload)
|
||||
|
||||
Reference in New Issue
Block a user