(
target: str,
timeout: int,
json_output: bool = False,
)
| 509 | |
| 510 | |
| 511 | async 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 | |
| 524 | async def _handle_abuseipdb( |
no test coverage detected