-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
205 lines (201 loc) · 6.35 KB
/
index.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
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unified Ata Library</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
display: block;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
max-width: 600px;
}
.auth-popup {
display: none;
background-color: #333;
color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
width: 300px;
text-align: left;
position: fixed;
top: 5px;
left: 50%;
transform: translateX(-50%);
}
.auth-popup h2 {
margin: 0 0 20px 0;
color: #fff;
}
.auth-popup p {
margin: 0 0 20px 0;
color: #fff;
}
.auth-popup .form-group {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.auth-popup .form-group label {
margin-right: 10px;
width: 80px;
color: #fff;
}
.auth-popup input {
display: block;
width: calc(100% - 100px);
margin: 0;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
.auth-popup .buttons {
display: flex;
justify-content: space-between;
}
.auth-popup button {
padding: 10px 20px;
border: none;
border-radius: 15px;
cursor: pointer;
font-size: 16px;
}
.auth-popup .cancel {
background-color: #333;
color: #4a90e2;
border: 1px solid #4a90e2;
}
.auth-popup .signin {
background-color: #4a90e2;
color: #fff;
}
.auth-popup .cancel:hover,
.auth-popup .signin:hover {
opacity: 0.8;
}
</style>
<script>
function showAuthPopup() {
document.getElementById("auth-popup").style.display = "block";
}
function handleAuth() {
var username = document.getElementById("username").value;
var password = document.getElementById("password").value;
if (username && password) {
var passwordDisplay = `Password length: ${password.length}`;
alert(
"Credentials entered:\nUsername: " +
username +
"\nPassword: " +
passwordDisplay
);
document.getElementById("auth-popup").style.display = "none";
document.getElementById("content-container").style.display = "block";
} else {
alert("Please enter both username and password.");
}
}
function cancelAuth() {
document.getElementById("auth-popup").style.display = "none";
document.getElementById("content-container").style.display = "block";
}
</script>
</head>
<body>
<div id="auth-popup" class="auth-popup">
<h2>Sign in</h2>
<p>https://unifiedatalibrary.com</p>
<div class="form-group">
<label for="username">Username</label>
<input type="text" id="username" placeholder="" />
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" placeholder="" />
</div>
<div class="buttons">
<button class="cancel" onclick="cancelAuth()">Cancel</button>
<button class="signin" onclick="handleAuth()">Sign in</button>
</div>
</div>
<div id="content-container" class="container">
<h1>Notice</h1>
<p>
You are on <strong>unifiedatalibrary.com</strong> instead of
<strong
><a href="https://unifieddatalibrary.com">unifieddatalibrary.com</a></strong
>.
</p>
<p>
The source code to this page is here:
<a href="https://github.com/DigitalArsenal/unifiedatalibrary">Link</a>
</p>
<button onclick="showAuthPopup()">Dummy Login</button>
<p><b>Note: login data does not leave the browser.</b></p>
<p>
This page is hosted by DigitalArsenal.io, as a demo and part of a
initiative to protect public-facing United States Government space domain awareness sites from expired / similar domain registration and <a href="https://en.wikipedia.org/wiki/Typosquatting">"typosquatting"</a>,
including <a href="https://spacetrack.org">spacetrack.org</a> and <a href="https://spacedatasource.org">spacedatasource.org</a>.
</p>
<p>There is a standing offer by DigitalArsenal.io to transfer these domains, at cost, to the government agencies and
contractors performing these missions under <a href="https://www.govinfo.gov/app/details/USCODE-2010-title10/USCODE-2010-title10-subtitleA-partIV-chap135-sec2274">Title 10, Sec. 2274</a>.
<br/><br/>
If you are performing this mission and want these domains transferred, please send an email to: <a href="mailto:[email protected]">[email protected]</a>
</p>
Redirecting in
<span>90</span>
<script>
let timer = 90;
setInterval(() => {
timer--;
document.getElementsByTagName("span")[0].innerText = timer;
if (!timer) window.location = "https://unifieddatalibrary.com";
}, 1000);
</script>
<ul>
<li>
<a href="https://www.phishing.org/what-is-phishing" target="_blank"
>What is Phishing?</a
>
</li>
<li>
<a
href="https://www.cisa.gov/topics/cybersecurity-threats/phishing"
target="_blank"
>CISA: Phishing</a
>
</li>
<li>
<a
href="https://www.ftc.gov/news-events/topics/identity-theft/phishing"
target="_blank"
>FTC: Phishing</a
>
</li>
<li>
<a
href="https://www.microsoft.com/en-us/security/business/identity-access/phishing"
target="_blank"
>Microsoft: Phishing</a
>
</li>
</ul>
</div>
</body>
</html>