Dumb vibe-coded scripts that install a bunch of tools, made for a Windows host with a WSL distro. Installs WSL2, security tools, and development utilities with granular control over each component. This is basically a workaround for when I am not able to use Exegol and I need to quickly setup a testing environment on a Windows-based host.
Step 1: Windows Setup
Open PowerShell as Administrator and run:
irm https://raw.githubusercontent.com/5tuk0v/pentest-setup/main/scripts/setup-windows.ps1 | iex- If WSL2 features are newly installed, reboot and run the command again
- Follow prompts to select which components to install
Step 2: Initialize WSL
Open Ubuntu from the Start Menu to create your user account (one-time setup)
Step 3: Ubuntu Setup
Inside your WSL Ubuntu terminal, run:
curl -fsSL https://raw.githubusercontent.com/5tuk0v/pentest-setup/main/scripts/setup-ubuntu.sh | bashFor users who prefer to inspect code or work offline:
# Clone the repository
git clone https://github.com/5tuk0v/pentest-setup.git
cd pentest-setup
# Run Windows setup (as Administrator)
powershell -ExecutionPolicy Bypass -File .\scripts\setup-windows.ps1
# After WSL initialization, run Ubuntu setup
wsl -d Ubuntu bash ~/path/to/setup-ubuntu.sh| Tool/Config | Notes |
|---|---|
| Metasploit Framework | apt + curl installer |
| uv | curl installer |
| Zsh + Oh My Zsh | apt + curl installer, rkj-repos theme |
| tmux | apt |
| xclip | apt |
| proxychains4 | apt |
| Responder | uv tool install (git) |
| netexec (nxc) | uv tool install (git) + config patch |
| bloodyAD | uv tool install (pinned kerbad) |
| certipy-ad | uv tool install |
| bloodhound-ce | uv tool install |
| impacket | uv tool install |
| smbclientng | uv tool install |
| coercer | uv tool install |
| GPOHound | uv tool install (git) |
| gpoParser | pipx install (git) |
| gpOddity | uv tool install (git) |
| donpapi | uv tool install |
| dploot | uv tool install |
| lsassy | uv tool install |
| powerview.py | uv tool install (git) |
| evil-winrm-py | uv tool install (kerberos extra) |
| soapy | uv tool install (git) |
| bofhound | uv tool install |
| sccmhunter | uv tool install (git) |
| cmloot | uv tool install (git) |
| pre2k | uv tool install (git) |
| wsuks | pipx install (system-site-packages), symlink to /usr/local/sbin |
| krbrelayx | git clone, impacket dep added |
| targetedKerberoast | git clone, uv add deps from requirements.txt |
| PassTheCert | git clone, impacket dep added |
| PKINITtools | git clone, oscrypto fix, uv add deps |
| mssqlkaren | git clone, uv sync |
| scomhunter | git clone, uv sync |
| wtftp | git clone, uv sync |
| RelayInformer | git clone, uv sync in Python dir |
| PXEThief | git clone, PR#11 checkout, uv add deps |
| pxethiefy | git clone, uv add deps |
| WSUScripts | git clone only |
| RelayKing | git clone, uv add deps |
| rpc2efs | git clone, impacket dep added |
| ntlmv1-multi | git clone, pycryptodome dep added |
| RustHound-CE | Download precompiled binary, move to /usr/local/bin |
| pssrecon | Download precompiled binary |
| pretender | Download precompiled binary, move to /usr/local/bin |
| flamingo | Download precompiled binary, move to /usr/local/bin |
| ShellOpsLog | Download, config patch, sourced in zshrc |
| Operation Logging | ShellOpsLog profile config |
| Tools Path Prompt | Customizable |
| Tool/Config | Notes |
|---|---|
| WSL2 + Ubuntu | Feature enable, Ubuntu install |
| Docker Desktop | winget |
| Visual Studio 2022 Community | winget |
| Visual Studio Code | winget |
| Git | winget |
| Oh My Posh | winget, theme config, font install |
| ShareNot | winget |
| 7-Zip | winget |
| Notepad++ | winget |
| Burp Suite Community | winget |
| PowerView.ps1 | Downloaded to tools dir |
| SnafflerParser.ps1 | Downloaded to tools dir |
| BloodHound CE | Docker compose |
| bloodhound-cli | Download precompiled binary |
| SharpHound | Download precompiled binary |
| AzureHound | Download precompiled binary |
| Inveigh | Download precompiled binary |
| Snaffler | Download precompiled binary |
| Certify | Download precompiled binary |
| Rubeus | Download precompiled binary |
| SpoolSample | Download precompiled binary |
| PassTheCert | Download precompiled binary |
| SharpPXE | Download precompiled binary |
| SharpSCCM | Download precompiled binary |
| PingCastle | Download latest release, extract to tools dir |
| pssrecon | Download precompiled binary |
| flamingo | Download precompiled binary |
| CMLoot | git clone |
| ConfigManBearPig | git clone |
| MSSQLHound | git clone |
| ShellOpsLog | Downloaded, config patch, sourced in $PROFILE |
| disable-smb.bat | Downloaded to tools dir |
| enable-smb.bat | Downloaded to tools dir |
| Firewall Rules | SSH, RDP, SMB, HTTP, HTTPS config |
| Defender Exclusions | Tools dir excluded |
| Daily Reboot Task | Scheduled task |
| Operation Logging | ShellOpsLog profile config |
| Evidence/Tools Path Prompt | Customizable |
| apps.json | Custom winget apps (untested) |
Both scripts prompt for custom directories and create log files:
Windows Paths:
- Evidence:
C:\_Preuves(default) - Client evidence and operation logs - Tools:
C:\_Tools(default) - Downloaded security tools - Setup Log:
<ToolsPath>\logs\setup-windows-TIMESTAMP.log
Linux Paths:
- Tools:
~/tools(default) - Cloned repositories, standalone tools, and logs - Operation Logs:
/mnt/c/_Preuves/opslogs_wsl/(default) - ShellOpsLog output - Setup Log:
<ToolsPath>/logs/setup-ubuntu-TIMESTAMP.log
Edit config/apps.json to add custom winget applications:
{
"apps": [
{
"name": "Application Name",
"id": "Publisher.AppId"
}
]
}Find winget IDs with: winget search "app name"
MIT License - see LICENSE file for details.
This project integrates third-party tools, each with their own licenses. See the respective repositories for license information.
This is a minimal automation framework. You are responsible for choosing and installing appropriate tools for your use case. Use tools responsibly and only on systems you own or have authorization to test.