1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-08 06:56:15 +01:00
GTFOBins.github.io/_gtfobins/run-mailcap

19 lines
354 B
Plaintext

---
functions:
inherit:
- code: |-
run-mailcap --action=view text/plain:/etc/hosts
contexts:
sudo:
unprivileged:
from: less
- code: |-
run-mailcap --action=edit text/plain:/path/to/output-file
comment: |-
The file must exist and be not empty.
contexts:
sudo:
unprivileged:
from: vi
...