-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathgo.php
More file actions
executable file
·42 lines (36 loc) · 778 Bytes
/
go.php
File metadata and controls
executable file
·42 lines (36 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<html>
<head><title>MHVTL Web Console</title></head>
<LINK REL="SHORTCUT ICON" HREF="favicon.ico">
<link href="html/styles.css" rel="stylesheet" type="text/css">
<body>
<center>
<?php
ob_start();
ob_flush();
@session_start();
if(isset($_POST['login'])) { $password = $_POST['pswd'];
if ( $password == "mhvtl" ) { //Replace with your password
$_SESSION['phplogin'] = true;
header('Location: html/mhvtl.php');
exit;
} else {
?>
<script type="text/javascript">
<!--
alert('Wrong Password, Please Try Again')
//-->
</script>
<?php
}
}
?>
<FONT COLOR=green><b>Enter Password </b></FONT>
<br>
<form method="post" action="">
<input type="password" name="pswd">
<br><input type="submit" name="login" value="Login">
</form>
</br>
</center>
</body>
</html>