Chuyển đến nội dung
Skillpedia
Bảo mật48k · #4830

html-injection-testing

Skill này làm gì

Công cụ này giúp tìm và khai thác lỗ hổng trên website cho phép chèn mã HTML độc hại. Điều này có thể dùng để thay đổi giao diện trang, tạo trang giả để đánh cắp thông tin hoặc lấy cắp mật khẩu.

Khi nào nên dùng

  • ✓Khi muốn kiểm tra xem một website có an toàn trước các cuộc tấn công HTML injection không.
  • ✓Khi muốn hiểu cách kẻ tấn công có thể thay đổi trang web.
  • ✓Khi kiểm thử bảo mật một website có sự cho phép.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/html-injection-testing/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/html-injection-testing/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Kiểm tra xem website 'example.com' có dễ bị tấn công HTML injection không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ gửi các đoạn mã HTML đặc biệt đến website và quan sát phản ứng. Nếu website hiển thị mã mà không bảo vệ, nó có thể dễ bị tấn công.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

AUTHORIZED USE ONLY: Use this skill only for authorized security assessments, defensive validation, or controlled educational environments.

HTML Injection Testing

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Prerequisites

Required Tools

  • Web browser with developer tools
  • Burp Suite or OWASP ZAP
  • Tamper Data or similar proxy
  • cURL for testing payloads

Required Knowledge

  • HTML fundamentals
  • HTTP request/response structure
  • Web application input handling
  • Difference between HTML injection and XSS

Constraints and Limitations

Attack Limitations

  • Modern browsers may sanitize some injections
  • CSP can prevent inline styles and scripts
  • WAFs may block common payloads
  • Some applications escape output properly

Testing Considerations

  • Distinguish between HTML injection and XSS
  • Verify visual impact in browser
  • Test in multiple browsers
  • Check for stored vs reflected

Severity Assessment

  • Lower severity than XSS (no script execution)
  • Higher impact when combined with phishing
  • Consider defacement/reputation damage
  • Evaluate credential theft potential

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Câu hỏi thường gặp

Khác biệt giữa HTML injection và XSS là gì?

HTML injection cho phép thay đổi giao diện hoặc thêm biểu mẫu, nhưng không thực thi mã nguy hiểm như XSS. XSS nguy hiểm hơn vì có thể chạy script trong trình duyệt của người dùng.

Tại sao tôi cần sự cho phép để dùng công cụ này?

Dùng công cụ này mà không có sự cho phép là bất hợp pháp và có thể gây thiệt hại. Chỉ nên dùng cho kiểm thử đã được ủy quyền hoặc học tập trong môi trường được kiểm soát.

CSP và WAF là gì?

CSP (Content Security Policy) và WAF (Web Application Firewall) là các biện pháp bảo mật có thể ngăn HTML injection hoạt động đúng cách.

Chi tiết

Mô tả gốc của tác giả

Identify and exploit HTML injection vulnerabilities that allow attackers to inject malicious HTML content into web applications. This vulnerability enables attackers to modify page appearance, create phishing pages, and steal user credentials through injected forms.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4830
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự