> For the complete documentation index, see [llms.txt](https://ed4m4s.blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ed4m4s.blog/privilege-escalation/linux/service-exploits.md).

# Service Exploits

### Services running as root.&#x20;

```bash
ps aux ~grep "^root"
```

### Versions

```bash
program_name --version
program_name -V

Debian:
dpkg -l | grep program_name

RedHat:
rpm --qa | grep program_name
```
