php logo

I adore WordPress themes! And I like to download and test the themes (free ones) frequently. Few days back I bumped across a plugin – TAC (Theme Authenticity Checker) which checks for any malicious code in the WordPress themes present in /wp-content/themes folder.

When I ran TAC today, I found that couple of the themes I downloaded yesterday (name withheld) were having some encoded string in the Footer section. TAC projected them as potential threats since some malicious code could have been injected and encoded. The code looked something like this


echo(base64_decode(“PGRpdiBjbGFzcz0iZm9vdGVy
Ij4NCiAgPGRpdiBjbGFzcz0iZm9vdGVyX3R4dCI+IA0KICAgIDxw
PiBEZXNpZ25lZCBieTogPGEgaHJlZj0iaHR0cDovL3d3dy
50YWxrcmV2aWV3cy5jb20vdG9wLXNp
dGVzIj5Ub3AgV2Vic2l0ZSBSZXZpZXdzPC9hPiA8L3A+
DQoNCiAgICA8cD4NCiAgICAgIDxhIGhy
g0KDQo=”))

I started looking out for a tool which can decode this encoded string for me. And I found out this page which can encode as well decode! There is a radio button at the bottom where you need to select the decode option. The output decoded data will be displayed in the same screen within few seconds!

Just replace the encoded code with the decoded one and the theme will continue to work like a charm!

Link: Base-64-encoder-decoder

Mirror: Base-64 decoder

Also try this : OpionatedGeek decoder tool

Subscribe via RSS or Email:
Raju is the founder-editor of Technically Personal. A proud geek and an Internet freak, who is also a social networking enthusiast. You can follow him on Facebook and on Twitter. Mail Raju PP.
  • http://www.movpedia.com dj2oon

    hi links provided by u are not helpfull for me bc wpobject by woo theme footer is not encoded on these help me

    • http://techpp.com Raju

      why don’t you contact woothemes support then? If you are trying to crack/pirate a premium theme, we can’t be of any help for you

  • rajesh Mergu

    kaka,
    i am new to wordpress,
    i want to remove my footer links in my theme.
    I tried using the decode link u mention in your post.

  • aghoo

    Wonderful This really is one of the most beneficial blogs I’ve ever browsed on this subject.
    I was very encouraged to find this site. I wanted to thank you for this special read. I definitely savored every little bit of it and I have you bookmarked to check out new stuff you post.

  • http://lalifetime.net Akash

    Thanks for a great help, I spend lots of time to get a code, after searching google get your article and use http://www.motobit.com/util/base64-decoder-encoder.asp They give me required info.

    Thanks again to you are google also.

  • http://www.9to5ipad.com jailbreak

    hi i have tried this on my wordpress theme and working thanks mate…

  • Hector Alvarez

    I am trying to decode a footer code from wordpress and I am having a problem. I have tried the links above but the issue that I dont know if I am inputting the right characters from the encoded footer code. what should i do?

    • http://techpp.com Raju PP

      I can’t comment without knowing what exactly you were trying to decode, but I must tell you that NOT all encoded codes can be decoded, specially if the developer has encoded multiple times.

  • autoblog

    very nice. but why sometimes i’ve found encoded script that can not decode? any idea?

  • http://www.incrediblogger.net Prasenjit @ Social Media Marketing Plan

    Ohh this is great piece of information. Many free wordpress templates included the link to their site in an encoded format and keep the users unaware of it. Thanks Raju for the article.

  • georgy35

    I have downloaded many themes in various version: word press, HTML. Drupal etc, they were all zip files. I have umzipped them but one theme has come under so many files and I can’t put them together to form the actual site. For the HTML it’s ok. I just go to page and opened it as web page. For the others I am lost. Can anybody help.

Custom Search
Copyright 2012 Technically Personal!