<?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: Decrypting Filezilla Passwords with PHP</title>
	<atom:link href="http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php</link>
	<description>Wootten&#039;s Weblog</description>
	<lastBuildDate>Sat, 31 Jul 2010 00:19:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Ian</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-52825</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Sat, 10 Jul 2010 17:45:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-52825</guid>
		<description>Thanks Willem - I&#039;ve updated the link to your new site.</description>
		<content:encoded><![CDATA[<p>Thanks Willem &#8211; I&#8217;ve updated the link to your new site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Willem</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-52575</link>
		<dc:creator>Willem</dc:creator>
		<pubDate>Tue, 06 Jul 2010 08:29:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-52575</guid>
		<description>i see that you have found my script and modified it a little bit, great job ;-)
I was the owner of sourceshock.com, an international coding site. But now i have only one dutch coding site with this script. Might be useful to update your link ;-)
So sourceshock.com is no more.

http://www.thinksheep.nl/php-filezilla-passwords-ophalen</description>
		<content:encoded><![CDATA[<p>i see that you have found my script and modified it a little bit, great job <img src='http://www.ianwootten.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
I was the owner of sourceshock.com, an international coding site. But now i have only one dutch coding site with this script. Might be useful to update your link <img src='http://www.ianwootten.co.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
So sourceshock.com is no more.</p>
<p><a href="http://www.thinksheep.nl/php-filezilla-passwords-ophalen" rel="nofollow">http://www.thinksheep.nl/php-filezilla-passwords-ophalen</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-51401</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Sat, 29 May 2010 18:10:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-51401</guid>
		<description>Hi orlando,

You just need tho run it at the command line, given you&#039;ve got PHP installed obviously, just run it with:

php what_ever_you_named_the_above_code.php

Replacing Filezilla.xml with the path to where ever your filezilla.xml is located.</description>
		<content:encoded><![CDATA[<p>Hi orlando,</p>
<p>You just need tho run it at the command line, given you&#8217;ve got PHP installed obviously, just run it with:</p>
<p>php what_ever_you_named_the_above_code.php</p>
<p>Replacing Filezilla.xml with the path to where ever your filezilla.xml is located.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: orlando</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-51398</link>
		<dc:creator>orlando</dc:creator>
		<pubDate>Sat, 29 May 2010 15:54:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-51398</guid>
		<description>Hi,

I´m really neew wit some thing, coul you explain wht should I do to run this code, and find my passwords please?

Thank you!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I´m really neew wit some thing, coul you explain wht should I do to run this code, and find my passwords please?</p>
<p>Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-41563</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 28 May 2009 00:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-41563</guid>
		<description>thanks for the post.</description>
		<content:encoded><![CDATA[<p>thanks for the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle S</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-41377</link>
		<dc:creator>Kyle S</dc:creator>
		<pubDate>Wed, 13 May 2009 03:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-41377</guid>
		<description>That did the trick!  Thanks Ian!

Here&#039;s a C# equivalent:

string pass = &quot;&quot;;
string decrypt = &quot;&quot;;
string key = &quot;FILEZILLA1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;;
            
int pos = (pass.Length / 3) % key.Length;
string num = &quot;&quot;;
char tmpChar;

for (int i = 0; i &lt; (pass.Length / 3); i++)
{
   num = pass.Substring(i * 3, 3);
   if (num.Substring(0, 1) == &quot;0&quot;)
   {
      num = num.Substring(1, 2);
   }
   tmpChar = key[(i + pos) % pass.Length];            
   decrypt += (char)(int.Parse(num) ^ (int)tmpChar);
}

Console.WriteLine(decrypt);</description>
		<content:encoded><![CDATA[<p>That did the trick!  Thanks Ian!</p>
<p>Here&#8217;s a C# equivalent:</p>
<p>string pass = &#8220;&#8221;;<br />
string decrypt = &#8220;&#8221;;<br />
string key = &#8220;FILEZILLA1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ&#8221;;</p>
<p>int pos = (pass.Length / 3) % key.Length;<br />
string num = &#8220;&#8221;;<br />
char tmpChar;</p>
<p>for (int i = 0; i &lt; (pass.Length / 3); i++)<br />
{<br />
   num = pass.Substring(i * 3, 3);<br />
   if (num.Substring(0, 1) == &#8220;0&#8243;)<br />
   {<br />
      num = num.Substring(1, 2);<br />
   }<br />
   tmpChar = key[(i + pos) % pass.Length];<br />
   decrypt += (char)(int.Parse(num) ^ (int)tmpChar);<br />
}</p>
<p>Console.WriteLine(decrypt);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-37917</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Tue, 28 Oct 2008 12:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-37917</guid>
		<description>Hey Martin, thanks for that, I&#039;m sure others will find it useful.</description>
		<content:encoded><![CDATA[<p>Hey Martin, thanks for that, I&#8217;m sure others will find it useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Haynes</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-37910</link>
		<dc:creator>Martin Haynes</dc:creator>
		<pubDate>Mon, 27 Oct 2008 19:30:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-37910</guid>
		<description>Thanks, Ian.  Big help.  Here&#039;s a simple java re-write that I created to recover my own lost login.


public class SimpleDecryptor {

	public static void main(String[] args) {

		// Encryption Key for FileZilla 2.x Passwords
	final String key = &quot;FILEZILLA1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ&quot;;
	
	// encoded ascii character length
	final int bytesize = 3;

	// init with FileZilla encoded password
	String pswd = &quot;&quot;;

	// Find the offset position in the key for this pass
	int offset = (pswd.length() / bytesize) % key.length();

	String decode = &quot;&quot;;

	//parse encrypted password in three character ascii-encoded chunks
	for (int i = 0; i  &quot; + decode);
	}
}</description>
		<content:encoded><![CDATA[<p>Thanks, Ian.  Big help.  Here&#8217;s a simple java re-write that I created to recover my own lost login.</p>
<p>public class SimpleDecryptor {</p>
<p>	public static void main(String[] args) {</p>
<p>		// Encryption Key for FileZilla 2.x Passwords<br />
	final String key = &#8220;FILEZILLA1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ&#8221;;</p>
<p>	// encoded ascii character length<br />
	final int bytesize = 3;</p>
<p>	// init with FileZilla encoded password<br />
	String pswd = &#8220;&#8221;;</p>
<p>	// Find the offset position in the key for this pass<br />
	int offset = (pswd.length() / bytesize) % key.length();</p>
<p>	String decode = &#8220;&#8221;;</p>
<p>	//parse encrypted password in three character ascii-encoded chunks<br />
	for (int i = 0; i  &#8221; + decode);<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-36868</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Sat, 06 Sep 2008 15:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-36868</guid>
		<description>@Roger - Hey thats great, glad it helped you.</description>
		<content:encoded><![CDATA[<p>@Roger &#8211; Hey thats great, glad it helped you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roger Heathcote</title>
		<link>http://www.ianwootten.co.uk/2008/01/05/decrypting-filezilla-passwords-with-php/comment-page-1#comment-36866</link>
		<dc:creator>Roger Heathcote</dc:creator>
		<pubDate>Sat, 06 Sep 2008 09:03:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.ianwootten.co.uk/2008/01/06/decrypting-filezilla-passwords-with-php/#comment-36866</guid>
		<description>Hi Ian, thanks for that. I’ve just written a post on my new blog about this issue and the new FileZilla 3. I have translated your code into python at the bottom of it... 

http://movingtoubuntu.technicalbloke.co.uk/filezilla_ftp</description>
		<content:encoded><![CDATA[<p>Hi Ian, thanks for that. I’ve just written a post on my new blog about this issue and the new FileZilla 3. I have translated your code into python at the bottom of it&#8230; </p>
<p><a href="http://movingtoubuntu.technicalbloke.co.uk/filezilla_ftp" rel="nofollow">http://movingtoubuntu.technicalbloke.co.uk/filezilla_ftp</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
