1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00

Update gcc for file-read

Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
Pranav 2022-12-16 22:21:53 +05:30 committed by GitHub
parent 170c1f5db7
commit 0eefa2a716
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,10 @@ functions:
- code: |
LFILE=file_to_read
gcc -x c -E "$LFILE"
- description: The file is read and parsed as a list of files (one per line), the content is disaplyed as error messages, thus this might not be suitable to read arbitrary data.
code: |
LFILE=file_to_read
gcc @"$LFILE"
file-write: # XXX this should be file-delete
- code: |
LFILE=file_to_delete