1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 22:46:19 +01:00
GTFOBins.github.io/_gtfobins/dmesg
Andrea Cardaci 450efe76d4 Make the contexts field mandatory
Rationale being that:

- it's easy to just forget it;

- entries that only have the unprivileged context are quite rare.
2026-01-13 19:53:07 +01:00

20 lines
269 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
dmesg -rF /path/to/input-file
contexts:
sudo:
suid:
unprivileged:
inherit:
- code: |-
dmesg -H
contexts:
sudo:
suid:
unprivileged:
from: less
...