<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Encoded Passwords In *.ste Site Definition Files</title>
	<atom:link href="http://blog.affirmix.com/2008/08/28/encoded-passwords-in-ste-site-definition-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.affirmix.com/2008/08/28/encoded-passwords-in-ste-site-definition-files/</link>
	<description>Flash Platform and Dreamweaver Stuff</description>
	<lastBuildDate>Thu, 08 Apr 2010 00:19:46 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rick</title>
		<link>http://blog.affirmix.com/2008/08/28/encoded-passwords-in-ste-site-definition-files/comment-page-1/#comment-2174</link>
		<dc:creator>Rick</dc:creator>
		<pubDate>Sat, 13 Jun 2009 04:02:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.affirmix.com/?p=14#comment-2174</guid>
		<description>That&#039;s brilliant. I&#039;ve built an app that let&#039;s me more quickly and easily reconfig my WAMP workstation after a re-install, and more generally to centralize information that is used in Dreamweaver and FileZilla so that I may generate XML configuration documents for these programs from the same source of data, stored in a database. When I wrote the class for producing site.ste XML and tested it, I discovered the password encoding problem. Dreamweaver was loading configuration data just fine from the generated XML, but I kept getting login errors over SFTP/FTP.  Now I&#039;m stuck until I find a way to encode a plain text password in accordance with Dreamweaver CS3&#039;s algorithm using PHP. I almost have it, but something is wrong...

function dreamweaver_pw_encrypt($pw) {	
	$out = &quot;&quot;;
	$i = 0;	
	for ($i = 0; $i &lt; strlen($pw); $i++) {		
		$out .= sprintf(&quot;%02x&quot;, ord($pw{$i}));
	}	
	return $out;
}</description>
		<content:encoded><![CDATA[<p>That&#8217;s brilliant. I&#8217;ve built an app that let&#8217;s me more quickly and easily reconfig my WAMP workstation after a re-install, and more generally to centralize information that is used in Dreamweaver and FileZilla so that I may generate XML configuration documents for these programs from the same source of data, stored in a database. When I wrote the class for producing site.ste XML and tested it, I discovered the password encoding problem. Dreamweaver was loading configuration data just fine from the generated XML, but I kept getting login errors over SFTP/FTP.  Now I&#8217;m stuck until I find a way to encode a plain text password in accordance with Dreamweaver CS3&#8217;s algorithm using PHP. I almost have it, but something is wrong&#8230;</p>
<p>function dreamweaver_pw_encrypt($pw) {<br />
	$out = &#8220;&#8221;;<br />
	$i = 0;<br />
	for ($i = 0; $i &lt; strlen($pw); $i++) {<br />
		$out .= sprintf(&#8221;%02x&#8221;, ord($pw{$i}));<br />
	}<br />
	return $out;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Odri &#187; Blog Archive &#187; Live *.ste Dreamweaver Password Encoder and Decoder</title>
		<link>http://blog.affirmix.com/2008/08/28/encoded-passwords-in-ste-site-definition-files/comment-page-1/#comment-1339</link>
		<dc:creator>Andrew Odri &#187; Blog Archive &#187; Live *.ste Dreamweaver Password Encoder and Decoder</dc:creator>
		<pubDate>Tue, 05 May 2009 23:02:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.affirmix.com/?p=14#comment-1339</guid>
		<description>[...] noticed that a lot of the traffic currently going to this post is coming from people wanting to encode and decode passwords from a *.ste file online. You can now [...]</description>
		<content:encoded><![CDATA[<p>[...] noticed that a lot of the traffic currently going to this post is coming from people wanting to encode and decode passwords from a *.ste file online. You can now [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
