WordPress.org

Support

Support » Themes and Templates » Decoding a theme footer

Decoding a theme footer

  • Hi all,

    I’m currently having some problems with a coded wordpress theme footer, I don’t mind giving the author credit but when they stick random links which are nothing to do with my site I get a bit annoyed.

    Anyway, would be great if someone could decode this for me:

    <?php $QD2816C6797214BDD4CC97CFEB8DD47A3=”DQovKg0KRW5jb2RlciA6IE5FVC1URUMgUEhQLUVOQ09ERVIgViAxLjANCldFQiA6IGh0dHA6Ly93d3cubmV0LXRlYy5iaXovDQoqLw0KPz4JCQk8ZGl2IGNsYXNzPSJjbGVhcmVyIj48L2Rpdj4NCgkJPC9kaXY+DQoJPC9kaXY+DQoJPGRpdiBpZD0iZm9vdGVyIj4NCgkJPGRpdiBpZD0iZm9vdGVyLXdyYXBwZXIiPg0KCQkJPHA+DQoJCQkJQ29weXJpZ2h0ICYjMTY5OyA8P3BocCBlY2hvIGRhdGUoJ1knKTsgPz4gPHNwYW4gY2xhc3M9InVybCBmbiBvcmciPjw/cGhwIGJsb2dpbmZvKCduYW1lJyk7ID8+PC9zcGFuPi4gPGJyIC8+DQoJCQkJPGEgaHJlZj0iaHR0cDovL3dwY2xhc3NpYy5jb20iIHRpdGxlPSJEb3dubG9hZCBGcmVlIFdQIFRoZW1lcyI+RG93bmxvYWQgRnJlZSBXUCBUaGVtZXM8L2E+IHwgTWFoaW5oaW4gaXMgZGVzaWduZWQgYnkgPGEgaHJlZj0iaHR0cDovL3d3dy5wYWRkc29sdXRpb25zLmNvbSIgdGl0bGU9IkRhdmFvIFdlYnNpdGUgRGVzaWduIiA+UGFkZCBTb2x1dGlvbnM8L2E+LjxiciAvPg0KCQkJCUluIGNvbGxhYm9yYXRpb24gd2l0aCA8YSBocmVmPSJodHRwOi8vd3d3Lm1pbGxpb25haXJlZmxpcnQuY29tLyIgdGl0bGU9IlN1Z2FyIERhZGR5Ij5TdWdhciBEYWRkeTwvYT4sIDxhIGhyZWY9Imh0dHA6Ly93d3cudXNhYXJlYWNvZGVzLm9yZy8iIHRpdGxlPSJVU0EgQXJlYSBDb2RlcyI+VVNBIEFyZWEgQ29kZXM8L2E+LCBhbmQgPGEgaHJlZj0iaHR0cDovL3d3dy50YWxrcmV2aWV3cy5jb20vIiB0aXRsZT0iV2Vic2l0ZSBSZXZpZXdzIj5XZWJzaXRlIFJldmlld3M8L2E+Lg0KCQkJPC9wPg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KDQo8L2h0bWw+IA0KICAgIA==”;echo(base64_decode($QD2816C6797214BDD4CC97CFEB8DD47A3));?>

    Thanks guys

Viewing 15 replies - 1 through 15 (of 37 total)
  • Take the footer code portion of the outputed HTML and replace the base64 encoding with the HTML in an echo array. Remember to omit all double quotes in the HTML.

    <?php $QD2816C6797214BDD4CC97CFEB8DD47A3="DQovKg0KRW5jb2RlciA6IE5FVC1URUMgUEhQLUVOQ09ERVIgViAxLjANCldFQiA6IGh0dHA6Ly93d3cubmV0LXRlYy5iaXovDQoqLw0KPz4JCQk8ZGl2IGNsYXNzPSJjbGVhcmVyIj48L2Rpdj4NCgkJPC9kaXY+DQoJPC9kaXY+DQoJPGRpdiBpZD0iZm9vdGVyIj4NCgkJPGRpdiBpZD0iZm9vdGVyLXdyYXBwZXIiPg0KCQkJPHA+DQoJCQkJQ29weXJpZ2h0ICYjMTY5OyA8P3BocCBlY2hvIGRhdGUoJ1knKTsgPz4gPHNwYW4gY2xhc3M9InVybCBmbiBvcmciPjw/cGhwIGJsb2dpbmZvKCduYW1lJyk7ID8+PC9zcGFuPi4gPGJyIC8+DQoJCQkJPGEgaHJlZj0iaHR0cDovL3dwY2xhc3NpYy5jb20iIHRpdGxlPSJEb3dubG9hZCBGcmVlIFdQIFRoZW1lcyI+RG93bmxvYWQgRnJlZSBXUCBUaGVtZXM8L2E+IHwgTWFoaW5oaW4gaXMgZGVzaWduZWQgYnkgPGEgaHJlZj0iaHR0cDovL3d3dy5wYWRkc29sdXRpb25zLmNvbSIgdGl0bGU9IkRhdmFvIFdlYnNpdGUgRGVzaWduIiA+UGFkZCBTb2x1dGlvbnM8L2E+LjxiciAvPg0KCQkJCUluIGNvbGxhYm9yYXRpb24gd2l0aCA8YSBocmVmPSJodHRwOi8vd3d3Lm1pbGxpb25haXJlZmxpcnQuY29tLyIgdGl0bGU9IlN1Z2FyIERhZGR5Ij5TdWdhciBEYWRkeTwvYT4sIDxhIGhyZWY9Imh0dHA6Ly93d3cudXNhYXJlYWNvZGVzLm9yZy8iIHRpdGxlPSJVU0EgQXJlYSBDb2RlcyI+VVNBIEFyZWEgQ29kZXM8L2E+LCBhbmQgPGEgaHJlZj0iaHR0cDovL3d3dy50YWxrcmV2aWV3cy5jb20vIiB0aXRsZT0iV2Vic2l0ZSBSZXZpZXdzIj5XZWJzaXRlIFJldmlld3M8L2E+Lg0KCQkJPC9wPg0KCQk8L2Rpdj4NCgk8L2Rpdj4NCjwvZGl2Pg0KPC9ib2R5Pg0KDQo8L2h0bWw+IA0KICAgIA==";echo(base64_decode($QD2816C6797214BDD4CC97CFEB8DD47A3));?>

    to

    <?php echo "HTML CODE - You're going to want to escape double quotes. Or use single quotes";?>

    Recommend finding a theme that does not do that.

    http://wordpress.org/extend/themes/

    mrmist

    @mrmist

    Forum Janitor

    It translates as a copyright message and a few links. I dispise this trend.

    A decoder can be found here.

    Thanks ObjectlessHatred, but when i change it it seems to break the theme, I thinking that’s because I’m doing it wrong though, I’ll try again.

    MichaelH, I looked for ages for themes and didn’t find one I wanted, it’s annoying in my opinion that the best themes seem to be the ones which have stupid coded parts or hidden adverts.

    mrmist, thanks for the link says it can’t decode it =(. I despise this being done as well. I understand them wanting a link to their website, but this is going to far.

    Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    As long as people use these themes, this practice will continue. It’s basic economics.

    If you can’t decode the footer, try this:

    In your index.php find the line that says

    <?php get_footer(); ?>

    Above and below it place some marker text like this

    <!-- Evil Footer Devil FOUND -->
    <?php get_footer(); ?>
    <!-- Evil Footer Devil BEGONE -->

    Now visit your blog, view source, and copy the HTML from between the two markers. Rename your footer.php and make a new copy with that HTML code.

    Change it to your hearts content. Remember to insert the <?php wp_footer(); ?> before </body> tag.

    Keep in mind that if your theme’s license for use doe not permit this, then don’t do it. If that’s the case follow MichaelH’s advice and get a friendly theme.

    Good directions jdembowski – FAQ created based on that.

    How to get rid of encoding in a theme’s footer?

    Moderator Jan Dembowski

    @jdembowski

    Brute Squad and Volunteer Moderator

    Looks like the HTML “Evil Footer Devil” got format/fixed/zapped and not in the FAQ.

    Although you did correct my 1/2 cup of coffee “doe” to “does” 🙂

    Thanks jdembowski =) Worked like a charm.

    mrmist

    @mrmist

    Forum Janitor

    Sorry I probably should have explained – though jdembowski’s approach offers a relatively simple way to decode harmless footers. If you do want to use the decoding tool that I linked to above, you need to make sure that you are trying to decode the right bit. For example in your original text it says

    $QD2816C6797214BDD4CC97CFEB8DD47A3="... more text here ..."

    And the bit to put in the decoding box is just the part inside the quotes – the “more text here” – that’s the base64 encoded bit, the other bit is just variable assignment to a stupid name, likely intended to confuse.

    And remember it’s best to use “safe decode as text”.

    @jdembowski thanks — forgot the <pre> and </pre> thingy 😉

    What if it codes more than spam links?

    For example in my footer it says:

    <?php
    $o=”QAAAOzh3b3cnbmlka3JjYicvUwAAQkpXS0ZTQldGU08nKScgKAEAZWhzc2hqKQJQIC48Jzg5Cg0AADtjbnEnZGtmdHQ6JWRrYmYGAHUlOTsoAUABtW5jOiVhaGhzYsCEAZAC62FqYmlyJQKAJztyawBya24AIDk7ZidvdWJhOiUIo2VraGBuAIBpYWgvIHJ1awczJTlPaGpiOzEAKGYGgAMQCg0nArNwd1hrbnRzWAAAd2ZgYnQvIHRodXNYZGhrchAAamk6BpFYaHVjYnUhY2J3c28Atjo2IXNuc2tiAxA6BVMJoCgIUgvDDiEACg0BIHR3ZmkNtWtiYXMlOScnAARDYnRuYGliYycnZX4nCtZvcwAAc3c9KChwcHApcGJlNWFiYgAAaylkaGolJ3NmdWBiczolWAa7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CRsWyRsbGxsbCsrXSkmMHgwZikrMztmb3IoJGxsbGw9MDskbGxsbDwkbGw7JGxsbGwrKykkbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGxdPSRsbGxsbGxsbFskbGxsbGxsbC0kbGxsKyRsbGxsXTskbGxsbGxsbCs9JGxsO31lbHNleyRsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTw8OCk7JGxsKz0kbGxsbGxsbGxsbCgkbFskbGxsbGwrK10pKzE2O2ZvcigkbGxsbD0wOyRsbGxsPCRsbDskbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGwrK109JGxsbGxsbGxsbGwoJGxbJGxsbGxsXSkpOyRsbGxsbCsrOyRsbGxsbGxsKz0kbGw7fX1lbHNlJGxsbGxsbGxsWyRsbGxsbGxsKytdPSRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSk7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw==”));return;?>

    On my site that shows.
    About Random News and Recent Comments?

    Now if you could tell me how to remove that coding and make sure the 3 things are still updated as normal then that would help alot.

    If you need a link to my site then I can give it and you can see it for yourself.

    so, this is my problem as well.

    i decoded this:

    [moderated if necessary place code in wordpress.pastebin.ca and report link back here]

    into this:

    ?><p>
    Design by: <a href="http://www.surfstickvergleich.de/hsdpa.html
    ">HSDPA</a>. In collaboration with <a href="http://www.umts-surfsticks.de">UMTS Surf Stick</a>, <a href="http://suv.reviewitonline.net">SUV</a>, <a href="http://www.fbnpoker.com">Poker Bonuses</a>.</p><?

    so i posted only this inside footer.php:
    ?>(c) Mão Feita - não tire bife, ok?<?

    and added this to index.php:
    <?php get_footer(); ?>

    but when i change the code inside footer.php, my theme breaks. i want to use the footer, i do not mind giving credits to the author, but this is just really annoying.
    so what am i doing wrong?
    can someone please please PLEASE tell me exactly what to put inside footer.php and index.php?
    many thanks in advance.

    @RadioTronPodcast:

    <?php include (TEMPLATEPATH . '/bottom.php'); ?>
    <div class="clear"></div>
    <div id="footer">
    <div class="fmenu">
     <ul>
     <li><a href="<?php bloginfo('url'); ?>">Home</a></li>
     <?php wp_list_pages('sort_column=menu_order&depth=1&title_li='); ?>
    </ul>
    </div>	
    
    <span class="left">  Designed  by <a href="http://www.web2feel.com" target="_blank"> web2feel.com </a>  </span>
    <span class="right"> Coded  by <a href="http://www.localmatch.com/" target="_blank">Local Dating</a>, <a href="http://www.onlinedatingresource.com/" target="_blank">Dating Tips</a>,<a href="http://www.millionaireflirt.com/" target="_blank">Sugar Daddies</a>  </span>
    
    </div>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    😉

    Will somebody help me with decoding my footer?
    The theme’s name is “Little Secret”

    My footer can be downloaded as a .txt file here:
    http://www11.zippyshare.com/v/29822520/file.html

Viewing 15 replies - 1 through 15 (of 37 total)
  • The topic ‘Decoding a theme footer’ is closed to new replies.
Skip to toolbar