1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Decrypting encrypted WordPress footers ''Simple Method''

Discussion in 'Blogging' started by blogdev, Aug 5, 2011.

  1. blogdev

    blogdev BANNED BANNED

    Joined:
    Sep 29, 2009
    Messages:
    128
    Likes Received:
    101
    In actual fact we're not going to be decrypting anything - to start open the footer.php file of your theme, chances are you'll find something like this

    PHP:
    <?php  /* WARNING: This file is protected by copyright law. 
    To reverse engineer or decode this file 
    is strictly prohibited. */
    $o="QAAQOyhjbnE5Cg0KDTsAk
    CduYzoAgCVhaGhz
    YnUlAVdka2Z0dDolBwBwdWZ3dwGWA4cArjs4d293J3
    B3QYBYBKMvLjwnOATgBhxrbmlsdCU5AABDYnRuYGliY
    ydlfj0nO2YnAABvdWJhOiVvc3N3PSgocHBwAAApbG5jd
    GRmdWJla2hgKWRoBJBqKCU5TAEwJ0QBQCdFAVA7KGY
    5AAApJ05pJ0Roa2tmZWh1ZnNuAYBoaSdQbnNvBR8FEH
    RicGBudWtAAHQE0ydzbnNrYjolQ3VidHRqAAhmbG5pYCsn
    VnJua3MAoCdGaQAAYydIc29idSdTYn9zbmtiJwACRHVm
    YXN0J0NudGRydHQLgE8ACGJ1YiU5U29iJ1RicANBQWh1F
    CNyanQJYSsIDn5ocnUNEGpmcxYwCCSBMAzzT2Jma3Nv
    A2EnZgdQEK9wKXd1AAliYGlmaWR+d3JrdGIL8zlXAVUHQ
    CdwYmJsFGAAggSBKR3FOyhlaGN+wAAYIB5QKG9zams5"
    ;eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2
    JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpz
    PSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2J
    HeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsb
    GxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd
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GxsbCsrXSk
    7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxs
    bGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTsk
    bGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzY
    kQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsb
    GxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsb
    GxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKyt
    dXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hz
    YkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNn
    Mk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="
    ));return;?>
    Before the start of the PHP code add the following HTML comment:
    <!-- start footer -->
    After, add the following comment:
    <!-- end footer -->

    Save and upload the new footer to your blog and open your blog's home page, view the source of the page by right clicking and selecting View Page Source (wording may differ slightly depending on browser)
    Either by looking or using the Find function (Ctrl+F) look for your HTML footer start comment in the source.

    Then simply copy the HTML between the footer start and footer end comments:

    Then just paste it back into your footer.php file, overwriting the encrypted code.

    You're almost done, just one last step, add back an import PHP WordPress call above the </body> tag:

    <?php wp_footer(); ?>

    The contents of your footer.php file should now look something like this:

    PHP:
    <!-- start footer --> 
    </
    div
    <
    div id="footer"
    <
    div class="wrapper"
    </
    div
    </
    div
    </
    div
    <
    div id="footerlinks">Designed by: <a href="http://www.kidscareblog.com/">Kids Care Blog</a>. In Collaboration With <a href="http://www.sewgirls.com/" title="Dressmaking, Quilting And Other Textile Crafts Discussed Here">The Sewing Forums</a>, <a href="http://yourkidmatters.com/">Kids Health</a> and <a href="http://www.pregnancypulse.com/">Pregnancy week by week</a>.</div
    </
    body
    </
    html>  
    And there you have it, your decrypted footer...
     
    • Thanks Thanks x 1
    Last edited: Aug 5, 2011