<?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>EyedMax's Pit &#187; Tweak</title>
	<atom:link href="http://eyedmax.com/tag/tweak/feed/" rel="self" type="application/rss+xml" />
	<link>http://eyedmax.com</link>
	<description>Yeah, you're right. It's me ;)</description>
	<lastBuildDate>Sat, 20 Aug 2011 12:49:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<image>
  <link>http://eyedmax.com</link>
  <url>http://eyedmax.com/favicon.ico</url>
  <title>EyedMax's Pit</title>
</image>
		<item>
		<title>What to do if your blog was hacked by evil eval</title>
		<link>http://eyedmax.com/2009/09/05/what-to-do-if-your-blog-was-hacke/</link>
		<comments>http://eyedmax.com/2009/09/05/what-to-do-if-your-blog-was-hacke/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 00:44:23 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Optimisation]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Tweak]]></category>

		<guid isPermaLink="false">http://eyedmax.com/?p=210</guid>
		<description><![CDATA[Weird things happens. Mostly in WordPress. One morning you see that your permalinks became a something like this: blah/%&#38;&#40;&#123;$&#123;eval&#40;base64_decode&#40;$_SERVER&#91;HTTP_REFERER&#93;&#41;&#41;&#125;&#125;&#124;.+&#41;&#38;%/ Or this: “/%&#38;&#40;%7B$%7Beval&#40;base64_decode&#40;$_SERVER%5BHTTP_EXECCODE%5D&#41;&#41;%7D%7D&#124;.+&#41;&#38;% Or your feed crapped like this: error on line 22 at column 71: xmlParseEntityRef: no name wordpress Do not panic &#8211; you&#8217;re hacked. And there is three steps to get rid of it. [...]]]></description>
			<content:encoded><![CDATA[<p>Weird things happens. Mostly in WordPress. One morning you see that your permalinks became a something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">blah<span style="color: #339933;">/%&amp;</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>$<span style="color: #009900;">&#123;</span><span style="color: #000066; font-weight: bold;">eval</span><span style="color: #009900;">&#40;</span>base64_decode<span style="color: #009900;">&#40;</span>$_SERVER<span style="color: #009900;">&#91;</span>HTTP_REFERER<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#125;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">|</span>.<span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&amp;%/</span></pre></div></div>

<p>Or this:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;">“<span style="color: #339933;">/%&amp;</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">%</span>7B$<span style="color: #339933;">%</span>7Beval<span style="color: #009900;">&#40;</span>base64_decode<span style="color: #009900;">&#40;</span>$_SERVER<span style="color: #339933;">%</span>5BHTTP_EXECCODE<span style="color: #339933;">%</span>5D<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">%</span>7D<span style="color: #339933;">%</span>7D<span style="color: #339933;">|</span>.<span style="color: #339933;">+</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">&amp;%</span></pre></div></div>

<p>Or your feed crapped like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">error on line 22 at column 71: xmlParseEntityRef: no name wordpress</pre></div></div>

<p>Do not panic &#8211; you&#8217;re hacked. And there is three steps to get rid of it.</p>
<p><strong>1) Restore your permalinks</strong><br />
Go to <em>Admin panel</em> -> <em>Settings</em> -> <em>Permalinks</em>.<br />
Set your permalink structure to whatever it was earlier. If you don&#8217;t even imagine what it was &#8211; you can always ask google for it &#8211; just like this: <strong>site:yourblogurl.com</strong> &#8211; and you&#8217;ll see the answer in the links to your site.</p>
<p><strong>2) Kill the intruder(s)</strong><br />
Go to your preferred mysql administration tool (say, MySqlAdmin) and run this code in the SQL window:</p>

<div class="wp_syntax"><div class="code"><pre class="mysql" style="font-family:monospace;"><span style="color: #990099; font-weight: bold;">SELECT</span> <span style="color: #CC0099;">*</span> <span style="color: #990099; font-weight: bold;">FROM</span> <span style="color: #008000;">`wp<span style="color: #008080; font-weight: bold;">_</span>usermeta`</span>
<span style="color: #990099; font-weight: bold;">WHERE</span> <span style="color: #008000;">`meta<span style="color: #008080; font-weight: bold;">_</span>value`</span> <span style="color: #CC0099; font-weight: bold;">LIKE</span> <span style="color: #008000;">'<span style="color: #008080; font-weight: bold;">%</span>script<span style="color: #008080; font-weight: bold;">%</span>'</span></pre></div></div>

<p>You&#8217;ll see the list of records, write down <strong>user_id</strong>s of those guys.<br />
Go to <em>Admin panel</em> -> <em>Users</em> -> <em>Authors &#038; Users</em>, copy the <strong>edit</strong> link for any user, it&#8217;ll be somethings like:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">http://yourblogurl.com/wp-admin/user-edit.php?user_id=14&amp;wp_http_referer=%2Fwp-admin%2Fusers.php</pre></div></div>

<p>Then paste it into address line, and change user_id=<strong>XX</strong> to the first user_id you wrote. Go.<br />
Replace <strong>First name</strong> with whatever you want (for example &#8220;z&#8221;), insert &#8220;motherfncker@test.com&#8221; into <strong>Email</strong> field (or whatever, but remember it, you&#8217;ll need it later) and set the <strong>Role</strong> into <em>Subscriber</em>. Push Update user. Then repeat with the next one in your <strong>user_id</strong>s list. After you finished &#8211; just type in into the search line word &#8220;motherfncker&#8221; (or whatever you set emails to). Now &#8211; just <strong>delete</strong> bastards!</p>
<p><strong>3) Defend the base</strong><br />
Just upgrade your wordpress. If you will do it periodically &#8211; there will be no such problems at all!</p>
<p><strong>If you do not have ability to use some SQL tool &#8211; you can try to blind find bastards:</strong><br />
Go to <em>Admin panel</em> -> <em>Users</em> -> <em>Authors &#038; Users</em><br />
Note the number of Admin users (right under &#8220;Users&#8221; header). One of them is you, all others &#8211; bastard ones <img src='http://eyedmax.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Try to find max. <em>user_id</em> in the list by hovering your mouse over links. Then copy the edit link of the user with topmost ID, insert it into address line, change it to next number and go. Did not work? Try the next number. Or previous one. You can even loop through all IDs not in use. And when you&#8217;ll find him &#8211; you know what to do! </p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=210&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2009/09/05/what-to-do-if-your-blog-was-hacke/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable Autorun Once And For All</title>
		<link>http://eyedmax.com/2007/09/27/disable-autorun-once-and-for-all/</link>
		<comments>http://eyedmax.com/2007/09/27/disable-autorun-once-and-for-all/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 14:57:15 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Tweak]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/09/27/disable-autorun-once-and-for-all/</guid>
		<description><![CDATA[Today I wanted to disable Autorun feature in Windows XP box. And I found, that all that Microsoft can bring is funky right-click-on-drive menu with lot of disk types&#8230; That&#8217;s not my way. After 2 minutes Autorun feature has been disabled system-wide. And for you it will take less time &#8211; because I&#8217;ll take care [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://eyedmax.com/wp-content/uploads/2007/09/autorun.jpg"><img src="http://eyedmax.com/wp-content/uploads/2007/09/autorun-thumb.jpg" style="border: 0px none ; margin: 5px 10px 0px 0px" alt="Auto Run" align="left" border="0" height="123" width="164" /></a> Today I wanted to disable Autorun feature in Windows XP box. And I found, that all that Microsoft can bring is funky right-click-on-drive menu with lot of disk types&#8230;</p>
<p>That&#8217;s not my way. After 2 minutes Autorun feature has been disabled system-wide. And for you it will take less time &#8211; because I&#8217;ll take care of this.</p>
<p>All you need is to fetch a .reg file below (right click th link, choose &#8220;Save target as&#8221;), doubleclick it and say &#8220;yes&#8221;, than reboot.</p>
<p><a href="http://eyedmax.com/download-manager.php?id=5" title="Disable Autorun">Disable Autorun  (Windows XP)</a></p>
<p>All the trick is to set<br />
HKLM\SYSTEM\CurrentControlSet\Services\Cdrom\AutoRun to 0</p>
<p>If you wanna do vice-versa trick, you need to fetch and run next file (right click th link, choose &#8220;Save target as&#8221;), doubleclick it, say &#8216;yes&#8217;, and reboot. If not helps, check those funky right-click-on-drive menu.</p>
<p><a href="http://eyedmax.com/download-manager.php?id=6" title="Enable Autorun">Enable Autorun (Windows XP)</a></p>
<p>That&#8217;s all, folks!</p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=108&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/09/27/disable-autorun-once-and-for-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla is alive! Mammon is&#8230; Who?</title>
		<link>http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who/</link>
		<comments>http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 20:27:56 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Easter Eggs]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Tweak]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who/</guid>
		<description><![CDATA[One of the freaky cheats in FireFox browser. I posted all of them today. Just type in address line &#8220;about:Mozilla&#8221; and press enter. What the hell is that? And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://eyedmax.com/wp-content/uploads/2007/08/firefox-vs-ie2.jpg" atomicselection="true"><img src="http://eyedmax.com/wp-content/uploads/2007/08/firefox-vs-ie-thumb2.jpg" style="border: 0px none ; margin: 0px 10px 0px 0px" alt="firefox-vs-ie" align="left" border="0" height="120" width="120" /></a> One of the freaky cheats in FireFox browser.</p>
<p>I posted all of them today.</p>
<p>Just type in address line &#8220;<strong>about:Mozilla</strong>&#8221; and press enter.</p>
<h3>What the hell is that?</h3>
<blockquote><p>And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed down upon the unbelievers and cast fire and thunder upon them. For the beast had been reborn with its strength renewed, and the followers of Mammon cowered in horror.</p></blockquote>
<p>Ok, guys, Mammon is&#8230; Aaaa&#8230;. Hmmm&#8230;. This is Mammon:<br />
( I don&#8217;t know why he hasn&#8217;t a face of Bill Gates nowdays? )</p>
<p align="center"><a href="http://eyedmax.com/wp-content/uploads/2007/08/mammon-euro-dollar1.jpg" atomicselection="true"><img src="http://eyedmax.com/wp-content/uploads/2007/08/mammon-euro-dollar-thumb1.jpg" style="border: 0px none " alt="mammon-euro-dollar" border="0" height="120" width="120" /></a></p>
<p>But why a great <strong>bird</strong>? If they <strong>do</strong> mean a Mozilla ThunderBird &#8211; now it dead again. If they meant FireFox &#8211; it&#8217;s not a bird. And if they meant Mozilla itself &#8211; I surprised it was bird.</p>
<h3>Guys! What the hell was that?</h3>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=92&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hidden FireFox&#8217;s resources</title>
		<link>http://eyedmax.com/2007/08/16/hidden-firefoxs-resources/</link>
		<comments>http://eyedmax.com/2007/08/16/hidden-firefoxs-resources/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 20:22:56 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Easter Eggs]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Tweak]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/08/16/hidden-firefoxs-resources/</guid>
		<description><![CDATA[Type in address line one of a following: about: about:buildconfig about:cache about:config about:plugins about:credits about:Mozilla Funny And I&#8217;m glad to introduce to you: The new FireFox Logo!]]></description>
			<content:encoded><![CDATA[<p>Type in address line one of a following:</p>
<ul>
<li>about:</li>
<li>about:buildconfig</li>
<li>about:cache</li>
<li>about:config</li>
<li>about:plugins</li>
<li>about:credits</li>
<li>about:Mozilla</li>
</ul>
<p>Funny <img src='http://eyedmax.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>And I&#8217;m glad to introduce to you: The new FireFox Logo!</p>
<p><a href="http://eyedmax.com/wp-content/uploads/2007/08/new-firefox-logo.jpg" atomicselection="true"><img src="http://eyedmax.com/wp-content/uploads/2007/08/new-firefox-logo-thumb.jpg" style="border: 0px none " alt="New FireFox Logo" border="0" height="120" width="141" /></a></p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=89&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/08/16/hidden-firefoxs-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Put on Fire in the Fox&#8217;s ass!</title>
		<link>http://eyedmax.com/2007/08/16/put-on-fire-in-the-foxs-ass/</link>
		<comments>http://eyedmax.com/2007/08/16/put-on-fire-in-the-foxs-ass/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 15:33:11 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[Optimisation]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Tweak]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/08/16/put-on-fire-in-the-foxs-ass/</guid>
		<description><![CDATA[Make sure that you have this browser: Do you know FireFox well? And how about advanced settings page? And how about direct access to it? OK, just type “about:config” into the address bar and hit return. Just like this: Now, what do you see? It&#8217;s your advanced settings, basically you can&#8217;t reach most of them [...]]]></description>
			<content:encoded><![CDATA[<p>Make sure that you have <strong>this</strong> browser:</p>
<p><a href="http://eyedmax.com/wp-content/uploads/2007/08/speed-up-firefox.jpg" atomicselection="true"><img src="http://eyedmax.com/wp-content/uploads/2007/08/speed-up-firefox-thumb.jpg" style="border: 0px none " alt="Speed Up Firefox" border="0" height="240" width="240" /></a></p>
<h3>Do you know FireFox well?</h3>
<p>And how about advanced settings page? And how about direct access to it? OK, just type “<strong>about:config</strong>” into the address bar and hit return.  Just like this:</p>
<p><a href="http://eyedmax.com/wp-content/uploads/2007/08/firefox-advanced-settings-address.jpg" atomicselection="true"><img src="http://eyedmax.com/wp-content/uploads/2007/08/firefox-advanced-settings-address-thumb.jpg" style="border: 0px none " alt="Firefox's advanced settings address" border="0" height="52" width="352" /></a></p>
<p>Now, what do you see?</p>
<p>It&#8217;s your advanced settings, basically you can&#8217;t reach most of them in other way&#8230;</p>
<h3>How To Speed Up Your FireFox</h3>
<p>Look for the following entries:<br />
network.http.pipelining<br />
network.http.proxy.pipelining<br />
network.http.pipelining.maxrequests</p>
<p>They looked just like this:<br />
<a href="http://eyedmax.com/wp-content/uploads/2007/08/firefox-network-settings.jpg" atomicselection="true"><img src="http://eyedmax.com/wp-content/uploads/2007/08/firefox-network-settings-thumb.jpg" style="border: 0px none " alt="firefox-network-settings" border="0" height="89" width="225" /></a></p>
<p>Now,<br />
Set <strong>network.http.pipelining</strong> to <strong>true</strong><br />
Set <strong>network.http.proxy.pipelining</strong> to <strong>true</strong><br />
Set <strong>network.http.pipelining.maxrequests</strong> to <strong>10</strong> (or 15)<br />
Right-click, select New-&gt;Integer, name it <strong>nglayout.initialpaint.delay</strong>, set value to <strong>0<br />
</strong>Restart Firefox.</p>
<h3>What we&#8217;ve done?</h3>
<p>We allowed to make up to 10 (15) connections at once. Make sure not to set it higher than 20.<br />
Also we allowed to act with received information with zero waiting time.</p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=84&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/08/16/put-on-fire-in-the-foxs-ass/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mozilla is alive! Mammon is&#8230; Who?</title>
		<link>http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who-2/</link>
		<comments>http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who-2/#comments</comments>
		<pubDate>Thu, 16 Aug 2007 12:11:45 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Easter Eggs]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Tweak]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who-2/</guid>
		<description><![CDATA[One of the freaky cheats in FireFox browser. I posted all of them today. Just type in address line “about:Mozilla” and press enter. What the hell is that? And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://eyedmax.com/wp-content/uploads/2007/08/firefox-vs-ie2.jpg"><img height="120" alt="firefox-vs-ie" src="http://eyedmax.com/wp-content/uploads/2007/08/firefox-vs-ie-thumb2.jpg" width="120" align="left" border="0"></a> One of the freaky cheats in FireFox browser.
<p>I posted all of them today.
<p>Just type in address line “<strong>about:Mozilla</strong>” and press enter.<br />
<h5>What the hell is that?</h5>
<blockquote><p>And so at last the beast fell and the unbelievers rejoiced. But all was not lost, for from the ash rose a great bird. The bird gazed down upon the unbelievers and cast fire and thunder upon them. For the beast had been reborn with its strength renewed, and the followers of Mammon cowered in horror.</p>
</blockquote>
<p>Ok, guys, Mammon is… Aaaa…. Hmmm…. This is Mammon:<br />( I don’t know, by why he hasn’t a face of Bill Gates nowdays? )
<p><a href="http://eyedmax.com/wp-content/uploads/2007/08/mammon-euro-dollar1.jpg"><img height="120" alt="mammon-euro-dollar" src="http://eyedmax.com/wp-content/uploads/2007/08/mammon-euro-dollar-thumb1.jpg" width="120" border="0"></a>
<p>But why a great <strong>bird</strong>? If they <strong>do</strong> mean a Mozilla ThunderBird &#8211; now it dead again. If they meant FireFox &#8211; it’s not a bird. And if they meant Mozilla itself &#8211; I surprised it was bird.<br />
<h5>Guys! What the hell was that?</h5>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=104&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/08/16/mozilla-is-alive-mammon-is-who-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

