An open API service indexing awesome lists of open source software.

https://github.com/ricardobranco777/unsandbox

Disable sandbox
https://github.com/ricardobranco777/unsandbox

capsicum freebsd illumos landlock linux-capabilities openbsd pledge sandbox

Last synced: about 2 months ago
JSON representation

Disable sandbox

Awesome Lists containing this project

README

        

Disable sandbox via shared-library hijacking

Supported sandboxes:
- FreeBSD [capsicum](https://man.freebsd.org/cgi/man.cgi?query=capsicum&sektion=4)
- OpenBSD [pledge](https://man.openbsd.org/pledge)
- Illumos [privileges](https://illumos.org/man/7/privileges)
- Linux
- [capabilities](https://man7.org/linux/man-pages/man7/capabilities.7.html)
- [landlock](https://man7.org/linux/man-pages/man7/landlock.7.html)
- [prctl](https://man7.org/linux/man-pages/man2/PR_SET_NO_NEW_PRIVS.2const.html)
- [seccomp](https://man7.org/linux/man-pages/man2/seccomp.2.html)
- [SELinux](https://man7.org/linux/man-pages/man3/is_selinux_enabled.3.html)

## Usage

```
make
LD_PRELOAD=$PWD/$(uname -s)/libunsandbox.so program [options] [arguments]
```

See **ld.so**(8) manpage for alternatives to `LD_PRELOAD`

## BUGS / Limitations
- Doesn't support statically compiled binaries
- Doesn't support setuid/setgid binaries
- Doesn't work on HardenedBSD unless the `hardening.harden_rtld` sysctl is set to zero