From 76c906d168d658cad897abbc8c39ab9c86c6a4e9 Mon Sep 17 00:00:00 2001 From: George O Date: Mon, 20 Aug 2018 00:17:55 +0100 Subject: [PATCH] Added red.md Added support for red, the restricted version of ed. More information on red can be found here: https://www.computerhope.com/unix/ued.htm --- _gtfobins/red.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 _gtfobins/red.md diff --git a/_gtfobins/red.md b/_gtfobins/red.md new file mode 100644 index 0000000..da129c6 --- /dev/null +++ b/_gtfobins/red.md @@ -0,0 +1,20 @@ +--- +description: Short for "restricted ed". +functions: + execute-interactive: + - code: | + red + !/bin/sh + file-write: + - code: | + red file_to_write + w + sudo-enabled: + - code: | + sudo red + !/bin/sh + suid-limited: + - code: | + ./red + !/bin/sh +---