<?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; Wordpress</title>
	<atom:link href="http://eyedmax.com/tag/wordpress/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>WordPress Dashboard problem fix</title>
		<link>http://eyedmax.com/2009/01/03/wordpress-dashboard-problem-fix/</link>
		<comments>http://eyedmax.com/2009/01/03/wordpress-dashboard-problem-fix/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 04:41:37 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://eyedmax.com/?p=152</guid>
		<description><![CDATA[Heh. I&#8217;ve got &#8220;dashboard problem&#8221; in admin area. For long. )) Now it&#8217;s over. When you see 404 page instead of your dashboard &#8211; and somethings like &#8220;admin.php?page=index.php&#8221; in your addressbar &#8211; you just need to go to your wp-content/plugins/ directory and rename index.php there to index.html P.S. BTW WP2.7 adminpanel looks really great! Upgrade [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-153 alignnone" title="WordPress 2.7 offsite webshot" src="http://eyedmax.com/wp-content/uploads/2009/01/wp7-webshot.jpg" alt="WordPress 2.7 offsite webshot" width="450" height="212" /></p>
<p>Heh. I&#8217;ve got &#8220;dashboard problem&#8221; in admin area. For long. ))</p>
<p>Now it&#8217;s over.</p>
<p>When you see 404 page instead of your dashboard &#8211; and somethings like &#8220;admin.php?page=index.php&#8221; in your addressbar &#8211; you just need to go to your <strong>wp-content/plugins/</strong> directory and rename <strong>index.php</strong> there to <strong>index.html</strong></p>
<p>P.S. BTW WP2.7 adminpanel looks really great! Upgrade ASAP.</p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=152&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2009/01/03/wordpress-dashboard-problem-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.2.1</title>
		<link>http://eyedmax.com/2007/06/22/wordpress-221/</link>
		<comments>http://eyedmax.com/2007/06/22/wordpress-221/#comments</comments>
		<pubDate>Fri, 22 Jun 2007 02:11:55 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/06/22/wordpress-221/</guid>
		<description><![CDATA[Oops, WordPress 2.2.1 is out, and I&#8217;m still not ready! Ok, I upgraded all the blogs with my plugs, and let&#8217;s see what happens.]]></description>
			<content:encoded><![CDATA[<p>Oops, WordPress 2.2.1 is out, and I&rsquo;m still not ready!</p>
<p>Ok, I upgraded all the blogs with my plugs, and let&rsquo;s see what happens.</p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=36&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/06/22/wordpress-221/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WordPress</title>
		<link>http://eyedmax.com/2007/05/20/new-wordpress/</link>
		<comments>http://eyedmax.com/2007/05/20/new-wordpress/#comments</comments>
		<pubDate>Sun, 20 May 2007 01:35:01 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WordPress plugin]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/05/20/new-wordpress/</guid>
		<description><![CDATA[Hi again. WordPress 2.2 Getz is pretty cool Except one little thing. Widgets. They&#8217;re now in the core. And (as always) one little annoying error in release code. This bug prevents Otto&#8217;s ExecPHP from working. Another plugins that allows to run PHP code gone wild too. No, actually they working, until you want 2 or [...]]]></description>
			<content:encoded><![CDATA[<p>Hi again.<br />
WordPress 2.2 Getz is pretty cool <img src='http://eyedmax.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Except one little thing.<br />
Widgets.<br />
They&#8217;re now in the core.<br />
And (as always) one little annoying error in release code.<br />
This bug prevents Otto&#8217;s ExecPHP from working. Another plugins that allows to run PHP code gone wild too.<br />
No, actually they working, until you want 2 or more blocks&#8230;<br />
Solution is CVS. You need to upload fixed version of <strong>widgets.php</strong> into your <strong>wp-includes</strong> folder.<br />
You can take it .zipped &#8211; <a href="http://eyedmax.com/download-manager.php?id=4">here</a>.</p>
<p>Oh, and I think my plugs needs some widgetization too <img src='http://eyedmax.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=27&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/05/20/new-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2 updated</title>
		<link>http://eyedmax.com/2007/04/25/wordpress-2-updated/</link>
		<comments>http://eyedmax.com/2007/04/25/wordpress-2-updated/#comments</comments>
		<pubDate>Wed, 25 Apr 2007 11:35:56 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://eyedmax.com/2007/04/25/wordpress-2-updated/</guid>
		<description><![CDATA[Do not forget to update your blogs to WordPress 2.1.3 and 2.0.10. Recommended]]></description>
			<content:encoded><![CDATA[<p>Do not forget to update your blogs to WordPress 2.1.3 and 2.0.10.<br />
Recommended <img src='http://eyedmax.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=24&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/04/25/wordpress-2-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New WordPress version</title>
		<link>http://eyedmax.com/2007/01/23/new-wordpress-version/</link>
		<comments>http://eyedmax.com/2007/01/23/new-wordpress-version/#comments</comments>
		<pubDate>Tue, 23 Jan 2007 20:15:55 +0000</pubDate>
		<dc:creator>eyedmax</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://eyedmax.no-ip.org/wp/2007/01/23/new-wordpress-version/</guid>
		<description><![CDATA[New WordPress version 2.1 is out. I need to check if plug is works. Hope so P.S. Download WP 2.1  ]]></description>
			<content:encoded><![CDATA[<p>New WordPress version 2.1 is out.</p>
<p>I need to check if plug is works. Hope so <img src='http://eyedmax.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>P.S. <a title="Download WordPress 2.1" href="http://wordpress.org/download/" target="_blank">Download WP 2.1</a></p>
<p> </p>
<img src="http://eyedmax.com/?ak_action=api_record_view&id=5&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://eyedmax.com/2007/01/23/new-wordpress-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

