MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / start

Function start

bbot/test/fastapi_test.py:9–12  ·  view source on GitHub ↗
(targets: List[str] = Query(...))

Source from the content-addressed store, hash-verified

7
8@app.get("/start")
9async def start(targets: List[str] = Query(...)):
10 scanner = Scanner(*targets, modules=["httpx"])
11 events = [e async for e in scanner.async_start()]
12 return [e.json() for e in events]
13
14
15@app.get("/ping")

Callers

nothing calls this directly

Calls 3

async_startMethod · 0.95
ScannerClass · 0.90
jsonMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…