<?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>thiinc laboratories</title>
	<atom:link href="http://thiinclabs.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://thiinclabs.com</link>
	<description>mount trashmore</description>
	<lastBuildDate>Mon, 14 Dec 2009 18:29:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NEIGHBORHOODS (pop punk band from New Jersey)</title>
		<link>http://thiinclabs.com/?p=104</link>
		<comments>http://thiinclabs.com/?p=104#comments</comments>
		<pubDate>Mon, 14 Dec 2009 15:38:20 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=104</guid>
		<description><![CDATA[If you like pop punk, you&#8217;ll probably like NEIGHBORHOODS. Pop punk out of Southern New Jersey. GET INTO IT!
http://www.myspace.com/neighborhoodsnj
http://www.myspace.com/neighborhoodsnj
http://www.myspace.com/neighborhoodsnj
http://www.myspace.com/neighborhoodsnj
]]></description>
			<content:encoded><![CDATA[<p>If you like pop punk, you&#8217;ll probably like NEIGHBORHOODS. Pop punk out of Southern New Jersey. GET INTO IT!</p>
<p><a href="http://www.myspace.com/neighborhoodsnj">http://www.myspace.com/neighborhoodsnj</a><br />
<a href="http://www.myspace.com/neighborhoodsnj">http://www.myspace.com/neighborhoodsnj</a><br />
<a href="http://www.myspace.com/neighborhoodsnj">http://www.myspace.com/neighborhoodsnj</a><br />
<a href="http://www.myspace.com/neighborhoodsnj">http://www.myspace.com/neighborhoodsnj</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=104</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frags and Caffeine: Ten years of Quake 3</title>
		<link>http://thiinclabs.com/?p=92</link>
		<comments>http://thiinclabs.com/?p=92#comments</comments>
		<pubDate>Mon, 07 Dec 2009 14:58:05 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Humor]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=92</guid>
		<description><![CDATA[
This year (December 2nd to be exact), Quake 3 turned 10 years old. It makes me feel kind of old thinking about how excited I was to read you could strafe-jump in the Q3test (I don&#8217;t think my computer could handle the demo to try it myself). Rocket jumping over peoples heads and railing them [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-thumbnail wp-image-95" title="Quake3Title" src="http://thiinclabs.com/wp-content/uploads/2009/12/Quake3Title-150x150.jpg" alt="Quake3Title" width="150" height="150" /></p>
<p>This year (December 2nd to be exact), Quake 3 turned 10 years old. It makes me feel kind of old thinking about how excited I was to read you could strafe-jump in the Q3test (I don&#8217;t think my computer could handle the demo to try it myself). Rocket jumping over peoples heads and railing them from the sky, intense 8v8 CTF matches, the excessive mod&#8230;. so much love.</p>
<p><img class="alignnone size-medium wp-image-94" title="quake3" src="http://thiinclabs.com/wp-content/uploads/2009/12/quake3-300x225.jpg" alt="quake3" width="300" height="225" /></p>
<p>I still play Quake 3 (whether it be ioQuake 3 or Quake Live). I think what keeps me playing is the fluid controls &#8211; learning to move in Quake 3 is nothing like Counter Strike or Unreal Tournament. The physics are not really realistic at all, but that makes it so much better. Who wants real life in a game anyway? This ain&#8217;t GTA4. Also, there&#8217;s nothing like leading someone with a rocket and smashing them right in the face.</p>
<p>Favorite map: The Longest Yard</p>
<p><img class="alignnone size-thumbnail wp-image-96" title="longestyard" src="http://thiinclabs.com/wp-content/uploads/2009/12/longestyard-150x150.jpg" alt="longestyard" width="150" height="150" /></p>
<p>Favorite gun: Rail<br />
<img class="alignnone size-thumbnail wp-image-97" title="rail" src="http://thiinclabs.com/wp-content/uploads/2009/12/rail-150x135.jpg" alt="rail" width="150" height="135" /></p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=92</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Gulf of Tonkin Incident &#8211; WTF?!</title>
		<link>http://thiinclabs.com/?p=54</link>
		<comments>http://thiinclabs.com/?p=54#comments</comments>
		<pubDate>Fri, 04 Dec 2009 16:14:06 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Conspiracy!]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=54</guid>
		<description><![CDATA[The Gulf of Tonkin incident was basically two battles at sea which took place in 1964. They pretty much started American Involvement in the Vietnam War. The first battle was on August 2nd and involved two American destroyers and three North Vietnamese torpedo boats &#8211; one which sank in battle. A second encounter with North [...]]]></description>
			<content:encoded><![CDATA[<p>The Gulf of Tonkin incident was basically two battles at sea which took place in 1964. They pretty much started American Involvement in the Vietnam War. The first battle was on August 2nd and involved two American destroyers and three North Vietnamese torpedo boats &#8211; one which sank in battle. A second encounter with North Vietnamese ships was reported on August 4th&#8230; but it turns out that THE SECOND ENCOUNTER NEVER EVEN HAPPENED. YEAH THAT&#8217;S RIGHT.. AMERICANS WERE SENT TO FIGHT IN VIETNAM BECAUSE OF AN AMERICAN INTELLIGENCE ERROR.</p>
<p>After these alleged incidents, Congress passed some <a href="http://en.wikipedia.org/wiki/Gulf_of_Tonkin_Resolution">bullshit</a> that allowed Lyndon B. Johnson to do whatever he wanted&#8230; er I mean, allowed him to assist Southeast Asian countries in whatever way he saw fit. The obvious thing to do: send a bunch of <a href="http://www.youtube.com/watch?v=9r4nYeTflSw">18 year old potheads</a> into an already raging Vietnam War, to fight a bunch of <a href="http://en.wikipedia.org/wiki/Viet_Cong">normally dressed, lightly armed citizens</a>&#8230;. in their jungles&#8230; WHAT THE FUCK.</p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=54</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skip the 45 second wait for MegaUpload</title>
		<link>http://thiinclabs.com/?p=72</link>
		<comments>http://thiinclabs.com/?p=72#comments</comments>
		<pubDate>Wed, 02 Dec 2009 21:16:56 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tricks and tips]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=72</guid>
		<description><![CDATA[When downloading from MegaUpload, you have to wait 45 seconds to actually get the file. This is not unreasonable, but I am extremely impatient. You can bypass this pretty easily using the FireBug Firefox extension.
After you load the page, click your trusty Firebug icon at the bottom of Firefox. Click on &#8220;Console&#8221; (enable it using [...]]]></description>
			<content:encoded><![CDATA[<p>When downloading from MegaUpload, you have to wait 45 seconds to actually get the file. This is not unreasonable, but I am extremely impatient. You can bypass this pretty easily using the <a href="http://getfirebug.com/">FireBug</a> <a href="http://getfirefox.com">Firefox</a> extension.</p>
<p>After you load the page, click your trusty Firebug icon at the bottom of Firefox. Click on &#8220;Console&#8221; (enable it using the down arrow if necessary). In the Console, type &#8220;count = 1&#8243; (no quotes) and press enter.</p>
<p>Magical.</p>
<p>In most modern browsers you can execute Javascript by typing it into your address bar. In Firefox, you could do something like javascript: count=1 in the address bar and it should work (not tested).</p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=72</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Problem: Table was marked as crashed and should be repaired</title>
		<link>http://thiinclabs.com/?p=84</link>
		<comments>http://thiinclabs.com/?p=84#comments</comments>
		<pubDate>Wed, 02 Dec 2009 15:46:55 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tricks and tips]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=84</guid>
		<description><![CDATA[I run a SMF forum and was getting this error while trying to access it: &#8220;Table was marked as crashed and should be repaired&#8221;. Luckily I was able to repair it rather easily. I shut down MySQL and then did the following:
thiinc:/var/lib/mysql/plnbb# myisamchk smf_members.MYI
Checking MyISAM file: smf_members.MYI
Data records:      23   Deleted blocks:       2
myisamchk: warning: Table is [...]]]></description>
			<content:encoded><![CDATA[<p>I run a <a href="http://www.simplemachines.org/">SMF</a> forum and was getting this error while trying to access it: &#8220;Table was marked as crashed and should be repaired&#8221;. Luckily I was able to repair it rather easily. I shut down MySQL and then did the following:</p>
<blockquote><p>thiinc:/var/lib/mysql/plnbb# myisamchk smf_members.MYI<br />
Checking MyISAM file: smf_members.MYI<br />
Data records:      23   Deleted blocks:       2<br />
myisamchk: warning: Table is marked as crashed<br />
myisamchk: warning: 1 client is using or hasn&#8217;t closed the table properly<br />
- check file-size<br />
- check record delete-chain<br />
- check key delete-chain<br />
- check index reference<br />
- check data record references index: 1<br />
- check data record references index: 2<br />
- check data record references index: 3<br />
- check data record references index: 4<br />
- check data record references index: 5<br />
- check data record references index: 6<br />
- check data record references index: 7<br />
- check data record references index: 8<br />
- check data record references index: 9<br />
- check record links<br />
myisamchk: error: Checksum for key:  7 doesn&#8217;t match checksum for records<br />
MyISAM-table &#8217;smf_members.MYI&#8217; is corrupted<br />
Fix it using switch &#8220;-r&#8221; or &#8220;-o&#8221;</p>
<p>thiinc:/var/lib/mysql/plnbb# myisamchk -r -q smf_members.MYI<br />
- check record delete-chain<br />
- recovering (with sort) MyISAM-table &#8217;smf_members.MYI&#8217;<br />
Data records: 23<br />
- Fixing index 1<br />
- Fixing index 2<br />
- Fixing index 3<br />
- Fixing index 4<br />
- Fixing index 5<br />
- Fixing index 6<br />
- Fixing index 7<br />
- Fixing index 8<br />
- Fixing index 9</p></blockquote>
<p>After that, I was able to start MySQL and the forum came back up. Hoorah.</p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Javascript, Firebug and Common Sense&#8230; Oh my!</title>
		<link>http://thiinclabs.com/?p=62</link>
		<comments>http://thiinclabs.com/?p=62#comments</comments>
		<pubDate>Wed, 02 Dec 2009 15:10:30 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tricks and tips]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=62</guid>
		<description><![CDATA[While surfing around trying to find a streaming copy of the new Dexter episode, I came across a site which had an embedded video player. I was super excited to find the show and hit play. The intro started and I began eating lunch at my desk, happy as could be&#8230; until some bullshit ads [...]]]></description>
			<content:encoded><![CDATA[<p>While surfing around trying to find a streaming copy of the new <a href="http://www.sho.com/site/dexter/">Dexter</a> episode, I came across a site which had an embedded video player. I was super excited to find the show and hit play. The intro started and I began eating lunch at my desk, happy as could be&#8230; until some bullshit ads popped up. They informed me that I had to take some 5 minute IQ test before watching the rest of the show. I was rather pissed as I had already started eating and didn&#8217;t feel like giving some spammers my e-mail address (or whatever else they wanted). I was about to close my browser&#8230; but then I saw my trusty Firebug icon at the bottom of Firefox&#8230;.. teeheehee.</p>
<p>Firebug is a Firefox extension which allows you to edit client-side code on the fly (such as Javascript and HTML). It has a wonderful feature called &#8220;Inspect Element&#8221; which allows you to jump to points in the code by moving your mouse over objects on the site. Doing this, I was able to bypass their pesky forced ads. I would hover over parts of the ad, then in Firebug, right click and hit &#8220;Delete Element&#8221;. After about 10 objects were deleted, I had a clear screen and could hit play&#8230; the episode of Dexter was good, BTW (S04E10).</p>
<p>What does it all mean? DEVELOPERS: USE COMMON SENSE IF YOU DON&#8217;T WANT YOUR SHIT TO GET HAXED. In this case, I was simply able to skip ads and watch a show&#8230; not a huge deal. But how about if someone used JavaScript to validate fields in a form? Using FireBug, I could strip the JavaScript out and submit whatever I wanted to the server. The sky&#8217;s the limit.</p>
<p><a href="http://getfirebug.com/">Firebug</a> for <a href="http://getfirefox.com">Firefox</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=62</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Batch conversation of images &#8211; the open source way!</title>
		<link>http://thiinclabs.com/?p=48</link>
		<comments>http://thiinclabs.com/?p=48#comments</comments>
		<pubDate>Sun, 29 Nov 2009 18:06:58 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tricks and tips]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=48</guid>
		<description><![CDATA[At my last job, I was tasked with the job of converting over 200,000 images from uncompressed TIF&#8217;s to something else.. preferably something that took up less space. I picked PNG because of it&#8217;s lossless compression and fast rendering over network connections.
My first attempt was to use Automator for OS X; this proved slow and [...]]]></description>
			<content:encoded><![CDATA[<p>At my last job, I was tasked with the job of converting over 200,000 images from uncompressed TIF&#8217;s to something else.. preferably something that took up less space. I picked <a href="http://en.wikipedia.org/wiki/Portable_Network_Graphics" target="_blank">PNG</a> because of it&#8217;s lossless compression and fast rendering over network connections.</p>
<p>My first attempt was to use <a href="http://en.wikipedia.org/wiki/Automator_%28software%29" target="_blank">Automator</a> for OS X; this proved slow and accident prone. When the program would hit a file it didn&#8217;t like, it would stop the conversation and require some human interaction. Actually, the <a href="http://www.urbandictionary.com/define.php?term=pos" target="_blank">POS</a> actually locked up my Mac Pro a few times.</p>
<p>After I became fed up with the proprietary solutions, I decided to keep it real and try out ImageMagick and a bash script. The images were in about 5 different directories, so I wrote a bash script that looped through all of the directories and ran mogrify (ImageMagicks&#8217; conversation program) on all of the TIF&#8217;s. The code was something like this:</p>
<blockquote><p>for file in *<br />
do<br />
if [-d "$file" ]; then<br />
cd &#8220;$file&#8221;<br />
<span>mogrify -format png *.tif *.tiff<br />
cd ..<br />
fi<br />
done<br />
exit 0</span></p></blockquote>
<p>It worked. People were happy. You will be too.<a href="http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html"></a></p>
<p><a href="http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html">Basic Bash Scripting</a><br />
<a href="http://www.imagemagick.org">ImageMagick</a></p>
<p><span><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=48</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Text messages from 9/11/01 posted by Wikileaks</title>
		<link>http://thiinclabs.com/?p=29</link>
		<comments>http://thiinclabs.com/?p=29#comments</comments>
		<pubDate>Wed, 25 Nov 2009 15:16:56 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Conspiracy!]]></category>
		<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=29</guid>
		<description><![CDATA[Today Wikileaks.org is releasing pager data from hours before the 9/11 attacks on the World Trade Center. An excerpt from their site explains it best:
The first message is from 3AM September 11, 2001, five hours before the first attack, and the last, 24 hours later.Text pagers are usualy carried by persons operating in an official [...]]]></description>
			<content:encoded><![CDATA[<p>Today <a href="http://911.wikileaks.org/" target="_blank">Wikileaks.org</a> is releasing pager data from hours before the 9/11 attacks on the World Trade Center. An excerpt from their site explains it best:</p>
<blockquote><p>The first message is from 3AM September 11, 2001, five hours before the first attack, and the last, 24 hours later.Text pagers are usualy carried by persons operating in an official capacity. Messages in the archive range from Pentagon and New York Police Department exchanges, to computers reporting faults to their operators as the World Trade Center collapsed.</p></blockquote>
<p>I plan on downloading all of these files and converting them to CSV for further study. I&#8217;m doing so with the follow commands:</p>
<blockquote>
<pre><code>while true; do wget -r -l1 --no-clobber -A.txt http://911.wikileaks.org/files/index.html; sleep 300; done</code><code>
cat *.txt | awk 'BEGIN {FS = " " }; {printf("%s,%s,%s,%s,%s,%s,%s", $1,$2,$3,$4,$5,$6,$7); i = 8; while (i &lt; (NF -1)) {printf("%s ",$i); ++i;} printf("%s\n",$NF);} &gt;&gt; messages.csv

</code></pre>
</blockquote>
<p>With the help of the <a href="http://www.reddit.com/r/reddit.com/comments/a7xpt/conspiracy_theories_commence_wikileaks_to_release/">reddit</a> community, I have found some pretty interesting stuff in the logs. Here are a few (in no particular order):</p>
<blockquote><p>2001-09-11 04:04:53 Skytel [002400326] B ALPHA julie.rodriguez@fritz.com||We have just been informed that Customs has gone manual as of 2:50am.</p>
<p>2001-09-11 08:50:50 Skytel [003252015] D ALPHA BOMB DETINATED IN WORLD TRADE CTR. PLS GET BACK TO MIKE BRADY W/A QUICK ASSESSMENT OF YOUR AREAS AND CONTACT US IF ANYTHING IS NEEDED AT 212-647-2345.</p>
<p>2001-09-11 06:36:03 Metrocall [1064381] D  ALPHA  IRAQ SAYS IT SHOOTS DOWN U.S. RECONNAISSANCE PLANE</p></blockquote>
<p><em><strong>On a lighter note&#8230;. check these out:</strong></em></p>
<blockquote><p>2001-09-11 06:31:26 Metrocall [1162127] D ALPHA From: 4044766632@airmessage.net Subj: Message from a two-way device Good morning sexy man!! Got my zebra thongs on!!! Feeling a little animalistic!!!</p>
<p>2001-09-11 07:34:37 Skytel [004548018] A  ALPHA Feeling better my slave?&#8230;&#8230;..if so im on, I missyou</p>
<p>2001-09-11 09:15:38 Arch [1376997] B ALPHA (27)Hey Honey! Can you bring some bagels when you get back? The pork chop is now crying about the World Trade Center plane crash. Geez! It is scray but no reason to cry. Talk to you later! I love you!</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=29</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ReqHeap &#8211; admin account breach/possible sql injection</title>
		<link>http://thiinclabs.com/?p=3</link>
		<comments>http://thiinclabs.com/?p=3#comments</comments>
		<pubDate>Tue, 24 Nov 2009 21:09:19 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Security Advisories]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=3</guid>
		<description><![CDATA[Website: http://reqheap.sourceforge.net/
Description: &#8220;Reqheap is a web-based simple requirement management program. It allows managing for projects, releases and requirements.&#8221;
Language: PHP/MySQL
Admin Account Breach;
Because of poor coding, you can circumvent ReqHeaps&#8217; admin login screen by simply pointing your browser accordingly, eg. example.com/reqheap/admin/admin_access_select.php. This will bring you to the user control page where you can add/remove/edit user and admin [...]]]></description>
			<content:encoded><![CDATA[<p>Website: <a href="http://reqheap.sourceforge.net/">http://reqheap.sourceforge.net/</a><br />
Description: <em>&#8220;<span>Reqheap</span> is a web-based simple requirement management program. It allows managing for projects, releases and requirements.&#8221;<br />
</em>Language: PHP/MySQL</p>
<p><em><strong>Admin Account Breach;</strong></em></p>
<p>Because of poor coding, you can circumvent ReqHeaps&#8217; admin login screen by simply pointing your browser accordingly, eg. example.com/reqheap/admin/admin_access_select.php. This will bring you to the user control page where you can add/remove/edit user and admin accounts. From there, you can gain total access to the entire ReqHeap system.</p>
<p><em><strong>Possible Injection;</strong></em></p>
<p>Because of the query sanitation used by the ReqHeap developers. an SQL injection attack is possible. The problem lies in $REQHEAP_HOME/admin/inc/func.php on line 275:</p>
<blockquote><p><code>function escapechars($str)<br />
{<br />
$str=addslashes(stripslashes($str));<br />
return $str;<br />
}</code></p></blockquote>
<p>Using PHP&#8217;s addslashes() is long known to be a bad idea, as you can use <a href="http://en.wikipedia.org/wiki/GBK">GBK</a> characters to trick the function into inserting single quotes, etc. <a href="http://shiflett.org">Chris Shiflett</a> explains on his <a href="http://shiflett.org/blog/2006/jan/addslashes-versus-mysql-real-escape-string">blogpost</a>:</p>
<blockquote><p>All I need to do is inject something like <code>0xbf27</code>, and <code>addslashes()</code> modifies this to become <code>0xbf5c27</code>, a valid multi-byte character followed by a single quote. In other words, I can successfully inject a single quote despite your escaping. That&#8217;s because <code>0xbf5c</code> is interpreted as a single character, not two.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=3</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Problem: &#8220;Client does not support authentication protocol&#8221;</title>
		<link>http://thiinclabs.com/?p=11</link>
		<comments>http://thiinclabs.com/?p=11#comments</comments>
		<pubDate>Sun, 22 Nov 2009 21:08:48 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://thiinclabs.com/?p=11</guid>
		<description><![CDATA[I ran into the MySQL error &#8220;Client does not support authentication protocol&#8221; when a friend upgraded from MySQL 4 to 5 and then tried to go back. This is because MySQL 5 re-hashed all of the passwords using a version-4-incompatible algorithm. When trying to go back a major revision, version 4 didn&#8217;t know how to [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into the MySQL error &#8220;Client does not support authentication protocol&#8221; when a friend upgraded from MySQL 4 to 5 and then tried to go back. This is because MySQL 5 re-hashed all of the passwords using a version-4-incompatible algorithm. When trying to go back a major revision, version 4 didn&#8217;t know how to decrypt the passwords.</p>
<p><strong><em>Solution;</em></strong></p>
<p>Since my friend wanted to stay with MySQL 4 (for whatever god forsaken reason), we had to go through and do the following for all accounts:</p>
<pre>mysql&gt; <strong><code>SET PASSWORD FOR</code></strong>
    -&gt; <strong><code>'<em><code>some_user</code></em>'@'<em><code>some_host</code></em>' = OLD_PASSWORD('<em><code>newpwd</code></em>');</code></strong></pre>
<p>I later found out that we could have just run mysql with the &#8211;old-password switch. FML.</p>
]]></content:encoded>
			<wfw:commentRss>http://thiinclabs.com/?feed=rss2&amp;p=11</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
