mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-28 04:33:16 +00:00
Couple of small fixes
This commit is contained in:
parent
8110ccb38a
commit
69efd623c9
6 changed files with 17 additions and 16 deletions
|
|
@ -119,8 +119,8 @@ class Database(object):
|
|||
else:
|
||||
break
|
||||
|
||||
if statement.lstrip().upper().startswith("SELECT"):
|
||||
return self.cursor.fetchall()
|
||||
if statement.lstrip().upper().startswith("SELECT"):
|
||||
return self.cursor.fetchall()
|
||||
|
||||
def init(self):
|
||||
self.execute("CREATE TABLE IF NOT EXISTS logs(id INTEGER PRIMARY KEY AUTOINCREMENT, taskid INTEGER, time TEXT, level TEXT, message TEXT)")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue