MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / init

Method init

lib/utils/api.py:124–127  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

122 return self.cursor.fetchall()
123
124 def init(self):
125 self.execute("CREATE TABLE IF NOT EXISTS logs(id INTEGER PRIMARY KEY AUTOINCREMENT, taskid INTEGER, time TEXT, level TEXT, message TEXT)")
126 self.execute("CREATE TABLE IF NOT EXISTS data(id INTEGER PRIMARY KEY AUTOINCREMENT, taskid INTEGER, status INTEGER, content_type INTEGER, value TEXT)")
127 self.execute("CREATE TABLE IF NOT EXISTS errors(id INTEGER PRIMARY KEY AUTOINCREMENT, taskid INTEGER, error TEXT)")
128
129class Task(object):
130 def __init__(self, taskid, remote_addr):

Callers 2

serverFunction · 0.80
_threadFunction · 0.80

Calls 1

executeMethod · 0.95

Tested by 1

_threadFunction · 0.64