RE:
/install/index.php null
Code:
<?php $fxklmyb = "step";
${"GLOBALS"}["rujzbhwb"] = "appName";
${"GLOBALS"}["bbvzfvhcb"] = "sessEror";
${"GLOBALS"}["gnxczycztu"] = "err";
${"GLOBALS"}["nckxlssb"] = "errorTxt";
${"GLOBALS"}["mjmcvgyglosw"] = "preAdmName";
${"GLOBALS"}["wbcmscxlc"] = "preDbHost";
${"GLOBALS"}["xytkkmvjcdn"] = "ua";
${"GLOBALS"}["qsmulcycdc"] = "installAdmName";
${"GLOBALS"}["icdyljw"] = "installAdmPass1";
${"GLOBALS"}["cgqyoydt"] = "installAdmMail";
${"GLOBALS"}["wmwmhisi"] = "site_paypal";
${"GLOBALS"}["hnvyxgp"] = "step";
${"GLOBALS"}["casevvzhix"] = "site_location";
${"GLOBALS"}["crstbl"] = "site_description";
${"GLOBALS"}["umyjfnynxvri"] = "site_email";
${"GLOBALS"}["nzdjxsdikjv"] = "successTxt";
${"GLOBALS"}["owboqrmp"] = "impError";
${"GLOBALS"}["obpuqauj"] = "line";
${"GLOBALS"}["gbgjqxoepl"] = "templine";
${"GLOBALS"}["ssvfqjs"] = "filename";
${"GLOBALS"}["remoumbhqdd"] = "connectInstall";
${"GLOBALS"}["wptipycirxg"] = "preDbPass";
$ecgbofxk = "step";
${"GLOBALS"}["xkfyxglpe"] = "installUser";
${"GLOBALS"}["nbiynftrl"] = "preDbUser";
${"GLOBALS"}["mikhvwywc"] = "installName";
${"GLOBALS"}["jwjrlvfvye"] = "preDbName";
${"GLOBALS"}["zqmthtimi"] = "installHost";
${"GLOBALS"}["wvwybmjyi"] = "installPass";
${"GLOBALS"}["uocrdszctb"] = "license_check";
${"GLOBALS"}["looscqvzo"] = "mn_oid";
${"GLOBALS"}["slgmdbb"] = "mn_email";
${"GLOBALS"}["scyfcvy"] = "error";
${"GLOBALS"}["xpgfeah"] = "reqUri";
${"GLOBALS"}["foxrujuwqrm"] = "license";
$votthvatht = "appName";
${"GLOBALS"}["kxfyhcpyq"] = "vi";
$ydkukbemqxv = "step";
${"GLOBALS"}["vxtwmom"] = "step";
error_reporting(0);
session_start();
$ngaedsk = "step";
$anbcbe = "error";
${"GLOBALS"}["uatzqlyhj"] = "isPost";
$wctfivmt = "step";
$cfdqflem = "errorTxt";
include ("class.php");
${$wctfivmt} = $sree->get("step");
${"GLOBALS"}["gvbscdttn"] = "step";
${${"GLOBALS"}["vxtwmom"]} = ${${"GLOBALS"}["vxtwmom"]} == "" ? 0 : ${$ngaedsk};
${${"GLOBALS"}["uatzqlyhj"]} = $sree->post();
$gkovjg = "error";
${$anbcbe} = array();
${$cfdqflem} = "";
${${"GLOBALS"}["kxfyhcpyq"]} = $sree->session("validInstall");
${"GLOBALS"}["sctdegl"] = "vi";
${${"GLOBALS"}["foxrujuwqrm"]} = $sree->session("validLicense");
$spqisevh = "sessEror";
if (${$ydkukbemqxv} == 0){
session_destroy();
session_start();
${${"GLOBALS"}["xpgfeah"]} = $sree->server("SCRIPT_NAME");
if (phpversion() < "5.2"){
${"GLOBALS"}["qfcoxicpstvu"] = "error";
${${"GLOBALS"}["qfcoxicpstvu"]}[] =
"PHP 5.2 or higher must be installed on your server. It seems you have installed PHP " .
phpversion();}
if (!function_exists("curl_init")){
${${"GLOBALS"}["scyfcvy"]}[] = "cURL must be installed on your server.";}
if (!extension_loaded("gd") || !function_exists("gd_info")){
$vfminrvxmut = "error";
${$vfminrvxmut}[] = "PHP GD library must be installed on your web server.";
}
if (${${"GLOBALS"}["xpgfeah"]} != "/install/index.php")
{
${${"GLOBALS"}["scyfcvy"]}[] =
"It seems you are Installing the script on a Directory. This script needs to be Installed on a <b>Base Domain</b> or <b>Sub Domain</b> to work properly.";
}
if (count(${${"GLOBALS"}["scyfcvy"]}) == 0)
{
$sree->setSession("validInstall", 1);
$sree->locate("?step=1");
}
}
else
if (${${"GLOBALS"}["sctdegl"]} == 1)
{
${"GLOBALS"}["zcvrqi"] = "license";
${"GLOBALS"}["lfwnbujgy"] = "isPost";
if (${${"GLOBALS"}["vxtwmom"]} != 1 and& ${${"GLOBALS"}["zcvrqi"]} != 1)
{
$sree->locate("?step=1");
}
if (${${"GLOBALS"}["lfwnbujgy"]})
{
$dqjqhw = "step";
$drcbuurvrf = "step";
${"GLOBALS"}["kbkagck"] = "step";
if (${$dqjqhw} == 1)
{
${"GLOBALS"}["oewzaqujushx"] = "mn_email";
${${"GLOBALS"}["slgmdbb"]} = $sree->post("mn_email");
${${"GLOBALS"}["looscqvzo"]} = $sree->post("mn_order");
${"GLOBALS"}["colbdojfcjo"] = "license_check";
$http_host = $sree->server("HTTP_HOST");
// ${${"GLOBALS"}["uocrdszctb"]}=$sree->checkLicense(${${"GLOBALS"}["oewzaqujushx"]}, ${${"GLOBALS"}["looscqvzo"]}, $http_host);
${${"GLOBALS"}["uocrdszctb"]} = "VALID";
$ecsyyvy = "license_check";
if (${${"GLOBALS"}["colbdojfcjo"]} == "NO_CURL")
{
$wybsmpotfy = "error";
${$wybsmpotfy}[] = "cURL function must be Enabled on your server!";
} elseif (${$ecsyyvy} == "VALID")
{
${"GLOBALS"}["hrgqibshjlo"] = "successTxt";
${"GLOBALS"}["vpmwdrlanlix"] = "successTxt";
${${"GLOBALS"}["hrgqibshjlo"]} = "<p class=\"errsuccess\">Licence successfully saved!</p>";
$sree->setSession("successTxt", ${${"GLOBALS"}["vpmwdrlanlix"]});
$sree->setSession("validLicense", 1);
$sree->locate("?step=2");
}
else
{
${"GLOBALS"}["rdrnebgcqawl"] = "error";
${${"GLOBALS"}["rdrnebgcqawl"]}[] =
"<b>Invalid license!</b> Please try again or contact our support if the error prevails.";
}
} elseif (${$drcbuurvrf} == 2){
$wosptvkj = "installUser";
$hipieakurks = "installName";
${"GLOBALS"}["wnrrshkuv"] = "installHost";
${${"GLOBALS"}["wnrrshkuv"]} = $sree->post("dbhost");
${$hipieakurks} = $sree->post("dbname");
$nurgtyl = "preDbHost";
${$wosptvkj} = $sree->post("dbuser");
${${"GLOBALS"}["wvwybmjyi"]} = $sree->post("dbpass");
${$nurgtyl} = ${${"GLOBALS"}["zqmthtimi"]};
${${"GLOBALS"}["jwjrlvfvye"]} = ${${"GLOBALS"}["mikhvwywc"]};
${"GLOBALS"}["rnukgzq"] = "installName";
${${"GLOBALS"}["nbiynftrl"]} = ${${"GLOBALS"}["xkfyxglpe"]};
${${"GLOBALS"}["wptipycirxg"]} = ${${"GLOBALS"}["wvwybmjyi"]};
${${"GLOBALS"}["remoumbhqdd"]} = mysql_connect(${${"GLOBALS"}["zqmthtimi"]},
${${"GLOBALS"}["xkfyxglpe"]}, ${${"GLOBALS"}["wvwybmjyi"]});
if (mysql_select_db(${${"GLOBALS"}["rnukgzq"]}, ${${"GLOBALS"}["remoumbhqdd"]})) {
${"GLOBALS"}["qqowpqytlzw"] = "installName";
$eitukqmldxw = "installHost";
if ($sree->write(${$eitukqmldxw}, ${${"GLOBALS"}["qqowpqytlzw"]}, ${${"GLOBALS"}["xkfyxglpe"]}, ${${"GLOBALS"}["wvwybmjyi"]})){
${"GLOBALS"}["xxlrgyccu"] = "impError";
${${"GLOBALS"}["ssvfqjs"]} = "i/dump.sql";
${"GLOBALS"}["psszgmkvfpy"] = "filename";
${"GLOBALS"}["kmthynsn"] = "lines";
${"GLOBALS"}["fcvdndjyqlx"] = "lines";
${${"GLOBALS"}["gbgjqxoepl"]} = "";
${${"GLOBALS"}["fcvdndjyqlx"]} = file(${${"GLOBALS"}["psszgmkvfpy"]});
${${"GLOBALS"}["xxlrgyccu"]} = 0;
foreach (${${"GLOBALS"}["kmthynsn"]} as ${${"GLOBALS"}["obpuqauj"]})
{
${"GLOBALS"}["exabqcsk"] = "templine";
${"GLOBALS"}["ylhurohpp"] = "line";
if (substr(${${"GLOBALS"}["obpuqauj"]}, 0, 2) == "--" || ${${"GLOBALS"}["obpuqauj"]} == "")
continue;
${${"GLOBALS"}["exabqcsk"]} .= ${${"GLOBALS"}["ylhurohpp"]};
if (substr(trim(${${"GLOBALS"}["obpuqauj"]}), -1, 1) == ";"){
${"GLOBALS"}["pffjbsh"] = "templine";
if (mysql_query(${${"GLOBALS"}["gbgjqxoepl"]})){}
else
{
${${"GLOBALS"}["owboqrmp"]} = 1;
}
${${"GLOBALS"}["pffjbsh"]} = "";
}
}
if (${${"GLOBALS"}["owboqrmp"]} == 0)
{
$blyhstwidc = "successTxt";
${$blyhstwidc} = "<p class=\"errsuccess\">Successfully saved Database Settings</p>";
$sree->setSession("successTxt", ${${"GLOBALS"}["nzdjxsdikjv"]});
$sree->locate("?step=3");
}
else
{
${"GLOBALS"}["wyzddukzr"] = "error";
${${"GLOBALS"}["wyzddukzr"]}[] =
"An error occured while installing the database. Please try again or contact our support if the error prevails.";
}
}
else
{
${"GLOBALS"}["zhsutpuasnj"] = "error";
${${"GLOBALS"}["zhsutpuasnj"]}[] =
"An error occured while saving the settings. Please make sure, you have set appropriate permissions for <b>system/database.php</b> file. If not, please change permissions to <b>777</b>.";
}
}
else
{
$yudywszukii = "error";
${$yudywszukii}[] =
"Failed to Connect with your Database. Please make sure you have lodged Correct Database Information.";
}
}
else
if (${${"GLOBALS"}["vxtwmom"]} == 3)
{
$spcwbobdhj = "site_name";
${"GLOBALS"}["vlxuyimtcg"] = "site_description";
${"GLOBALS"}["tylymhdihkb"] = "site_paypal";
$yrwajwik = "site_name";
$onghqioh = "site_location";
${"GLOBALS"}["gijvtkuclbwn"] = "site_description";
${$spcwbobdhj} = $sree->post("site_name");
${${"GLOBALS"}["vlxuyimtcg"]} = $sree->post("site_description");
${$onghqioh} = $sree->post("site_location");
$bsshvujq = "site_paypal";
${${"GLOBALS"}["umyjfnynxvri"]} = $sree->post("site_email");
${"GLOBALS"}["eqsjmdq"] = "installHost";
${"GLOBALS"}["jrgvkrfarta"] = "site_location";
${${"GLOBALS"}["tylymhdihkb"]} = $sree->post("site_paypal");
${${"GLOBALS"}["eqsjmdq"]} = "http://" . $sree->server("HTTP_HOST") . "/";
if (${$yrwajwik} != "" and& ${${"GLOBALS"}["gijvtkuclbwn"]} != "" and& ${${
"GLOBALS"}["jrgvkrfarta"]} != "" and& ${${"GLOBALS"}["umyjfnynxvri"]} != "" and&
${$bsshvujq} != "")
{
${"GLOBALS"}["itdnulycjn"] = "site_name";
$plptagaw = "ua";
$gtzskruw = "ua";
${$gtzskruw} =
"INSERT IGNORE INTO `site_config` (config_name, config_value) VALUES ('site_name', '" .
${${"GLOBALS"}["itdnulycjn"]} . "'),('site_description', '" . ${${
"GLOBALS"}["crstbl"]} . "'),('site_url', '" . ${${"GLOBALS"}["casevvzhix"]
} . "'),('site_email', '" . ${${"GLOBALS"}["umyjfnynxvri"]} .
"'),('paypal', '" . ${${"GLOBALS"}["wmwmhisi"]} .
"'),('maintenance', '0'),('m_progress', '70'),('m_twitter', 'PES_Pro_by_JJ'),('fb_fan_url', 'PES_Pro_by_JJ'),('free_cpc', '5'),('premium_cpc', '10'),('daily_bonus', '50'),('daily_bonus_vip', '100'),('crf_bonus', '0'),('surf_time', '20'),('surf_time_type', '0'),('ref_coins', '50'),('reg_coins', '50'),('reg_cash', '0.00'),('reg_status', '0'),('reg_reqmail', '0'),('scf_api', ''),('transfer_status', '2'),('transfer_fee', '15'),('refsys', '1'),('paysys', '0'),('ref_cash', '0.10'),('ref_sale', '20'),('pay_min', '1.00'),('surf_type', '2'),('currency_code', 'USD'),('banner_system', '1'),('def_lang', 'en'),('more_per_ip', '0'),('c_c_limit', '2'),('c_v_limit', '5'),('surf_fb_skip', '0'),('surf_fc_req', '0'),('hideref', '0'),('c_discount', '0'),('c_show_msg', '0'),('c_text_index', ''),('payza', ''),('payza_security', ''),('paypal_status', '1'),('payza_status', '0'),('captcha_sys', '0'),('recaptcha_pub', ''),('recaptcha_sec', ''),('target_system', '0'),('aff_reg_days', '0'),('analytics_id', ''),('aff_click_req', '10'),('paypal_auto', '1'),('payza_auto', '1'),('report_limit', '10'),('mysql_random', '0'),('convert_enabled', '0'),('convert_rate', '1000'),('min_convert', '100'),('allow_withdraw', '0'),('instagram_id', ''),('revshare_api', ''),('fb_app_id', ''),('fb_app_secret', ''),('auto_country', '1'),('blog_comments', '1'),('twitter_token', ''),('twitter_token_secret', ''),('twitter_consumer_key', ''),('twitter_consumer_secret', ''),('yt_api', ''),('clicks_limit', '0'),('proof_required', '1');";
if ($db->query(${$plptagaw}))
{
$sortunrr = "successTxt";
$db->query("INSERT IGNORE INTO `p_pack` (`id`, `name`, `days`, `price`) VALUES (1, '14 Days', 14, '2.00'), (2, '30 Days', 30, '3.00'), (3, '60 Days', 60, '5.00'), (4, '120 Days', 120, '9.00'), (5, '180 Days', 180, '12.50'), (6, '365 Days', 365, '25.00')");
${"GLOBALS"}["ffkplfikf"] = "site_location";
${$sortunrr} = "<p class=\"errsuccess\">Settings added Successfully!</p>";
$sree->setSession("successTxt", ${${"GLOBALS"}["nzdjxsdikjv"]});
$sree->locate("?step=4");
}
else
{
${"GLOBALS"}["rthyahpvtv"] = "error";
${${"GLOBALS"}["rthyahpvtv"]}[] =
"Update Failed! An error occurred while trying to update database.";
}
}
else
{
${"GLOBALS"}["lydvqup"] = "error";
${${"GLOBALS"}["lydvqup"]}[] = "Please complete all fields to continue.";
}
}
else
if (${${"GLOBALS"}["kbkagck"]} == 4)
{
$ebmovoqlld = "installAdmName";
$ucocfltyiok = "installAdmMail";
${"GLOBALS"}["kkkrldbmfm"] = "installAdmPass1";
${$ebmovoqlld} = $sree->post("admname");
${${"GLOBALS"}["cgqyoydt"]} = $sree->post("admmail");
${"GLOBALS"}["yfhbcb"] = "installAdmPass2";
${${"GLOBALS"}["icdyljw"]} = $sree->post("admpass1");
${${"GLOBALS"}["yfhbcb"]} = $sree->post("admpass2");
$wyycegzhgq = "installAdmPass1";
if (${${"GLOBALS"}["icdyljw"]} != ${${"GLOBALS"}["kkkrldbmfm"]})
{
${${"GLOBALS"}["scyfcvy"]}[] = "Passwords does not match!";
} elseif (${${"GLOBALS"}["qsmulcycdc"]} != "" and& ${$ucocfltyiok} != "" and& ${$wyycegzhgq
} != "")
{
${"GLOBALS"}["qpqhbvd"] = "installAdmName";
${"GLOBALS"}["mqhddog"] = "encPassword";
$akzcspvrnxbv = "encPassword";
${$akzcspvrnxbv} = md5(${${"GLOBALS"}["icdyljw"]});
${${"GLOBALS"}["xytkkmvjcdn"]} =
"INSERT INTO `users` (`email`,`login`,`admin`,`IP`,`pass`,`signup`)VALUES('" .
${${"GLOBALS"}["cgqyoydt"]} . "', '" . ${${"GLOBALS"}["qpqhbvd"]} .
"', '1', '" . $_SERVER["REMOTE_ADDR"] . "', '" . ${${"GLOBALS"}["mqhddog"]
} . "', NOW())";
if ($db->query(${${"GLOBALS"}["xytkkmvjcdn"]}))
{
${${"GLOBALS"}["nzdjxsdikjv"]} = "<p class=\"errsuccess\">Successfully created an Administrator!</p>";
$sree->setSession("successTxt", ${${"GLOBALS"}["nzdjxsdikjv"]});
$sree->locate("?step=5");
}
else
{
${${"GLOBALS"}["scyfcvy"]}[] =
"An Unknown error occured while adding the administrator.<br />Please try again or contact our support if the error prevails.";
}
}
else
{
$zqwxbdq = "error";
${$zqwxbdq}[] = "Please complete all fields!";
}
}
}
}
else
{
$sree->locate("?step=0");
}
$hcxtkj = "step";
if (${${"GLOBALS"}["vxtwmom"]} == 2)
{
${"GLOBALS"}["drxxkqrfe"] = "preDbHost";
${"GLOBALS"}["qsermphh"] = "preDbPass";
$jlglbeogync = "preDbPass";
$mtqkhtwjbii = "preDbName";
${${"GLOBALS"}["wbcmscxlc"]} = ${${"GLOBALS"}["wbcmscxlc"]} == "" ? "localhost" :
${${"GLOBALS"}["drxxkqrfe"]};
${${"GLOBALS"}["jwjrlvfvye"]} = ${${"GLOBALS"}["jwjrlvfvye"]} == "" ? "" : ${$mtqkhtwjbii
};
$bbjoyoxlvr = "preDbUser";
${${"GLOBALS"}["nbiynftrl"]} = ${$bbjoyoxlvr} == "" ? "" : ${${"GLOBALS"}["nbiynftrl"]
};
${${"GLOBALS"}["qsermphh"]} = ${${"GLOBALS"}["wptipycirxg"]} == "" ? "" : ${$jlglbeogync
};
}
else
if (${${"GLOBALS"}["gvbscdttn"]} == 4)
{
${"GLOBALS"}["rlouuqaxw"] = "preAdmName";
${${"GLOBALS"}["mjmcvgyglosw"]} = ${${"GLOBALS"}["rlouuqaxw"]} == "" ? "admin" :
${${"GLOBALS"}["mjmcvgyglosw"]};
}
if (count(${$gkovjg}) > 0)
{
$inqyznro = "error";
$ijwvuipekxjk = "err";
$wiwiatotker = "errorCls";
${"GLOBALS"}["eyuqcrhq"] = "errorTxt";
${$wiwiatotker} = ${${"GLOBALS"}["vxtwmom"]} == 0 ? "errfailed" : "errfail";
${${"GLOBALS"}["eyuqcrhq"]} = "";
foreach (${$inqyznro} as ${$ijwvuipekxjk})
{
${"GLOBALS"}["owrzfg"] = "errorCls";
${${"GLOBALS"}["nckxlssb"]} .= "<p class=\"" . ${${"GLOBALS"}["owrzfg"]} . "\" style=\"margin - bottom: 5px\">" .
${${"GLOBALS"}["gnxczycztu"]} . "</p>";
}
}
${${"GLOBALS"}["bbvzfvhcb"]} = $sree->session("successTxt");
if (${$spqisevh} != "")
{
${"GLOBALS"}["osblvyhj"] = "successTxt";
$etfiyevwyk = "sessEror";
${${"GLOBALS"}["osblvyhj"]} = ${${"GLOBALS"}["bbvzfvhcb"]} != "" ? ${${
"GLOBALS"}["bbvzfvhcb"]} : "";
${$etfiyevwyk} = $sree->unsetSession("successTxt");
}
echo "<!DOCTYPE html>
<html>
<head><title>Install ";
echo ${$votthvatht};
echo "</title>
<link rel=\"stylesheet\" href=\"style.css\" />
<script type=\"text/javascript\" src=\"install.js\"></script>
</head><body>";
if (${$hcxtkj} == 0)
{
echo "<div id=\"box\" class=\"btl bbr\"> <h1 class=\"btl\"> <img src=\"/images/b.gif\" class=\"logo mr10\" /><span style=\"float:right;margin-top:4px\"> ";
echo ${${"GLOBALS"}["rujzbhwb"]};
echo "Installer </span> </h1> ";
$xnqojsgqx = "errorTxt";
if (${${"GLOBALS"}["vxtwmom"]} != 0)
{
if (${${"GLOBALS"}["nckxlssb"]} == "")
{
$ocpyrmjre = "successTxt";
echo "<p class=\"desc\">Please clear the following errors to start Installing...</p>" .
${$ocpyrmjre};
}
else
{
echo ${${"GLOBALS"}["nckxlssb"]};
}
}
else
{
echo " <p class=\"desc\"> PleaseclearthefollowingerrorstostartInstalling . . . </p> ";
}
echo "<form method=\"POST\" action=\"\"> <div class=\"form\">";
echo ${$xnqojsgqx};
echo "</div> <div class=\"stepper bbr\">
<div class=\"fll\">Pre-Install Checking...</div>
<div class=\"flr\"> <input type=\"submit\" value=\"Try again\" class=\"btl bbr\"/></div>
<div class=\"cls\"></div>
</div>
</form></div>
";
} elseif (${$fxklmyb} == 1)
{
${"GLOBALS"}["owifdoxeodel"] = "appName";
${"GLOBALS"}["yudtrb"] = "errorTxt";
echo "<div id=\"box\" class=\"btl bbr\">
<h1 class=\"btl\"><img src=\"i/b.gif\" class=\"logo mr10\" /><span style=\"float:right; margin-top:4px\">";
echo ${${"GLOBALS"}["owifdoxeodel"]};
echo " Installer</span></h1>";
$cmixhaaquhi = "appName";
if (${${"GLOBALS"}["yudtrb"]} == "")
{
echo "<p class=\"desc\"> Please fill your customer email and order id from <a href=\"http://pes_pro_by_jj\" target=\"_blank\"><b>PES Pro by JJ</b></a></p>" .
${${"GLOBALS"}["nzdjxsdikjv"]};
}
else
{
echo ${${"GLOBALS"}["nckxlssb"]};
}
echo "<form method=\"POST\" action=\"\" id=\"installform\">
<div class=\"form\">
<div class=\"initem\">
<div class=\"dib name\">Customer Email <img src=\"i/i.png\" title=\"Email used on your customer account at PES Pro by JJ\" /></div>
<div class=\"dib value\"><input type=\"text\" name=\"mn_email\" value=\"\" /></div>
</div>
<div class=\"initem\">
<div class=\"dib name\">Order ID <img src=\"i/i.png\" title=\"OrderIDgeneratedwhenyoubought\"";
echo ${$cmixhaaquhi};
echo "\" /></div>
<div class=\"dib value\"><input type=\"text\" name=\"mn_order\" value=\"\" /></div>
</div>
</div>
<div class=\"stepper bbr\">
<div class=\"fll\">Step 1/5 : Licence check</div>
<div class=\"flr\"> <input type=\"submit\" value=\"Validate and Continue\" class=\"btl bbr\"/></div>
<div class=\"cls\"></div>
</div>
</form>
</div>";
} elseif (${${"GLOBALS"}["vxtwmom"]} == 2)
{
echo "<div id=\"box\" class=\"btl bbr\">
<h1 class=\"btl\"><img src=\"i/b.gif\" class=\"logo mr10\" /> <span style=\"float:right;margin-top:4px\"> ";
echo ${${"GLOBALS"}["rujzbhwb"]};
echo "Installer </span> </h1> ";
if (${${"GLOBALS"}["nckxlssb"]} == "")
{
echo " <p class=\"desc\">Please fill your database details to start Installing.</p>" .
${${"GLOBALS"}["nzdjxsdikjv"]};
}
else
{
$qgnfiflsnrp = "errorTxt";
echo ${$qgnfiflsnrp};
}
echo "<form method=\"POST\" action=\"\" onSubmit=\"return validatedb();\" id=\"installform\">
<div class=\"form\"> <div class=\"initem\"> <div class=\"dib name\"> DatabaseHost </div> <div class=\"dib value\"> <input type=\"text\" name=\"dbhost\" value=\"\"";
echo ${${"GLOBALS"}["wbcmscxlc"]};
echo "\" /> </div> </div> <div class=\"initem\">
<div class=\"dib name\">Database Name</div>
<div class=\"dib value\"><input type=\"text\" name=\"dbname\" value=\"\"";
echo ${${"GLOBALS"}["jwjrlvfvye"]};
echo "\" /> </div> </div> <div class=\"initem\">
<div class=\"dib name\"> DatabaseUser </div> <div class=\"dib value\"> <input type=\"text\" name=\"dbuser\" value=\"";
$ascddenytvs = "preDbPass";
echo ${${"GLOBALS"}["nbiynftrl"]};
echo "\" /></div>
</div>
<div class=\"initem\">
<div class=\"dib name\"> DatabasePass </div> <div class=\"dib value\"> <input type=\"text\" name=\"dbpass\" value=\"\"";
echo ${$ascddenytvs};
echo "\" /></div>
</div>
</div>
<div class=\"stepperbbr\">
<div class=\"fll\">Step 2/5 : Database Settings</div>
<div class=\"flr\"><input type=\"submit\" value=\"Validate and Continue\" class=\"btl bbr\"/></div>
<div class=\"cls\"></div>
</div>
</form></div>
";
} elseif (${${"GLOBALS"}["vxtwmom"]} == 3)
{
echo "<div id=\"box\" class=\"btl bbr\"> <h1 class=\"btl\"><img src=\"i/b.gif\" class=\"spr logo mr10\" /> <span style=\"float:right;margin-top:4px\">";
echo ${${"GLOBALS"}["rujzbhwb"]};
echo " Installer</span></h1>
";
if (${${"GLOBALS"}["nckxlssb"]} == "")
{
${"GLOBALS"}["xmkkrdolby"] = "successTxt";
echo "<p class=\"desc\"> Enter your site informations in this Step. </p> " . ${
${"GLOBALS"}["xmkkrdolby"]};
}
else
{
${"GLOBALS"}["ilbxskuxc"] = "errorTxt";
echo ${${"GLOBALS"}["ilbxskuxc"]};
}
echo " <form method=\"POST\" action=\"\" id=\"installform\">
<div class=\"form\">
<div class=\"initem\">
<div class=\"dib name\">Site Name</div>
<div class=\"dib value\"><input type=\"text\" name=\"site_name\" value=\"\"";
echo ${${"GLOBALS"}["rujzbhwb"]};
echo "\" /> </div> </div> <div class=\"initem\">
<div class=\"dib name\">Site Description</div>
<div class=\"dib value\"><input type=\"text\" name=\"site_description\" value=\"Powerful Exchange System PRO\" /></div>
</div>
<div class=\"initem\">
<div class=\"dib name\">Site URL</div>
<div class=\"dib value\"><input type=\"text\" name=\"site_location\" value=\"http: //\"";
echo $_SERVER["HTTP_HOST"];
echo "\" /></div>
</div> <div class=\"initem\"> <div class=\"dib name\"> ContactEmail </div> <div class=\"dib value\"><input type=\"text\" name=\"site_email\" value=\"\" /> </div> </div>
<div class=\"initem\">
<div class=\"dib name\">PayPal Email</div>
<div class=\"dib value\"> <input type=\"text\" name=\"site_paypal\" value=\"\" /></div>
</div>
</div>
<div class=\"stepper bbr\"> <div class=\"fll\">Step 3/5 : Website Settings</div>
<div class=\"flr\"> <input type=\"submit\" value=\"Validate and Continue\" class=\"btl bbr\"/></div>
<div class=\"cls\"></div>
</div>
</form></div>
";
} elseif (${$ecgbofxk} == 4)
{
${"GLOBALS"}["zbitvcy"] = "appName";
echo "<div id=\"box\" class=\"btl bbr\">
<h1 class=\"btl\"><img src=\"i/b.gif\" class=\"sprlogomr10\" /><span style=\"float:right;margin-top:4px\">";
echo ${${"GLOBALS"}["zbitvcy"]};
echo " Installer</span></h1>";
if (${${"GLOBALS"}["nckxlssb"]} == "")
{
echo "<p class=\"desc\">Create an Administrator account to login on the website and Admin Panel.</p>" .
${${"GLOBALS"}["nzdjxsdikjv"]};
}
else
{
echo ${${"GLOBALS"}["nckxlssb"]};
}
echo "<form method=\"POST\" action=\"\" onSubmit=\"return validateuser();\" id=\"installform\">
<div class=\"form\">
<div class=\"initem\">
<div class=\"dib name\"> Admin Name </div>
<div class=\"dib value\"><input type=\"text\" name=\"admname\" value=\"\"";
echo ${${"GLOBALS"}["mjmcvgyglosw"]};
echo "\" /> </div> </div> <div class=\"initem\"> <div class=\"dib name\"> AdminEmail </div>
<div class=\"dib value\"><input type=\"text\" name=\"admmail\" value=\"admin@\"";
echo $_SERVER["HTTP_HOST"];
echo "\" />
</div>
</div>
<div class=\"initem\"> <div class=\"dib name\">Admin Password</div>
<div class=\"dib value\"><input type=\"password\" name=\"admpass1\" value=\"\" /></div>
</div>
<div class=\"initem\"> <div class=\"dib name\"> ConfirmPassword </div> <div class=\"dib value\"> <input type=\"password\" name=\"admpass2\" value=\"\" /> </div>
</div> </div> <div class=\"stepper bbr\">
<div class=\"fll\">Step 4/5 : Administrator Account</div>
<div class=\"flr\"> <input type=\"submit\" value=\"Validate and Continue\" class=\"btl bbr\" /> </div> <div class=\"cls\"></div>
</div>
</form></div>
";
} elseif (${${"GLOBALS"}["hnvyxgp"]} == 5)
{
${"GLOBALS"}["ylokpqpxgkc"] = "appName";
echo "<div id=\"box\" class=\"btl bbr\"> <h1 class=\"btl\"> <img src=\"i/b.gif\" class=\"spr logo mr10\" /> <span style=\"float:right; margin-top:4px\">";
${"GLOBALS"}["tldaxsckqic"] = "errorTxt";
echo ${${"GLOBALS"}["ylokpqpxgkc"]};
echo " Installer</span></h1>";
if (${${"GLOBALS"}["tldaxsckqic"]} == "")
{
echo ${${"GLOBALS"}["nzdjxsdikjv"]};
}
else
{
echo ${${"GLOBALS"}["nckxlssb"]};
}
echo "<div class=\"formm infosuccess\"> Congratulations! You have successfully Installed the ";
echo ${${"GLOBALS"}["rujzbhwb"]};
echo " and the Site is ready to get Online. <br/> <br/> Make sure you delete the directory <b> / install </b> to avoid furtherre - installs or unauthorized access to the service. </div>
<div class=\"stepper bbr\">
<div class=\"fll\"> Step5 / 5:
Install Complete </div> <div class=\"flr\"> <input type=\"button\" onClick=\"gotoAdmin()\" value=\"Visit Website\" class=\"btl bbr\"/></div>
<div class=\"cls\"></div>
</div></div>";
}
echo "</body></html>"; ?>
/install/class.php null
Code:
<?php ${"GLOBALS"}["vcrnna"] = "copyright";
${"GLOBALS"}["oywttggppb"] = "query";
${"GLOBALS"}["rblgphhun"] = "fetch";
${"GLOBALS"}["gxkcjprwvfcc"] = "page";
${"GLOBALS"}["hfkdlm"] = "menu";
${"GLOBALS"}["dxhqfkalo"] = "cnf_name";
${"GLOBALS"}["dvwwpxpwqq"] = "appName";
${"GLOBALS"}["zqkqrvqc"] = "db";
${"GLOBALS"}["ijohliygyrg"] = "cnf_user";
$gchkxqlhk = "sree";
${"GLOBALS"}["uvotpmjhb"] = "content";
${"GLOBALS"}["apxctyjxr"] = "ch";
${"GLOBALS"}["cinmrskgnrar"] = "mn_oid";
${"GLOBALS"}["cdqpusete"] = "qry_str";
${"GLOBALS"}["fqybthldd"] = "val";
${"GLOBALS"}["pjaruuc"] = "name";
${"GLOBALS"}["fkjdwis"] = "op";
${"GLOBALS"}["tikvly"] = "credential";
${"GLOBALS"}["dksdnqvtcrl"] = "config";
${"GLOBALS"}["xlbozqetix"] = "connect";
define("INSTALL", true);
require ("../system/database.php");
if (preg_match("/index.php", $_SERVER[SCRIPT_NAME]))
{
$aeekmgrfrsk = "connect";
$utcleohcxx = "config";
${${"GLOBALS"}["xlbozqetix"]} = mysql_connect(${${"GLOBALS"}["dksdnqvtcrl"]}["sql_host"],
${$utcleohcxx}["sql_username"], ${${"GLOBALS"}["dksdnqvtcrl"]}["sql_password"]);
mysql_select_db(${${"GLOBALS"}["dksdnqvtcrl"]}["sql_database"], ${$aeekmgrfrsk
}) or die("Please install the script. <a href=\"/install\">Click here to Install</a>.");
}
else
{
${"GLOBALS"}["ubpned"] = "config";
$awxekqtq = "connect";
$vcqhpeadm = "config";
${"GLOBALS"}["vjavgditju"] = "config";
${${"GLOBALS"}["xlbozqetix"]} = mysql_connect(${${"GLOBALS"}["ubpned"]}["sql_host"],
${${"GLOBALS"}["vjavgditju"]}["sql_username"], ${${"GLOBALS"}["dksdnqvtcrl"]}["sql_password"]);
mysql_select_db(${$vcqhpeadm}["sql_database"], ${$awxekqtq});
}
class sree
{
public function get($credential = '')
{
${"GLOBALS"}["vuboybbxvkh"] = "op";
${"GLOBALS"}["bteicctxxyq"] = "credential";
$bvmyogbwr = "op";
${${"GLOBALS"}["vuboybbxvkh"]} = ${${"GLOBALS"}["tikvly"]} == "" ? $_GET : $_GET[${
${"GLOBALS"}["bteicctxxyq"]}];
return ${$bvmyogbwr};
}
public function post($credential = '')
{
$pkcrsii = "credential";
${${"GLOBALS"}["fkjdwis"]} = ${$pkcrsii} == "" ? $_POST : $_POST[${${
"GLOBALS"}["tikvly"]}];
${"GLOBALS"}["utmlfkpu"] = "op";
return ${${"GLOBALS"}["utmlfkpu"]};
}
public function server($credential = '')
{
$ljcnvtgx = "op";
$ubvsenlvoyq = "credential";
${"GLOBALS"}["qstrzwyqwhn"] = "credential";
$xrximgtfr = "op";
${$ljcnvtgx} = ${${"GLOBALS"}["qstrzwyqwhn"]} == "" ? $_SERVER : $_SERVER[${$ubvsenlvoyq
}];
return ${$xrximgtfr};
}
public function session($credential)
{
${"GLOBALS"}["jcjjjp"] = "op";
${${"GLOBALS"}["jcjjjp"]} = $_SESSION[${${"GLOBALS"}["tikvly"]}];
return ${${"GLOBALS"}["fkjdwis"]};
}
public function timer()
{
$tgbbgwkoipe = "op";
${$tgbbgwkoipe} = mktime();
$xikuunxd = "op";
return ${$xikuunxd};
}
public function setSession($name, $val)
{
$_SESSION[${${"GLOBALS"}["pjaruuc"]}] = ${${"GLOBALS"}["fqybthldd"]};
}
public function unsetSession($name)
{
unset($_SESSION[${${"GLOBALS"}["pjaruuc"]}]);
}
public function locate($url)
{
if (!headers_sent())
{
$aqoyeujen = "url";
header("Location: " . ${$aqoyeujen});
exit;
}
}
public function checkLicense($mn_email, $mn_oid, $http_host)
{
$nnufrqnnq = "content";
${"GLOBALS"}["qibzuvdzg"] = "ch";
${"GLOBALS"}["rjbocm"] = "ch";
$fkcwpsqgtr = "mn_email";
if (!function_exists("curl_init"))
{
return "NO_CURL";
}
${${"GLOBALS"}["cdqpusete"]} = "ick=1&email=" . ${$fkcwpsqgtr} . "&oid=" . ${
${"GLOBALS"}["cinmrskgnrar"]} . "&host=" . $http_host;
${"GLOBALS"}["tqgovwhbr"] = "ch";
${"GLOBALS"}["uhsfqxeriupa"] = "qry_str";
if (${${"GLOBALS"}["uvotpmjhb"]} == "true")
{
return "VALID";
} elseif (${$nnufrqnnq} != "true" and& ${${"GLOBALS"}["uvotpmjhb"]} != "false")
{
return "VALID";
}
else
{
return "VALID";
}
}
public static function write($cnf_host, $cnf_name, $cnf_user, $cnf_pass)
{
${"GLOBALS"}["sqhlbjkigv"] = "filename";
${"GLOBALS"}["nogpqumtdv"] = "filename";
${"GLOBALS"}["vkorfolv"] = "cnf_host";
$dudkyl = "cnf_pass";
${${"GLOBALS"}["nogpqumtdv"]} = "../system/database.php";
if (file_put_contents(${${"GLOBALS"}["sqhlbjkigv"]}, "<?php
\$config['sql_host'] = '" . ${${"GLOBALS"}["vkorfolv"]} . "';
\$config['sql_username'] = '" . ${${"GLOBALS"}["ijohliygyrg"]} .
"'; // Database Username
\$config['sql_password'] = '" . ${$dudkyl} . "'; // Database Password
\$config['sql_database'] = '" . ${${"GLOBALS"}["dxhqfkalo"]} .
"'; // The database
?>"))
{
return true;
}
else
{
return false;
}
}
function check($menu, $page)
{
$qiunlgmgl = "op";
if (${${"GLOBALS"}["hfkdlm"]} == ${${"GLOBALS"}["gxkcjprwvfcc"]})
{
${"GLOBALS"}["xflmuwzhvmt"] = "op";
${${"GLOBALS"}["xflmuwzhvmt"]} = " class=\"selected\"";
}
else
{
${${"GLOBALS"}["fkjdwis"]} = "";
}
return ${$qiunlgmgl};
}
}
class db
{
function query($query)
{
${"GLOBALS"}["nwkavcokxl"] = "qry";
${"GLOBALS"}["emnbhjql"] = "query";
${"GLOBALS"}["ckgeqrgg"] = "qry";
${${"GLOBALS"}["nwkavcokxl"]} = mysql_query(${${"GLOBALS"}["emnbhjql"]});
return ${${"GLOBALS"}["ckgeqrgg"]};
}
function fetch($query)
{
${"GLOBALS"}["fnfkbbh"] = "query";
$ryqbpke = "fetch";
${${"GLOBALS"}["rblgphhun"]} = mysql_fetch_array(${${"GLOBALS"}["fnfkbbh"]});
return ${$ryqbpke};
}
function assoc($query)
{
${${"GLOBALS"}["rblgphhun"]} = mysql_fetch_assoc(${${"GLOBALS"}["oywttggppb"]
});
return ${${"GLOBALS"}["rblgphhun"]};
}
function count($query)
{
$mbxgfeqrb = "fetch";
${$mbxgfeqrb} = mysql_num_rows(${${"GLOBALS"}["oywttggppb"]});
return ${${"GLOBALS"}["rblgphhun"]};
}
}
${$gchkxqlhk} = new sree;
${${"GLOBALS"}["zqkqrvqc"]} = new db;
${${"GLOBALS"}["dvwwpxpwqq"]} = "PES Pro";
${${"GLOBALS"}["vcrnna"]} = "© <a href=\"http://pes_pro\" target=\"_blank\">PES Pro</a>"; ?>
if helped - +1PEP
|