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

Function _handle_abuseipdb

openosint/cli.py:524–534  ·  view source on GitHub ↗
(
    ip: str,
    timeout: int,
    json_output: bool = False,
)

Source from the content-addressed store, hash-verified

522
523
524async def _handle_abuseipdb(
525 ip: str,
526 timeout: int,
527 json_output: bool = False,
528) -> None:
529 print(f"[*] AbuseIPDB lookup: {ip}", file=sys.stderr)
530 result = await run_abuseipdb_osint(ip=ip, timeout_seconds=timeout)
531 if json_output:
532 _emit_json(format_tool_result("search_abuseipdb", ip, result))
533 else:
534 _print_result(result)
535
536
537async def _handle_github(

Callers 1

_async_mainFunction · 0.85

Calls 4

run_abuseipdb_osintFunction · 0.90
format_tool_resultFunction · 0.90
_emit_jsonFunction · 0.85
_print_resultFunction · 0.70

Tested by

no test coverage detected