How parijagitsss/vulnscope works
VulnScope is a local-only Flask employee portal built as a hands-on web application VAPT lab. Users explore the portal through login, directory, tickets, and settings; the assessment script then exercises the same HTTP endpoints, records findings, and supports remediation verification. The graph covers the documented portal capabilities and the documented assessment/reporting branch. Source excerpts show the app-to-database and scanner-to-HTTP interactions; unsampled templates and styles are represented only where the README establishes their role.
Main entry points: app.py Flask Routes · database.py SQLite Data · run_assessment.py Assessment Runner · templates Portal Interface
Components 17
Employee Portal
- Flask Routes
app/app.py - Dashboard
app/app.py - Employee Directory
app/app.py - Ticket Views
app/app.py - Ticket Comments
app/app.py - Account Settings
app/app.py - Portal Interface
app/templates - Navigation Toggle
app/static/portal.js
Security Controls
- Authentication
app/app.py - Request Security
app/app.py
Assessment Workflow
- Assessment Runner
scanner/run_assessment.py - Assessment Findings
scanner/run_assessment.py - VAPT Report
docs/VAPT_REPORT.md
Portal Data
- SQLite Data
app/database.py
Other components
- Portal User
- Local HTTP Portal
- Security Tools
Connections 20
- Portal User → Flask Routes: uses portal
README.md - Flask Routes → Authentication: routes login
app/app.py - Flask Routes → Dashboard: routes dashboard
app/app.py - Flask Routes → Employee Directory: routes search
app/app.py - Flask Routes → Ticket Views: routes tickets
app/app.py - Flask Routes → Ticket Comments: routes comments
app/app.py - Flask Routes → Account Settings: routes settings
app/app.py - Flask Routes → Request Security: enforces controls
app/app.py - Portal Interface → Navigation Toggle: loads script
- Authentication → SQLite Data: reads users
app/app.py - Dashboard → SQLite Data: reads portal data
app/app.py - Employee Directory → SQLite Data: searches employees
app/app.py - Ticket Views → SQLite Data: reads tickets
app/app.py - Ticket Comments → SQLite Data: reads and writes
app/app.py - Account Settings → SQLite Data: updates profile
app/app.py - Assessment Runner → Local HTTP Portal: sends test requests
scanner/run_assessment.py - Local HTTP Portal → Flask Routes: routes requests
- Assessment Runner → Assessment Findings: writes findings
scanner/run_assessment.py - Assessment Runner → VAPT Report: documents methodology
README.md - Security Tools → Local HTTP Portal: assesses portal
README.md