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

Function init

extra/vulnserver/vulnserver.py:66–83  ·  view source on GitHub ↗
(quiet=False)

Source from the content-addressed store, hash-verified

64_alive = False
65
66def init(quiet=False):
67 global _conn
68 global _cursor
69 global _lock
70
71 _conn = sqlite3.connect(":memory:", isolation_level=None, check_same_thread=False)
72 _cursor = _conn.cursor()
73 _lock = threading.Lock()
74
75 _cursor.executescript(SCHEMA)
76
77 if quiet:
78 global print
79
80 def _(*args, **kwargs):
81 pass
82
83 print = _
84
85class ThreadingServer(ThreadingMixIn, HTTPServer):
86 def finish_request(self, *args, **kwargs):

Callers 1

vulnserver.pyFile · 0.70

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…