mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-11-10 07:04:22 +00:00
Update Reverse Shell Cheatsheet.md
Added small quality adjustment.
This commit is contained in:
parent
cf9b9bf70c
commit
c7549916b8
1 changed files with 2 additions and 1 deletions
|
@ -553,9 +553,10 @@ 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.
|
||||
Not only that, upon exiting the shell, the terminal will be reset and thus usable.
|
||||
|
||||
```bash
|
||||
stty raw -echo; stty size && rcat l -ie "/usr/bin/script -qc /bin/bash /dev/null" 6969
|
||||
stty raw -echo; stty size && rcat l -ie "/usr/bin/script -qc /bin/bash /dev/null" 6969 && reset
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue