From fce5a223416aeb8aeaf6b53485eda283bf54393b Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Sat, 16 Jun 2018 16:13:16 +0100 Subject: [PATCH] Add sudo-enabled to cut --- _gtfobins/cut.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/_gtfobins/cut.md b/_gtfobins/cut.md index bf95134..ec0bce8 100644 --- a/_gtfobins/cut.md +++ b/_gtfobins/cut.md @@ -3,9 +3,13 @@ functions: sudo-enabled: - code: | LFILE=file_to_read - sudo cut -d "" "$LFILE" -f1 + sudo cut -d "" -f1 "$LFILE" + suid-enabled: + - code: | + LFILE=file_to_read + ./cut -d "" -f1 "$LFILE" file-read: - code: | LFILE=file_to_read - cut -d "" "$LFILE" -f1 + cut -d "" -f1 "$LFILE" ---