hackertarget_reverseip
Find all domains hosted on a specific IP address using HackerTarget's reverse IP lookup. Identify websites sharing the same server for security research or network analysis.
Instructions
Reverse IP lookup via HackerTarget — find all domains hosted on an IP. Free tier: 50 queries/day.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IP address for reverse lookup |
Implementation Reference
- src/hackertarget/index.ts:44-48 (handler)The core logic for performing the reverse IP lookup via the HackerTarget API.
export async function hackertargetReverseIp(ip: string): Promise<string[]> { const text = await htFetch("reverseiplookup", ip); if (!text) return []; return text.split("\n").filter(Boolean).map((l) => l.trim()); } - src/protocol/tools.ts:417-424 (registration)Tool registration for 'hackertarget_reverseip', defining the schema and binding it to the implementation handler.
const hackertargetReverseIpTool: ToolDef = { name: "hackertarget_reverseip", description: "Reverse IP lookup via HackerTarget — find all domains hosted on an IP. Free tier: 50 queries/day.", schema: { ip: z.string().describe("IP address for reverse lookup"), }, execute: async (args) => json(await hackertargetReverseIp(args.ip as string)), };