My Nmap scan revealed several open ports. I am going to focus on port 3389 for this machine.
Port 3389 is utilized for RDP (Remote Desktop Protocol), which I am attempting to access using the xfreerdp tool.
Typing 'xfreerdp' in the terminal displays a list of commands. I plan to use the '/v:' command.
Unfortunately, my username was not accepted by the RDP session login mechanism. I will specify my command using xfreerdp with the following switches:
This time, I needed to enter a password, hoping it hadn't been configured yet, so I simply pressed enter without typing any password.
A new window has opened, granting me access to this server. By double-clicking the Flag file, I retrieved the flag code I was searching for.