www.webdeveloper.com
Results 1 to 5 of 5

Thread: how i decode this

  1. #1
    Join Date
    Apr 2011
    Posts
    1

    Question how i decode this

    i found this in the script and there are three or four like this :



    Code:
    <?php ini_set('include_path',dirname(__FILE__));function A4540acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){return $Xew6e79316561733d64abdf00f8e8ae48;}function b5434f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){return $Xew6e79316561733d64abdf00f8e8ae48;}function c43dsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){return $Xew6e79316561733d64abdf00f8e8ae48;}function Xdsf0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){return $Xew6e79316561733d64abdf00f8e8ae48;}function y0666f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){$x0b43c25ccf2340e23492d4d3141479dc='';$x71510c08e23d2083eda280afa650b045=0;$x16754c94f2e48aae0d6f34280507be58=strlen($x897356954c2cd3d41b221e3f24f99bba);$x7a86c157ee9713c34fbd7a1ee40f0c5a=hexdec('&H'.substr($x276e79316561733d64abdf00f8e8ae48,0,2));for($x1b90e1035d4d268e0d8b1377f3dc85a2=2;$x1b90e1035d4d268e0d8b1377f3dc85a2<strlen($x276e79316561733d64abdf00f8e8ae48);$x1b90e1035d4d268e0d8b1377f3dc85a2+=2){$xe594cc261a3b25a9c99ec79da9c91ba5=hexdec(trim(substr($x276e79316561733d64abdf00f8e8ae48, $x1b90e1035d4d268e0d8b1377f3dc85a2, 2)));$x71510c08e23d2083eda280afa650b045=(($x71510c08e23d2083eda280afa650b045<$x16754c94f2e48aae0d6f34280507be58)?$x71510c08e23d2083eda280afa650b045 + 1:1);$xab6389e47b1edcf1a5267d9cfb513ce5=$xe594cc261a3b25a9c99ec79da9c91ba5 ^ ord(substr($x897356954c2cd3d41b221e3f24f99bba, $x71510c08e23d2083eda280afa650b045-1, 1));if($xab6389e47b1edcf1a5267d9cfb513ce5<=$x7a86c157ee9713c34fbd7a1ee40f0c5a)$xab6389e47b1edcf1a5267d9cfb513ce5=255+$xab6389e47b1edcf1a5267d9cfb513ce5-$x7a86c157ee9713c34fbd7a1ee40f0c5a;else $xab6389e47b1edcf1a5267d9cfb513ce5=$xab6389e47b1edcf1a5267d9cfb513ce5-$x7a86c157ee9713c34fbd7a1ee40f0c5a;$x0b43c25ccf2340e23492d4d3141479dc=$x0b43c25ccf2340e23492d4d3141479dc.chr($xab6389e47b1edcf1a5267d9cfb513ce5);$x7a86c157ee9713c34fbd7a1ee40f0c5a=$xe594cc261a3b25a9c99ec79da9c91ba5;} return $x0b43c25ccf2340e23492d4d3141479dc;}function f5434f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function j43dsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function hdsf0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function tr5434f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function f0666f0acdeed38d4cd9084ade1739498($x) { return implode('',file($x));} function g0666f0acdeed38d4cd9084ade1739498($s){return (strstr($s,'echo')==false?(strstr($s,'print')==false)?(strstr($s,'sprint')==false)?(strstr($s,'sprintf')==false)?false:exit():exit():exit():exit());}function hyr3dsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function uygf0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function drfg34f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function jhkgvdsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;}function yrdhhdacdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba,$x276e79316561733d64abdf00f8e8ae48){if(file_exists($x456e79316561733d64abdf00f8e8ae48)){unlink($x456e79316561733d64abdf00f8e8ae48);};return $Xew6e79316561733d64abdf00f8e8ae48;} ini_set('include_path','.');?>

  2. #2
    Join Date
    Apr 2005
    Location
    Bathurst, NSW, Australia
    Posts
    3,357
    I don't believe they are "codes" but just strange function and variable names.

  3. #3
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,175
    It's easier to see the structure after "beautifying" the code. As to what's going on, I have better things to do than try to guess what someone's obfuscated code is doing. Frankly, any code that's gone to this much trouble to hide what it's doing is not code I'm interested in using, as there is so much unobfuscated and open-source PHP code out there to do the vast majority of things I might need done. I would not risk using it unless/until I did, indeed, figure out what it's doing, as such obfuscation is often used to conceal malicious code (though sometimes it is merely to try to protect the creator's intellectual property, so to speak).
    PHP Code:
    <?php
    ini_set
    ('include_path'dirname(__FILE__));
    function 
    A4540acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    b5434f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    c43dsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    Xdsf0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    y0666f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       
    $x0b43c25ccf2340e23492d4d3141479dc '';
       
    $x71510c08e23d2083eda280afa650b045 0;
       
    $x16754c94f2e48aae0d6f34280507be58 strlen($x897356954c2cd3d41b221e3f24f99bba);
       
    $x7a86c157ee9713c34fbd7a1ee40f0c5a hexdec('&H' substr($x276e79316561733d64abdf00f8e8ae4802));
       for (
    $x1b90e1035d4d268e0d8b1377f3dc85a2 2$x1b90e1035d4d268e0d8b1377f3dc85a2 strlen($x276e79316561733d64abdf00f8e8ae48); $x1b90e1035d4d268e0d8b1377f3dc85a2+= 2) {
          
    $xe594cc261a3b25a9c99ec79da9c91ba5 hexdec(trim(substr($x276e79316561733d64abdf00f8e8ae48$x1b90e1035d4d268e0d8b1377f3dc85a22)));
          
    $x71510c08e23d2083eda280afa650b045 = (($x71510c08e23d2083eda280afa650b045 $x16754c94f2e48aae0d6f34280507be58) ? $x71510c08e23d2083eda280afa650b045 1);
          
    $xab6389e47b1edcf1a5267d9cfb513ce5 $xe594cc261a3b25a9c99ec79da9c91ba5 ord(substr($x897356954c2cd3d41b221e3f24f99bba$x71510c08e23d2083eda280afa650b045 11));
          if (
    $xab6389e47b1edcf1a5267d9cfb513ce5 <= $x7a86c157ee9713c34fbd7a1ee40f0c5a$xab6389e47b1edcf1a5267d9cfb513ce5 255 $xab6389e47b1edcf1a5267d9cfb513ce5 $x7a86c157ee9713c34fbd7a1ee40f0c5a;
          else 
    $xab6389e47b1edcf1a5267d9cfb513ce5 $xab6389e47b1edcf1a5267d9cfb513ce5 $x7a86c157ee9713c34fbd7a1ee40f0c5a;
          
    $x0b43c25ccf2340e23492d4d3141479dc $x0b43c25ccf2340e23492d4d3141479dc chr($xab6389e47b1edcf1a5267d9cfb513ce5);
          
    $x7a86c157ee9713c34fbd7a1ee40f0c5a $xe594cc261a3b25a9c99ec79da9c91ba5;
       }
       return 
    $x0b43c25ccf2340e23492d4d3141479dc;
    }
    function 
    f5434f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    j43dsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    hdsf0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    tr5434f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    f0666f0acdeed38d4cd9084ade1739498($x)
    {
       return 
    implode(''file($x));
    }
    function 
    g0666f0acdeed38d4cd9084ade1739498($s)
    {
       return (
    strstr($s'echo') == false ? (strstr($s'print') == false) ? (strstr($s'sprint') == false) ? (strstr($s'sprintf') == false) ? false : exit() : exit() : exit() : exit());
    }
    function 
    hyr3dsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    uygf0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    drfg34f0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    jhkgvdsd0acdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    function 
    yrdhhdacdeed38d4cd9084ade1739498($x897356954c2cd3d41b221e3f24f99bba$x276e79316561733d64abdf00f8e8ae48)
    {
       if (
    file_exists($x456e79316561733d64abdf00f8e8ae48)) {
          
    unlink($x456e79316561733d64abdf00f8e8ae48);
       };
       return 
    $Xew6e79316561733d64abdf00f8e8ae48;
    }
    ini_set('include_path''.'); ?>
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

  4. #4
    Join Date
    Apr 2011
    Posts
    3
    why to do that.i have no idea.pls tell me why?

  5. #5
    Join Date
    Apr 2006
    Posts
    493

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles