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

PLEASE HELP: Decoding Footer

Discussion in 'Blogging' started by Robert4878, May 24, 2010.

  1. Robert4878

    Robert4878 Newbie

    Joined:
    Oct 6, 2009
    Messages:
    48
    Likes Received:
    8
    Could someone please help me decode the following:

    <?php // $OOO0O0O00=__FILE__;$O00O00O00=__LINE__;$OO00O0000=584;eval((base64_decode('JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
    kr9NHenNHenNHe1lFMamb3klFoxiC2APk19gOLlHOa9gkZXJkZwVkr9NTznNHr8XHt4JkZwShokiF2A2Yy9LcBYvcoAPF3OZfuwPcmklCBWPkr8XHenNHr8XHtXLT08XHr8XHeEXhUXmOB50cbk5d3a3D2iUUylRTlfNaaOnCAkJW2YrcrcMO2fkDApQToxYdanXAbyTF1c2BuiDGjExHjH0YTC3KeLqRz0mRtfnWLYrOAcuUrlhU0xYTL9WAakTayaBa1icBMyJC2OlcMfPDBpqdo1Vd3nxFmY0fbc3Gul6HerZHzW1YjF4KUSvkZLphUL7cMYSd3YlhtONHeEXTznNHeEpK2a2CBXPkr9NHenNHenNHtL7wt8vwoklc2lVwocvd3OlFJEhK2ajDo8IkX0hNoOpfJnjdoyzFz0JC2xlCbwJNjXvcol2NI0heWP8col2wolLNUkMd290cbwJNI0heWPkNuE+kzSIb2APwLYvFulZDBfPftwSwtfzfuaLDB9XFMazFZFpKZE7cBYPdZEmwtcjd3n5KZEmKZnlC2ivwoOifoAPk1LmhTSIK2ajDo8IkZEMdBlLco90KZEmKZngcUIJWBxSwykpc2i0FZnUcbYlFmclctwSwtfzfuaLDB9XFMazFZFpKZE7cBYPdZEmwtcsDBOLd3W7wynvf2aZcBWICmLINorIDuklcj0JDuO0FePvR3f3fZ5MFMalRbnZcB1pfB0sf29ZcunZcbYzRbOPcB1lFZ5jd20JNLcZcBAIFukldBl1dUnbd3kLFuklF3HIaoildBazNt9iNJEIkzSIf3ngdo9mDB5vfbWPhTSIK2ajDo8IkzXvFe4YtI0hNt9LDbC+eWPYtJF7woOvb2yjfolvdJImf3ngcM9vfoaZkZL7weslC2ivwtFYtjXvcol2NI0heWP8R2kvcuL+eWP8R2i0dBX+kzS=
     
  2. kaidoristm

    kaidoristm Power Member

    Joined:
    Feb 13, 2009
    Messages:
    561
    Likes Received:
    726
    Occupation:
    Freelancer
    Location:
    Estonia
    Home Page:
    Simple base64 decode should do the trick
     
  3. CasinoJack

    CasinoJack BANNED BANNED

    Joined:
    Jan 17, 2009
    Messages:
    711
    Likes Received:
    1,418
    If this is wordpress, and I assume so do this:

    Step 1. Open your index.php and find

    Code:
     <?php get_footer(); ?>
    Step 2. Place a HTML comment that you can easily recognize, before and after

    Something like:

    Code:
     <!? footer content starts Here ?>
    
        <?php get_footer(); ?>
    
        <!? footer content ends Here ?>
    Step 3. Visit your blog

    Step 4. View the source

    Step 5. Copy the HTML source between the two markers

    Step 6. Open footer.php and replace the encoded content with the HTML code.
     
    • Thanks Thanks x 3
  4. Robert4878

    Robert4878 Newbie

    Joined:
    Oct 6, 2009
    Messages:
    48
    Likes Received:
    8
    That worked!

    Thanks CasinoJack
     
  5. Bross

    Bross Senior Member

    Joined:
    Feb 6, 2010
    Messages:
    859
    Likes Received:
    355
    HTML Can't really be encrypted..........
    It's a browser coding language.
     
  6. Googler

    Googler Junior Member

    Joined:
    Apr 15, 2009
    Messages:
    157
    Likes Received:
    190
    Occupation:
    Black Hat Advanced Ninga Trainer
    Location:
    3D World
    Hmmmm....

    Just Find
    <?php get_footer(); ?>
    and see its there

    Then replace with your own HTML Tags in footer.php
     
    Last edited: May 25, 2010
  7. Evgenius

    Evgenius Newbie

    Joined:
    Mar 8, 2010
    Messages:
    4
    Likes Received:
    0
    Code:
    $O000O0O00=fopen($OOO0O0O00,'rb');while(--$O00O00O00)fgets($O000O0O00,1024);fgets($O000O0O00,4096);$OO00O00O0=(base64_decode(strtr(fread($O000O0O00,372),'EnteryouwkhRHYKNWOUTAaBbCcDdFfGgIiJjLlMmPpQqSsVvXxZz0123456789+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));eval($OO00O00O0);
    and further understand
     
  8. kaidoristm

    kaidoristm Power Member

    Joined:
    Feb 13, 2009
    Messages:
    561
    Likes Received:
    726
    Occupation:
    Freelancer
    Location:
    Estonia
    Home Page:
    Better check what CasinoJack suggested much easier to archive what you want.
     
  9. shawah309

    shawah309 Junior Member

    Joined:
    Aug 3, 2009
    Messages:
    153
    Likes Received:
    247
    Home Page:
    My theme have codes in header and functions.php, any solution for that
    thanks

     
  10. GreyWolf

    GreyWolf Executive VIP Jr. VIP

    Joined:
    Aug 17, 2009
    Messages:
    1,930
    Likes Received:
    5,389
    Gender:
    Male
    Occupation:
    Artist / Craftsman
    Location:
    sitting at my PC
    That's not actually true. You can encrypt your files as long as there's a way for the server to decrypt it before sending it to the client.

    This means that in the actual scripts and files that a designer provides to a webmaster can be made more difficult to modify some parts of it. It also means that since the final page will be sent to the browser unencrypted it's possible to view the source and then compare that to the files on the server to figure it out. Sometimes that's fairly easy and straightforward, sometimes it can be more difficult.

    The more inexperienced someone is at html and php, the harder it is to know exactly what can be changed in the source files. If the designer bothered to include encrypted sections of code, then he's obviously trying to make it more difficult.