Share
## https://sploitus.com/exploit?id=A21F2C65-4650-53FD-99A7-1FB43ADE2F62
# VulnScan Pro - Advanced Vulnerability Scanner

A professional web-based vulnerability scanner with Flask backend and modern vanilla JavaScript frontend that performs network scans, identifies vulnerabilities, and generates proof-of-concept exploits.

## Features

- **๐ŸŽฏ Network Scanning**: Input target IP/domain for Nmap-based port scanning
- **๐Ÿ” Vulnerability Detection**: Match discovered services against CVE database
- **๐Ÿ’ป PoC Generation**: Generate proof-of-concept code for identified vulnerabilities
- **๐Ÿ“Š Export Capabilities**: Export scan results as PDF or CSV
- **๐ŸŽจ Modern UI**: Clean, professional Bootstrap-based responsive interface
- **โšก Real-time Stats**: Live dashboard with animated counters
- **๐Ÿ”’ Security Focused**: Built-in warnings and ethical usage guidelines

## Prerequisites

- Python 3.8+
- Nmap installed on system

## Installation

### Backend Setup

1. Install Python dependencies:
```bash
pip install -r requirements.txt
```

2. Install Nmap:
   - **Windows**: Download from https://nmap.org/download.html
   - **Linux**: `sudo apt-get install nmap`
   - **macOS**: `brew install nmap`

## Running the Application

### Start the Flask Server
```bash
python app.py
```

The application will be available at **http://localhost:5000**

## Usage

1. **Enter Target**: Input IP address or domain name
2. **Run Scan**: Click "Start Scan" to perform network scan
3. **View Results**: Review discovered services and vulnerabilities
4. **Generate PoC**: Click "Generate PoC" for any identified CVE
5. **Export Data**: Use CSV/PDF export buttons for reporting

## Security Notice

โš ๏ธ **Important**: This tool is for educational and authorized testing purposes only. Always ensure you have proper authorization before scanning any network or system. Unauthorized scanning and exploitation attempts are illegal and unethical.

## Project Structure

```
โ”œโ”€โ”€ app.py                 # Flask backend with API endpoints
โ”œโ”€โ”€ requirements.txt       # Python dependencies
โ”œโ”€โ”€ static/
โ”‚   โ”œโ”€โ”€ index.html        # Main HTML page
โ”‚   โ”œโ”€โ”€ styles.css        # Custom CSS with modern design
โ”‚   โ””โ”€โ”€ script.js         # Vanilla JavaScript application
โ””โ”€โ”€ README.md             # Project documentation
```

## API Endpoints

- `POST /api/scan` - Perform network scan
- `POST /api/generate-poc` - Generate PoC code
- `POST /api/export/pdf` - Export results as PDF
- `POST /api/export/csv` - Export results as CSV

## Customization

- **CVE Database**: Update `CVE_DATABASE` in `app.py` with real CVE data
- **PoC Templates**: Modify `POC_TEMPLATES` to add new exploit types
- **Scan Ports**: Adjust port range in the scan function
- **UI Styling**: Customize Bootstrap components in React files
## Fea
tures Showcase

### ๐ŸŽจ Modern Professional UI
- **Gradient Backgrounds**: Eye-catching gradient overlays with glassmorphism effects
- **Animated Statistics**: Real-time counters showing scan metrics
- **Responsive Design**: Works perfectly on desktop, tablet, and mobile
- **Interactive Elements**: Hover effects, smooth transitions, and micro-animations

### ๐Ÿ”ง Technical Features
- **Pure Vanilla JS**: No framework dependencies, fast loading
- **Bootstrap 5**: Modern component library for consistent styling
- **Font Awesome Icons**: Professional iconography throughout
- **Custom CSS Variables**: Easy theming and customization

### ๐Ÿ›ก๏ธ Security & Ethics
- **Educational Purpose**: Clear warnings about authorized use only
- **Responsible Disclosure**: Built-in guidelines for ethical testing
- **Safe Placeholders**: PoC templates use safe placeholder values
- **Professional Standards**: Follows cybersecurity best practices

## UI Components

### Hero Section
- Animated statistics dashboard
- Professional branding with VulnScan Pro identity
- Real-time metrics display

### Scan Interface
- Clean input form with validation
- Loading states with professional spinners
- Real-time feedback and alerts

### Results Display
- Sortable, responsive data tables
- Color-coded vulnerability severity badges
- Interactive PoC generation buttons

### PoC Modal
- Syntax-highlighted code display
- One-click copy functionality
- Usage instructions and warnings

## Keyboard Shortcuts

- **Ctrl/Cmd + Enter**: Start scan
- **Escape**: Close modal

## Browser Support

- Chrome 90+
- Firefox 88+
- Safari 14+
- Edge 90+