Bounty Hacker
Recon
IP Cible
10.10.3.230
IP Attaquant
10.21.171.239
Scan nmap
nmap -A $IP -T4 -p-
Starting Nmap 7.93 ( <https://nmap.org> ) at 2025-09-29 22:16 CEST
Stats: 0:00:48 elapsed; 0 hosts completed (1 up), 1 undergoing SYN Stealth Scan
SYN Stealth Scan Timing: About 12.53% done; ETC: 22:22 (0:05:35 remaining)
Nmap scan report for 10.10.3.230
Host is up (0.032s latency).
Not shown: 55529 filtered tcp ports (no-response), 10003 closed tcp ports (reset)
PORT STATE SERVICE VERSION
21/tcp open ftp vsftpd 3.0.5
| ftp-anon: Anonymous FTP login allowed (FTP code 230)
|_Cant get directory listing: PASV failed: 550 Permission denied.
| ftp-syst:
| STAT:
| FTP server status:
| Connected to ::ffff:10.21.171.239
| Logged in as ftp
| TYPE: ASCII
| No session bandwidth limit
| Session timeout in seconds is 300
| Control connection is plain text
| Data connections will be plain text
| At session startup, client count was 2
| vsFTPd 3.0.5 - secure, fast, stable
|_End of status
22/tcp open ssh OpenSSH 8.2p1 Ubuntu 4ubuntu0.13 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey:
| 3072 90c93a8b6877397cc02f1c170117ab59 (RSA)
| 256 e8892fc428798c3b0a9afa1e385e55ed (ECDSA)
|_ 256 0770bdedd96f9fbab93cf2a43a493bc9 (ED25519)
80/tcp open http Apache httpd 2.4.41 ((Ubuntu))
|_http-title: Site doesn't have a title (text/html).
|_http-server-header: Apache/2.4.41 (Ubuntu)
- FTP/21 Anonyme
- SSH/22 OpenSSH 8.2p1
- TCP/80 Apache httpd 2.4.41
Exploitation
FTP
[Sep 29, 2025 - 22:26:18 (CEST)] exegol-thm /workspace # ftp anonymous@$IP
Connected to 10.10.3.230.
220 (vsFTPd 3.0.5)
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> dir
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
-rw-rw-r-- 1 ftp ftp 418 Jun 07 2020 locks.txt
-rw-rw-r-- 1 ftp ftp 68 Jun 07 2020 task.txt
226 Directory send OK.
ftp> mget *
mget locks.txt [anpqy?]? y
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for locks.txt (418 bytes).
100% |************************************| 418 940.55 KiB/s 00:00 ETA
226 Transfer complete.
418 bytes received in 00:00 (12.50 KiB/s)
mget task.txt [anpqy?]? y
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for task.txt (68 bytes).
100% |************************************| 68 109.40 KiB/s 00:00 ETA
226 Transfer complete.
68 bytes received in 00:00 (2.02 KiB/s)
ftp> bye
221 Goodbye.
- Lecture des fichiers récupérés
cat task.txt
1.) Protect Vicious.
2.) Plan for Red Eye pickup on the moon.
-lin
cat locks.txt
rEddrAGON
ReDdr4g0nSynd!cat3
Dr@gOn$yn9icat3
R3DDr46ONSYndIC@Te
ReddRA60N
R3dDrag0nSynd1c4te
dRa6oN5YNDiCATE
ReDDR4g0n5ynDIc4te
R3Dr4gOn2044
RedDr4gonSynd1cat3
R3dDRaG0Nsynd1c@T3
Synd1c4teDr@g0n
reddRAg0N
REddRaG0N5yNdIc47e
Dra6oN$yndIC@t3
4L1mi6H71StHeB357
rEDdragOn$ynd1c473
DrAgoN5ynD1cATE
ReDdrag0n$ynd1cate
Dr@gOn$yND1C4Te
RedDr@gonSyn9ic47e
REd$yNdIc47e
dr@goN5YNd1c@73
rEDdrAGOnSyNDiCat3
r3ddr@g0N
ReDSynd1ca7e
- Who wrote the task list? ⇒ lin