Нужно декодировать пару .php файлов

Discussion in 'PHP' started by micle, 5 Feb 2008.

  1. micle

    micle New Member

    Joined:
    4 Feb 2006
    Messages:
    11
    Likes Received:
    0
    Reputations:
    -1
    они все такого вида:


    <?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
    $o="QAAAOzgnJCcjTmM9J2toYGhycwBAKXdvdytxJzYpACInNTc3MCgAADc+KDUyJzY0PTc2PTI/J2wAAGZ0c2JzJ0J/dycjCg0KDXUAAGJ2cm51YlhoaWRiLyVuaWQACGtyY2IoZGhqamhpKQDwJS48joECXWtuZQIVALACHyUBYCh0YnR0bgQwyAMAwAIiCg0FQ1hvYmZjYnV0LwWBAlQEBFhuaW5zARIKDW5hJy8jAYQuJwtEfAoNDgDUWA4zAnJ6BOZ1YmML4GRzBAAvICkoIAUxCg04OQ==";eval(base64_decode("JGxsbD0wO2V2YWwoYmFzZTY0X2RlY29kZSgiSkd4c2JHeHNiR3hzYkd4c1BTZGlZWE5sTmpSZlpHVmpiMlJsSnpzPSIpKTskbGw9MDtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd3OUoyOXlaQ2M3IikpOyRsbGxsPTA7JGxsbGxsPTM7ZXZhbCgkbGxsbGxsbGxsbGwoIkpHdzlKR3hzYkd4c2JHeHNiR3hzS0NSdktUcz0iKSk7JGxsbGxsbGw9MDskbGxsbGxsPSgkbGxsbGxsbGxsbCgkbFsxXSk8PDgpKyRsbGxsbGxsbGxsKCRsWzJdKTtldmFsKCRsbGxsbGxsbGxsbCgiSkd4c2JHeHNiR3hzYkd4c2JHdzlKM04wY214bGJpYzciKSk7JGxsbGxsbGxsbD0xNjskbGxsbGxsbGw9IiI7Zm9yKDskbGxsbGw8JGxsbGxsbGxsbGxsbGwoJGwpOyl7aWYoJGxsbGxsbGxsbD09MCl7JGxsbGxsbD0oJGxsbGxsbGxsbGwoJGxbJGxsbGxsKytdKTw8OCk7JGxsbGxsbCs9JGxsbGxsbG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2JHd3VKR3hzYkd4c2JHeHNiR3hzYkNnMk1Da3VJajhpT3c9PSIpKTtldmFsKCRsbGxsbGxsbGwpOw=="));return;?>
     
  2. iddqd

    iddqd Banned

    Joined:
    19 Dec 2007
    Messages:
    637
    Likes Received:
    519
    Reputations:
    19
    Там несколько раз кодировали base 64
    юзай это http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/Default.aspx
     
  3. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    Основной код выглядит так:
    PHP:
    $lll=0;eval($lllllllllll='base64_decode';);$ll=0;eval($lllllllllll("$llllllllll='ord';"));$llll=0;$lllll=3;eval($lllllllllll("$l=$lllllllllll($o);"));$lllllll=0;$llllll=($llllllllll($l[1])<<8)+$llllllllll($l[2]);eval($lllllllllll("$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--;}eval($lllllllllll("$llllllllllll='chr';"));$lllll=0;eval($lllllllllll("$lllllllll="?".$llllllllllll(62);"));$llllllllll="";for(;$lllll<$lllllll;){$llllllllll.=$llllllllllll($llllllll[$lllll++]^0x07);}eval($lllllllllll("$lllllllll.=$llllllllll.$llllllllllll(60)."?";"));eval($lllllllll);
     
    _________________________
  4. nc.STRIEM

    nc.STRIEM Members of Antichat

    Joined:
    5 Apr 2006
    Messages:
    1,036
    Likes Received:
    347
    Reputations:
    292
    PHP:
    <?
    $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)."?";
        
        eval(
    $lllllllll); 
    // echo $lllllllll;

     
    #4 nc.STRIEM, 6 Feb 2008
    Last edited: 6 Feb 2008
  5. madnet

    madnet Умиротворенный

    Joined:
    9 Dec 2004
    Messages:
    868
    Likes Received:
    343
    Reputations:
    423
    _________________________
    1 person likes this.
  6. bobob

    bobob Member

    Joined:
    2 Jun 2006
    Messages:
    111
    Likes Received:
    69
    Reputations:
    -15
    маднет красавулька