Skip to content

01 ‐ Commands

Mojo8898 edited this page Oct 23, 2026 · 1 revision

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} ...

audit - sanity-check cheats and config

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.

send - control how a built command is delivered

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 pane 0)
  • -pp, --previous-pane - send to the previously focused tmux pane (see the tmux binds in the README)

scan - auto-populate globals from a target

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).

list - print stored data

aliasr list {globals,creds,all}

Lists your current globals, saved credentials, or both.

clear - wipe stored data

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.

Clone this wiki locally