Updated Jul 15, 2026

Recon

Pivot from one registrant detail to owned domains

Pivot one registrant detail into registered domains.

Python · Apache-2.0 license

Free plan: 1 user, 3 execution slots, no card.

overview

What whoisninja does

Pass --org, --email, --phone, or --domain (or the matching list file) and Trickest returns domains registered with that detail via whoisxmlapi Reverse WHOIS. Requires --api_key.

Enable --historic when you need lapsed or transferred domains a current-only lookup misses. Tune --sleep and --maxretry against API rate limits.

Use early for footprint expansion, then hand domains to subdomain enum and probing. Prefer whois-with-ripe when you only need a forward lookup on one hostname.

source github.com/RikunjSindhwad/Task-Ninja-Workflows

image quay.io/trickest/whoisninja:ecebe8f

use cases

whoisninja use cases

Expand a footprint from one identifier

Start from a known organization name or registrant email and recover every domain registered with it, turning one data point into a complete asset list.

Find unadvertised and shadow domains

Pivot on a registrant detail to surface domains a company owns but never links to publicly, widening the attack surface.

Recover historic registrations

Enable --historic to include domains the target registered in the past, catching assets that have since lapsed or moved.

Bulk pivot from a list of orgs

Feed --org_list or --email_list to run many reverse lookups in one node, collecting registered domains across the whole input.

reference

whoisninja inputs and flags

12 inputs
NameTypeFlagDescription
orgSTRING--orgSingle organization (use * for wildcard).
emailSTRING--emailSingle email address (use * for wildcard).
domainSTRING--domainSingle domain name (use * for wildcard).
api_keySTRING--api_keyYour Reverse WHOIS API key (whoisxmlapi.com).
historicBOOLEAN--historicGet historical domains too (default false).
org_listFILE--org_listFile containing a list of organizations.
sleepSTRING--sleepSleep time between each request (default 2 seconds).
maxretrySTRING--maxretryMax retry on failure (default 5).

Showing key inputs. whoisninja exposes 12 inputs in total.

Full flag reference (12 inputs)
NameTypeFlagDescription
orgSTRING--orgSingle organization (user * for wildcard)
emailSTRING--emailSingle email address (user * for wildcard)
phoneSTRING--phoneSingle phone number (user * for wildcard)
sleepSTRING--sleepSleep time between each request (default 2 seconds)
domainSTRING--domainSingle domain name (user * for wildcard)
api_keySTRING--api_keyYour Reverse WHOIS API key (whoisxmlapi.com)
historicBOOLEAN--historicGet Historical domains too (default false)
maxretrySTRING--maxretryMax retry on failure (default=5)
org_listFILE--org_listFile containing a list of organizations
email_listFILE--email_list--email_list EMAIL_LIST
phone_listFILE--phone_list--phone_list PHONE_LIST
domain_listFILE--domain_list--domain_list DOMAIN_LIST

example

whoisninja command examples

whoisninja · command
# reverse WHOIS by organization, include historic domains
whoisninja --org "Example Corp" --api_key YOUR_KEY --historic --sleep 2 --maxretry 5
Illustrative
example.com
example.net
example.com
example.com
staging.example.com
mail.example.com
dev.example.com
corp-cdn.example.com
8 domains for org pivot (historic included)

guidance

whoisninja vs alternatives

Use when you have one identifier (org, email, phone, or domain) and want every domain registered with it. For a forward lookup on a single host, use whois-with-ripe instead.

ToolPick it when
whois-with-ripeForward WHOIS on one hostname via RIPE. Read an asset; do not pivot from owner to domains.
amassBroader attack-surface mapping with WHOIS correlation. Heavier than reverse WHOIS alone.

faq

whoisninja FAQ

Organization, email, phone, or domain, each as a single value (--org, --email, --phone, --domain) or list file. Wildcards use *.

Yes. It calls the whoisxmlapi.com Reverse WHOIS API, so pass your key with --api_key.

Yes. Enable --historic to include past registrations, which surfaces lapsed or transferred assets a current-only lookup misses.

Raise --sleep to space requests and set --maxretry so transient failures retry instead of dropping results.

Subdomain enumeration such as subfinder, then a live probe like httpx, so recovered domains expand into a live surface.

whoisninja reverse-pivots from registrant detail to many domains. whois-with-ripe does a forward RIPE lookup for one hostname.

Run whoisninja yourself

An organization name feeds whoisninja, which reverse-resolves every registered domain and passes them to subfinder for subdomain enumeration before they land as an asset inventory.

Facts on this page come from the live Trickest tool library.