# Kernel Exploits

Check for Kernel exploits command(s)

```bash
uname -a 
cat /etc/issue
cat /etc/*release
cat /proc/version
ls /boot | grep "vmlinuz"
lsb_release -a
```

Search for exploits (searchsploit, google, exploitDB and github)

```bash
searchsploit

Examples:
searchsploit kernel 2.6 linux | sort -n        
searchsploit linux kernel 2.6.30 priv esc  
searchsploit linux kernel 2.6 ubuntu priv esc        
```

**Tools:** Linux Exploit Suggester - <https://github.com/mzet-/linux-exploit-suggester>


---

# 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://ed4m4s.blog/privilege-escalation/linux/untitled.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.
