# Enumeration

## Automatic Privilege Escalation Enumeration

LinPEAS is the best enumeration script.

{% embed url="<https://github.com/carlospolop/PEASS-ng/tree/master/linPEAS>" %}

## Process Monitoring

You can use pspy to monitor cronjobs and active processes - even those which normally you wouldn’t be able to see. However it isn’t all-powerful. For example, if another user uses `ps aux` then it captures that, but it doesn’t capture `tar cf a.tar *`, for example.&#x20;

Pspy is a statically compiled binary, so you can just download it and run it.

{% embed url="<https://github.com/DominicBreuker/pspy>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://heinosass.gitbook.io/leet-sheet/post-exploitation/linux/linux-privilege-escalation/enumeration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
