how to retrieve the human readable vnc password
1, get the password. 2 way
a, run vncview on sam and look at /usr/local/lib/vncpass/$server/$username <-- it is a encoded password
- b, goto the server find the user look in to the user home dir .vnc/
- its either under .vnc/passwd
- or
under .vnc/condig.d/Xvnc <<-- this is the hex representation of the endoced password run sed -e 's/../\\x&/g' to convert it back to binary data
2 decode the password
- run vncrack -C follow by the file that contain the binary vnc encoded password
