> For the complete documentation index, see [llms.txt](https://firmianay.gitbook.io/ctf-all-in-one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://firmianay.gitbook.io/ctf-all-in-one/1_basic.md).

# 一、基础知识篇

* [1.1 CTF 简介](/ctf-all-in-one/1_basic/1.1_ctf.md)
* [1.2 学习方法](/ctf-all-in-one/1_basic/1.2_how_to_learn.md)
* [1.3 Linux 基础](/ctf-all-in-one/1_basic/1.3_linux_basic.md)
* [1.4 Web 安全基础](/ctf-all-in-one/1_basic/1.4_web_basic.md)
  * [1.4.1 HTML 基础](/ctf-all-in-one/1_basic/1.4_web_basic/1.4.1_html_basic.md)
  * [1.4.2 HTTP 协议基础](/ctf-all-in-one/1_basic/1.4_web_basic/1.4.2_http_basic.md)
  * [1.4.3 JavaScript 基础](/ctf-all-in-one/1_basic/1.4_web_basic/1.4.3_javascript_basic.md)
  * [1.4.4 常见 Web 服务器基础](/ctf-all-in-one/1_basic/1.4_web_basic/1.4.4_webserver_basic.md)
  * [1.4.5 OWASP Top Ten Project 漏洞基础](/ctf-all-in-one/1_basic/1.4_web_basic/1.4.5_owasp_basic.md)
  * [1.4.6 PHP 源码审计基础](/ctf-all-in-one/1_basic/1.4_web_basic/1.4.6_php_basic.md)
* [1.5 逆向工程基础](/ctf-all-in-one/1_basic/1.5_reverse_basic.md)
  * [1.5.1 C 语言基础](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.1_c_basic.md)
  * [1.5.2 x86/x86-64 汇编基础](https://github.com/firmianay/CTF-All-In-One/blob/master/doc/1.5.2_x86\&x64.md)
  * [1.5.3 Linux ELF](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.3_elf.md)
  * [1.5.4 Windows PE](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.4_pe.md)
  * [1.5.5 静态链接](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.5_static_link.md)
  * [1.5.6 动态链接](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.6_dynamic_link.md)
  * [1.5.7 内存管理](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.7_memory.md)
  * [1.5.8 glibc malloc](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.8_glibc_malloc.md)
  * [1.5.9 Linux 内核](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.9_linux_kernel.md)
  * [1.5.10 Windows 内核](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.10_windows_kernel.md)
  * [1.5.11 jemalloc](/ctf-all-in-one/1_basic/1.5_reverse_basic/1.5.11_jemalloc.md)
  * [1.5.12 MIPS 汇编基础](https://github.com/firmianay/CTF-All-In-One/blob/master/doc/1.5.12_mips.md)
* [1.6 密码学基础](/ctf-all-in-one/1_basic/1.6_crypto_basic.md)
* [1.7 Android 安全基础](/ctf-all-in-one/1_basic/1.7_android_basic.md)
  * [1.7.1 Android 环境搭建](/ctf-all-in-one/1_basic/1.7_android_basic/1.7.1_android_env.md)
  * [1.7.2 Dalvik 指令集](/ctf-all-in-one/1_basic/1.7_android_basic/1.7.2_dalvik.md)
  * [1.7.3 ARM 汇编基础](/ctf-all-in-one/1_basic/1.7_android_basic/1.7.3_arm.md)
  * [1.7.4 Android 常用工具](/ctf-all-in-one/1_basic/1.7_android_basic/1.7.4_android_tools.md)


---

# 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://firmianay.gitbook.io/ctf-all-in-one/1_basic.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.
