Scanner de vulnérabilités réseau avec interface Rich et génération de rapport HTML.
- Scan de ports multi-threadé (jusqu'à 200 threads)
- Banner grabbing automatique (HTTP, SSH, FTP...)
- Détection de CVE basée sur les ports ouverts
- Interface Rich avec barres de progression et tableaux colorés
- Rapport HTML généré automatiquement après chaque scan
- Résolution DNS automatique (hostname → IP)
git clone https://github.com/MaoHackk/scanner-vulnerabilites.git
cd scanner-vulnerabilites
pip install rich# Scan des ports communs
python3 scanner.py 192.168.1.1
# Scan de ports spécifiques
python3 scanner.py 192.168.1.1 -p 80,443,22,3306
# Scan d'une plage de ports
python3 scanner.py 192.168.1.1 -p 1-1000
# Avec plus de threads et timeout personnalisé
python3 scanner.py example.com -t 200 --timeout 2.0| Argument | Description | Défaut |
|---|---|---|
target |
IP ou hostname cible | — |
-p, --ports |
Ports à scanner (80,443 ou 1-1000) |
Ports communs |
-t, --threads |
Nombre de threads | 100 |
--timeout |
Timeout par port (secondes) | 1.0 |
🔍 Scan démarré
Cible : 192.168.1.1 → 192.168.1.1
Ports : 24 ports | Threads : 100 | Timeout : 1.0s
╭─ Résultats ─────────────────────────────────────────╮
│ 22 SSH OpenSSH 8.9 [MEDIUM] CVE-2018-15473 │
│ 80 HTTP Apache/2.4.52 [CRITICAL] CVE-2021-41773 │
│ 443 HTTPS nginx/1.18 [HIGH] CVE-2014-0160 │
╰────────────────────────────────────────────────────────╯
✓ Rapport HTML généré : rapport_192_168_1_1_20240101_120000.html
Le scanner détecte les vulnérabilités associées à ces services :
| Port | Service | CVE notables |
|---|---|---|
| 22 | SSH | CVE-2018-15473 (User Enum) |
| 80/443 | HTTP/S | CVE-2021-41773, CVE-2014-0160 |
| 445 | SMB | CVE-2017-0144 (EternalBlue) |
| 3389 | RDP | CVE-2019-0708 (BlueKeep) |
| 6379 | Redis | CVE-2022-0543 |
Cet outil est destiné uniquement à des fins éducatives et de tests éthiques sur des systèmes dont vous avez l'autorisation explicite. Toute utilisation non autorisée est illégale.
MaoHackk — Étudiant L2 Informatique | Cybersécurité
GitHub : @MaoHackk