-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex1.php
37 lines (34 loc) · 1.14 KB
/
index1.php
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
<html>
<head>
<title> CSRF protection</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="public/css/bootstrap.min.css">
<script src="public/js/jquery.min.js"></script>
<script src="public/js/bootstrap.min.js"></script>
<style>
.bgimg-1 {
background-image: url('/w3images/parallax1.jpg');
min-height: 100%;
background-image: url(pic1.jpg);
height: 100%;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
background-color: #cccccc;
}
</style>
</head>
<body>
<div class="bgimg-1 w3-display-container w3-opacity-min" id="home">
<div align='center'>
<br>
<a href="stplogin.php" class="button"><button type="submit" class="btn btn-success" id="syn" name="syn" >CSRF protection by Syncronize Token pattern </button></a>
</div>
<br>
<div align='center'>
<a href="dsclogin.php" class="button"><button type="submit" class="btn btn-info" id="dsc" name="dsc"> CSRF protection by double submit cookies </button></a>
</div>
</div>
</body>
</html>