(base) PS C:\Users\1984l> nmap 10.129.104.75 Starting Nmap 7.99 ( https://nmap.org ) at 2026-08-31 18:15 +0800 Nmap scan report for 10.129.104.75 Host is up (0.47s latency). Not shown: 997 closed tcp ports (reset) PORT STATE SERVICE 21/tcp open ftp 22/tcp open ssh 80/tcp open http
答案是三個。
可以搜一搜vsFTPd 3.0.3 的chagelog
exiftool
在 Web 題裡它常用在 檔案上傳漏洞。
還可以把網站下來看看相關信息,
例如 HTB 題目裡網站可能用了某個舊軟體,但頁面上沒有直接寫版本或發布日期,他就會:
1 2
wget http://target/ exiftool index.html
可以在這找到是在2015年建立的:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
(py311) ghsc@Jerrylaptop:~/HTB/cap$ exiftool Changelog-diff.html ExifTool Version Number : 12.76 File Name : Changelog-diff.html Directory : . File Size : 12 kB File Modification Date/Time : 2015:07:25 23:17:28+08:00 File Access Date/Time : 2026:08:31 23:47:04+08:00 File Inode Change Date/Time : 2026:08:31 23:47:10+08:00 File Permissions : -rwxr-xr-x File Type : HTML File Type Extension : html MIME Type : text/html Content Type : text/html; charset=iso-8859-1 Content Style Type : text/css Viewport : width=device-width, initial-scale=0.6 Keywords : vsftpd, Changelog, member, file, version, source, changes, differences, report, Fossies, archive Description : Source code changes report for the member file Changelog of the vsftpd software package between the versions 3.0.2 and 3.0.3 Content Script Type : text/javascript Title : vsftpd: Changelog - 3.0.2 vs. 3.0.3 changes | Fossies Diffs
Task2
After running a “Security Snapshot”, the browser is redirected to a path of the format /[something]/[id], where [id] represents the id number of the scan. What is the [something]?
q220 (vsFTPd 3.0.3) USER nathan 331 Please specify the password. PASS Buck3tH4TF0RM3! 230 Login successful. SYST 215 UNIX Type: L8 PORT 192,168,196,1,212,140 200 PORT command successful. Consider using PASV. LIST 150 Here comes the directory listing.226 Directory send OK. PORT 192,168,196,1,212,141 200 PORT command successful. Consider using PASV. LIST -al 150 Here comes the directory listing. 226 Directory send OK. TYPE I 200 Switching to Binary mode. PORT 192,168,196,1,212,143 200 PORT command successful. Consider using PASV. RETR notes.txt 550 Failed to open file. QUIT 221 Goodbye.
答案是封包編號0
Task5
Which application layer protocol in the pcap file can the sensetive data be found in?
Hints: It has to do with one of the other open TCP ports on Cap.
看上面就知道 : FTP
Task6
We’ve managed to collect nathan’s FTP password. On what other service does this password work?
一眼看出是SSH了 , 都有號和密碼了
Task7
Submit the flag located in the nathan user’s home directory.