Summery
rdesktop is a Linux command-line client for connecting to Windows computers using Remote Desktop Protocol (RDP). It provides an interactive graphical Windows session remotely.
Commands
rdesktop -i <TARGET> -u <USER> -p <PASSWORD> -d <DOMAIN> - Basic command
rdesktop -i '10.129.43.33 -u 'htb-student -p 'HTB_@cademy_stdnt!' -r 'disk:fun=/home/htb-ac-313174/Desktop' - Share a folder for upload and download
Flags
-d - Specify a domain
-g - Set the remote desktop resolution.
-n - Specify the client computer name.
-f - Start the session in fullscreen mode.
-r - Share a folder for uploads and downloads