From c04b99e12b75848e191659e2ae7a003a0c4905fe Mon Sep 17 00:00:00 2001 From: hamzawinix <34142795+hamzawinix@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:28:32 +0300 Subject: [PATCH] Update make.md Output file contents to stdout --- _gtfobins/make.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/_gtfobins/make.md b/_gtfobins/make.md index fe08eb7..43f60c4 100644 --- a/_gtfobins/make.md +++ b/_gtfobins/make.md @@ -10,6 +10,13 @@ functions: code: | LFILE=file_to_write make -s --eval="\$(file >$LFILE,DATA)" . + + file-read: + - description: Requires a newer GNU `make` version. + code: | + CMND='cat file_to_read' + make -s --eval=$'x:\n\t-'"$CMND" + suid: - code: | COMMAND='/bin/sh -p'