-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
19 lines (17 loc) · 828 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
require 'headers.php';
?>
<body>
<div class="outer_div">
<h2 class=welcome align=center>CSRF prevention - Double Submit Cookie Pattern</h3>
<p class= welcome align=center>Login credentials<br>Username : admin<br>Password : csrf</p>
<form action="msg.php" method="post">
<div class=inner_div>
<label class=welcome >Username :</label><br><input type="text" class=input_text id="uname" name="uname"><br><br>
<label class=welcome >Password :</label><br><input type="text" class=input_text id="pword" name="pword">
<div class=btn_holder><input type="submit" class=btn name="login" value="login"></div>
</div>
</form>
</div>
</body>
</html>