<?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>dudu&#039;s blog &#187; Uncategorized</title>
	<atom:link href="http://eduardo.cereto.net/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://eduardo.cereto.net</link>
	<description>Web Analytics, Javascript, Python and Rum</description>
	<lastBuildDate>Thu, 02 Feb 2012 01:26:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cleaning up files with eval(base64 Malware</title>
		<link>http://eduardo.cereto.net/cleaning-up-files-with-evalbase64-malware</link>
		<comments>http://eduardo.cereto.net/cleaning-up-files-with-evalbase64-malware#comments</comments>
		<pubDate>Thu, 19 May 2011 22:56:22 +0000</pubDate>
		<dc:creator>Eduardo Cereto</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://eduardo.cereto.net/?p=122</guid>
		<description><![CDATA[This blog was recently infected with a eval(base64 malware. This kind of malware use site vulnerabilities to inject a long list of link in the beginning of pages so it theoretically improves those site&#8217;s SEO performance. This kind of strategy &#8230; <a href="http://eduardo.cereto.net/cleaning-up-files-with-evalbase64-malware">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://eduardo.cereto.net/cleaning-up-files-with-evalbase64-malware"></g:plusone>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>This blog was recently infected with a eval(base64 malware. This kind of malware use site vulnerabilities to inject a long list of link in the beginning of pages so it theoretically improves those site&#8217;s SEO performance.</p>
<p>This kind of strategy is just sad, telling from the perspective of an SEO.</p>
<p>I came up with a nice oneliner to clear all that nasty code. Works great for me. May be useful for others.</p>
<pre name="code" class="sh">
find . -name "*.php" -print0 | \
xargs -0 -n 1 grep -l -Z eval.*base64 | \
xargs -0 -n 1 sed -i'.old' '/eval.*base64/ d'
</pre>
]]></content:encoded>
			<wfw:commentRss>http://eduardo.cereto.net/cleaning-up-files-with-evalbase64-malware/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

