• Hello,

    I downloaded a free template for wordpress, and i would like add some information in the footer but it’s impossible because is encode in base 64… And i don’t know how decrypt it, i have try some online tools to decode my footer.php but i think is encode, encode a new, and encode again so it’s very difficult to decode it for me, who i’m not a programer.

    [code]
    <?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
    $o="QAAAOzh3b3cnbmlka3JjYicvUwAAQkpXS0ZTQldGU08nKScgKAEAZWhzc2hqKQJQIC48Jzg5Cg0EuDsoY25xAIAODgDFDgCxANABgCduYwBgOiVhaGhzYnUlAkABUHR3ZmknBCBka2Z0dAGQa2JhcwGBDkNidG4AAGBpJztmJ291YmE6JW9zc3cAAD0oKHBwcClicWJ1fnNvbmkAAGBlYnV1filkaGooZWtmZGyAAADyKnRzaHVqKmRmdGJ0JSc5UkFFAZFFAoEnVAGRJ0QBkTsoZjknB8BgpCgH0Qh/YXVuYG8IgicAEERoD5B0cgYEd3dodXMJHwkRY3JlaGhsCJIlOQADQXViYmtmaWRiJ1B1bnMKYAbRYAIrA58DkHVibmxuamZjdW5jA9MnOGA5VQExAy8PwmJlNWEFwAK1UGh1Y3cAH3VidHQnc29iamJ0A2ENRhfAF1EYxcUIAIYc4nB3WBgzLxs2ZWhjfhCQOyhvGABzamsRwQ+QJyc=";eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktUcz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbCgkbFsxXSk8PDgpKyRsbGxsbGxsbGxsKCRsWzJdKTtldmFsKCRsbGxsbGxsbGxsbCgi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SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
    [/code]

    This is my footer.php, could you help me to decode it?

    Thanks a lot ??

    Cherubin13

Viewing 15 replies - 31 through 45 (of 148 total)
  • @cyril054

    <div class="clearer"></div>
    </div>
    </div>
    <div id="footer">
    <div id="footer-wrapper">
    <p>
    Copyright ? <?php echo date('Y'); ?> <span class="url fn org"><?php bloginfo('name'); ?></span>. <a href="https://www.paddsolutions.com" title="WordPress Theme">Premium WordPress Theme</a> is designed by <a href="https://www.talkreviews.ca/" title="Website Reviews" >Website Reviews</a>.<br />
    In collaboration with <a href="https://www.ssnlocator.com/" title="SSN Search">SSN Search</a>, <a href="https://www.eupersonals.com/" title="European Personals">European Personals</a>, and <a href="https://www.publicbackgroundcheck.org/" title="Public Background Check">Public Background Check</a>.
    </p>
    </div>
    </div>
    </div>
    </body>
    </html>

    @nesus

    <!-- Sidebar -->
    <div class="sidebar sidebar-right">
    
    <h3>Categories</h3>
    <ul>
    <?php wp_list_categories('title_li='); ?>
    </ul>
    
    <h3>Blogroll</h3>
    <ul>
    <?php wp_list_bookmarks('categorize=0&amp;title_li='); ?>
    </ul>
    
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>
    
    <?php endif; ?>
    
    </div>
    <!-- Sidebar -->
    
    <div class="clear"></div>
    
    </div></div></div>
    <!-- /Main -->
    
    <!-- Footer -->
    <div id="footer">
    
    <!-- Copyright -->
    <div id="copyright">
    <br />(c)Copyrighted <?php bloginfo('name'); ?>, All Rights Reserved.<br />Designed by: <a href="https://www.whiskey-shop.de/">Whiskey</a><br /><a href="https://www.piercing-infos.de/">Piercing</a>, <a href="https://www.absinthefee.de/">Absinth</a>, <a href="https://www.shisha-lager.de/">Shisha</a>, <a href="https://www.eatonbikes.com/bikeparts/">bicycle parts</a></div>
    <!-- /Copyright -->
    
    </div>
    <!-- Footer -->
    
    </div>
    <!-- /Page -->
    
    <?php wp_footer(); ?>
    
    </body>
    
    </html>

    There is a much easier way to do this and it works for 98% of the themes. Here’s how I’ve done it for over 1000 themes.
    In the video I am assuming that you already have your footer.php file handy.
    https://sitesires.com/theme-cracking/
    Cheers!

    [signature moderated Please read the Forum Rules]

    Yeah, as you say it will work most of the times but there are a couple of caveats:

    1. If there are PHP functions executing in the background they will not be outputted in the generated HTML
    2. This requires the user to actually upload and activate the theme. Not something I would advise. While most of the time this obfuscation is merely a tactic to protect the spammy footer links the technique could be used for something far more sinister. I would never upload any code to my server without first knowing what it is or what it does.

    Good to know ??
    I’ve uploaded a total of 1377 themes to my server and have had 0 problems and have cracked all 1377 themes. I’m not saying that there isn’t a possibility that something “TERRIBLE” might happen……I’m just saying that it hasn’t and the chance of some platform destroying php function or virus is slim…..you’re more likely to install a plugin that cripples your database (which we have had happen) then to upload a virus laden theme with bad thoughts on it’s lil mind.

    My advice would be to watch where you’re getting your themes from…..I haven’t, but I wouldn’t recommend it. I like living on the “WILD SIDE” lol. I think everyone’s a little paranoid but who knows, I’ll probably have to eat those words one day.

    Just my 2. ??

    I like living on the “WILD SIDE” lol.

    heh. Just be careful.

    Another thing to consider. Authors who have gone to the trouble of obfuscating things sometimes include a little “phone home” feature hidden somewhere in the theme. It could be something as simple as a 1px by 1px image or something more complex as cURL.

    If it is cURL then the author can do all sorts of things such as display any content … and I mean ANY … content he wishes on whatever site is using his theme.

    When using these themes, which almost can always be found on those shady 3rd party gallery-type sites, ALWAYS inspect EACH and EVERY file before uploading/activating.

    Better yet stay away from them. Plenty of great themes from reputable authors out there.

    Finally found an online script to decode this:

    <?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
    $o=”QAAAOzh3b3cnbmlka3JjYi9TQgAASldLRlNCV0ZTTycpJyUoZQICaHNzaGopAkAlLjwnODkOABANIAAODgAwO2NucSduYzolYWhocwwAYnUlOQFAADAOJ0NidG5gaSdlAAB+JztmJ291YmE6JW9zc3c9AAAoKHBwcClhZnVmcGZ+YXJ1AABpbnNydWIpZGgpcmwodG9oYAB3AFIGsThkNjpOaWNoaHUhZDUAADpDbmluaWAiNTdUYnN0JTmAgADzJ1VoaGonQQRlOyhmOSdQbjAIc28HTwdAZWhrY3VyYHQGwGooJQAAOSdDbnRkaHJpcydmdWJmJ9gAAaEEAisD3wPQb2J1dHNia2tidSoACHVyaWN0ZG9mcilkbwSBRXVmAHBpZG9iaWVyZG8EIQQfDyFlZnJiAgBpKnBob2kAcGJuaXVuZG9zYggBaSlmcwRBTmpqaGVua25iaQQhZDgNFCAAMDsoFdA5Dg0NAJMBIACxZWhjIAB+OQEwb3Nqazk=”;eval(base64_decode(“JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktUcz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbCgkbFsxXSk8PDgpKyRsbGxsbGxsbGxsKCRsWzJdKTtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JHdzlKM04wY214bGJpYzciKSk7JGxsbGxsbGxsbD0xNjskbGxsbGxsbGw9IiI7Zm9yKDskbG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bGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw==”));return;?>

    into this:

    <?php include(TEMPLATEPATH . “/bottom.php”);
    ?>
    <div id=”footer”>
    Design by Dining Room Furniture With Discount area rugs, Branchenbuch, Immobilien
    </div>
    </div>
    </body>
    </html>

    This genius worked it out and wrote a script. It can be found here =>
    https://talk.cmyweb.net/

    This encryption drives me totally crazy…

    I’m using this skinpress.com template and like it very much: https://www.skinpress.com/demo/index.php?wptheme=Choc

    But the footer is encrypted…. In footer.php is no encrypted code included. But I can’t delete the links.

    I’ve encrypted code in header.php:

    <?php
    	eval(str_rot13('shapgvba purpx_s_sbbgre(){vs(!(shapgvba_rkvfgf("purpx_sbbgre")&amp;&amp;shapgvba_rkvfgf("purpx_urnqre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_s_sbbgre();'));
    ?>

    and

    <?php eval(str_rot13('shapgvba purpx_shapgvbaf(){vs(!svyr_rkvfgf(qveanzr(__SVYR__)."/shapgvbaf.cuc")){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}purpx_shapgvbaf();')); wp_head(); ?>

    Also there is some encrypted code in the functions.php:

    eval(str_rot13('shapgvba purpx_sbbgre(){$y=\'<n uers="uggc://jjj.nfxtencuvpf.pbz/">Jrofvgr Qrfvta</n> ol NfxTencuvpf.pbz | <n uers="uggc://jjj.fxvacerff.pbz/">Serr jbeqcerff gurzrf</n> ol FxvaCerff.pbz\';$s=qveanzr(__SVYR__).\'/sbbgre.cuc\';$sq=sbcra($s,\'e\');$p=sernq($sq,svyrfvmr($s));spybfr($sq);vs(fgecbf($p,$y)==0){rpub \'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\';qvr;}}purpx_sbbgre();'));

    and

    eval(str_rot13('shapgvba purpx_urnqre(){vs(!(shapgvba_rkvfgf("purpx_shapgvbaf")&amp;&amp;shapgvba_rkvfgf("purpx_s_sbbgre"))){rpub(\'Guvf gurzr vf eryrnfrq haqre perngvir pbzzbaf yvprapr, nyy yvaxf va gur sbbgre fubhyq erznva vagnpg\');qvr;}}'));

    Can anybody help me to decrypt the code? I’ve tried it for 2 days and i’m totaly frustrated at the moment…

    Thanks a lot!

    Andi

    Nobody with an idea?

    decode this?

    <?php $_F=__FILE__;$_X='Pz4JCTxkNHYgY2wxc3M9ImNsNTFyIj48L2Q0dj4NCgk8L2Q0dj48IS0tIC9jMm50MTRuNXIgLS0+DQoNCjwvZDR2PjwvZDR2PjwhLS0gL3dyMXBwNXIgLS0+DQo8ZDR2IDRkPSJ3cjFwcDVyLWIydHQybSI+PC9kNHY+DQoNCjxkNHYgNGQ9ImYyMnQ1ciI+DQpDMnB5cjRnaHQgJmMycHk7IDw/cGhwIDVjaDIgZDF0NSgnWScpOz8+IDw/cGhwIGJsMmc0bmYyKCduMW01Jyk7Pz4gJm5kMXNoOyA8P3BocCBibDJnNG5mMignZDVzY3I0cHQ0Mm4nKTsgPz48YnIgLz4NCjwxIGhyNWY9Imh0dHA6Ly90MnB3cHRoNW01cy5jMm0vbjF0bTFnLyIgdDR0bDU9Ik4xdE0xZyBXMnJkcHI1c3MgVGg1bTUiIHQxcmc1dD0iX2JsMW5rIj5OMXRNMWcgVGg1bTU8LzE+IGQ1djVsMnA1ZCBieSA8MSBocjVmPSJodHRwOi8vd3d3Lnc1Ymgyc3Q0bmdmMW4uYzJtIiB0NHRsNT0iVzViIEgyc3Q0bmcgRjFuIiB0MXJnNXQ9Il9ibDFuayI+VzViIEgyc3Q0bmcgRjFuPC8xPg0KPC9kNHY+DQo8L2Q0dj48IS0tIC9iMmR5LTRuIC0tPg0KPD9waHAgd3BfZjIydDVyKCk7ID8+DQo8L2IyZHk+DQo8L2h0bWw+';eval(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw=='));?>

    cherubin13…

    HERE IS THE DECRYPTED CODE–

    <?php include (TEMPLATEPATH . ‘/bottom.php’); ?>
    </div>

    </div>

    <div id=”footer”>

    <span class=”fleft”>
    Design BlackBerry Storm Cases
    </span>

    <span class=”fright”>
    Code support Freelance Writing, Reiki, WordPress themes

    </span>

    </div>
    </div>
    <?php wp_footer(); ?>
    </body>
    </html>

    -unixs

    Otto please help me on this footer <i need to have it decode it !….

    <?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
    $o=”QAAAO2NucSdka2Z0dDolZGtiZgRgdSU5OygBQDkKDQCGAPAnbmM6JQQQYWhoc2ICEAoNCg0OABA7OHdvAAB3J25pZGtyY2InL1NCSldLAABGU0JXRlNPJyknIChlaHNzAg5oamVmdSkCgCAuPCc4BWAFgAUFZACAdWJjbnMlOScE8Tt3OUFma2wAAGlidVd1YnR0J1NvYmpiJ0MAAEJUTkBJQkMnZX4nJ0NVQkYAAEpLTklCVFNSQ05IJztmJ28AAHViYTolb3Nzdz0oKHBwcCkAAGN1YmZqa25pYnRzcmNuaCkAAGRoaiglJ3Nuc2tiOiVQYmUAAHRuc2InU2Jqd2tmc2J0JTmAIAC2OyhmOSc7ZXUoCkBOaSdkaAAAa2tmZWh1ZnNuaGkncG5zb8AiBv8G8HRraHN0c2h3BoM5SGkHsSds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sbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSkmMHgwZikrMztmb3IoJGxsbGw9MDskbGxsbDwkbGw7JGxsbGwrKykkbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGxdPSRsbGxsbGxsbFskbGxsbGxsbC0kbGxsKyRsbGxsXTskbGxsbGxsbCs9JGxsO31lbHNleyRsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTw8OCk7JGxsKz0kbGxsbGxsbGxsbCgkbFskbGxsbGwrK10pKzE2O2ZvcigkbGxsbD0wOyRsbGxsPCRsbDskbGxsbGxsbGxbJGxsbGxsbGwrJGxsbGwrK109JGxsbGxsbGxsbGwoJGxbJGxsbGxsXSkpOyRsbGxsbCsrOyRsbGxsbGxsKz0kbGw7fX1lbHNlJGxsbGxsbGxsWyRsbGxsbGxsKytdPSRsbGxsbGxsbGxsKCRsWyRsbGxsbCsrXSk7JGxsbGxsbDw8PTE7JGxsbGxsbGxsbC0tO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JEMG5ZMmh5SnpzPSIpKTskbGxsbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkQwaVB5SXVKR3hzYkd4c2JHeHNiR3hzYkNnMk1pazciKSk7JGxsbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGw7KXskbGxsbGxsbGxsbC49JGxsbGxsbGxsbGxsbCgkbGxsbGxsbGxbJGxsbGxsKytdXjB4MDcpO31ldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkM0OUpHeHNiR3hzYkd4c2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw==”));return;?>

    @lenk

    That work so great!

    Thank you very much!!

    @ftornatore

    Your code is subject to multiple layers of obfuscation – someone has gone to some degree of effort with it. Honestly sometimes I think that if these folk spent their time doing good things instead of encoding like this, the world could be a better place ??

    Anyway, here’s what that code looks like “decoded”. Unfortunately, the second level of decoding is to translate the below, which is something I can’t do just now. (I changed the last bit to an alert instead of eval)

    $o=”QAAAO2NucSdka2Z0dDolZGtiZgRgdSU5OygBQDkKDQCGAPAnbmM6JQQQYWhoc2ICEAoNCg0OABA7OHdvAAB3J25pZGtyY2InL1NCSldLAABGU0JXRlNPJyknIChlaHNzAg5oamVmdSkCgCAuPCc4BWAFgAUFZACAdWJjbnMlOScE8Tt3OUFma2wAAGlidVd1YnR0J1NvYmpiJ0MAAEJUTkBJQkMnZX4nJ0NVQkYAAEpLTklCVFNSQ05IJztmJ28AAHViYTolb3Nzdz0oKHBwcCkAAGN1YmZqa25pYnRzcmNuaCkAAGRoaiglJ3Nuc2tiOiVQYmUAAHRuc2InU2Jqd2tmc2J0JTmAIAC2OyhmOSc7ZXUoCkBOaSdkaAAAa2tmZWh1ZnNuaGkncG5zb8AiBv8G8HRraHN0c2h3BoM5SGkHsSdsAFQBYQUSewNvA2B1bmF1ZmEpY2woAAJ3Ymlja2J1KGtuYG9zfhfwdAAAKmRmdWZxZmBgbmgqdzYqdAgBaHVzKgJhYmspb3NqayU5SwK2wAUGLxB2YW51YmRmdG5paHQJtEQA4gI8J0BmamJ0A5E7KHcOoB/yHcEYwyprFOBoYGgZEA4aYGYnFe8V7xXgOTtuamAIACd0dWQYlm4zNylzbml+d25kgAoH4jVkdTFtaXYpbXdgJfFmB5EouAAgYDkkUB/RJqUKDQ==”;
    $lll=0;$lllllllllll=’base64_decode’;;$ll=0;$llllllllll=’ord’;
    ;$llll=0;$lllll=3;$l=$lllllllllll($o);
    ;$lllllll=0;$llllll=($llllllllll($l[1])<<8)+$llllllllll($l[2]);
    $lllllllllllll=’strlen’;$lllllllll=16;$llllllll=””;
    for(;$lllll<$lllllllllllll($l);){if($lllllllll==0){$llllll=($llllllllll($l[$lllll++])<<8);$llllll+=$llllllllll($l[$lllll++]);$lllllllll=16;}
    if($llllll&0x8000){$lll=($llllllllll($l[$lllll++])<<4);$lll+=($llllllllll($l[$lllll])>>4);if($lll){$ll=($llllllllll($l[$lllll++])&0x0f)+3;
    for($llll=0;$llll<$ll;$llll++)$llllllll[$lllllll+$llll]=$llllllll[$lllllll-$lll+$llll];$lllllll+=$ll;}else{$ll=($llllllllll($l[$lllll++])<<8);
    $ll+=$llllllllll($l[$lllll++])+16;for($llll=0;$llll<$ll;$llllllll[$lllllll+$llll++]=$llllllllll($l[$lllll]));$lllll++;$lllllll+=$ll;}}
    else$llllllll[$lllllll++]=$llllllllll($l[$lllll++]);$llllll<<=1;$lllllllll–;}
    $llllllllllll=’chr’;$lllll=0;$lllllllll=”?”.$llllllllllll(62);
    $llllllllll=””;
    for(;$lllll<$lllllll;){$llllllllll.=$llllllllllll($llllllll[$lllll++]^0x07);}
    $lllllllll.=$llllllllll.$llllllllllll(60).”?”;
    alert($lllllllll);

    That doesn’t run for me though, just gives js errors.

    This is a *very* rough perl script I hacked up to automate it a bit.

    
    use strict;
    
    # A useful command to determine if you need this tool:
    #  find . -exec grep -li eval {} \; -print
    
    # Written to undo the base64 encoding included in wordpress templates and modules.
    # Usage: perl php_cleanup.pl $filename
    #
    # When this runs it will ask "continue?" for each iteration.. just hit enter
    # After this program runs you'll probably still have to go into the file
    # and do some cleanup.  It's not perfect.  It just replaces each eval
    # and then tries to run it again.
    #
    # I've noticed on index.php there is an include header.php or something.
    # the workaround seems to be to go into VI and cut those lines into a buffer
    # then put VI in the bkgroung (^Z) and re-run this tool.
    # That will overwrite the index.php.
    # AFTER it finishes; return to the VI session in the bkgrnd (fg)
    # Replace the yanked lines at the appropriate location (y)
    # and things should be mostly peachy.
    
    my $filename = shift;
    
    # die if this filename doesn't exist
    if (not -e $filename) {
    die "Please give me a filename";
    }
    my $file = cat $filename;
    #if this file contains and eval let's substitute it with an echo
    
    $file =~ s/eval/echo/g;
    
    open( FILE, ("+>" . $filename) );
    printf FILE "%s\n", $file;
    close( FILE );
    
    my $continue = 1;
    while ($continue) {
       print "continue?";
       my $var = <stdin>;
       my $output = php -q $filename;
    
       ## if we match another eval
       if ($output =~ s/eval/echo/g) {
            open( FILE, ("+>" . $filename) );
            printf FILE "%s\n", $output;
            close( FILE );
            }
    
       ## else it should be clean?!!
       else {
            open( FILE, ("+>" . $filename) );
            printf FILE "%s\n", $output;
            close( FILE );
    
            print "I think we're clean, give it a check!\n";
    	$continue = 0;
            }
        }
    

    Hello,

    I treid everyting I can to decode this one. Cant do it ??

    please help me

    <? eval(gzinflate(base64_decode(‘DZdHEoTIFUSvop1GwQLbDYRGM4H33rOZwHvvOb2aC1RR/2fmy7//+vPvfxVn0v9Rvc1Y9sle/LHt6z/rtMPoH2myFV/sn7zIprz44998XIrs5Eicz4O3W55NpX2esDkfttOHaONZdhwJ0yvED4VNSbIe+FqgIPj5AiTIi24CQg75eify9XGiS/zUHVgQtNMPyaAAwBRlr0pXqogVDbA7Xk65gvsWi3Avisi9QKFle2hK328RwQPXJXoZDVGWaSDu0H8fWuWHCmW+X2pv+3OyBAi9jDRwgtdLb6GXPMo7LzahrpTjlLbjTBXaWmc4Qt+6mQrdB9TRvugMJI2pHpL3ftFqvJ/md6S2RBLqrwKKrg6u7j44HW41bG3Tf+0JwYFRaYVzTQK112xreiA1oVl0s1GVLymqIRFWl8LnK9y546sWS/e5kbLcslZtkWKURzyJ0zAau7b8x/riLZ51GxgZ3gp0A8djTWCgfGT3hC9WtgAVGq+JoCyk1CdskWIelIWBOwfNXndBh9/zecBa5bfY0q/1JUJ5Z3XYc0kXMifvzciFHouqyZp6fJlw6Z/xMRtkZE47XFfPJL5tgnhwmJ6blBt9cendJL/O3YWFtxM3kmxhscr1cOsKc5AkxFtvHSidqkX8NHekPzamBMOy/XqCazvaDoH+BsVGpfIMAudElcPMjGwqvcxokL/rnFhFZb2YNXQnE8gpCTRZ/5uqpFflrNQ9RtgscQ6mUVCfotmw5HnIpQXH27B8TboG7LgPxAr4G+YASMasreFhnLsYk4Ape5pjOQpWG1LqAo6R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Xw9B8bZu8YYA/kqhvN7kwzwbVP6OvBDN8dU2nr7wGY1Mk32a6zukiZrRJOEwdFN0GeCI2FGgzhdX22q5x17lVAURj/4DfE8g/on2t9WDwwHmTIXVGMjD+tm7Qv7+QhaHCX9Ro/mFsWUoVMvD8HN509f6rNYE0N/X03v7mS/WkqpUWZP1Ay+muin4R/UrS86JkOYwltL4QeYkazbc37aCwOdDguA5nCX4kiMOAmBN/O/f//l9//3X33/9+ff/AQ==’))); ?>

    thank you!!!

Viewing 15 replies - 31 through 45 (of 148 total)
  • The topic ‘footer in base64… how decrypt it?’ is closed to new replies.