repositories

voidwalker.py

Penetration testing arsenal builder and workspace manager for macOS and Linux

clonegit clone https://git.daemon-sec.xyz/voidwalker.py.git
zsh-terminal.htmlHTML25 lines7.5 KiBraw download
<!doctype html>
<html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta name="color-scheme" content="light"><meta name="theme-color" content="#faf4ed"><meta name="description" content="Zsh, Alacritty and desktop workflow cheatsheet."><title>Voidwalker Field Manual // Zsh + terminal</title><link rel="stylesheet" href="assets/style.css?v=2"><script src="assets/app.js?v=2" defer></script></head>
<body><a class="skip-link" href="#content">Skip to content</a>
<header class="site-header"><div class="header-inner"><a class="brand" href="index.html"><span class="brand-mark" aria-hidden="true">V</span><span>Voidwalker<small>offline field manual</small></span></a><button class="nav-toggle" type="button" aria-expanded="false" aria-controls="site-nav">menu</button><nav class="site-nav" id="site-nav" aria-label="Handbook"><a href="index.html">Setup</a><a href="tmux.html">tmux</a><a href="pe.html">pe</a><a href="htb-workflow.html">HTB</a><a href="zsh-terminal.html">Shell</a><a href="recon.html">Recon</a><a href="web.html">Web</a><a href="ad-windows.html">AD</a><a href="privesc.html">PrivEsc</a><a href="transfer.html">Transfer</a><a href="toolbox.html">Tools</a></nav></div></header>
<div class="page-shell"><main id="content"><section class="hero"><p class="eyebrow">Module 04 // operator interface</p><h1>Zsh + <span class="accent">terminal.</span></h1><p class="lede">The shell glues the encrypted target model, isolated toolchains, route guards and tmux workspace into a fast keyboard-first interface.</p><div class="hero-meta"><span class="tag">Alacritty</span><span class="tag">Zsh</span><span class="tag">fzf</span><span class="tag">Rose Pine</span></div></section>
<div class="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>
<div class="search-box"><label for="page-search">Filter this page</label><input id="page-search" data-page-search type="search" placeholder="Type a tool, command or topic…" autocomplete="off"><span class="search-hint"><kbd>/</kbd> focus · <kbd>Esc</kbd> clear</span></div><p class="filter-summary" data-filter-summary aria-live="polite"></p>
<section id="path" data-search-item data-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>
<section id="aliases" data-search-item data-search="aliases t f c h n target flag cred host note box vpn doctor"><h2>High-signal aliases</h2><div class="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>
<section id="helpers" data-search-item data-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>
<section id="widgets" data-search-item data-search="keyboard widgets fzf Ctrl X target credential flag insert"><h2>Interactive widgets</h2><div class="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>
<section id="history" data-search-item data-search="history secret leading space clipboard permissions private umask"><h2>Secret hygiene</h2><ul class="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>
<section id="customize" data-search-item data-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><p class="empty-state" data-empty-state hidden>No entry matches. Press <kbd>Esc</kbd> to reset.</p><nav class="page-nav" aria-label="Adjacent pages"><a href="htb-workflow.html">← HTB runbook</a><a href="recon.html">Recon →</a></nav></main><aside class="toc" aria-label="On this page"><strong>On this page</strong><ul><li><a href="#path">Tool path</a></li><li><a href="#aliases">Aliases</a></li><li><a href="#helpers">Helpers</a></li><li><a href="#widgets">Widgets</a></li><li><a href="#history">Secret hygiene</a></li><li><a href="#customize">Customization</a></li></ul></aside></div><footer class="site-footer"><strong>VOIDWALKER // SHELL</strong><br>Rose Pine Dawn · offline · authorized lab use</footer></body></html>