Skip to main content

xfreerdp

Usage and Help

Display the xfreerdp man page

man xfreerdp

Display the xfreerdp help output on the console

xfreerdp -h

General Usage Examples

# Using hostname or FQDN
xfreerdp /v:win10ent1.ad.lab /u:'john.doe' /p:'P@$$word123!'

# Using an IP address
xfreerdp /v:10.80.80.3 /u:'john.doe' /p:'P@$$word123!'

Enable a File Share over RDP

# Sharing a network drive with the remote host and enabling clipboard
#     /drive:[local_folder_path],[network_drive_name]
#     +clipboard
xfreerdp /v:win10ent2.ad.lab /u:'john.doe' /p:'P@$$word123!' /drive:.,kali-share +clipboard

RDP via a SOCKS Proxy

# Using a SOCKS proxy (e.g. Chisel or SSH tunnel)
# Assumes a SOCKS proxy is listening on 127.0.0.1 on TCP port 50001
#     /proxy:socks5://[ip_address]:[tcp_port]
# Sharing a network drive with the remote host and enabling clipboard
#     /drive:[local_folder_path],[network_drive_name]
#     +clipboard
xfreerdp /proxy:socks5://127.0.0.1:50001 /v:10.80.80.4 /u:'john.doe' /p:'P@$$word123!' /drive:.,kali-share +clipboard