<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>PHP Software Developing &#187; dreamweaver</title>
	<atom:link href="http://www.phpdeveloping.co.za/tag/dreamweaver/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phpdeveloping.co.za</link>
	<description>for the love of PHP Development</description>
	<lastBuildDate>Tue, 29 Sep 2009 15:38:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dreamweaver password decryptor</title>
		<link>http://www.phpdeveloping.co.za/password/dreamweaver-password-decryptor.html</link>
		<comments>http://www.phpdeveloping.co.za/password/dreamweaver-password-decryptor.html#comments</comments>
		<pubDate>Thu, 30 Jul 2009 09:24:14 +0000</pubDate>
		<dc:creator>chris</dc:creator>
				<category><![CDATA[Password]]></category>
		<category><![CDATA[dreamweaver]]></category>
		<category><![CDATA[password decryptor]]></category>

		<guid isPermaLink="false">http://www.phpdeveloping.co.za/?p=111</guid>
		<description><![CDATA[A client recently asked about the Dreamweaver STE format and retrieving a password from it.  I&#8217;ve never done it, but a little research into the encryption format quickly provided a solution.
The password is basically in the form of number and letter which represent a series of hexadecimal numbers which have been modified a bit. [...]]]></description>
			<content:encoded><![CDATA[<p>A client recently asked about the Dreamweaver STE format and retrieving a password from it.  I&#8217;ve never done it, but a little research into the encryption format quickly provided a solution.</p>
<p>The password is basically in the form of number and letter which represent a series of hexadecimal numbers which have been modified a bit.  </p>
<p>Let&#8217;s say the encrypted password is 70627576</p>
<p>It goes like:</p>
<ol>
<li>Each hexadecimal  number is 2 digits, so &#8220;70627576&#8243; would be 70, 62, 75 and 76</li>
<li>Subtract the position of the number from itself, starting with 0.
<ul>
<li>70 is in the 0 position, so subtract 0 from it</li>
<li>62 is in the 1 position, so subtract 2 from it</li>
<li>75 is in the 2 position, so subtract 3 from it</li>
<li>76 is in the 3 position, so subtract 4 from it</li>
</ul>
<p>      So, 70:62:75:76 becomes 70:61:73:73.
</li>
<li>Once done, convert each to ASCII.
<ul>
<li>70 = &#8216;p&#8217;</il>
<li>61 = &#8216;a&#8217;</li>
<li>73 = &#8217;s&#8217;</li>
<li>73 = &#8217;s&#8217;</li>
<p>      </lu><br />
      So the password is &#8216;pass&#8217;<br />
</il>
</ol>
<p>Now for the code to do this</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">  <span style="color: #000088;">$encoded</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;70627576&quot;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$letters</span> <span style="color: #339933;">=</span> <span style="color: #990000;">explode</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #990000;">wordwrap</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$encoded</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">' '</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
  <span style="color: #000088;">$password</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span>  
  <span style="color: #b1b100;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span> <span style="color: #339933;">&lt;</span> <span style="color: #990000;">count</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$letters</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000088;">$i</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>  
    <span style="color: #000088;">$password</span> <span style="color: #339933;">.=</span> <span style="color: #990000;">chr</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">hexdec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$letters</span><span style="color: #009900;">&#91;</span><span style="color: #000088;">$i</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #000088;">$i</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>  
  <span style="color: #009900;">&#125;</span>  
  <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$password</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.phpdeveloping.co.za/password/dreamweaver-password-decryptor.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
