Simple post-foothold enumeration script for Linux boxes on Hack The Box.
- Designed for HTB / CTF use
- Safe (read-only commands only)
- Output is colorized for easier reading
- Redirect to a file if you want to review later
- Combine this with LinPEAS for deeper coverage when possible
Runs the most useful commands after you get a shell (RDP, SSH, reverse etc.):
- System & kernel info
- Current user / groups / sudo rights
- Local users
- Home directories & interesting files
- Bash history
- Running processes & listening ports
- Cron jobs & systemd timers
- SUID / SGID binaries
- Capabilities
- World-writable directories
- Network info
- Quick password/secret search
# Make executable
chmod +x enum.sh
# Run and save output
./enum.sh | tee enum_output.txt