mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fixes #1630
This commit is contained in:
parent
42066cfb3d
commit
03160d99eb
|
@ -38,6 +38,7 @@ class HashDB(object):
|
|||
connection = sqlite3.connect(self.filepath, timeout=3, isolation_level=None)
|
||||
threadData.hashDBCursor = connection.cursor()
|
||||
threadData.hashDBCursor.execute("CREATE TABLE IF NOT EXISTS storage (id INTEGER PRIMARY KEY, value TEXT)")
|
||||
connection.commit()
|
||||
except Exception, ex:
|
||||
errMsg = "error occurred while opening a session "
|
||||
errMsg += "file '%s' ('%s')" % (self.filepath, ex)
|
||||
|
|
Loading…
Reference in New Issue
Block a user