Two options From the archives:

1. http://www.mail-archive.com/cf-talk@houseoffusion.com/msg05663.html

2.
>>|-----Original Message-----
>>|From: Chris Martinez [mailto:[EMAIL PROTECTED]]
>>|Sent: 07 August 2001 19:13
>>|To: CF-Talk
>>|
>>|
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 )")#
<br>
<b>RDS Password:</b>
#evaluate("cfusion_Decrypt(studiopassword, PASSWORD_KEY )")#
</cfoutput>

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.>>|


----------------------
Erika
with a K

______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-community@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to