But on the other hand you could get the current password to display in plain
text by running this handy little piece of code:

    <CFSET PASSWORD_KEY = "4p0L@r1$">
    <cfregistry action="GET"

branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server
"
                        entry="AdminPassword" variable="adminpassword" type="String">
    <cfregistry action="GET"

branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server
"
                        entry="StudioPassword" variable="studiopassword" type="String">
    <cfoutput><b>Admin Password:</b>
#evaluate("cfusion_Decrypt(adminpassword, PASSWORD_KEY )")#</cfoutput><br>
    <cfoutput><b>RDS Password:</b>
#evaluate("cfusion_Decrypt(studiopassword, PASSWORD_KEY )")#</cfoutput><br>

The PASSWORD_KEY is the weak encryption algorithm that Allaire uses to
protect the password.  I know this worked in 4.5, not sure about 5.0

hope this helps


Chris <---uses his powers for good only.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to