> 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/zh/web-vulnerabilities/mass-assignment-attack/mass-assignment-attack-is_admin-pentesting-web.md).

# 批量赋值 is\_admin

这将是用于 **修改** 用户的参数：

<figure><img src="/files/931cb65859e887182b8d99953dee43256b01a9e5" alt="" width="563"><figcaption></figcaption></figure>

我们使用 Burp Suite 拦截请求，并观察到一个带有 **多个参数** （用户名和标题）被 **处理**:

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

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

使用一个 **手动暴力破解** 攻击，我们添加一个新参数（`id_admin`）并将值设为 `true`:

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

<figure><img src="/files/c544f32a3e4fc98da2477e504d343fda6d85f47e" 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/zh/web-vulnerabilities/mass-assignment-attack/mass-assignment-attack-is_admin-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.
