root@sparrow:~/writeups$ cat vncviewer.md
// Shells & Pivoting
vncviewer
22 Jul 2026
· 1 min read
vncviewer is a client for the VNC (port 5900) protocol that provides remote graphical access to a machine, similar to RDP but cross-platform.
| Type | CLI/GUI |
| Default port | 5900 |

Usage
vncviewer 192.168.1.27:5900
Once connected it will ask for a password. If you don't have one, Metasploit has specific auxiliary modules for VNC (password brute force, null-auth detection) — look for them with
search vncin msfconsole.
Responsible use
These commands are for systems you own or have explicit written authorisation to test (labs, CTFs, contracted engagements). Using them against third-party infrastructure without permission is illegal in most countries.