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

Function run

extra/vulnserver/vulnserver.py:240–252  ·  view source on GitHub ↗
(address=LISTEN_ADDRESS, port=LISTEN_PORT)

Source from the content-addressed store, hash-verified

238 return
239
240def run(address=LISTEN_ADDRESS, port=LISTEN_PORT):
241 global _alive
242 global _server
243 try:
244 _alive = True
245 _server = ThreadingServer((address, port), ReqHandler)
246 print("[i] running HTTP server at 'http://%s:%d'" % (address, port))
247 _server.serve_forever()
248 except KeyboardInterrupt:
249 _server.socket.close()
250 raise
251 finally:
252 _alive = False
253
254if __name__ == "__main__":
255 try:

Callers 1

vulnserver.pyFile · 0.70

Calls 2

ThreadingServerClass · 0.70
closeMethod · 0.45

Tested by

no test coverage detected