# 5900 - VNC

**Nmap**:&#x20;

Script: vnc-info&#x20;

&#x20;**Example Usage**&#x20;

```
nmap -p 5901 --script vnc-info 192.168.0.50

PORT    STATE SERVICE 
5900/tcp open  vnc 
| vnc-info: 
|   Protocol version: 3.889 
|   Security types: 
|     Mac OS X security type (30) 
|_    Mac OS X security type (35) 
```

**Connect to VNC:**

`vncviewer $IP:5901`&#x20;

**Brute Force with Metasploit**&#x20;

`use auxiliary/scanner/vnc/vnc_login`&#x20;
