(
target: str,
timeout: int,
json_output: bool = False,
)
| 496 | |
| 497 | |
| 498 | async 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 | |
| 511 | async def _handle_censys( |
no test coverage detected