MCPcopy
hub / github.com/Xyntax/POC-T / api_mode

Function api_mode

lib/controller/loader.py:83–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81
82
83def api_mode():
84 conf.API_OUTPUT = os.path.join(paths.DATA_PATH, conf.API_MODE)
85 if not os.path.exists(conf.API_OUTPUT):
86 os.mkdir(conf.API_OUTPUT)
87
88 file = runApi()
89 for line in open(file):
90 sub = line.strip()
91 if sub:
92 th.queue.put(sub)

Callers 1

loadPayloadsFunction · 0.85

Calls 1

runApiFunction · 0.90

Tested by

no test coverage detected