VulnScan Pro is an educational Python-based vulnerability assessment and security scanning tool designed to identify common security weaknesses in web applications, network services, and exposed infrastructure.
The project combines network reconnaissance, web security analysis, CVE correlation, risk scoring, DNS/TLS checks, and automated reporting into a single command-line security assessment tool.
It is designed primarily for cybersecurity education, vulnerability assessment, penetration-testing labs, and authorized security testing.
- Concurrent TCP port scanning
- Custom port ranges and port lists
- Service identification
- Banner grabbing
- Detection of potentially risky exposed services
- Configurable timeout and scanning threads
- HTTP/HTTPS security-header analysis
- Content Security Policy (CSP) checks
- HSTS checks
- X-Frame-Options checks
- X-Content-Type-Options checks
- Referrer-Policy checks
- Permissions-Policy checks
- Server/framework information disclosure detection
- Directory-listing detection
- Sensitive-resource exposure checks
- CORS configuration checks
- HTTP method analysis
- Cookie security checks
- TLS protocol detection
- Certificate inspection
- Cipher detection
- Certificate validation checks
- Detection of legacy TLS configurations
The scanner attempts to identify technologies and frameworks used by a web application, including indicators for:
- Apache
- PHP
- WordPress
- Drupal
- Joomla
- React
- Vue.js
- Angular
- Next.js
- jQuery
- Bootstrap
- Other server/framework information exposed through HTTP responses
- Built-in vulnerability signatures
- CVE identification
- CVSS-based severity classification
- Optional NVD CVE lookup
- Vulnerability deduplication
- Remediation recommendations
- A / AAAA records
- MX records
- NS records
- TXT records
- CNAME records
- SPF checks
- DMARC checks
The scanner can check for commonly exposed API documentation endpoints such as:
- Swagger
- Swagger UI
- OpenAPI
- API documentation endpoints
Optional subdomain discovery using a user-provided wordlist.
Vulnerabilities are categorized by severity:
- ๐ด Critical
- ๐ High
- ๐ก Medium
- ๐ต Low
- โช Informational
The scanner also generates an overall security score out of 100.
The project includes an AI-ready analysis layer that:
- Summarizes scan results
- Prioritizes important findings
- Generates remediation priorities
- Structures findings for AI analysis
- Supports integration with an external AI endpoint
Reports can be generated in multiple formats:
- Markdown
- HTML
- JSON
Scan results can be stored in a local SQLite database, allowing previous assessments to be tracked and compared.
โโโโโโโโโโโโโโโโโโโโ
โ Target โ
โโโโโโโโโโฌโโโโโโโโโโ
โ
โโโโโโโโโโโผโโโโโโโโโโ
โ Target Management โ
โโโโโโโโโโโฌโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
Port Scanner Web Scanner DNS Scanner
โ โ โ
โผ โผ โผ
Service/Banner Web Security DNS Security
Detection Checks Checks
โ โ โ
โโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโผโโโโโโโโโ
โ CVE Correlation โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โโโโโโโโโโผโโโโโโโโโ
โ Risk Scoring โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โโโโโโโโโโผโโโโโโโโโ
โ AI Analysis โ
โโโโโโโโโโฌโโโโโโโโโ
โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโโโ
โผ โผ โผ
HTML JSON Markdown
Report Report Report
- Python 3
requestsBeautifulSoup4dnspythonsocketsslconcurrent.futuresSQLite- REST API integration
- JSON
Clone the repository:
git clone https://github.com/YOUR-USERNAME/vulnscan-pro.git
cd vulnscan-proInstall dependencies:
pip install -r requirements.txtOr:
pip install requests beautifulsoup4 dnspythonBasic scan:
python vulnscan_pro.py example.comFull scan:
python vulnscan_pro.py example.com --fullScan selected ports:
python vulnscan_pro.py 192.168.1.10 --ports 22,80,443,8080Generate an HTML report:
python vulnscan_pro.py example.com --full --format htmlGenerate a JSON report:
python vulnscan_pro.py example.com --full --format jsonRun DNS checks:
python vulnscan_pro.py example.com --dnsRun SSL/TLS checks:
python vulnscan_pro.py example.com --sslRun CVE lookup:
python vulnscan_pro.py example.com --cveRun subdomain discovery:
python vulnscan_pro.py example.com --subdomains wordlists/subdomains.txtEnable all major checks:
python vulnscan_pro.py example.com --fullVulnScan Pro 2.0.0 โ authorized testing only
Target: example.com
Host: example.com
Open ports:
80/HTTP
443/HTTPS
Security score: 72/100
Rating: Moderate Risk
Findings:
[Medium] WEB-HSTS
[Low] COOKIE-SAMESITE
[Low] WEB-INFO-DISCLOSURE
The main objectives of VulnScan Pro are:
- Automate basic vulnerability assessment tasks.
- Identify exposed network services.
- Detect common web-security configuration weaknesses.
- Correlate software information with known CVEs.
- Prioritize vulnerabilities based on severity.
- Generate structured security reports.
- Maintain historical scan information.
- Provide an extensible foundation for AI-assisted security analysis.
- Demonstrate practical cybersecurity concepts using Python.
This project can be used as an educational cybersecurity project for demonstrating:
- Vulnerability assessment
- Network security
- Web application security
- Security automation
- CVE/CVSS concepts
- Risk assessment
- Secure configuration analysis
- Python programming
- Security reporting
- AI-assisted cybersecurity analysis
VulnScan Pro is intended for authorized security testing, educational environments, and systems that you own or have explicit permission to assess.
Do not use this tool to scan systems without authorization.
The scanner performs detection-oriented security checks and should not be considered a replacement for professional penetration testing or comprehensive vulnerability-management platforms.
Always manually validate findings before taking remediation actions.
Planned improvements include:
- Advanced AI vulnerability explanation
- AI-generated remediation reports
- Web-based dashboard
- Advanced CVE correlation
- Vulnerability trend visualization
- Authentication-aware scanning for authorized applications
- CI/CD security integration
- Plugin-based scanner architecture
- PDF security reports
- Improved technology fingerprinting
- Additional OWASP security checks
- Automated remediation tracking
Shivam Kumar
Cybersecurity | Python | Vulnerability Assessment | Security Automation
โญ If you find this project useful for learning cybersecurity, consider starring the repository.