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/diff
2026-01-02 22:46:43 +01:00

20 lines
498 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
diff --line-format=%L /dev/null /path/to/input-file
contexts:
sudo:
suid:
unprivileged:
- code: |-
diff --recursive /path/to/empty-dir /path/to/input-dir/
comment: |-
This lists the content of a directory. `/path/to/empty-dir` can be any directory, but for convenience it is better to use an empty directory to avoid noise output.
contexts:
sudo:
suid:
unprivileged:
...