<?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: Reversing WebSphere {xor} password protection</title>
	<atom:link href="http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/</link>
	<description>Programming security in C++, Java and Python, one line at a time</description>
	<lastBuildDate>Thu, 27 Oct 2011 12:13:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Guillaume</title>
		<link>http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/comment-page-1/#comment-413</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Wed, 01 Dec 2010 17:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/#comment-413</guid>
		<description>Here is a Python one liner that does the same thing.

&quot;&quot;.join(map(chr, map(lambda x : ord(x) ^ 0x5F, base64.b64decode(&#039;LDo8LTor&#039;))))

I will wrap it up in a script and update this post.</description>
		<content:encoded><![CDATA[<p>Here is a Python one liner that does the same thing.</p>
<p>&#8220;&#8221;.join(map(chr, map(lambda x : ord(x) ^ 0x5F, base64.b64decode(&#8216;LDo8LTor&#8217;))))</p>
<p>I will wrap it up in a script and update this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Jones</title>
		<link>http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/comment-page-1/#comment-412</link>
		<dc:creator>Andy Jones</dc:creator>
		<pubDate>Mon, 29 Nov 2010 11:01:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/#comment-412</guid>
		<description>this is my Perl script:
#!/usr/bin/perl
$ENV{PATH} = &quot;&quot;;

chomp ($EncryptedPassword = `/var/www/cgi-bin/waspass $ARGV[0]`);

print &quot;Content-type: text/html\n\n&quot;;
print &quot;\n&quot;;
print &quot;\n&quot;;
print &quot;WAS Password Decoder\n&quot;;
print &quot;\n&quot;;

print &quot;\n&quot;;
print &quot;WAS PASSWORD DECODER\n&quot;;
print &quot;\n&quot;;
print &quot;The decoded password is: $EncryptedPassword \n\n&quot;;
print &quot;\n&quot;;
print &quot;\n&quot;;</description>
		<content:encoded><![CDATA[<p>this is my Perl script:<br />
#!/usr/bin/perl<br />
$ENV{PATH} = &#8220;&#8221;;</p>
<p>chomp ($EncryptedPassword = `/var/www/cgi-bin/waspass $ARGV[0]`);</p>
<p>print &#8220;Content-type: text/html\n\n&#8221;;<br />
print &#8220;\n&#8221;;<br />
print &#8220;\n&#8221;;<br />
print &#8220;WAS Password Decoder\n&#8221;;<br />
print &#8220;\n&#8221;;</p>
<p>print &#8220;\n&#8221;;<br />
print &#8220;WAS PASSWORD DECODER\n&#8221;;<br />
print &#8220;\n&#8221;;<br />
print &#8220;The decoded password is: $EncryptedPassword \n\n&#8221;;<br />
print &#8220;\n&#8221;;<br />
print &#8220;\n&#8221;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Jones</title>
		<link>http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/comment-page-1/#comment-411</link>
		<dc:creator>Andy Jones</dc:creator>
		<pubDate>Mon, 29 Nov 2010 10:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/#comment-411</guid>
		<description>sorry, that should read:

… I think its something to do with the putc command ...</description>
		<content:encoded><![CDATA[<p>sorry, that should read:</p>
<p>… I think its something to do with the putc command &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Jones</title>
		<link>http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/comment-page-1/#comment-410</link>
		<dc:creator>Andy Jones</dc:creator>
		<pubDate>Mon, 29 Nov 2010 10:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/#comment-410</guid>
		<description>Hi,
Trying to get the decoder to display the results in a browser but having a problem as they seems to disappear in a black hole :-( ... I am using a perl script to call the compiled C version ... if I run it from the command line the results (input encoded password and decoded result) are displayed in the terminal session, if I call the perl script (which is in cgi-bin) from a browser no results are returned to the browser (other html text that I have included in the perl script is displayed) . I have very limited knowledge of perl and C (not a developer) ... can you help please ... I think its something to do with the getc command outputting to stdout:

putc(*p++ ^ &#039;_&#039;, stdout);

Thanks!
Andy</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Trying to get the decoder to display the results in a browser but having a problem as they seems to disappear in a black hole <img src='http://www.paralint.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  &#8230; I am using a perl script to call the compiled C version &#8230; if I run it from the command line the results (input encoded password and decoded result) are displayed in the terminal session, if I call the perl script (which is in cgi-bin) from a browser no results are returned to the browser (other html text that I have included in the perl script is displayed) . I have very limited knowledge of perl and C (not a developer) &#8230; can you help please &#8230; I think its something to do with the getc command outputting to stdout:</p>
<p>putc(*p++ ^ &#8216;_&#8217;, stdout);</p>
<p>Thanks!<br />
Andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/comment-page-1/#comment-400</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Thu, 09 Sep 2010 08:16:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/#comment-400</guid>
		<description>On WebSphere v6 you can do it as well:

C:\Rational\SDP\6.0\runtimes\base_v6\lib&gt;..\java\bin\java -cp ffdc.jar;bootstrap.jar;emf.jar;securityimpl.jar;iwsorb.jar;ras.jar;wsexception.jar com.ibm.ws.secu
rity.util.PasswordDecoder {xor}LDo8LTor</description>
		<content:encoded><![CDATA[<p>On WebSphere v6 you can do it as well:</p>
<p>C:\Rational\SDP\6.0\runtimes\base_v6\lib&gt;..\java\bin\java -cp ffdc.jar;bootstrap.jar;emf.jar;securityimpl.jar;iwsorb.jar;ras.jar;wsexception.jar com.ibm.ws.secu<br />
rity.util.PasswordDecoder {xor}LDo8LTor</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin</title>
		<link>http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/comment-page-1/#comment-314</link>
		<dc:creator>Austin</dc:creator>
		<pubDate>Tue, 02 Dec 2008 17:33:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.paralint.com/blog/2008/03/21/reversing-websphere-xor-password-protection/#comment-314</guid>
		<description>Many thanks!</description>
		<content:encoded><![CDATA[<p>Many thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

