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 +---