Repository navigation
01 ‐ Commands
Run bare aliasr (optionally aliasr -e to execute the built command on selection) to open the TUI. The subcommands below cover the non-interactive utilities.
aliasr [-h] [-e] {audit,send,scan,list,clear} ...Bare aliasr audit prints a brief summary across every section. Add flags to run a section in full; flags combine freely (e.g. aliasr audit -rv):
| Flag | Audits |
|---|---|
-c, --cheats
|
Cheatsheets. Add -l/--list-all to list every cheat grouped by tag. |
-r, --references
|
Parameter references. |
-v, --variations
|
Variations (variations.toml). |
--config |
Configuration (config.toml), including the active file and resolved values. |
-a, --all
|
Every section, in full. |
aliasr send [-c | -o FILE | -p [PANE] | -pp]-
-c,--copy- copy to clipboard -
-o,--outfile FILE- write to a file -
-p,--pane [PANE]- send to a tmux pane (defaults to pane0) -
-pp,--previous-pane- send to the previously focused tmux pane (see the tmux binds in the README)
aliasr scan <IP> [-u USER] [-p PASSWORD] [-H HASH] [-k] [--use-kcache]Fingerprints a target with NetExec (nxc must be on your PATH) and fills your globals - hostname, domain, fqdn, dc_ip, dc_fqdn, domain_sid, netbios, and more - detecting whether the host is a domain controller along the way. Supplied credentials are saved too.
The authentication flags mirror NetExec's own and are passed straight through, so any combination nxc accepts works here. -k is only ever emitted when you ask for it (it is never forced onto password/hash auth).
aliasr list {globals,creds,all}Lists your current globals, saved credentials, or both.
aliasr clear {cache,globals,creds,hosts,all} [-y]-
cache- the cheats cache. Not usually needed: the cache rebuilds automatically whenever your cheats change. -
globals- reset globals to the configured defaults. -
creds/hosts/all- clear credentials/hosts (and everything, respectively).
Note
creds, hosts, and all ask for confirmation first - they also clear the matching entries in nxcdb by default (see Credentials and Hosts). Pass -y/--yes to skip the prompt for scripting. If there's nothing to clear, aliasr says so and skips the prompt.
Documentation for aliasr. Spotted an error or want a feature? Open an issue