mirror of
https://github.com/GTFOBins/GTFOBins.github.io.git
synced 2026-03-07 14:36:23 +01:00
28 lines
476 B
Plaintext
28 lines
476 B
Plaintext
---
|
|
comment: |-
|
|
All the functions operate in the Emacs terminal interface.
|
|
functions:
|
|
file-read:
|
|
- binary: false
|
|
code: |-
|
|
emacs /path/to/input-file
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
file-write:
|
|
- binary: false
|
|
code: |-
|
|
emacs /path/to/output-file
|
|
DATA
|
|
C-x C-s
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
shell:
|
|
- code: |-
|
|
emacs -Q -nw --eval '(term "/bin/sh")'
|
|
contexts:
|
|
sudo:
|
|
unprivileged:
|
|
...
|