# Finding PE Vulns

Here is a list of commands and scripts that you can use to identify privilege escalation vulnerabilities in a Linux system.

## LinPeas

This is one of the best scripts out there to check for Privilege Escalation vulnerabilities in a Linux system. The script outputs color coded attack vectors that are indicative of most probable to least probable or impossible.&#x20;

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

## LinEnum

{% embed url="<https://github.com/rebootuser/LinEnum>" %}

## Linux Exploit Suggester 1 & 2

LES can check for most of security settings available in your Linux kernel. The exposure for each exploit is listed from highly probable to least probable.

{% embed url="<https://github.com/The-Z-Labs/linux-exploit-suggester>" %}

{% embed url="<https://github.com/jondonas/linux-exploit-suggester-2>" %}

## Linuxprivchecker

This is another privilege escalation checker that relies on python. Needless to say it does a similar job as the LinPeas but using python.

{% embed url="<https://github.com/sleventyeleven/linuxprivchecker>" %}


---

# 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://docs.particle42.com/linux/linux-pe/finding-pe-vulns.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.
