<!doctype html><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width, initial-scale=1"><metaname="color-scheme"content="light"><metaname="theme-color"content="#faf4ed"><metaname="description"content="Zsh, Alacritty and desktop workflow cheatsheet."><title>Voidwalker Field Manual // Zsh + terminal</title><linkrel="stylesheet"href="assets/style.css?v=2"><scriptsrc="assets/app.js?v=2"defer></script></head>
<body><aclass="skip-link"href="#content">Skip to content</a>
<headerclass="site-header"><divclass="header-inner"><aclass="brand"href="index.html"><spanclass="brand-mark"aria-hidden="true">V</span><span>Voidwalker<small>offline field manual</small></span></a><buttonclass="nav-toggle"type="button"aria-expanded="false"aria-controls="site-nav">menu</button><navclass="site-nav"id="site-nav"aria-label="Handbook"><ahref="index.html">Setup</a><ahref="tmux.html">tmux</a><ahref="pe.html">pe</a><ahref="htb-workflow.html">HTB</a><ahref="zsh-terminal.html">Shell</a><ahref="recon.html">Recon</a><ahref="web.html">Web</a><ahref="ad-windows.html">AD</a><ahref="privesc.html">PrivEsc</a><ahref="transfer.html">Transfer</a><ahref="toolbox.html">Tools</a></nav></div></header>
<divclass="page-shell"><mainid="content"><sectionclass="hero"><pclass="eyebrow">Module 04 // operator interface</p><h1>Zsh + <spanclass="accent">terminal.</span></h1><pclass="lede">The shell glues the encrypted target model, isolated toolchains, route guards and tmux workspace into a fast keyboard-first interface.</p><divclass="hero-meta"><spanclass="tag">Alacritty</span><spanclass="tag">Zsh</span><spanclass="tag">fzf</span><spanclass="tag">Rose Pine</span></div></section>
<divclass="notice"><div><strong>Authorized labs only.</strong> Confirm the scope, target and route before active testing. Examples use placeholders; replace them only with values from your permitted lab.</div></div>
<divclass="search-box"><labelfor="page-search">Filter this page</label><inputid="page-search"data-page-searchtype="search"placeholder="Type a tool, command or topic…"autocomplete="off"><spanclass="search-hint"><kbd>/</kbd> focus · <kbd>Esc</kbd> clear</span></div><pclass="filter-summary"data-filter-summaryaria-live="polite"></p>
<sectionid="path"data-search-itemdata-search="PATH go cargo local bin httpx command versions"><h2>Tool path and identity</h2><p>The managed order is <code>~/go/bin</code>, <code>~/.cargo/bin</code>, <code>~/.local/bin</code>, then the system path. This makes ProjectDiscovery's Go <code>httpx</code> win over the unrelated Python command.</p><pre><code>type -a httpx
command -v ffuf feroxbuster nxc
httpx -version
nuclei -version</code></pre></section>
<sectionid="aliases"data-search-itemdata-search="aliases t f c h n target flag cred host note box vpn doctor"><h2>High-signal aliases</h2><divclass="table-wrap"><table><thead><tr><th>Alias</th><th>Expands to</th><th>Use</th></tr></thead><tbody><tr><td><code>t / f / c / h / n</code></td><td><code>pe target / flag / cred / host / note</code></td><td>Noun shortcuts.</td></tr><tr><td><code>tl tu ts</code></td><td>target list / use / status</td><td>Scope navigation.</td></tr><tr><td><code>fl cl hl nl</code></td><td>finding list commands</td><td>Review active-target data.</td></tr><tr><td><code>box</code></td><td><code>htb-session</code></td><td>Open the target cockpit.</td></tr><tr><td><code>htbvpn</code></td><td><code>pe vpn</code></td><td>VPN command family.</td></tr><tr><td><code>pedoctor</code></td><td><code>pe doctor</code></td><td>Health audit.</td></tr><tr><td><code>wordlists</code></td><td>change to <code>$PE_WORDLIST_ROOT</code></td><td>Browse the sparse list set.</td></tr><tr><td><code>serve</code></td><td><code>python3 -m http.server</code></td><td>Temporary current-directory HTTP server.</td></tr></tbody></table></div></section>
<sectionid="helpers"data-search-itemdata-search="helpers tip useip newbox scan fullscan udpquick webenum route guard"><h2>Workflow helpers</h2><pre><code>tip # print active IP; copy when possible
useip # export IP and RHOST
newbox NAME IP [platform] # register + private work tree
scan [IP] # service/version Nmap set
fullscan [IP] # all TCP ports
udpquick [IP] # top 100 UDP ports, sudo
webenum 'http://HOST/FUZZ' # ffuf with curated list</code></pre><p>The four active helpers check the kernel route. To use them in another explicitly authorized non-VPN lab, opt out for that one invocation: <code>PE_ALLOW_NO_VPN=1 scan 192.0.2.10</code>.</p></section>
<sectionid="widgets"data-search-itemdata-search="keyboard widgets fzf Ctrl X target credential flag insert"><h2>Interactive widgets</h2><divclass="table-wrap"><table><thead><tr><th>Key</th><th>Action</th><th>Safety note</th></tr></thead><tbody><tr><td><kbd>Ctrl-X</kbd> <kbd>t</kbd></td><td>fzf-switch active target.</td><td>Check the refreshed prompt.</td></tr><tr><td><kbd>Ctrl-X</kbd> <kbd>f</kbd></td><td>Insert a selected flag value.</td><td>Insertion does not execute.</td></tr><tr><td><kbd>Ctrl-X</kbd> <kbd>c</kbd></td><td>Insert a selected credential secret.</td><td>Screen and clipboard shoulder-surfing still matter.</td></tr><tr><td><kbd>Esc</kbd> <kbd>Esc</kbd></td><td>Prepend <code>sudo</code>.</td><td>Review the full line before Enter.</td></tr></tbody></table></div></section>
<sectionid="history"data-search-itemdata-search="history secret leading space clipboard permissions private umask"><h2>Secret hygiene</h2><ulclass="checklist"><li>Begin a sensitive command with a literal space; <code>hist_ignore_space</code> keeps it out of saved Zsh history.</li><li>NetExec wrappers run with <code>umask 077</code> so newly created logs, screenshots and databases remain private.</li><li>Do not store passwords or tokens in <code>~/.config/zsh/local.zsh</code>.</li><li><code>tip</code> may copy an IP through <code>wl-copy</code> or <code>xclip</code>. Clear the clipboard after copying secrets.</li><li><code>cat</code> remains unaliased so pipelines are predictable; use <code>bat</code> for presentation.</li></ul></section>
<sectionid="customize"data-search-itemdata-search="customize local override prompt theme alacritty GNOME terminal shortcuts"><h2>Safe customization</h2><p>Personal shell overrides belong in <code>~/.config/zsh/local.zsh</code>; tmux overrides belong in <code>~/.config/tmux/local.conf</code>. Managed files can then be upgraded without overwriting personal choices.</p><pre><code># ~/.config/zsh/local.zsh
export EDITOR=nvim
alias labnotes='$EDITOR "$PE_WORKROOT/notes.md"'</code></pre><p>Alacritty is the preferred desktop terminal. GNOME binds <kbd>Super</kbd>+<kbd>Enter</kbd> to a terminal and <kbd>Super</kbd>+<kbd>Shift</kbd>+<kbd>H</kbd> to the HTB workspace launcher.</p></section><pclass="empty-state"data-empty-statehidden>No entry matches. Press <kbd>Esc</kbd> to reset.</p><navclass="page-nav"aria-label="Adjacent pages"><ahref="htb-workflow.html">← HTB runbook</a><ahref="recon.html">Recon →</a></nav></main><asideclass="toc"aria-label="On this page"><strong>On this page</strong><ul><li><ahref="#path">Tool path</a></li><li><ahref="#aliases">Aliases</a></li><li><ahref="#helpers">Helpers</a></li><li><ahref="#widgets">Widgets</a></li><li><ahref="#history">Secret hygiene</a></li><li><ahref="#customize">Customization</a></li></ul></aside></div><footerclass="site-footer"><strong>VOIDWALKER // SHELL</strong><br>Rose Pine Dawn · offline · authorized lab use</footer></body></html>