MCPcopy Index your code
hub / github.com/OpenOSINT/OpenOSINT / _handle_censys

Function _handle_censys

openosint/cli.py:511–521  ·  view source on GitHub ↗
(
    target: str,
    timeout: int,
    json_output: bool = False,
)

Source from the content-addressed store, hash-verified

509
510
511async def _handle_censys(
512 target: str,
513 timeout: int,
514 json_output: bool = False,
515) -> None:
516 print(f"[*] Censys lookup: {target}", file=sys.stderr)
517 result = await run_censys_osint(target=target, timeout_seconds=timeout)
518 if json_output:
519 _emit_json(format_tool_result("search_censys", target, result))
520 else:
521 _print_result(result)
522
523
524async def _handle_abuseipdb(

Callers 1

_async_mainFunction · 0.85

Calls 4

run_censys_osintFunction · 0.90
format_tool_resultFunction · 0.90
_emit_jsonFunction · 0.85
_print_resultFunction · 0.70

Tested by

no test coverage detected