rishikamishra0805-bit/XSS-CROSS-SITE-SCRIPTING-AND-SQL-INJECTION-ON-SITE

GitHub: rishikamishra0805-bit/XSS-CROSS-SITE-SCRIPTING-AND-SQL-INJECTION-ON-SITE

一款基于 Python 的自动化 Web 漏洞扫描器,用于检测 XSS 与 SQL 注入漏洞并生成结构化报告。

Stars: 0 | Forks: 0

# 🔒 Web 漏洞扫描器 ## 📌 项目概述 一个自动化 Web 漏洞扫描器,用于检测 Web 应用程序中的 **XSS(跨站脚本攻击)** 和 **SQL 注入** 漏洞。专为教育和授权安全测试目的而构建。 ## 🛠️ 功能 - ✅ SQL 注入检测(GET 与 POST) - ✅ XSS 检测(反射型与存储型) - ✅ Cookie 安全性评估 - ✅ Header 注入测试 - ✅ JSON 与 TXT 报告生成 - ✅ 彩色控制台输出 ## 📸 截图 ![终端](https://raw.githubusercontent.com/rishikamishra0805-bit/XSS-CROSS-SITE-SCRIPTING-AND-SQL-INJECTION-ON-SITE/main/screenshots/1_terminal_prompt.png) ![漏洞](https://static.pigsec.cn/wp-content/uploads/repos/cas/f4/f49ee388b1d0d0f93b8f30aeb7f08d71d3c668712aff849f581c1b9d61eca949.png) ![摘要](https://static.pigsec.cn/wp-content/uploads/repos/cas/05/056c715a19ebd3f79fdc94c18c6881b0bcca4cea0ba234766145c04f989b04fa.png) ![文本报告](https://static.pigsec.cn/wp-content/uploads/repos/cas/60/60605549c0433d3978bccdc26006293e2d185a8898398d4c711a721ac212c9f6.png) ![JSON 报告](https://static.pigsec.cn/wp-content/uploads/repos/cas/ca/ca2d1e70aa52123462eacbf8fedff1835c862488fbbc8f10de5a27ea70a847a2.png) ![目标网站](https://raw.githubusercontent.com/rishikamishra0805-bit/XSS-CROSS-SITE-SCRIPTING-AND-SQL-INJECTION-ON-SITE/main/screenshots/6_target_website.png) ## ⚙️ 环境要求 - Python 3.7+ - XAMPP(用于目标网站) ## 🚀 安装说明 ``` git clone https://github.com/yourusername/web-vulnerability-scanner.git cd web-vulnerability-scanner pip install -r requirements.txt 💻 Usage bash python scanner.py Enter target URL: http://localhost/scanner_target/ 📊 Sample Output text [+] Loaded 8 payloads [*] Testing SQL Injection on: http://localhost/search.php?q=test [!] SQL Injection FOUND with payload: ' OR '1'='1 [!] XSS FOUND with payload: 📁 Reports Generated vulnerabilities_report.txt - Text format report scan_report.json - JSON format report ⚠️ Legal Disclaimer This tool is for educational and authorized security testing only. Unauthorized use is strictly prohibited. 🎯 Future Scope AI-based vulnerability detection Multi-threading for faster scanning Burp Suite integration GUI Interface using Streamlit 📧 Contact Your Name - rishikamishra0804@gmail.com ```
标签:CISA项目, Homebrew安装, Python, SQL注入检测, Web安全, XSS检测, 无后门, 蓝队分析, 逆向工具