From d1906b7fdd8047b940bf817e5aadf88a84c4c530 Mon Sep 17 00:00:00 2001 From: Dov Murik Date: Wed, 30 May 2018 08:17:06 +0000 Subject: [PATCH] Add unshare --- _gtfobins/unshare.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 _gtfobins/unshare.md diff --git a/_gtfobins/unshare.md b/_gtfobins/unshare.md new file mode 100644 index 0000000..756aff2 --- /dev/null +++ b/_gtfobins/unshare.md @@ -0,0 +1,12 @@ +--- +functions: + execute-interactive: + - code: unshare /bin/sh + sudo-enabled: + - code: sudo unshare /bin/sh + suid-enabled: + - description: This keeps the SUID privileges only if the `-r` option is present. + code: ./unshare -r /bin/sh + suid-limited: + - code: ./unshare /bin/sh +---