FTP


After establishing a VPN connection with the target host, an additional Nmap scan was performed. It reports a FTP server on port 21

┌──(kali㉿kali)-[~/archive/htb/labs/conceal]
└─$ ftp $IP                    
Connected to 10.10.10.116.
220 Microsoft FTP Service
name (10.10.10.116:kali): ftp
331 Anonymous access allowed, send identity (e-mail name) as password.
password: 
230 User logged in.
Remote system type is Windows_NT.
ftp> ls
229 Entering Extended Passive Mode (|||49674|)
125 Data connection already open; Transfer starting.
226 Transfer complete.
ftp> pwd
remote directory: /

The FTP server allows anonymous login It would appears that the FTP server is empty

┌──(kali㉿kali)-[~/archive/htb/labs/conceal]
└─$ echo 'hi there!' > test.txt
ftp> put test.txt 
local: test.txt remote: test.txt
229 Entering Extended Passive Mode (|||49680|)
125 Data connection already open; Transfer starting.
100% |*******************************************************************************************|    11      210.63 kib/s    --:-- ETA
226 Transfer complete.
11 bytes sent in 00:00 (0.33 KiB/s)

However, I am able to upload to the FTP server.