> 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/web-vulnerabilities/graphql-attack/graphql-mutation-pentesting-web.md).

# GraphQL Mutation

{% hint style="info" %}
ومن ناحية أخرى، فإن **تعديلات GraphQL** هي عمليات تتيح للعملاء تعديل البيانات في واجهة برمجة التطبيقات. وعلى عكس الاستعلامات، التي تسمح فقط بقراءة البيانات، تتيح التعديلات للعملاء إضافة البيانات أو تحديثها أو حذفها. وهذا يعني أن التعديلات يمكن أن تُستخدم لإجراء تغييرات كبيرة في قاعدة البيانات الأساسية لواجهة برمجة التطبيقات. وإذا لم تكن مؤمَّنة بشكل صحيح، فقد يستغل المهاجمون التعديلات لإجراء تعديلات خبيثة في واجهة برمجة التطبيقات، مثل حذف البيانات المهمة أو إنشاء سجلات جديدة.
{% endhint %}

نحن \*\*نعثر\*\* على المحتوى أدناه لإنشاء منشورات:

<figure><img src="/files/212ad66f7ebaaf1f1a68215e6510ebfd91a05512" alt=""><figcaption></figcaption></figure>

نحن **نعترض** الطلب باستخدام Burp Suite:

<figure><img src="/files/1f4c3e5ed9f25ae7900f25124afc6e5206acc8b8" alt=""><figcaption></figcaption></figure>

إذا غيّرنا رقم الـ **author/\_id**، نرى أننا نستطيع إنشاء منشورات أثناء انتحال صفة شخص آخر:

<figure><img src="/files/34ec924a88fee6c417b64a0cc0da977a5080a604" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/218c6ff17047184197c79afc81940c516022b912" 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/web-vulnerabilities/graphql-attack/graphql-mutation-pentesting-web.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.
