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

Method connect

lib/utils/api.py:89–93  ·  view source on GitHub ↗
(self, who="server")

Source from the content-addressed store, hash-verified

87 self.cursor = None
88
89 def connect(self, who="server"):
90 self.connection = sqlite3.connect(self.database, timeout=3, isolation_level=None, check_same_thread=False)
91 self.cursor = self.connection.cursor()
92 self.lock = threading.Lock()
93 logger.debug("REST-JSON API %s connected to IPC database" % who)
94
95 def disconnect(self):
96 if self.cursor:

Callers 9

initFunction · 0.45
setRestAPILogFunction · 0.45
serverFunction · 0.45
_get_cursorMethod · 0.45
setHandlerFunction · 0.45
vulnTestFunction · 0.45
getLocalIPFunction · 0.45
findLocalPortFunction · 0.45
__init__Method · 0.45

Calls 1

debugMethod · 0.80

Tested by 1

vulnTestFunction · 0.36