https://github.com/djosix/raas
Self-hosted reverse shell as a service. Useful for debugging GitLab CI/CD jobs.
https://github.com/djosix/raas
debugging hacking reverse-shell security
Last synced: 28 days ago
JSON representation
Self-hosted reverse shell as a service. Useful for debugging GitLab CI/CD jobs.
- Host: GitHub
- URL: https://github.com/djosix/raas
- Owner: djosix
- Created: 2024-10-24T16:34:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-25T15:26:58.000Z (over 1 year ago)
- Last Synced: 2025-02-25T23:29:04.488Z (over 1 year ago)
- Topics: debugging, hacking, reverse-shell, security
- Language: Python
- Homepage:
- Size: 313 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RaaS
Self-hosted reverse shell as a service.

## Setup
Compile the reverse shell:
```bash
# 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:
```bash
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