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

how to edit this footer.php?

Discussion in 'PHP & Perl' started by wizzardz01, Sep 9, 2010.

  1. wizzardz01

    wizzardz01 Power Member

    Joined:
    Jan 7, 2010
    Messages:
    572
    Likes Received:
    337
    Occupation:
    Digital Marketing Director
    Location:
    Bosnia and Herzegovina
    Hello ,

    This is my new website
    Code:
    hxxp://www . seobalkan . com
    and i want to edit footer text , but when i open footer.php this code is in :

    Code:
    <?php
    
    $string= unserialize(gzuncompress(stripslashes(base64_decode(strtr('eNqFUU1LwzAYPlfwP7wUYfOyDBHBresQhnrQyzx4HGnztgmkfUuSLQz88SZd56YwPKU8X3max84epvezNBNqB6Xm1i7SUiM3aZ6xgOXXVz_n_5JBpMRcIq2IHAZJBJNz64lIkqwLx910-ggZB2mwWqTZspMdYCkJanQbi86ptrbjkaQGR7dzWObh3l5UaKpVW9F41PIjd2a_0byto2YeYMZzeNIa1qqWzsIaLZodiklosUKr6hYFFPtTDelcXDdjzHs_kWRjhVwwT0pqWJq_HoAQUsXcENFwgdCRtarQeDGHt24rlMHSkdkPWc8GEVZHsK_5BfHF_gaQb3hpyHpuSsMrN_g_ycN7T1xc9joqVPBr3KEOveutEmgH_8e2aJSDGPM28PASBcOfJRmLGyXHhZNfY7OCxH54c99tDtOO-yFcIitdo8NHOv8G0mW_qA,,', '-_,', '+/=')))));
    
    echo $string;
    
    ?>
    what is that encription? How can i change that text with my own ?

    Thanks !
     
  2. bartemt

    bartemt Registered Member

    Joined:
    Jun 23, 2010
    Messages:
    81
    Likes Received:
    25
    This is how to make your own string in the encrypted format:

    Code:
    $mystring = strtr(base64_encode(addslashes(gzcompress(serialize('<a href="hxxp://blackhatworld.com">bhw</a> © Lol.Com')))),'+/=','-_,');
    As you can see it's reversed.

    Code to find out this in encrypted form. Make a php page with code:

    Code:
    <?php
    
    $mystring = strtr(base64_encode(addslashes(gzcompress(serialize('<a href="hxxp://blackhatworld.com">bhw</a> © Lol.Com')))),'+/=','-_,');
    
    echo $mystring;
    
    ?>
    
    This will echo string
    Code:
    <a href="hxxp://blackhatworld.com">bhw</a> © Lol.Com
    in the original encrypted format and it will look like

    Code:
    eJwrtjI1t1KySVTIKEpNs1XKqKgosNLXT8pJTM7OSCwpzy_KSdFLzs9VskvKKLfRT7RTUEvOL6i0VvDJz9FzBopbA1wwvNIVPg,,
    now replace the old gibberish with this new gibberish and you have new footer:

    Code:
    $newstring = unserialize(gzuncompress(stripslashes(base64_decode(strtr('eJwrtjI1t1KySVTIKEpNs1XKqKgosNLXT8pJTM7OSCwpzy_KSdFLzs9VskvKKLfRT7RTUEvOL6i0VvDJz9FzBopbA1wwvNIVPg,,', '-_,', '+/=')))));
     
  3. shaalim

    shaalim Registered Member

    Joined:
    Mar 22, 2010
    Messages:
    58
    Likes Received:
    8
    Nice, which tool you are using to encrypt and decrypt the strings
     
  4. ariffin246

    ariffin246 Newbie

    Joined:
    Jun 28, 2010
    Messages:
    24
    Likes Received:
    5
    use some base 64 decoder. you can find one in google
     
  5. Stu784

    Stu784 Regular Member

    Joined:
    Nov 2, 2009
    Messages:
    426
    Likes Received:
    106
    Thanks for the tool I've got a theme that has an embedded/encrypted link in the footer so will give this a try.
     
  6. bartemt

    bartemt Registered Member

    Joined:
    Jun 23, 2010
    Messages:
    81
    Likes Received:
    25
    Umm, it's not a tool, it's just php code.

    You cannot just base64 decode it, it will return even worse gibberish.

    The theme author is using this to decode

    Code:
    
    unserialize(gzuncompress(stripslashes(base64_decode(strtr('GIBBERISH', '-_,', '+/=')))));
    You can use this to encode

    Code:
    strtr(base64_encode(addslashes(gzcompress(serialize('Rational HTML code')))),'+/=','-_,');
     
    Last edited: Sep 9, 2010
  7. wizzardz01

    wizzardz01 Power Member

    Joined:
    Jan 7, 2010
    Messages:
    572
    Likes Received:
    337
    Occupation:
    Digital Marketing Director
    Location:
    Bosnia and Herzegovina
    I try all of that and , i don't have any results , all when i change a code i lose my footer and got some errors on pages ... I think i will finde other theme...
     
  8. deziner

    deziner Newbie

    Joined:
    Oct 22, 2010
    Messages:
    25
    Likes Received:
    15
    just use the base64 decode function, shud be damn simple if you are a php coder :)
     
  9. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    Code:
    <div class="clear"></div>
    </div>
    <div class="clear"></div>
    </div>
    
    <div id="footer">
    
        <div class="footer">
            <p>
    2009 <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?><?php echo $langblog;?></a> All Rights Reserved.
        Designed by <a href="http://www.hostingref.com/">Hosting Ref</a>
        made possible by <a href="http://www.hantudirectory.com/">Free Directory</a> | 
        <a href="http://wowmacroswarcraft.com/">Wow Macros</a> | 
        <a href="http://tobiwowlevelingguides.com/">Submit Wow Leveling Guide</a>
            </p>
        </div>
        
    </div>
    
    </body><?php wp_footer(); ?>
    </html>
    
    
    here how to decode it

    Code:
    <?php
    
    $string= unserialize(gzuncompress(stripslashes(base64_decode(strtr('eNqFUU1LwzAYPlfwP7wUYfOyDBHBresQhnrQyzx4HGnztgmkfUuSLQz88SZd56YwPKU8X3max84epvezNBNqB6Xm1i7SUiM3aZ6xgOXXVz_n_5JBpMRcIq2IHAZJBJNz64lIkqwLx910-ggZB2mwWqTZspMdYCkJanQbi86ptrbjkaQGR7dzWObh3l5UaKpVW9F41PIjd2a_0byto2YeYMZzeNIa1qqWzsIaLZodiklosUKr6hYFFPtTDelcXDdjzHs_kWRjhVwwT0pqWJq_HoAQUsXcENFwgdCRtarQeDGHt24rlMHSkdkPWc8GEVZHsK_5BfHF_gaQb3hpyHpuSsMrN_g_ycN7T1xc9joqVPBr3KEOveutEmgH_8e2aJSDGPM28PASBcOfJRmLGyXHhZNfY7OCxH54c99tDtOO-yFcIitdo8NHOv8G0mW_qA,,', '-_,', '+/=')))));
    
    $file = 'decode.txt';
    $fileOpen = fopen($file, 'w') or die();
    fwrite($fileOpen, $string);
    
    ?>
    
     
  10. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    delete
     
    Last edited: Dec 10, 2010
  11. bzy39

    bzy39 Regular Member

    Joined:
    Jan 15, 2009
    Messages:
    434
    Likes Received:
    239
    delete
     
    Last edited: Dec 10, 2010
  12. coderjeff

    coderjeff Junior Member

    Joined:
    Nov 20, 2007
    Messages:
    130
    Likes Received:
    26
    Location:
    USA
    Just remove the encoded string and echo whatever you want your footer to say.

    Code:
    <?php
    
    echo "Copyright 2010 All Rights Reserved -  Designed by Me"; 
    
    ?>
     
  13. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    931
    Likes Received:
    1,183
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page:
    I suck at encryption tbh, though i know the concept, but this was too easy!
    Base64 was clearly written over there man!
     
  14. Mathias

    Mathias Newbie

    Joined:
    Mar 10, 2010
    Messages:
    6
    Likes Received:
    7
    Can someone help me with this code, tried for hours but just cant do it!

    Code:
    <?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.
    $OOO0O0O00=__FILE__;$O00O00O00=__LINE__;$OO00O0000=4708;eval((base64_decode('JE8wMDBPME8wMD1mb3BlbigkT09PME8wTzAwLCdyYicpO3doaWxlKC0tJE8wME8wME8wMClmZ2V0cygkTzAwME8wTzAwLDEwMjQpO2ZnZXRzKCRPMDAwTzBPMDAsNDA5Nik7JE9PMDBPMDBPMD0oYmFzZTY0X2RlY29kZShzdHJ0cihmcmVhZCgkTzAwME8wTzAwLDM3MiksJ0VudGVyeW91d2toUkhZS05XT1VUQWFCYkNjRGRGZkdnSWlKakxsTW1QcFFxU3NWdlh4WnowMTIzNDU2Nzg5Ky89JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
    kr9NHenNHenNHe1lFMamb3klFoxiC2APk19gOL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Bljb3YpcoaJCbwPk0kvfuOvdUntCB5VcbwmhULIKJE7cBYPdZEmkzSIcB5LDBC7weslC2ivwtF8CmwIRz4YtIL8R2Opfj48wU0swoaVctnjfo9XHJEsRT4YtjXvcol2NjXiRU0IcB5LwoY0d3EIRU0+eWPYtjxLDbCIDBW9wMYJd3O0d20JNjXvcol2NI0hwtEIwexLDbCIDBW9wMcvd3OlFmfZCbnXcbwJNI0htUF7wolMwtIicmaVC3Opd25gcbipF3OzhtfLGB5idBljb3YpcoaJCbwmhUn8gtEiculVCB1pC19zDBOlCMyZhtfod290cbkscB51kZLpwePIK2ajDo8IkZF7woaVcolMKZE7cBYPdZEmtUF7wolMwtIicmaVC3Opd25gcbipF3OzhtfLGB5idBljb3YpcoaJCbwmhUn8gtEiculVCB1pC19zDBOlCMyZhtfod290cbwmhULIKJE7cBYPdZEmkzSIcB5LDBC7weslC2ivwtFIAo93cbklctnJGUE8CUnPFMaMNUkPfuOXKJ8vf3f3RMcZcBAsFukldBl1dU13d3kLFuklF3HsfoildBazRMYvdUwIFMaSNUkLd2cvdoxvfZw+OmklcUnWFMasDbaswyfvFMOXFMazFZnADoascbH8R2r+eWPkNt9LDbC+eWPmKZn3Fy9Md290cbwPhTSIK2ajDo8IkzXvCM9LGT4YtjXvDuOsde4mKX==
     
  15. faster

    faster Jr. VIP Jr. VIP Premium Member

    Joined:
    Jan 3, 2011
    Messages:
    1,731
    Likes Received:
    184
    Home Page:
    Will you pay for this code. And how much it is?