I forgot a password to a mySQL datasource on my personal VPS. Not the end of the world I can log in to mySQL and reset it if I need but I knew these passwords were in new-datasource.xml in an encrypted format and was curious to see if I could decrypt that password. Turns out you can.
I used this post as a staring point
http://paulalkema.com/post.cfm/pull-a-list-of-all-coldfusion-datasources-along-with-username-and-passwords
and while I was at it built this small app in case I need it in the future.
App:
http://demo.kukiel.net/jquery/pass/
There is a problem with your link to the reference article.
ReplyDeleteNote this won't work if you provide a Password Seed in the Security section of the ColdFusion Administrator.
ReplyDelete@Dale I fixed the link it did work but wasn't clickable.
ReplyDelete@Rob your correct if you use a seed it wont work but if you don't set the seed it will still work even on 9.01