Developed by: P1N3APPL3 @Sec-Llama
██╗ ██╗ █████╗ ██████╗██╗ ██╗███████╗████████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗
██║ ██║██╔══██╗██╔════╝██║ ██╔╝██╔════╝╚══██╔══╝██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║
███████║███████║██║ █████╔╝ ███████╗ ██║ ███████║ ██║ ██║██║ ██║██╔██╗ ██║
██╔══██║██╔══██║██║ ██╔═██╗ ╚════██║ ██║ ██╔══██║ ██║ ██║██║ ██║██║╚██╗██║
██║ ██║██║ ██║╚██████╗██║ ██╗███████║ ██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║
╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝
One script to rule them all. Zero dependency hell. Maximum reliability.
Tired of broken pentesting setups? Package conflicts? Tools that work on your buddy's box but not yours?
HackStation is a bulletproof installer that gets you from vanilla Debian/Ubuntu to full-stack penetration testing environment with 100% reliability. No more debugging installation scripts at 3 AM.
- Manual tool installation is time-consuming and error-prone
- Different tools require different installation methods (apt, pip, go, gems, git)
- Network failures break installations halfway through
- Version conflicts between dependencies
- Tools work on Kali but break on vanilla Ubuntu
- No easy way to verify all tools are actually working
HackStation delivers:
- Multiple fallback methods for every tool (2-4 installation paths each)
- Robust retry mechanisms with exponential backoff
- 100% verification - every tool is tested after installation
- Recovery mode - automatically fixes failed installations
- Universal compatibility - works on Ubuntu/Debian/RPi (ARM/x86_64)
- Zero maintenance - handles all the boring stuff automatically
- amass - Attack surface mapping
- theHarvester - Email/subdomain harvesting
- nmap - Network discovery
- masscan - High-speed port scanner
- whois/dnsutils - Domain intelligence
- ffuf - Fast web fuzzer
- dirsearch - Directory bruteforcer
- nikto - Web vulnerability scanner
- sqlmap - SQL injection automation
- whatweb - Web application fingerprinting
- wpscan - WordPress security scanner
- hydra - Network login cracker
- medusa - Parallel bruteforcer
- john - Password hash cracker
- hashcat - Advanced password recovery
- tcpdump/tshark - Packet capture/analysis
- bettercap - Network attacks & MitM
- netcat/socat - Network swiss army knife
- impacket - Windows protocol attacks
- netexec - Network execution (CrackMapExec successor)
- sublist3r - Subdomain enumeration
- httpx - HTTP toolkit
- SecLists - Comprehensive wordlists
- PayloadsAllTheThings - Exploit payloads database
- ngrok - Secure tunneling for callbacks
# Clone and run
git clone https://github.com/yourusername/hackstation.git
cd hackstation
chmod +x hackstation.sh
sudo ./hackstation.sh --all# Install specific tool groups
sudo ./hackstation.sh --group Recon_OSINT
sudo ./hackstation.sh --group Web_Hacking
# Install individual tools
sudo ./hackstation.sh --tool amass
sudo ./hackstation.sh --tool bettercap
# Verify everything works
sudo ./hackstation.sh --check# Something broken? Fix it automatically
sudo ./hackstation.sh --recover- Retry Logic: Each operation attempted 3x with exponential backoff
- Multiple Methods: Every tool has 2-4 different installation paths
- Network Resilience: Handles GitHub API limits, DNS failures, timeouts
- Version Fallbacks: If latest fails, tries stable versions
- Architecture Support: x86_64, ARM64, ARMv7 automatically detected
- Go tools:
go install→ GitHub releases → apt fallback - Python tools:
pipx→pip3→ manual git installation - Ruby gems: system gem → user gem → Docker wrapper
- Binary releases: Latest API → version fallbacks → architecture variants
All operations logged to /var/log/hackstation.log:
# Monitor installation in real-time
tail -f /var/log/hackstation.log
# Check what failed
grep "FAILED" /var/log/hackstation.log- PATH management across all shell sessions
- Environment persistence (survives reboots)
- Dependency resolution improvements
- Tool directories setup (
/opt/tools,/opt/wordlists)
| Group | Tools | Purpose |
|---|---|---|
Essentials |
tmux, htop, git, python3 | Basic utilities |
Recon_OSINT |
nmap, amass, theHarvester | Target reconnaissance |
Web_Hacking |
ffuf, nikto, sqlmap, wpscan | Web app security |
Password_Cracking |
hydra, john, hashcat | Credential attacks |
Network_Analysis |
tcpdump, bettercap | Network security |
Utilities |
netcat, socat, jq | General purpose |
Wordlists_Tunnels |
SecLists, ngrok | Support resources |
Advanced |
impacket, netexec, httpx | Advanced techniques |
# Complete penetration testing environment
sudo ./hackstation.sh --all
# Installs everything + system optimization + verification# Web application testing setup
sudo ./hackstation.sh --group Web_Hacking
sudo ./hackstation.sh --group Wordlists_Tunnels
# Network penetration testing
sudo ./hackstation.sh --group Network_Analysis
sudo ./hackstation.sh --group Password_Cracking
# Reconnaissance phase
sudo ./hackstation.sh --group Recon_OSINT# Check installation status
sudo ./hackstation.sh --check
# Fix any failures
sudo ./hackstation.sh --recover
# System optimization
sudo ./hackstation.sh --optimize- Ubuntu 18.04+ (LTS recommended)
- Debian 10+ (Buster+)
- Raspberry Pi OS (ARM support)
- Architecture: x86_64, ARM64, ARMv7
- Root access (sudo)
- Internet connection
- 2GB+ free disk space
- Basic build tools (installed automatically)
- Disk Space: ~1.5GB (tools + wordlists)
- RAM: 1GB+ recommended during installation
- Time: 15-30 minutes (depending on network speed)
- Network verification - Ensures connectivity before starting
- System preparation - Updates packages, installs dependencies
- Tool installation - Each tool attempted via multiple methods
- Verification phase - Every tool tested for functionality
- Recovery attempts - Failed tools re-attempted with alternatives
- System optimization - PATH fixes, environment setup
- Final verification - Success rate calculation and reporting
retry() {
local max_attempts=3
local delay=5
local attempt=1
while [ $attempt -le $max_attempts ]; do
if eval "$cmd"; then return 0; fi
sleep $delay
((attempt++))
delay=$((delay * 2)) # Exponential backoff
done
return 1
}Each tool has comprehensive checks:
CHECK[amass]="command -v amass && amass -version"
CHECK[bettercap]="command -v bettercap && bettercap -version"
CHECK[impacket]="python3 -c 'import impacket; print(impacket.__version__)'"- Add installation function:
install_newtool() - Add verification check:
CHECK[newtool]="..." - Add to appropriate group:
GROUP_Something+=(newtool) - Test on clean system
- Add more installation methods for existing tools
- Improve error detection and recovery
- Add support for new architectures/distributions
- Optimize installation order and dependencies
Include in bug reports:
- Operating system and version
- Architecture (x86_64, ARM64, etc.)
- Full log file:
/var/log/hackstation.log - Command that failed
- Network environment (proxy, firewall, etc.)
This tool installs penetration testing software. Use responsibly and legally.
- Only use on systems you own or have explicit permission to test
- Check local laws regarding security testing tools
- Some tools may trigger antivirus/EDR solutions
- Intended for security professionals, researchers, and authorized testing
The authors are not responsible for any misuse of this software.
MIT License - Use it, modify it, share it.
See LICENSE for full details.
Built on the shoulders of giants. Thanks to all the tool developers who make security research possible:
- OWASP Amass Team
- ProjectDiscovery
- SecLists contributors
- Impacket developers
- bettercap team
- And countless others in the infosec community
Happy Hacking! Stay Legal.
Made with ⚡ by security professionals, for security professionals.