# phpmyadmin

## Interesting Stuff

```
/etc/phpmyadmin/config-db.php
```

## LFI + phpinfo() exploit race-condition

REQUIREMENT: file\_uploads: ON

* <https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/File%20Inclusion/phpinfolfi.py>

```bash
# modify code
1. update payload
2. add cookie, session ID in request (LFI and payload)
3. update LFIREQ 
4. change `=>` to `=&gt`

python phpinfolfi.py IP PORT THREADS
```


---

# 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://kashz.gitbook.io/kashz-jewels/services/phpmyadmin.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.
