repositories

voidwalker.py

Penetration testing arsenal builder and workspace manager for macOS and Linux

clonegit clone https://git.daemon-sec.xyz/voidwalker.py.git
htb-workflow.htmlHTML44 lines6.8 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="End-to-end Hack The Box lab workflow."><title>Voidwalker Field Manual // HTB workflow</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 03 // lab runbook</p><h1>HTB <span class="accent">runbook.</span></h1><p class="lede">A repeatable path from health check and VPN connection to evidence capture, backup and clean disconnect.</p><div class="hero-meta"><span class="tag">scope-first</span><span class="tag">route-aware</span><span class="tag">target-scoped</span><span class="tag">repeatable</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="preflight" data-search-item data-search="preflight doctor scope health tools"><h2>Preflight</h2><pre><code>pe doctor
pe vpn ls
pe status</code></pre><ul class="checklist"><li>Read the HTB machine or lab scope and allowed techniques.</li><li>Confirm you are using either the local VPN or Pwnbox, never both simultaneously.</li><li>Check time, free disk space and the tool paths reported by <code>pe doctor</code>.</li></ul></section>
<section id="connect" data-search-item data-search="VPN import connect route tun openvpn"><h2>Connect and prove the route</h2><pre><code># one-time import
pe vpn import ~/Downloads/lab.ovpn lab

# foreground connection; keep this terminal open
pe vpn up lab

# from another terminal
pe vpn status
ip route get 10.10.10.10</code></pre><p>The route output should name a lab interface such as <code>tun0</code>. An interface existing does not prove that a particular target uses it.</p></section>
<section id="target" data-search-item data-search="target newbox active IP workspace useip"><h2>Register the target</h2><pre><code>newbox keeper 10.10.11.227 htb
useip
pe status
pe vpn route "$IP"</code></pre><p><code>newbox</code> adds and activates the target, creates a private directory, and changes into it. For an existing record use <code>pe target use keeper</code>. <code>useip</code> exports both <code>IP</code> and <code>RHOST</code>.</p></section>
<section id="workspace" data-search-item data-search="tmux htb-session directories recon shell notes"><h2>Launch the workspace</h2><pre><code>htb-session
# or
pe session keeper</code></pre><pre class="tree"><code>~/htb/keeper/
├── nmap/      # Nmap -oA sets
├── scans/     # other scanner output
├── web/       # web evidence
├── exploit/   # lab-only working files
├── loot/      # collected artifacts; keep private
└── notes/
    └── notes.md</code></pre><p>The tmux session is <code>htb-keeper</code> with recon, shell and notes windows. Inside tmux, prefix + <kbd>P</kbd> returns to the active workspace; prefix + <kbd>V</kbd> opens a foreground VPN window.</p></section>
<section id="enumerate" data-search-item data-search="recon scan fullscan udpquick webenum nmap evidence"><h2>Enumerate in layers</h2><pre><code>scan
fullscan
udpquick
webenum 'http://10.10.11.227/FUZZ'</code></pre><p>These helpers write evidence beneath the target directory and refuse to scan unless the route traverses <code>tun</code>, <code>tap</code> or <code>wg</code>. Review results before moving from broad discovery to a service-specific page: <a href="recon.html">recon</a>, <a href="web.html">web</a>, or <a href="ad-windows.html">AD/Windows</a>.</p></section>
<section id="record" data-search-item data-search="record notes hosts ports credentials flags findings"><h2>Record as you go</h2><pre><code>pe note add -t "initial surface" -b "22/ssh, 80/http"
pe host add --ip "$IP" --hostname keeper.htb --os linux
pe host port 1 80 --service http
 pe cred add -u USER -s 'SECRET' -S ssh
pe flag add user FLAG_VALUE --notes "user.txt"</code></pre><p>The leading space before the credential command invokes Zsh history suppression. Verify IDs and active target before attaching evidence.</p></section>
<section id="close" data-search-item data-search="close cleanup backup disconnect clipboard history"><h2>Close cleanly</h2><ol class="step-list"><li><div><h3>Save findings</h3><p>Update <code>notes/notes.md</code>, add structured <code>pe</code> records, and hash important evidence.</p></div></li><li><div><h3>Back up</h3><pre><code>pe backup</code></pre></div></li><li><div><h3>End processes</h3><p>Stop listeners, servers and tunnels; press <kbd>Ctrl-C</kbd> in the OpenVPN window.</p></div></li><li><div><h3>Clear transient secrets</h3><p>Clear the desktop clipboard and close panes holding credentials. Tmux disk persistence is off, but live scrollback remains until the pane/server ends.</p></div></li></ol></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="pe.html">← pe command center</a><a href="zsh-terminal.html">Zsh + terminal →</a></nav></main><aside class="toc" aria-label="On this page"><strong>On this page</strong><ul><li><a href="#preflight">Preflight</a></li><li><a href="#connect">Connect</a></li><li><a href="#target">Target</a></li><li><a href="#workspace">Workspace</a></li><li><a href="#enumerate">Enumerate</a></li><li><a href="#record">Record</a></li><li><a href="#close">Close</a></li></ul></aside></div><footer class="site-footer"><strong>VOIDWALKER // HTB RUNBOOK</strong><br>Rose Pine Dawn · offline · authorized lab use</footer></body></html>