This is from the Hack Proofing ColdFusion book.

<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>
<strong>Administrator:</strong><br>
#Evaluate("cfusion_Decrypt(adminpassword, PASSWORD_KEY)")#<br>

<strong>RDS:</strong><br>
#Evaluate("cfusion_Decrypt(studiopassword, PASSWORD_KEY)")#<br>
</cfoutput>


HTH

Regards,
Rob Rusher

--- Mark-Anthony <[EMAIL PROTECTED]> wrote:
> I did it again, where do I get the CF admin pass if I forgot it?
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=14
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=14
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
                                

Reply via email to