From 9e196ad7f8fdcc085efc04a9e2c5ecfef3b1530f Mon Sep 17 00:00:00 2001 From: George O Date: Mon, 20 Aug 2018 14:38:06 +0100 Subject: [PATCH] Update red.md --- _gtfobins/red.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/_gtfobins/red.md b/_gtfobins/red.md index da129c6..d78f450 100644 --- a/_gtfobins/red.md +++ b/_gtfobins/red.md @@ -1,20 +1,16 @@ --- -description: Short for "restricted ed". -functions: - execute-interactive: - - code: | - red - !/bin/sh + description: Read and write files limited to the current directory. file-write: - code: | red file_to_write + a + data + . w - sudo-enabled: + q + file-read: - code: | - sudo red - !/bin/sh - suid-limited: - - code: | - ./red - !/bin/sh + red file_to_read + ,p + q ---