Share
## https://sploitus.com/exploit?id=4B8DD1A8-BFE2-5006-BEEC-4D11C8D30224
# Web-Application-Vulnerability-Scanner
Web Application Vulnerability Scanner
Internship Task โ€“ 2

Domain: Cyber Security / Web Security
Technology: Python

๐Ÿ“Œ Project Description

This project is a Python-based Web Application Vulnerability Scanner designed to identify common security vulnerabilities such as SQL Injection (SQLi) and Cross-Site Scripting (XSS) in web applications.

The scanner analyzes HTML forms on a target website and tests them using predefined payloads to detect potential vulnerabilities.
It is intended for educational purposes and authorized testing only.

๐ŸŽฏ Objectives

Understand common web application vulnerabilities

Learn how attackers exploit insecure input handling

Practice secure coding and vulnerability detection

Build a basic security scanning tool using Python

โš™๏ธ Features

Scans web pages for HTML forms

Detects possible SQL Injection vulnerabilities

Detects possible Cross-Site Scripting (XSS) vulnerabilities

Handles incorrect URLs and connection errors gracefully

Simple and easy-to-use command-line interface

๐Ÿ› ๏ธ Technologies Used

Python 3

Requests โ€“ for HTTP communication

BeautifulSoup (bs4) โ€“ for HTML parsing

urllib.parse โ€“ for URL handling

๐Ÿ“‚ Project Structure
Web-Vulnerability-Scanner/
โ”‚
โ”œโ”€โ”€ script.py
โ””โ”€โ”€ README.md

โ–ถ๏ธ How to Run the Project
1๏ธโƒฃ Install Required Libraries
pip install requests beautifulsoup4

2๏ธโƒฃ Run the Scanner
python script.py

3๏ธโƒฃ Enter Target URL

Example:

http://testphp.vulnweb.com

๐Ÿ” Sample Output
[+] Scanning for SQL Injection...
[!] SQL Injection vulnerability detected at: http://example.com/login.php

[+] Scanning for XSS...
[-] No XSS vulnerability detected

โš ๏ธ Disclaimer

This tool is created strictly for educational and ethical purposes.
Do NOT use this scanner on websites without proper authorization.
The author is not responsible for any misuse of this tool.

๐Ÿ“š Learning Outcomes

Basics of Web Application Security

Understanding SQL Injection and XSS

Working with HTTP requests in Python

HTML form analysis

Error handling and input validation

๐Ÿ‘จโ€๐Ÿ’ป Author

Name: Jay Suryawanshi
Internship Task: Web Application Vulnerability Scanner
Language: Python