YamanSec is a modular web application scanner built using Python and Flask, designed to help identify common web vulnerabilities like SQL Injection, Cross-Site Scripting (XSS), and misconfigurations. It provides a user-friendly web interface, PDF report generation, and integration with the OWASP ZAP API for full scans.
- 🔍 Quick Scan — Custom-built scanner using
requestsandBeautifulSoupto detect:- SQL Injection (form-based and login bypass)
- Reflected Cross-Site Scripting (XSS)
- 🕷️ Full Scan — Integrates with OWASP ZAP API for deep scans including:
- Security headers
- Cookie flags
- JavaScript library vulnerabilities
- 🖥️ Flask Web Interface:
- Input target URL and scan type
- View detailed scan results
- Download PDF reports
- View scan history with timestamps
- 🧠 Designed for educational use (e.g., TryHackMe, Hack The Box labs)
- Backend: Python, Flask
- Frontend: HTML/CSS (Jinja2 Templates)
- Scanning Tools: Custom code + OWASP ZAP API
- Database: SQLite
- PDF Generation: ReportLab
- Other: BeautifulSoup4, Requests
git clone https://github.com/yourusername/YamanSec-Web-Scanner.git
cd YamanSec-Web-Scannerpython -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activatepip install -r requirements.txtpython app.pyOpen your browser and go to: http://localhost:5000
YamanSec/
│
├── app.py # Flask web server
├── scanner_engine.py # Manages quick/full scan routing
├── quick_scanner.py # Custom scanner (SQLi/XSS)
├── report_generator.py # PDF report creation
├── database.py # SQLite DB utility (optional)
├── requirements.txt
├── templates/ # HTML templates (Jinja2)
└── scan_results.db # (optional) Database file (ignored in .gitignore)
| Vulnerability | Recommendation |
|---|---|
| SQL Injection | Use parameterized queries or ORM |
| Reflected Cross-Site Scripting | Escape input and set Content-Security-Policy |
| Missing Anti-CSRF Tokens | Implement CSRF tokens in all forms |
| Insecure Cookies | Add SameSite, HttpOnly, Secure attributes |
| Missing Security Headers | Add X-Frame-Options, X-Content-Type-Options, CSP, etc. |
⚠️ This tool is intended for educational and authorized testing only.
Do not use YamanSec to scan websites without explicit permission.
Unauthorized use may be illegal and unethical.
- 🔐 Support for authenticated scanning (session/cookie injection)
- 📈 Enhanced PDF reports with charts and severity breakdowns
- 🐳 Docker containerization
- ☁️ Optional deployment to cloud (e.g., AWS/Azure)
- 🔁 CI/CD integration for automated security checks
Muhammet Vonal — LinkedIn
Cybersecurity enthusiast | Web security researcher | Software developer