Skip to content

Instantly share code, notes, and snippets.

@rhtyd rhtyd/vnc-decrypt.sh
Created May 29, 2015

Embed
What would you like to do?
vnc-decrypt: CloudStack VNC Password decryption tool
#!/bin/bash
input=$(mysql -u root -proot -e "select vnc_password from cloud.vm_instance where name='$1'\G;" | grep vnc_password | sed 's/.*vnc_password: //')
java -classpath /usr/share/cloudstack-common/lib/jasypt-1.9.0.jar org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI decrypt.sh input=$input password=password verbose=true
@andrijapanicsb

This comment has been minimized.

Copy link

andrijapanicsb commented Oct 3, 2019

version atm 1.9.2 :)

@rhtyd

This comment has been minimized.

Copy link
Owner Author

rhtyd commented Oct 3, 2019

well, v1.9.3 is the latest we'll move in 4.14/master. But this shall also work @andrijapanicsb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.