I downloaded a free wordpress theme for my blogsite, and while working to edit and costumize it for my needs i notices there is some strange code in one file (I guess it's some kind of coded file) I want to know if my guess it right or wrong, and what's the decryption of that code (if it's possible) here is a link to a txt file with the code : http://hotfile.com/dl/91768801/51573fd/codefile.txt.html also the files in the attachment View attachment codefile.php around 24Ko thankx
It's not in the footer. it's in a setting page, and the file i uploaded is a cop of all what in the original file, except the other one is .php and the one i uploaded is .txt
This is base64 encoded text to obfuscate the php code. The code does stuff that will inhibit things from working as expected if the copyright is removed. For example look at this: <usernameremoved>@<hostremoved>~$ base64 -d QAcAICANCiAAEABvASU8L2Rpdj4NCkAAPABwIGNsYXNzPSJmb290ZXJAICIBYCZjb3B5OyBDAGByaWdodAAAIDw/cGhwIGVjaG8gZGF0ZQAAKCJZIik7Pz4gPGEgaHJlZiAAPSICE2Jsb2dpbmZvKCd1cmwAAicpOyA/PiIgIHRpdGxlAj9uFgBhbWUCRD4D/QHHPC9hPi4gQWxsIAAgUgihcyBSZXNlcnZlZCB8IAIwRGVzaWduALBCeToIsQaURnJlZQAAIFdvcmRwcmVzcyBUaGVtZSAAcyIKlGh0dHA6Ly93d3cucm8AgGNraW5nd3B0AiIuY29tLyI+R/FSAWMgV1ADpAghEpATFQCEASARQndwXxODYIAoDvIBcC9ib2R5FFA8L2h0bWw+ @ o%</div> @<p class="footer@ "`© C`right <?php echo date("Y");?> <a href ="bloginfo('url'); ?>" title?nameD>ýÇ</a>. All ¡s Reserved | 0Design°By±Free Wordpress Theme s" http://www.rockingwpt".com/">GñRc WP! Bwp_`(òp/bodyP</html><usernameremoved>@<hostremoved>:~$ Note the end of the base64 output. This is obviously a theme credit that you have noticed. Please do not remove it. The text is base64 encoded to obfuscate the php. I am not going to post the rest of the php because the work is not mine.