Differences between revisions 3 and 4
Revision 3 as of 2017-01-02 23:14:30
Size: 557
Editor: clifford
Comment:
Revision 4 as of 2017-01-02 23:14:40
Size: 562
Editor: clifford
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
  . its either under .vnc/passwd or   . its either under .vnc/passwd
  .
or

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

CategoryVnc/getvncpassword (last edited 2017-01-02 23:14:40 by clifford)