Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 866 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 866 Bytes

RaaS

Self-hosted reverse shell as a service.

Screenshot 2024-10-25 at 04 57 59

Setup

Compile the reverse shell:

# Bad idea
gcc -o reverse reverse.c

# Good idea
gcc -static -O3 -o reverse reverse.c

# Complex idea
gcc -static -O3 -s -fno-stack-protector -fomit-frame-pointer -mpreferred-stack-boundary=2 -z norelro -fno-exceptions -fno-asynchronous-unwind-tables -o reverse reverse.c
strip -s reverse
upx --best --ultra-brute reverse

Host this directory with a web server:

python3 -m http.server

Usage

  1. Open index.html in a browser
  2. Run the command from the "Wait For Reverse Shell" section on your host
  3. Run the command from the "Launch Reverse Shell" section on the target machine
  4. Enjoy your TTY shell