Skillpedia
الأمان48k · #4830

html-injection-testing

ما الذي تفعله

تساعد هذه المهارة على إيجاد الثغرات في المواقع التي تسمح بإدخال كود HTML ضار واستغلالها. ويمكن استخدامها لتغيير مظهر الصفحة، أو إنشاء صفحات مزيفة لسرقة المعلومات، أو سرقة كلمات المرور.

متى تستخدمها

  • ✓عندما تريد التحقق مما إذا كان الموقع محمياً من هجمات حقن HTML.
  • ✓عندما تريد فهم كيف يستطيع المهاجمون تعديل صفحات الويب.
  • ✓عندما تختبر أمان موقع ما بإذن.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/html-injection-testing/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“تحقّق مما إذا كان الموقع «example.com» معرضاً لحقن HTML.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

ترسل المهارة أكواد HTML خاصة إلى الموقع وتلاحظ كيف يتفاعل معها. فإذا عرض الموقع الكود دون حماية، فقد يكون معرضاً للثغرة.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

⚠️ 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.

الأسئلة الشائعة

ما الفرق بين حقن HTML وXSS؟

حقن HTML يسمح بتغيير المظهر أو إضافة نماذج، لكنه لا ينفذ كوداً خطيراً مثل XSS. أما XSS فهو أخطر لأنه يستطيع تشغيل سكربتات في متصفح المستخدم.

لماذا أحتاج إلى إذن لاستخدام هذه المهارة؟

استخدامها دون إذن غير قانوني وقد يسبب ضرراً. يجب استخدامها فقط للاختبار المصرح به أو للتعلم في بيئات خاضعة للتحكم.

ما هما CSP وWAF؟

CSP (سياسة أمان المحتوى) وWAF (جدار حماية تطبيقات الويب) إجراءان أمنيان يمكن أن يمنعا حقن HTML من العمل بشكل صحيح.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
48k
الترتيب
#4830
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة