target, --target-file, --audit, --coerce-all, or --session-resume.
Flags
One or more positional target arguments. Accepted formats:
- Single IP:
10.0.0.5 - Hostname or FQDN:
dc01.corp.example.local - CIDR notation:
10.0.0.0/24 - Hyphenated IP range:
10.0.0.1-10.0.0.50
Path to a file containing targets, one per line. Supports the same formats as the positional
target argument (IPs, hostnames, CIDRs, ranges). Blank lines and lines beginning with # are ignored.Audit mode: enumerate all computer accounts from Active Directory via LDAP and scan them. Requires low-privilege AD credentials (
-u, -p, -d) and a reachable DC (--dc-ip). Default protocols when --audit is active are smb, ldap, ldaps, and mssql; adding http,https enables tier-0 HTTP relay path analysis.--audit cannot be combined with --coerce-all.Skip the ICMP ping sweep that RelayKing uses to filter live hosts from CIDR ranges before scanning. Use this when running through a SOCKS proxy, where ICMP is typically unsupported.
Path to a
.resume session file generated by a previous --audit scan. Resuming skips AD enumeration, DNS resolution, and port scanning for work that was already completed, and continues from where the interrupted scan left off.The file must exist; RelayKing exits with an error if the path is not found.Targeting modes
- Single host
- CIDR range
- IP range
- Target file
- Audit mode
- Session resume
Scan a single IP address or hostname:
