DumpAny
Home
Pricing
Download
Network Lab
Help
Feedback
Login
中文
XSS Cross-Site Scripting — Three Attack Patterns
Speed:
1.0x
💬
◀
▶ Play
▶
↺
×
Ready — Click play to start the demo
XSS Cross-Site Scripting — Three Attack Patterns
Reflected, Stored, and DOM-based XSS have entirely different data flows, but the fatal trust boundary is the same: treating user input as executable code.
💻
用户/受害者
😈
攻击者
🖥
Web 服务器
🗄️
数据库
📌 Reflected XSS(反射型)
📧 钓鱼链接
/search?q=<script>alert(1)</script>
GET /search?q=<script>...
用户点开链接 → 请求发到服务器
200 OK
服务器把 <script> 原样拼进 HTML 返回
💀 JS 执行 → cookie 外泄
document.cookie → GET /steal?c=...
⚠ 服务器没做转义,直接把用户输入当 HTML 输出
← SSH Port Forwarding — Three Data Flows
SSRF Server-Side Request Forgery — Using the Server as a Proxy into the Internal Network →