From 0b196471f8757f3645434d47485a8883921d6004 Mon Sep 17 00:00:00 2001 From: LinuxSploit <68427058+LinuxSploit@users.noreply.github.com> Date: Sat, 17 Jul 2021 11:42:47 +0500 Subject: [PATCH] Add rake file-read Co-authored-by: Andrea Cardaci --- _gtfobins/rake.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/_gtfobins/rake.md b/_gtfobins/rake.md index cdf5426..cd22692 100644 --- a/_gtfobins/rake.md +++ b/_gtfobins/rake.md @@ -1,5 +1,10 @@ --- functions: + file-read: + - description: The file is actually parsed and the first wrong line is returned in an error message. + code: | + LFILE=file-to-read + rake -f $LFILE shell: - code: rake -p '`/bin/sh 1>&0`' sudo: