Skip to content
/ RaaS Public

Self-hosted reverse shell as a service. Useful for debugging GitLab CI/CD jobs.

Notifications You must be signed in to change notification settings

djosix/RaaS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Self-hosted reverse shell as a service. Useful for debugging GitLab CI/CD jobs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published