Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


Show other level

	${
	"GLOBALS"
}
["htouyjdno"]="copyright";
	${
	"GLOBALS"
}
["hkmbikwzf"]="appName";
	${
	"GLOBALS"
}
["lpobtocdi"]="db";
	${
	"GLOBALS"
}
["wvnguke"]="fetch";
	${
	"GLOBALS"
}
["xtlipidkuy"]="qry";
	${
	"GLOBALS"
}
["espdwxtsw"]="query";
	${
	"GLOBALS"
}
["rciugiwpf"]="cnf_name";
	${
	"GLOBALS"
}
["stxzlurl"]="cnf_pass";
	${
	"GLOBALS"
}
["olfodpqd"]="sree";
	${
	"GLOBALS"
}
["pprnwrtjw"]="cnf_user";
	${
	"GLOBALS"
}
["gdoclyl"]="cnf_host";
	${
	"GLOBALS"
}
["dulkhqwcsriv"]="filename";
	${
	"GLOBALS"
}
["uokfkmvafvsd"]="hash";
	${
	"GLOBALS"
}
["funltsuouig"]="userid";
	${
	"GLOBALS"
}
["zdlfugokrwr"]="toHash";
	${
	"GLOBALS"
}
["ajnluejmq"]="password";
	${
	"GLOBALS"
}
["zdovxyh"]="content";
	${
	"GLOBALS"
}
["pwqdnexcn"]="qry_str";
	${
	"GLOBALS"
}
["tbjegweg"]="ch";
	${
	"GLOBALS"
}
["cnlkmpwxo"]="url";
	${
	"GLOBALS"
}
["rlpfstyq"]="name";
	${
	"GLOBALS"
}
["qcecturcnot"]="credential";
	${
	"GLOBALS"
}
["xijyadqlhlkd"]="op";
	${
	"GLOBALS"
}
["xkdmcxjbcdco"]="config";
	${
	"GLOBALS"
}
["zamsctchgqr"]="connect";
define("INSTALL",true);
require("../system/database.php");
	if(preg_match("/index.php",$_SERVER[SCRIPT_NAME])){
	$rdwkkxg="config";
	$ikzmgndxs="config";
	$dqbtekthr="connect";
		${
			${
			"GLOBALS"
		}
		["zamsctchgqr"]
	}
		=mysql_connect(${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_host"],${
		$ikzmgndxs
	}
		["sql_username"],${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
	["sql_password"]);
		mysql_select_db(${
		$rdwkkxg
	}
		["sql_database"],${
		$dqbtekthr
	}
	)or die("Please install the script. <a href=\"/install">Click here to Install</a>.");
}
	else{
		${
		"GLOBALS"
	}
	["fbfnxco"]="config";
		${
		"GLOBALS"
	}
	["lqhmexloujw"]="config";
	$papcukxcqh="connect";
	$zatjytr="connect";
		${
		$papcukxcqh
	}
		=mysql_connect(${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_host"],${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_username"],${
			${
			"GLOBALS"
		}
		["fbfnxco"]
	}
	["sql_password"]);
		mysql_select_db(${
			${
			"GLOBALS"
		}
		["lqhmexloujw"]
	}
		["sql_database"],${
		$zatjytr
	}
	);
}
	class sree{
		public function get($credential=''){
		$qekklsxyj="op";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
			==""?$_GET:$_GET[${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
		];
			return${
			$qekklsxyj
		};
	}
		public function post($credential=''){
		$wnzlevvufp="op";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
			==""?$_POST:$_POST[${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
		];
			return${
			$wnzlevvufp
		};
	}
		public function server($credential=''){
			${
			"GLOBALS"
		}
		["xsstkxb"]="credential";
		$hvslgkk="credential";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
			$hvslgkk
		}
			==""?$_SERVER:$_SERVER[${
				${
				"GLOBALS"
			}
			["xsstkxb"]
		}
		];
			return${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		};
	}
		public function session($credential){
		$xxsbtqc="credential";
			${
			"GLOBALS"
		}
		["bqrmoiv"]="op";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=$_SESSION[${
			$xxsbtqc
		}
		];
			return${
				${
				"GLOBALS"
			}
			["bqrmoiv"]
		};
	}
		public function timer(){
			${
			"GLOBALS"
		}
		["zwxsturbfm"]="op";
			${
				${
				"GLOBALS"
			}
			["zwxsturbfm"]
		}
		=mktime();
			return${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		};
	}
		public function setSession($name,$val){
			${
			"GLOBALS"
		}
		["kxjhwv"]="val";
			$_SESSION[${
				${
				"GLOBALS"
			}
			["rlpfstyq"]
		}
			]=${
				${
				"GLOBALS"
			}
			["kxjhwv"]
		};
	}
		public function unsetSession($name){
			${
			"GLOBALS"
		}
		["eekyjbonqfe"]="name";
			unset($_SESSION[${
				${
				"GLOBALS"
			}
			["eekyjbonqfe"]
		}
		]);
	}
		public function locate($url){
			if(!headers_sent()){
				header("Location: ".${
					${
					"GLOBALS"
				}
				["cnlkmpwxo"]
			}
			);
			exit;
		}
	}
		public function checkLicense($hash_key,$order_id,$domain){
			if(!function_exists("curl_init")){
			return"NO_CURL";
		}
			${
			"GLOBALS"
		}
		["wbjsjgdvbrsf"]="qry_str";
		$lgxwfgggf="ch";
		$wtzcqd="ch";
			${
			"GLOBALS"
		}
		["ukhugtoju"]="content";
			${
			"GLOBALS"
		}
		["unjxcmojij"]="domain";
		$ngezefnty="order_id";
		$qniqoq="hash_key";
		$yhqbfhtjs="content";
			${
				${
				"GLOBALS"
			}
			["wbjsjgdvbrsf"]
		}
			="hash=".${
			$qniqoq
		}
			."&oid=".${
			$ngezefnty
		}
			."&host=".${
				${
				"GLOBALS"
			}
			["unjxcmojij"]
		};
			${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		=curl_init();
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_URL,base64_decode("aHR0cDovL21uLXNob3AuY29tL2xpY2Vuc2UvbmdtYWZpYV92Mi5waHA="));
		$hpsgitq="content";
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_RETURNTRANSFER,1);
			curl_setopt(${
			$lgxwfgggf
		}
		,CURLOPT_IPRESOLVE,CURL_IPRESOLVE_V4);
		$vhdsfgmyg="ch";
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_TIMEOUT,30);
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_POST,1);
		$ljyjciyw="ch";
			curl_setopt(${
			$wtzcqd
		}
			,CURLOPT_POSTFIELDS,${
				${
				"GLOBALS"
			}
			["pwqdnexcn"]
		}
		);
			${
				${
				"GLOBALS"
			}
			["zdovxyh"]
		}
			=trim(curl_exec(${
			$vhdsfgmyg
		}
		));
			curl_close(${
			$ljyjciyw
		}
		);
		$wwwguswtsc="content";
			if(${
			$wwwguswtsc
		}
			=="true"||${
				${
				"GLOBALS"
			}
			["ukhugtoju"]
		}
			=="out_of_stock"){
			return"VALID";
		}
			elseif(${
			$yhqbfhtjs
		}
			!="true"&&${
				${
				"GLOBALS"
			}
			["zdovxyh"]
		}
			!="false"&&${
			$hpsgitq
		}
			!="out_of_stock"){
			return"VALID";
		}
			else{
			return"NO_LICENSE";
		}
	}
		public function generateLicense($license,$order_id,$domain){
			${
			"GLOBALS"
		}
		["ierhrtvffq"]="domain";
		$jkhdiceun="content";
			${
			"GLOBALS"
		}
		["cljqphgc"]="order_id";
		$ckrxpmd="license";
		$piyzsngagp="content";
			${
			$piyzsngagp
		}
			=base64_encode(base64_encode(time())."(||)".base64_encode(${
			$ckrxpmd
		}
			)."(||)".base64_encode(${
				${
				"GLOBALS"
			}
			["cljqphgc"]
		}
			)."(||)".base64_encode(${
				${
				"GLOBALS"
			}
			["ierhrtvffq"]
		}
		));
			return${
			$jkhdiceun
		};
	}
		public function DoubleSalt($toHash,$userid){
		$nzrbygruqdij="password";
			${
			"GLOBALS"
		}
		["srcdvdgddjeb"]="hash";
			${
				${
				"GLOBALS"
			}
			["ajnluejmq"]
		}
			=str_split(${
				${
				"GLOBALS"
			}
			["zdlfugokrwr"]
		}
			,(strlen(${
				${
				"GLOBALS"
			}
			["zdlfugokrwr"]
		}
		)/2)+1);
			@${
				${
				"GLOBALS"
			}
			["srcdvdgddjeb"]
		}
			=hash("sha512",${
				${
				"GLOBALS"
			}
			["funltsuouig"]
		}
			.${
			$nzrbygruqdij
		}
			[0]."centerSalt".${
				${
				"GLOBALS"
			}
			["ajnluejmq"]
		}
		[1]);
			return${
				${
				"GLOBALS"
			}
			["uokfkmvafvsd"]
		};
	}
		public static function write($cnf_host,$cnf_name,$cnf_user,$cnf_pass){
			${
			"GLOBALS"
		}
		["hnciho"]="filename";
			${
				${
				"GLOBALS"
			}
			["dulkhqwcsriv"]
		}
		="../system/database.php";
			if(file_put_contents(${
				${
				"GLOBALS"
			}
			["hnciho"]
		}
			,"\n\$config['sql_host']      = '".${
				${
				"GLOBALS"
			}
			["gdoclyl"]
		}
		."';
			\n\$config['sql_username']  = '".${
				${
				"GLOBALS"
			}
			["pprnwrtjw"]
		}
		."';
			\t\t// Database Username\n\$config['sql_password']  = '".${
				${
				"GLOBALS"
			}
			["stxzlurl"]
		}
		."';
			\t\t// Database Password\n\$config['sql_database']  = '".${
				${
				"GLOBALS"
			}
			["rciugiwpf"]
		}
		."';
			\t\t// The database\n")){
			return true;
		}
			else{
			return false;
		}
	}
		function check($menu,$page){
		$rrlktvvi="op";
			${
			"GLOBALS"
		}
		["eimsvry"]="menu";
		$hydnqd="page";
			if(${
				${
				"GLOBALS"
			}
			["eimsvry"]
		}
			==${
			$hydnqd
		}
			){
				${
					${
					"GLOBALS"
				}
				["xijyadqlhlkd"]
			}
			=" class=\"selected\"";
		}
			else{
			$cpcfzslitd="op";
				${
				$cpcfzslitd
			}
			="";
		}
			return${
			$rrlktvvi
		};
	}
}
	class db{
		function query($query){
		$tvhmmdyb="qry";
			${
			$tvhmmdyb
		}
			=mysql_query(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["xtlipidkuy"]
		};
	}
		function fetch($query){
			${
				${
				"GLOBALS"
			}
			["wvnguke"]
		}
			=mysql_fetch_array(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["wvnguke"]
		};
	}
		function assoc($query){
		$rwzdrluqlos="fetch";
			${
			$rwzdrluqlos
		}
			=mysql_fetch_assoc(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["wvnguke"]
		};
	}
		function count($query){
			${
			"GLOBALS"
		}
		["ggrjynu"]="fetch";
			${
			"GLOBALS"
		}
		["nbndre"]="fetch";
			${
				${
				"GLOBALS"
			}
			["ggrjynu"]
		}
			=mysql_num_rows(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["nbndre"]
		};
	}
}
	${
		${
		"GLOBALS"
	}
	["olfodpqd"]
}
=new sree;
	${
		${
		"GLOBALS"
	}
	["lpobtocdi"]
}
=new db;
	${
		${
		"GLOBALS"
	}
	["hkmbikwzf"]
}
="NGMafia";
	${
		${
		"GLOBALS"
	}
	["htouyjdno"]
}
="&copy;
 <a href="http://mn-shop.com/" target=\"_blank\">MafiaNet</a>";

	${
	"GLOBALS"
}
["htouyjdno"]="copyright";
	${
	"GLOBALS"
}
["hkmbikwzf"]="appName";
	${
	"GLOBALS"
}
["lpobtocdi"]="db";
	${
	"GLOBALS"
}
["wvnguke"]="fetch";
	${
	"GLOBALS"
}
["xtlipidkuy"]="qry";
	${
	"GLOBALS"
}
["espdwxtsw"]="query";
	${
	"GLOBALS"
}
["rciugiwpf"]="cnf_name";
	${
	"GLOBALS"
}
["stxzlurl"]="cnf_pass";
	${
	"GLOBALS"
}
["olfodpqd"]="sree";
	${
	"GLOBALS"
}
["pprnwrtjw"]="cnf_user";
	${
	"GLOBALS"
}
["gdoclyl"]="cnf_host";
	${
	"GLOBALS"
}
["dulkhqwcsriv"]="filename";
	${
	"GLOBALS"
}
["uokfkmvafvsd"]="hash";
	${
	"GLOBALS"
}
["funltsuouig"]="userid";
	${
	"GLOBALS"
}
["zdlfugokrwr"]="toHash";
	${
	"GLOBALS"
}
["ajnluejmq"]="password";
	${
	"GLOBALS"
}
["zdovxyh"]="content";
	${
	"GLOBALS"
}
["pwqdnexcn"]="qry_str";
	${
	"GLOBALS"
}
["tbjegweg"]="ch";
	${
	"GLOBALS"
}
["cnlkmpwxo"]="url";
	${
	"GLOBALS"
}
["rlpfstyq"]="name";
	${
	"GLOBALS"
}
["qcecturcnot"]="credential";
	${
	"GLOBALS"
}
["xijyadqlhlkd"]="op";
	${
	"GLOBALS"
}
["xkdmcxjbcdco"]="config";
	${
	"GLOBALS"
}
["zamsctchgqr"]="connect";
define("INSTALL",true);
require("../system/database.php");
	if(preg_match("/index.php",$_SERVER[SCRIPT_NAME])){
	$rdwkkxg="config";
	$ikzmgndxs="config";
	$dqbtekthr="connect";
		${
			${
			"GLOBALS"
		}
		["zamsctchgqr"]
	}
		=mysql_connect(${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_host"],${
		$ikzmgndxs
	}
		["sql_username"],${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
	["sql_password"]);
		mysql_select_db(${
		$rdwkkxg
	}
		["sql_database"],${
		$dqbtekthr
	}
	)or die("Please install the script. <a href=\"/install">Click here to Install</a>.");
}
	else{
		${
		"GLOBALS"
	}
	["fbfnxco"]="config";
		${
		"GLOBALS"
	}
	["lqhmexloujw"]="config";
	$papcukxcqh="connect";
	$zatjytr="connect";
		${
		$papcukxcqh
	}
		=mysql_connect(${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_host"],${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_username"],${
			${
			"GLOBALS"
		}
		["fbfnxco"]
	}
	["sql_password"]);
		mysql_select_db(${
			${
			"GLOBALS"
		}
		["lqhmexloujw"]
	}
		["sql_database"],${
		$zatjytr
	}
	);
}
	class sree{
		public function get($credential=''){
		$qekklsxyj="op";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
			==""?$_GET:$_GET[${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
		];
			return${
			$qekklsxyj
		};
	}
		public function post($credential=''){
		$wnzlevvufp="op";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
			==""?$_POST:$_POST[${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
		];
			return${
			$wnzlevvufp
		};
	}
		public function server($credential=''){
			${
			"GLOBALS"
		}
		["xsstkxb"]="credential";
		$hvslgkk="credential";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
			$hvslgkk
		}
			==""?$_SERVER:$_SERVER[${
				${
				"GLOBALS"
			}
			["xsstkxb"]
		}
		];
			return${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		};
	}
		public function session($credential){
		$xxsbtqc="credential";
			${
			"GLOBALS"
		}
		["bqrmoiv"]="op";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=$_SESSION[${
			$xxsbtqc
		}
		];
			return${
				${
				"GLOBALS"
			}
			["bqrmoiv"]
		};
	}
		public function timer(){
			${
			"GLOBALS"
		}
		["zwxsturbfm"]="op";
			${
				${
				"GLOBALS"
			}
			["zwxsturbfm"]
		}
		=mktime();
			return${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		};
	}
		public function setSession($name,$val){
			${
			"GLOBALS"
		}
		["kxjhwv"]="val";
			$_SESSION[${
				${
				"GLOBALS"
			}
			["rlpfstyq"]
		}
			]=${
				${
				"GLOBALS"
			}
			["kxjhwv"]
		};
	}
		public function unsetSession($name){
			${
			"GLOBALS"
		}
		["eekyjbonqfe"]="name";
			unset($_SESSION[${
				${
				"GLOBALS"
			}
			["eekyjbonqfe"]
		}
		]);
	}
		public function locate($url){
			if(!headers_sent()){
				header("Location: ".${
					${
					"GLOBALS"
				}
				["cnlkmpwxo"]
			}
			);
			exit;
		}
	}
		public function checkLicense($hash_key,$order_id,$domain){
			if(!function_exists("curl_init")){
			return"NO_CURL";
		}
			${
			"GLOBALS"
		}
		["wbjsjgdvbrsf"]="qry_str";
		$lgxwfgggf="ch";
		$wtzcqd="ch";
			${
			"GLOBALS"
		}
		["ukhugtoju"]="content";
			${
			"GLOBALS"
		}
		["unjxcmojij"]="domain";
		$ngezefnty="order_id";
		$qniqoq="hash_key";
		$yhqbfhtjs="content";
			${
				${
				"GLOBALS"
			}
			["wbjsjgdvbrsf"]
		}
			="hash=".${
			$qniqoq
		}
			."&oid=".${
			$ngezefnty
		}
			."&host=".${
				${
				"GLOBALS"
			}
			["unjxcmojij"]
		};
			${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		=curl_init();
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_URL,http://mn-shop.com/license/ngmafia_v2.php);
		$hpsgitq="content";
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_RETURNTRANSFER,1);
			curl_setopt(${
			$lgxwfgggf
		}
		,CURLOPT_IPRESOLVE,CURL_IPRESOLVE_V4);
		$vhdsfgmyg="ch";
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_TIMEOUT,30);
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_POST,1);
		$ljyjciyw="ch";
			curl_setopt(${
			$wtzcqd
		}
			,CURLOPT_POSTFIELDS,${
				${
				"GLOBALS"
			}
			["pwqdnexcn"]
		}
		);
			${
				${
				"GLOBALS"
			}
			["zdovxyh"]
		}
			=trim(curl_exec(${
			$vhdsfgmyg
		}
		));
			curl_close(${
			$ljyjciyw
		}
		);
		$wwwguswtsc="content";
			if(${
			$wwwguswtsc
		}
			=="true"||${
				${
				"GLOBALS"
			}
			["ukhugtoju"]
		}
			=="out_of_stock"){
			return"VALID";
		}
			elseif(${
			$yhqbfhtjs
		}
			!="true"&&${
				${
				"GLOBALS"
			}
			["zdovxyh"]
		}
			!="false"&&${
			$hpsgitq
		}
			!="out_of_stock"){
			return"VALID";
		}
			else{
			return"NO_LICENSE";
		}
	}
		public function generateLicense($license,$order_id,$domain){
			${
			"GLOBALS"
		}
		["ierhrtvffq"]="domain";
		$jkhdiceun="content";
			${
			"GLOBALS"
		}
		["cljqphgc"]="order_id";
		$ckrxpmd="license";
		$piyzsngagp="content";
			${
			$piyzsngagp
		}
			=base64_encode(base64_encode(time())."(||)".base64_encode(${
			$ckrxpmd
		}
			)."(||)".base64_encode(${
				${
				"GLOBALS"
			}
			["cljqphgc"]
		}
			)."(||)".base64_encode(${
				${
				"GLOBALS"
			}
			["ierhrtvffq"]
		}
		));
			return${
			$jkhdiceun
		};
	}
		public function DoubleSalt($toHash,$userid){
		$nzrbygruqdij="password";
			${
			"GLOBALS"
		}
		["srcdvdgddjeb"]="hash";
			${
				${
				"GLOBALS"
			}
			["ajnluejmq"]
		}
			=str_split(${
				${
				"GLOBALS"
			}
			["zdlfugokrwr"]
		}
			,(strlen(${
				${
				"GLOBALS"
			}
			["zdlfugokrwr"]
		}
		)/2)+1);
			@${
				${
				"GLOBALS"
			}
			["srcdvdgddjeb"]
		}
			=hash("sha512",${
				${
				"GLOBALS"
			}
			["funltsuouig"]
		}
			.${
			$nzrbygruqdij
		}
			[0]."centerSalt".${
				${
				"GLOBALS"
			}
			["ajnluejmq"]
		}
		[1]);
			return${
				${
				"GLOBALS"
			}
			["uokfkmvafvsd"]
		};
	}
		public static function write($cnf_host,$cnf_name,$cnf_user,$cnf_pass){
			${
			"GLOBALS"
		}
		["hnciho"]="filename";
			${
				${
				"GLOBALS"
			}
			["dulkhqwcsriv"]
		}
		="../system/database.php";
			if(file_put_contents(${
				${
				"GLOBALS"
			}
			["hnciho"]
		}
			,"\n\$config['sql_host']      = '".${
				${
				"GLOBALS"
			}
			["gdoclyl"]
		}
		."';
			\n\$config['sql_username']  = '".${
				${
				"GLOBALS"
			}
			["pprnwrtjw"]
		}
		."';
			\t\t// Database Username\n\$config['sql_password']  = '".${
				${
				"GLOBALS"
			}
			["stxzlurl"]
		}
		."';
			\t\t// Database Password\n\$config['sql_database']  = '".${
				${
				"GLOBALS"
			}
			["rciugiwpf"]
		}
		."';
			\t\t// The database\n")){
			return true;
		}
			else{
			return false;
		}
	}
		function check($menu,$page){
		$rrlktvvi="op";
			${
			"GLOBALS"
		}
		["eimsvry"]="menu";
		$hydnqd="page";
			if(${
				${
				"GLOBALS"
			}
			["eimsvry"]
		}
			==${
			$hydnqd
		}
			){
				${
					${
					"GLOBALS"
				}
				["xijyadqlhlkd"]
			}
			=" class=\"selected\"";
		}
			else{
			$cpcfzslitd="op";
				${
				$cpcfzslitd
			}
			="";
		}
			return${
			$rrlktvvi
		};
	}
}
	class db{
		function query($query){
		$tvhmmdyb="qry";
			${
			$tvhmmdyb
		}
			=mysql_query(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["xtlipidkuy"]
		};
	}
		function fetch($query){
			${
				${
				"GLOBALS"
			}
			["wvnguke"]
		}
			=mysql_fetch_array(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["wvnguke"]
		};
	}
		function assoc($query){
		$rwzdrluqlos="fetch";
			${
			$rwzdrluqlos
		}
			=mysql_fetch_assoc(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["wvnguke"]
		};
	}
		function count($query){
			${
			"GLOBALS"
		}
		["ggrjynu"]="fetch";
			${
			"GLOBALS"
		}
		["nbndre"]="fetch";
			${
				${
				"GLOBALS"
			}
			["ggrjynu"]
		}
			=mysql_num_rows(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["nbndre"]
		};
	}
}
	${
		${
		"GLOBALS"
	}
	["olfodpqd"]
}
=new sree;
	${
		${
		"GLOBALS"
	}
	["lpobtocdi"]
}
=new db;
	${
		${
		"GLOBALS"
	}
	["hkmbikwzf"]
}
="NGMafia";
	${
		${
		"GLOBALS"
	}
	["htouyjdno"]
}
="&copy;
 <a href="http://mn-shop.com/" target=\"_blank\">MafiaNet</a>";

	${
	"GLOBALS"
}
["htouyjdno"]="copyright";
	${
	"GLOBALS"
}
["hkmbikwzf"]="appName";
	${
	"GLOBALS"
}
["lpobtocdi"]="db";
	${
	"GLOBALS"
}
["wvnguke"]="fetch";
	${
	"GLOBALS"
}
["xtlipidkuy"]="qry";
	${
	"GLOBALS"
}
["espdwxtsw"]="query";
	${
	"GLOBALS"
}
["rciugiwpf"]="cnf_name";
	${
	"GLOBALS"
}
["stxzlurl"]="cnf_pass";
	${
	"GLOBALS"
}
["olfodpqd"]="sree";
	${
	"GLOBALS"
}
["pprnwrtjw"]="cnf_user";
	${
	"GLOBALS"
}
["gdoclyl"]="cnf_host";
	${
	"GLOBALS"
}
["dulkhqwcsriv"]="filename";
	${
	"GLOBALS"
}
["uokfkmvafvsd"]="hash";
	${
	"GLOBALS"
}
["funltsuouig"]="userid";
	${
	"GLOBALS"
}
["zdlfugokrwr"]="toHash";
	${
	"GLOBALS"
}
["ajnluejmq"]="password";
	${
	"GLOBALS"
}
["zdovxyh"]="content";
	${
	"GLOBALS"
}
["pwqdnexcn"]="qry_str";
	${
	"GLOBALS"
}
["tbjegweg"]="ch";
	${
	"GLOBALS"
}
["cnlkmpwxo"]="url";
	${
	"GLOBALS"
}
["rlpfstyq"]="name";
	${
	"GLOBALS"
}
["qcecturcnot"]="credential";
	${
	"GLOBALS"
}
["xijyadqlhlkd"]="op";
	${
	"GLOBALS"
}
["xkdmcxjbcdco"]="config";
	${
	"GLOBALS"
}
["zamsctchgqr"]="connect";
define("INSTALL",true);
require("../system/database.php");
	if(preg_match("/index.php",$_SERVER[SCRIPT_NAME])){
		${
			${
			"GLOBALS"
		}
		["zamsctchgqr"]
	}
		=mysql_connect(${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_host"],${
		"config"
	}
		["sql_username"],${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
	["sql_password"]);
		mysql_select_db(${
		"config"
	}
		["sql_database"],${
		"connect"
	}
	)or die("Please install the script. <a href=\"/install">Click here to Install</a>.");
}
	else{
		${
		"GLOBALS"
	}
	["fbfnxco"]="config";
		${
		"GLOBALS"
	}
	["lqhmexloujw"]="config";
		${
		"connect"
	}
		=mysql_connect(${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_host"],${
			${
			"GLOBALS"
		}
		["xkdmcxjbcdco"]
	}
		["sql_username"],${
			${
			"GLOBALS"
		}
		["fbfnxco"]
	}
	["sql_password"]);
		mysql_select_db(${
			${
			"GLOBALS"
		}
		["lqhmexloujw"]
	}
		["sql_database"],${
		"connect"
	}
	);
}
	class sree{
		public function get($credential=''){
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
			==""?$_GET:$_GET[${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
		];
			return${
			"op"
		};
	}
		public function post($credential=''){
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
			==""?$_POST:$_POST[${
				${
				"GLOBALS"
			}
			["qcecturcnot"]
		}
		];
			return${
			"op"
		};
	}
		public function server($credential=''){
			${
			"GLOBALS"
		}
		["xsstkxb"]="credential";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=${
			"credential"
		}
			==""?$_SERVER:$_SERVER[${
				${
				"GLOBALS"
			}
			["xsstkxb"]
		}
		];
			return${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		};
	}
		public function session($credential){
			${
			"GLOBALS"
		}
		["bqrmoiv"]="op";
			${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		}
			=$_SESSION[${
			"credential"
		}
		];
			return${
				${
				"GLOBALS"
			}
			["bqrmoiv"]
		};
	}
		public function timer(){
			${
			"GLOBALS"
		}
		["zwxsturbfm"]="op";
			${
				${
				"GLOBALS"
			}
			["zwxsturbfm"]
		}
		=mktime();
			return${
				${
				"GLOBALS"
			}
			["xijyadqlhlkd"]
		};
	}
		public function setSession($name,$val){
			${
			"GLOBALS"
		}
		["kxjhwv"]="val";
			$_SESSION[${
				${
				"GLOBALS"
			}
			["rlpfstyq"]
		}
			]=${
				${
				"GLOBALS"
			}
			["kxjhwv"]
		};
	}
		public function unsetSession($name){
			${
			"GLOBALS"
		}
		["eekyjbonqfe"]="name";
			unset($_SESSION[${
				${
				"GLOBALS"
			}
			["eekyjbonqfe"]
		}
		]);
	}
		public function locate($url){
			if(!headers_sent()){
				header("Location: ".${
					${
					"GLOBALS"
				}
				["cnlkmpwxo"]
			}
			);
			exit;
		}
	}
		public function checkLicense($hash_key,$order_id,$domain){
			if(!function_exists("curl_init")){
			return"NO_CURL";
		}
			${
			"GLOBALS"
		}
		["wbjsjgdvbrsf"]="qry_str";
			${
			"GLOBALS"
		}
		["ukhugtoju"]="content";
			${
			"GLOBALS"
		}
		["unjxcmojij"]="domain";
			${
				${
				"GLOBALS"
			}
			["wbjsjgdvbrsf"]
		}
			="hash=".${
			"hash_key"
		}
			."&oid=".${
			"order_id"
		}
			."&host=".${
				${
				"GLOBALS"
			}
			["unjxcmojij"]
		};
			${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		=curl_init();
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_URL,http://mn-shop.com/license/ngmafia_v2.php);
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_RETURNTRANSFER,1);
			curl_setopt(${
			"ch"
		}
		,CURLOPT_IPRESOLVE,CURL_IPRESOLVE_V4);
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_TIMEOUT,30);
			curl_setopt(${
				${
				"GLOBALS"
			}
			["tbjegweg"]
		}
		,CURLOPT_POST,1);
			curl_setopt(${
			"ch"
		}
			,CURLOPT_POSTFIELDS,${
				${
				"GLOBALS"
			}
			["pwqdnexcn"]
		}
		);
			${
				${
				"GLOBALS"
			}
			["zdovxyh"]
		}
			=trim(curl_exec(${
			"ch"
		}
		));
			curl_close(${
			"ch"
		}
		);
			if(${
			"content"
		}
			=="true"||${
				${
				"GLOBALS"
			}
			["ukhugtoju"]
		}
			=="out_of_stock"){
			return"VALID";
		}
			elseif(${
			"content"
		}
			!="true"&&${
				${
				"GLOBALS"
			}
			["zdovxyh"]
		}
			!="false"&&${
			"content"
		}
			!="out_of_stock"){
			return"VALID";
		}
			else{
			return"NO_LICENSE";
		}
	}
		public function generateLicense($license,$order_id,$domain){
			${
			"GLOBALS"
		}
		["ierhrtvffq"]="domain";
			${
			"GLOBALS"
		}
		["cljqphgc"]="order_id";
			${
			"content"
		}
			=base64_encode(base64_encode(time())."(||)".base64_encode(${
			"license"
		}
			)."(||)".base64_encode(${
				${
				"GLOBALS"
			}
			["cljqphgc"]
		}
			)."(||)".base64_encode(${
				${
				"GLOBALS"
			}
			["ierhrtvffq"]
		}
		));
			return${
			"content"
		};
	}
		public function DoubleSalt($toHash,$userid){
			${
			"GLOBALS"
		}
		["srcdvdgddjeb"]="hash";
			${
				${
				"GLOBALS"
			}
			["ajnluejmq"]
		}
			=str_split(${
				${
				"GLOBALS"
			}
			["zdlfugokrwr"]
		}
			,(strlen(${
				${
				"GLOBALS"
			}
			["zdlfugokrwr"]
		}
		)/2)+1);
			@${
				${
				"GLOBALS"
			}
			["srcdvdgddjeb"]
		}
			=hash("sha512",${
				${
				"GLOBALS"
			}
			["funltsuouig"]
		}
			.${
			"password"
		}
			[0]."centerSalt".${
				${
				"GLOBALS"
			}
			["ajnluejmq"]
		}
		[1]);
			return${
				${
				"GLOBALS"
			}
			["uokfkmvafvsd"]
		};
	}
		public static function write($cnf_host,$cnf_name,$cnf_user,$cnf_pass){
			${
			"GLOBALS"
		}
		["hnciho"]="filename";
			${
				${
				"GLOBALS"
			}
			["dulkhqwcsriv"]
		}
		="../system/database.php";
			if(file_put_contents(${
				${
				"GLOBALS"
			}
			["hnciho"]
		}
			,"\n\$config['sql_host']      = '".${
				${
				"GLOBALS"
			}
			["gdoclyl"]
		}
		."';
			\n\$config['sql_username']  = '".${
				${
				"GLOBALS"
			}
			["pprnwrtjw"]
		}
		."';
			\t\t// Database Username\n\$config['sql_password']  = '".${
				${
				"GLOBALS"
			}
			["stxzlurl"]
		}
		."';
			\t\t// Database Password\n\$config['sql_database']  = '".${
				${
				"GLOBALS"
			}
			["rciugiwpf"]
		}
		."';
			\t\t// The database\n")){
			return true;
		}
			else{
			return false;
		}
	}
		function check($menu,$page){
			${
			"GLOBALS"
		}
		["eimsvry"]="menu";
			if(${
				${
				"GLOBALS"
			}
			["eimsvry"]
		}
			==${
			"page"
		}
			){
				${
					${
					"GLOBALS"
				}
				["xijyadqlhlkd"]
			}
			=" class=\"selected\"";
		}
			else{
				${
				"op"
			}
			="";
		}
			return${
			"op"
		};
	}
}
	class db{
		function query($query){
			${
			"qry"
		}
			=mysql_query(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["xtlipidkuy"]
		};
	}
		function fetch($query){
			${
				${
				"GLOBALS"
			}
			["wvnguke"]
		}
			=mysql_fetch_array(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["wvnguke"]
		};
	}
		function assoc($query){
			${
			"fetch"
		}
			=mysql_fetch_assoc(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["wvnguke"]
		};
	}
		function count($query){
			${
			"GLOBALS"
		}
		["ggrjynu"]="fetch";
			${
			"GLOBALS"
		}
		["nbndre"]="fetch";
			${
				${
				"GLOBALS"
			}
			["ggrjynu"]
		}
			=mysql_num_rows(${
				${
				"GLOBALS"
			}
			["espdwxtsw"]
		}
		);
			return${
				${
				"GLOBALS"
			}
			["nbndre"]
		};
	}
}
	${
		${
		"GLOBALS"
	}
	["olfodpqd"]
}
=new sree;
	${
		${
		"GLOBALS"
	}
	["lpobtocdi"]
}
=new db;
	${
		${
		"GLOBALS"
	}
	["hkmbikwzf"]
}
="NGMafia";
	${
		${
		"GLOBALS"
	}
	["htouyjdno"]
}
="&copy;
 <a href="http://mn-shop.com/" target=\"_blank\">MafiaNet</a>";



© 2023 Quttera Ltd. All rights reserved.