Обфускация кода (вопросы, просьбы зашифровать/расшифровать скрипт )

Discussion in 'PHP' started by Sharky, 29 Sep 2009.

  1. GRRRL Power

    GRRRL Power Elder - Старейшина

    Joined:
    13 Jul 2010
    Messages:
    823
    Likes Received:
    185
    Reputations:
    84
    BoniFaci, держи
    PHP:
    if ( !defined('BASEPATH')) exit('No direct script access allowed');
    $config['base_url'] = 'http://aion-wingsofliberty.ru/';
    $config['index_page'] = '';
    $config['uri_protocol'] = 'AUTO';
    $config['url_suffix'] = '';
    $config['language'] = 'russian';
    $config['charset'] = 'UTF-8';
    $config['enable_hooks'] = FALSE;
    $config['subclass_prefix'] = 'MY_';
    $config['permitted_uri_chars'] = 'A-Za-zРђ-РЇР°-СЏ=\s&0-9~%\.:_-';
    $config['allow_get_array'] = TRUE;
    $config['enable_query_strings'] = FALSE;
    $config['controller_trigger'] = 'c';
    $config['function_trigger'] = 'm';
    $config['directory_trigger'] = 'd';
    $config['log_threshold'] = 1;
    $config['log_path'] = '';
    $config['log_date_format'] = 'Y-m-d H:i:s';
    $config['stamp'] = 'e57ba8a325fb2048da3f52b50c427487ef860805';
    $config['cache_path'] = '';
    $config['encryption_key'] = 'fdultpbqrkvyjghcn';
    $config['sess_cookie_name'] = 'ci_session';
    $config['sess_expiration'] = 7200;
    $config['sess_expire_on_close'] = FALSE;
    $config['sess_encrypt_cookie'] = TRUE;
    $config['sess_use_database'] = TRUE;
    $config['sess_table_name'] = 'ci_sessions';
    $config['sess_match_ip'] = TRUE;
    $config['sess_match_useragent'] = TRUE;
    $config['sess_time_to_update'] = 300;
    $config['cookie_prefix'] = "";
    $config['cookie_domain'] = "";
    $config['cookie_path'] = "/";
    $config['cookie_secure'] = FALSE;
    $config['global_xss_filtering'] = TRUE;
    $config['csrf_protection'] = FALSE;
    $config['csrf_token_name'] = 'csrf_test_name';
    $config['csrf_cookie_name'] = 'csrf_cookie_name';
    $config['csrf_expire'] = 7200;
    $config['compress_output'] = FALSE;
    $config['time_reference'] = 'Europe/Moscow';
    $config['rewrite_short_tags'] = TRUE;
    $config['proxy_ips'] = '';
    $config['version'] = '2.4';
     
  2. BoniFaci

    BoniFaci New Member

    Joined:
    23 Oct 2011
    Messages:
    6
    Likes Received:
    0
    Reputations:
    0
    Большущее спасибо, GRRRL Power! +10 в репу добавил! Ещё такой щипитильный вопрос: можете выложить в личку этапы работы пусть даже в текстовом файле. Прошу описать этапы ещё и потому что таких файлов зашифрованных у меня много и не хотелось бы каждый раз с новым файлом лезьть на форум и тревожить вас. Принцип я читал на первой странице, пробовал сам делать, но потом зашёл в ступор, когда дошёл до этого:
    PHP:
    $O000O0O00=$OOO000O00($OOO0O0O00,'rb');$O0O00OO00($O000O0O00,0x48f);$OO00O00O0=$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,0x384),'iLzdhbrcN3HfsKDUaS8RjFQoMGZ9gyIT0pAt5YWxC2J/P7EBnuVve41qOmwl6kX+=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'));eval($OO00O00O0);
     
    #422 BoniFaci, 24 Oct 2011
    Last edited: 24 Oct 2011
  3. GRRRL Power

    GRRRL Power Elder - Старейшина

    Joined:
    13 Jul 2010
    Messages:
    823
    Likes Received:
    185
    Reputations:
    84
    Если все файлы одинаково зашифрованы, то такой автоматический расшифровщик может помочь:
    PHP:
    <?php
    //имя файла обфусцированного скрипта
    $_filename "ophp.txt";

    $_script file_get_contents($_filename);

    if(!
    preg_match('/<\?php(.+)\?>/s'$_script$_s1))
      die(
    'Cannot decrypt 1');

    $_s1 $_s1[1];

    $_s2 str_replace('eval(''$_s3=('$_s1);

    if(
    $_s2 == $_s1)
      die(
    'Cannot decrypt 2');

    eval(
    $_s2);

    $_s4 preg_replace('/\(\$\S+,\'rb\'\)/s''(\''.$_filename.'\',\'rb\')'$_s3);

    if(
    $_s4 == $_s3)
      die(
    'Cannot decrypt 3');

    $_s5 str_replace('eval(''$_s6=('$_s4);

    if(
    $_s5 == $_s6)
      die(
    'Cannot decrypt 4');

    eval(
    $_s5);

    $_s7 str_replace('eval(''$_s10=('$_s6);

    if(
    $_s7 == $_s6)
      die(
    'Cannot decrypt 5');

    $_s8 str_replace('die(''foo('$_s7);

    if(
    $_s8 == $_s7)
      print(
    'Warn: Cannot decrypt 6<br>');

    $_s9 str_replace('while(''while(false&&'$_s8);

    if(
    $_s9 == $_s8)
      print(
    'Warn: Cannot decrypt 7<br>');

    eval(
    $_s9);

    $_s10 htmlspecialchars($_s10);

    print <<<HERE
    <html><body><textarea rows=30 cols=100>
    $_s10
    </textarea></body></html>
    HERE;

    function 
    foo($a)
    {}
    ?>
     
    #423 GRRRL Power, 24 Oct 2011
    Last edited: 24 Oct 2011
  4. Grasps

    Grasps Banned

    Joined:
    14 Dec 2008
    Messages:
    0
    Likes Received:
    0
    Reputations:
    0
    Помогите декодировать код

    Добрый день, когда то давно закриптовал код с помощью Eugen Shell, а вот сейчас необходимо поправить его...Да вот исходник куда то подевался...Сервисами пробовал, echo вставлял(хотя может и криво).
    Вот примерчик кода:
    Люди добрые помогите пожалуйста, вернее объясните как расшифровать.
     
  5. GRRRL Power

    GRRRL Power Elder - Старейшина

    Joined:
    13 Jul 2010
    Messages:
    823
    Likes Received:
    185
    Reputations:
    84
    Такое впечатление, что все, что тут зашифровано, это

    PHP:
    ?><?php 
    include "header.php";
    ?><?
    А вся расшифровка - вставить echo вместо eval, получить некий контент, вставить в нем в свою очередь вместо eval echo, и всё.
     
  6. Grasps

    Grasps Banned

    Joined:
    14 Dec 2008
    Messages:
    0
    Likes Received:
    0
    Reputations:
    0
    Да, действительно там иклюд в качестве примера, сам криптованый код примерно на 4кб..
    Спасибо, но есть небольшая проблема..Сделал все как указано.. есть одно НО(( К примеру выдал
    PHP:
    curl_setopt($chCURLO}_USERAGEN}, 'Mozillompatible; MSIE 5.0; }indows N} 5.0)');
    за место
    PHP:
      curl_setopt($chCURLOPT_USERAGENT'Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 5.0)');
    тоесть режет некоторые слова..Пробовал и на локалке и на хосте..

    И еще после второй замены eval'a выдает
    PHP:
    ?>");} } @fclose ($file); } readfile($filecache); ///////////// exit; } ?><?
     
  7. merfo

    merfo New Member

    Joined:
    5 Sep 2011
    Messages:
    11
    Likes Received:
    3
    Reputations:
    0
    Скидывай весь код, посмотрю.
     
  8. НTL

    НTL Elder - Старейшина

    Joined:
    26 Jan 2008
    Messages:
    715
    Likes Received:
    205
    Reputations:
    -26
    Использую шаблонизатор smarty. Как выводить конечный код в оду строку?
     
  9. sova1611

    sova1611 New Member

    Joined:
    10 Jan 2009
    Messages:
    30
    Likes Received:
    3
    Reputations:
    0
    снимите пожалуйста http://pastebin.com/mcfjfRZd
     
  10. e777er

    e777er New Member

    Joined:
    23 Oct 2011
    Messages:
    1
    Likes Received:
    0
    Reputations:
    0
    Помогите пожалуйста с кодом
    http://pastebin.com/FXDcwyNg
     
  11. BeerMan

    BeerMan New Member

    Joined:
    5 Nov 2011
    Messages:
    7
    Likes Received:
    0
    Reputations:
    0
    PHP:
    session_start ( ) ;
    require_once ( 
    "../config.php") ;
    require_once ( 
    "../classes/manipulate.php") ;
    require_once ( 
    "../classes/misc.func.php") ;
    $data = new DataManipulator ( ) ;
    get_status_license ( ) ;
    if ( 
    $_POST )
    {
    $post_array $_POST ;
    $post_array["psd_password"] = md5 $post_array["psd_password"] ) ;
    $admin_detail $data->select "Admins","*",array ( "AdminEmail"=>addslashes $post_array["txtEmailAddress"] ) ,"AdminPassword"=>$post_array["psd_password"] ) ) ;
    if ( !empty ( 
    $admin_detail ) )
    {
    $admin_detail $admin_detail[0] ;
    $_SESSION["login_admin_id"] = intval $admin_detail["AdminID"] ) ;
    $_SESSION["login_admin_email"] = $admin_detail["AdminEmail"] ;
    $_SESSION["admin_rights"]["r_home"] = intval $admin_detail["IsSite_Manage"] ) ;
    $_SESSION["admin_rights"]["r_coupon"] = intval $admin_detail["IsCoupon_Manage"] ) ;
    $_SESSION["admin_rights"]["r_website"] = intval $admin_detail["IsWebsite_Manage"] ) ;
    $_SESSION["admin_rights"]["r_tag"] = intval $admin_detail["IsTag_Manage"] ) ;
    $_SESSION["admin_rights"]["r_comment"] = intval $admin_detail["IsComment_Manage"] ) ;
    $_SESSION["admin_rights"]["r_account"] = intval $admin_detail["IsAccount_Manage"] ) ;
    $_SESSION["admin_rights"]["r_page"] = intval $admin_detail["IsPage_Manage"] ) ;
    header "location:home.php") ;
    exit ( ) ;
    }
    }
    header "location:index.php") ;
     
  12. BeerMan

    BeerMan New Member

    Joined:
    5 Nov 2011
    Messages:
    7
    Likes Received:
    0
    Reputations:
    0
    Помогите и мне никак немогу с 2 файлами справиться(((
    http://pastebin.com/GLqmCjmv
    http://pastebin.com/tgeqi02g
     
  13. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    http://pastebin.com/RPw1RPBt
    http://pastebin.com/8bsS4JjP
     
    _________________________
  14. BeerMan

    BeerMan New Member

    Joined:
    5 Nov 2011
    Messages:
    7
    Likes Received:
    0
    Reputations:
    0
    Огромное спасибо!
    Чем декодировал?
     
  15. Kaimi

    Kaimi Well-Known Member

    Joined:
    23 Aug 2007
    Messages:
    1,732
    Likes Received:
    811
    Reputations:
    231
    Руками
     
    _________________________
  16. BeerMan

    BeerMan New Member

    Joined:
    5 Nov 2011
    Messages:
    7
    Likes Received:
    0
    Reputations:
    0
    ето я заметил
     
  17. Sko_fake

    Sko_fake New Member

    Joined:
    10 Nov 2011
    Messages:
    2
    Likes Received:
    0
    Reputations:
    0
    Декодируйте пожалуйста =)
    http://pastebin.com/900q6SDv
     
  18. deplorer

    deplorer New Member

    Joined:
    10 Nov 2011
    Messages:
    4
    Likes Received:
    0
    Reputations:
    0
    Помогите дешифровать

    PHP:
    <?php // This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited.
    eval(base64_decode('Pz48P3BocApjbGFzcyBYTUxDcmVhdG9yCnsKZnVuY3R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2ZpbGVfZXhpc3RzKCR0aGlzLT5mdXJsX3AuKCRzZj1MbEdVZEZnNnkzbGU1WFFEajUoJGksJERHc0xLdkNtMjdlVikuJHRoaXMtPmZhcHApKTskaSsrKXsKY29weSgkdGhpcy0+ZnVybF9wLiRzZixkRjB4M1VPZEcwRW1CeXZXLiRzZik7Cn0KfQpmdW5jdGlvbiBxSUFjMms5ZmgwdmxFYWpVbSgkREdzTEt2Q20yN2VWKQp7CiRjbiA9ICcnOwpmb3IoJGk9MDtmaWxlX2V4aXN0cygkc2Y9ZEYweDNVT2RHMEVtQnl2Vy5MbEdVZEZnNnkzbGU1WFFEajUoJGksJERHc0xLdkNtMjdlVikuJHRoaXMtPmZhcHApOyRpKyspCnsKCiRjbiAuPSAkdGhpcy0+ZmFwcD9pbXBsb2RlKCcnLGd6ZmlsZSgkc2YpKTpCMHRjaFNOdDJLcmtjKCRzZik7Cn0KcHJlZ19tYXRjaF9hbGwoJyM8bG9jPiguKj8pPC9sb2M+IycsJGNuLCR1bSk7CnJldHVybiAkdW1bMV07Cn0KfQokSHhCcmVKTEVfUiA9IG5ldyBYTUxDcmVhdG9yKCk7Cj8+'));
    ?>
     
  19. N@b$ter

    N@b$ter Elder - Старейшина

    Joined:
    6 Oct 2009
    Messages:
    293
    Likes Received:
    73
    Reputations:
    21
    http://zalil.ru/32035424
     
  20. deplorer

    deplorer New Member

    Joined:
    10 Nov 2011
    Messages:
    4
    Likes Received:
    0
    Reputations:
    0
    $DGsLKvCm27eV = basename($ZrV0VdSRuUd1C2bTbu['xs_smname']);

    Это нормальный декодинг? помоему тут имена переменных не совсем коректно расшифровались