--part1_195.d899880.2abd117d_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

This is a follow up:

Code below states it will recover and decrypt password for 4.5 Server, don't 
want to try it on 5 for obvious reasons. Anyone at Macromedia or other know 
if there is a similar function in 5 or if the registry / encryption has 
changed?  (I'm guessing it has) 

Thanks,

Marc 

   //**************************************    //         // Name: CF 
ADMIN/RDS Password Recovery    // Description:Recovers Lost Coldfusion     // 
    Admin/RDS passwords    // By: Anthony Cole    //    //This code is 
copyrighted and has    // limited warranties.Please see http://    //     
www.Planet-Source-Code.com/xq/ASP/txtCod    //     
eId.6/lngWId.9/qx/vb/scripts/ShowCode.ht    //     m    //for details.    
//**************************************    //            
 <!--- cfregistry allows any user to gain access to your registry --->    
<!--- Password Key That Allaire Uses To Encrypt Passwords --->    <CFSET 
PASSWORD_KEY = "4p0L@r1$">     
<!--- Where Your Passwords are stored In Registry --->    <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">              
<!--- Output Passwords To Screen using an undocumented "cfusion_Decrypt" 
Function --->       
<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>

--part1_195.d899880.2abd117d_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">This is a follow up:<BR>
<BR>
Code below states it will recover and decrypt password for 4.5 Server, don't want to 
try it on 5 for obvious reasons. Anyone at Macromedia or other know if there is a 
similar function in 5 or if the registry / encryption has changed?&nbsp; (I'm guessing 
it has) <BR>
<BR>
Thanks,<BR>
<BR>
Marc <BR>
<BR>
&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: #ffffff" SIZE=2 
FAMILY="FIXED" FACE="Courier New" 
LANG="0">//**************************************</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">// Name: CF ADMIN/RDS 
Password Recovery</FONT><FONT  COLOR="#000000" style="BACKGROUND-COLOR: #ffffff" 
SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  
COLOR="#186125" style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier 
New" LANG="0">// Description:Recovers Lost Coldfusion&nbsp;</FONT><FONT  
COLOR="#000000" style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier 
New" LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">//&nbsp;&nbsp;&nbsp;&nbsp; Admin/RDS passwords</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">// By: Anthony 
Cole</FONT><FONT  COLOR="#000000" style="BACKGROUND-COLOR: #ffffff" SIZE=2 
FAMILY="FIXED" FACE="Courier New" LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  
COLOR="#186125" style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier 
New" LANG="0">//</FONT><FONT  COLOR="#000000" style="BACKGROUND-COLOR: #ffffff" SIZE=2 
FAMILY="FIXED" FACE="Courier New" LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  
COLOR="#186125" style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier 
New" LANG="0">//This code is copyrighted and has</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">// limited 
warranties.Please see http://</FONT><FONT  COLOR="#000000" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">&nbsp;&nbsp;&nbsp; 
</FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" 
FACE="Courier New" LANG="0">//&nbsp;&nbsp;&nbsp;&nbsp; 
www.Planet-Source-Code.com/xq/ASP/txtCod</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">//&nbsp;&nbsp;&nbsp;&nbsp; 
eId.6/lngWId.9/qx/vb/scripts/ShowCode.ht</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">//&nbsp;&nbsp;&nbsp;&nbsp; 
m</FONT><FONT  COLOR="#000000" style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" 
FACE="Courier New" LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">//for details.</FONT><FONT  COLOR="#000000" style="BACKGROUND-COLOR: #ffffff" 
SIZE=2 FAMILY="FIXED" FACE="Courier New" LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  
COLOR="#186125" style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier 
New" LANG="0">//**************************************</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp; </FONT><FONT  COLOR="#186125" style="BACKGROUND-COLOR: 
#ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT><FONT  COLOR="#000000" 
style="BACKGROUND-COLOR: #ffffff" SIZE=2 FAMILY="FIXED" FACE="Courier New" 
LANG="0">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>
 &lt;!--- cfregistry allows any user to gain access to your registry 
---&gt;&nbsp;&nbsp;&nbsp; <BR>
&lt;!--- Password Key That Allaire Uses To Encrypt Passwords ---&gt;&nbsp;&nbsp;&nbsp; 
&lt;CFSET PASSWORD_KEY = "4p0L@r1$"&gt;&nbsp;&nbsp;&nbsp;&nbsp; <BR>
&lt;!--- Where Your Passwords are stored In Registry ---&gt;&nbsp;&nbsp;&nbsp; 
&lt;cfregistry action="GET"&nbsp;&nbsp;&nbsp;&nbsp;            
branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server"&nbsp;&nbsp;&nbsp;&nbsp;
     <BR>
        entry="AdminPassword" variable="adminpassword" 
type="String"&gt;&nbsp;&nbsp;&nbsp;&nbsp; <BR>
&lt;cfregistry action="GET"&nbsp; 
branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Server"&nbsp;&nbsp;&nbsp;&nbsp;
             entry="StudioPassword" variable="studiopassword" 
type="String"&gt;&nbsp;&nbsp;&nbsp;&nbsp;      &nbsp;&nbsp;&nbsp; <BR>
&lt;!--- Output Passwords To Screen using an undocumented "cfusion_Decrypt" Function 
---&gt;   &nbsp;&nbsp;&nbsp; <BR>
&lt;cfoutput&gt;&lt;b&gt;Admin Password:&lt;/b&gt; 
#evaluate("cfusion_Decrypt(adminpassword, PASSWORD_KEY 
)")#&lt;/cfoutput&gt;&lt;br&gt;&nbsp; &lt;cfoutput&gt;&lt;b&gt;RDS Password:&lt;/b&gt; 
#evaluate("cfusion_Decrypt(studiopassword, PASSWORD_KEY 
)")#&lt;/cfoutput&gt;&lt;br&gt;<BR>
</FONT></HTML>
--part1_195.d899880.2abd117d_boundary--
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