post Category: Blogging, Code post postFebruary 11, 2008

So I downloaded the awesome new theme you see now. I don’t mind linking to the place I downloaded the theme from in the footer. I wanted to add a nice little copyright thing down there so I opened up the footer.php and what do I see?!

<? eval(gzinflate(base64_decode(’
bZC9bsMwDITnFOg7XD21g+PdVWSgS7t1CZCxkCLa
EixLqqTECNCHrxX3ZwkXHu7IDyA7zh7qGpIG49B7
nymirvn93WbDGmXOq+qCDhgofySjSIr4+PSMrkR/
M0UvEkbtqhVTFRtggUNRMoMjBXlpwQR0pH5X6ZxD
2zTzPG8nMdLnyRzH7dFPFX931jjCgWQymfByMlZR
ZI3gEE7dRswktU/ZuGEgGtMKWgh4W12U9dcS4Qvi
LIwV0hL6SASRW+x9uIXNPswha5roB4mDjypESgn7
q124rAnLtVjq9yH/XXp1uQqdJ8tZ9w0=
‘)));
?>

That’s not cool! I’m a good person, I’ll link to your damn site… don’t force me to add all sorts crap by encoding it! I googled around to see how other people were solving this problem. I found a couple of PHP scripts that decode this crap, but none worked for me. I then realized that if I just change the ‘eval’ to ‘echo’, the code within won’t execute and sure enough, print out exactly what its hiding.

Here is the encoded text if you want it:

!– begin footer –>
</div>
<?php get_sidebar(); ?>
</div>

<div id=”footer”>
<p> designed by: <a href=”http://www.makequick.com”>Online Website Builder</a> and: <a href=”http://www.webhostinggeeks.com”>Web Hosting </a>Geeks | available free at: Top<a href=”http://www.topwpthemes.com”> Wordpress Themes</a></p>
</div>
</div>
</body>

</html>

NOTE: I am not condoning any kind of copyright violations or any thing like that… this is totally just and FYI.

Horaayy..there are 2 comment(s) for me so far ;)

#1

Ahhh, brilliant thanks for this. I was pulling my hair out trying to work it out.

Funked wrote on February 13, 2008 - 7:33 am
#2

yohoo! really thanks!!! i was looking for this too… hard to find resolving tutorial at google…really thanks a lot!!!

Alvin wrote on March 11, 2008 - 8:32 am
You can leave a response, or trackback from your own site.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.