MCPcopy Create free account
hub / github.com/OpenOSINT/OpenOSINT / _handle_virustotal

Function _handle_virustotal

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

Source from the content-addressed store, hash-verified

496
497
498async def _handle_virustotal(
499 target: str,
500 timeout: int,
501 json_output: bool = False,
502) -> None:
503 print(f"[*] VirusTotal lookup: {target}", file=sys.stderr)
504 result = await run_virustotal_osint(target=target, timeout_seconds=timeout)
505 if json_output:
506 _emit_json(format_tool_result("search_virustotal", target, result))
507 else:
508 _print_result(result)
509
510
511async def _handle_censys(

Callers 1

_async_mainFunction · 0.85

Calls 4

run_virustotal_osintFunction · 0.90
format_tool_resultFunction · 0.90
_emit_jsonFunction · 0.85
_print_resultFunction · 0.70

Tested by

no test coverage detected