-
Notifications
You must be signed in to change notification settings - Fork 1
/
breaches.html
executable file
·268 lines (256 loc) · 12.5 KB
/
breaches.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html lang="en">
<head>
<title>XposedOrNot: Data Breaches Repository</title>
<link rel="stylesheet" href="https://cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/buttons/1.6.2/css/buttons.dataTables.min.css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="XposedOrNot : FAQ for quick reference">
<meta name="author" content="Devanand Premkumar">
<meta property="og:title" content="XposedOrNot: Data Breaches Repository" />
<meta property="og:description"
content="Discover and navigate through a vast array of data breach information at XposedOrNot. Learn how to protect your personal data effectively." />
<meta property="og:image" content="https://xposedornot.com/static/images/xon.png" />
<meta property="og:url" content="https://xposedornot.com/data_breaches" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@XposedOrNot">
<meta name="twitter:title" content="XposedOrNot: Data Breaches Repository">
<meta name="twitter:description"
content="Discover and navigate through a vast array of data breach information at XposedOrNot. Learn how to protect your personal data effectively.">
<meta name="twitter:image" content="https://xposedornot.com/static/images/xon.png">
<link rel="icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css"
integrity="sha256-BtbhCIbtfeVWGsqxk1vOHEYXS6qcvQvLMZqjtpWUEx8=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"
integrity="sha512-aVKKRRi/Q/YV+4mjoKBsE4x3H+BkegoM/em46NNlCqNTmUYADjBbeNefNxYV7giUp0VxICtqdrbqU7iVaeZNXA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
crossorigin="anonymous"></script>
<link rel=stylesheet
href='https://fonts.googleapis.com/css?family=Poppins%3A300%2C400%2C500%2C600%2C700%2C900&subset'
type=text/css media=all defer async>
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-validator/0.5.3/css/bootstrapValidator.css"
integrity="sha512-asx/ybAODdXFwxJdEHxddlVX1jXadezKmKu89YvodVg3VQWEKAi30yd4f3r8V3pljdyACyE7IJCy6mrKuDOXjQ=="
crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-validator/0.5.3/js/bootstrapValidator.js"
integrity="sha512-mRgivjjOpF/Ist1xO+QU11jjbBqp0VPxQQKQgKU0kaNX4Nwa+Zooyyw39TBJWwEbF0uDaZSs3DukSErXMuRboQ=="
crossorigin="anonymous"></script>
<link href="static/css/style.css" type="text/css" rel="stylesheet" defer>
<script src="/static/scripts/other-libraries.js" defer></script>
<style>
.btn-label {
cursor: default;
background-color: #f7f7f7;
border: none;
padding: 6px 12px;
vertical-align: middle;
margin-right: 4px;
}
.dt-buttons {
float: right;
}
.header,
.footer {
background-color: #f7f7f7;
padding: 10px;
text-align: center;
}
.container {
padding: 20px;
}
</style>
</head>
<body>
<div class="kbanner">
<nav class="navbar navbar-expand-lg navbar-dark bg-primary kbanner">
<a class="navbar-brand" href="https://xposedornot.com"><span
style="font-size: 1.5em; font-weight: bold; display: block; color: white;">XposedOrNot</span>
<span style="font-size: 0.8em; display: block; color: white; opacity: 0.85; margin-top: -1px;">Community
Edition</span></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav navbar-right">
<li class="nav-item active">
<a class="nav-link" href="password.html">Password <span class="sr-only">(current)</span>
</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="api_doc.html">API </a>
</li>
<li class="nav-item active">
<a class="nav-link" href="https://blog.xposedornot.com/">Blog </a>
</li>
<li class="nav-item dropdown active">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false"> More Tools </a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item" href="xposed.html">Xposed Breaches</a>
<a class="dropdown-item" href="shield.html">Privacy Shield</a>
<a class="dropdown-item" href="domain.html">Domain Verification</a>
<a class="dropdown-item" href="domains.html">Domain-level Search</a>
<a class="dropdown-item" href="timeline.html">Breaches Timeline</a>
</div>
</li>
</ul>
</div>
</nav>
</div>
<div class="header">
<h1>XposedOrNot: Data Breaches</h1>
</div>
<div>
<table id="example" class="display" style="width:100%">
<thead>
<tr>
<th>Breach ID</th>
<th>Breach Date</th>
<th>Domain</th>
<th>Exposed Data</th>
<th>Exposed Records</th>
<th>Description</th>
<th>Industry</th>
<th>Password Risk</th>
<th>Searchable</th>
<th>Sensitive</th>
<th>Verified</th>
</tr>
</thead>
</table>
</div>
<div class="footer">
<p> XposesdOrNot.com</p>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/dataTables.buttons.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/buttons.flash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/buttons.html5.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/buttons.print.min.js"></script>
<script src="https://cdn.datatables.net/buttons/1.6.2/js/buttons.colVis.min.js"></script>
<script>
function formatYesNo(data, reverse = false) {
const displayData = data ? "Yes" : "No";
if ((!reverse && data) || (reverse && !data)) {
return '<span style="background-color: #28a745; color: white; padding: 5px 10px; border-radius: 15px;">' + displayData + '</span>';
} else {
return '<span style="background-color: #dc3545; color: white; padding: 5px 10px; border-radius: 15px;">' + displayData + '</span>';
}
}
function formatPasswordRisk(data) {
if (data === "plaintext" || data === "easytocrack") {
return '<span style="background-color: #dc3545; color: white; padding: 5px 10px; border-radius: 15px;">' + data + '</span>';
} else {
return '<span style="background-color: #28a745; color: white; padding: 5px 10px; border-radius: 15px;">' + data + '</span>';
}
}
function formatDescription(data) {
if (data.split(' ').length > 40) {
return data.split(' ').slice(0, 40).join(' ') + '... <a href="#" class="readMore">Read more</a><span style="display: none;">' + data + '</span>';
} else {
return data;
}
}
$(document).ready(function () {
$('#example').DataTable({
ajax: {
url: 'https://api.xposedornot.com/v1/breaches',
dataSrc: 'exposedBreaches',
error: function (xhr, error, thrown) {
console.error("Error occurred: ", xhr, error, thrown);
}
},
columns: [
{ data: 'breachID' },
{
data: 'breachedDate',
render: function (data) {
var date = new Date(data);
return date.toLocaleDateString('en-GB', { year: 'numeric', month: 'long' });
},
type: 'date'
},
{ data: 'domain' },
{
data: 'exposedData',
render: function (data) {
return data.join(', ');
}
},
{
data: 'exposedRecords',
render: $.fn.dataTable.render.number(',', '.')
},
{
data: 'exposureDescription',
render: function (data) {
return formatDescription(data);
}
},
{ data: 'industry' },
{
data: 'passwordRisk',
render: function (data) {
return formatPasswordRisk(data);
}
},
{
data: 'searchable',
render: function (data) {
return formatYesNo(data);
}
},
{
data: 'sensitive',
render: function (data) {
return formatYesNo(data, true);
}
},
{
data: 'verified',
render: function (data) {
return formatYesNo(data);
}
}
],
order: [[1, 'desc']],
dom: 'Blfrtip',
buttons: [
{
extend: 'colvis',
postfixButtons: ['colvisRestore'],
text: 'Select Columns',
className: 'pull-right'
},
'csvHtml5', 'excelHtml5',
],
initComplete: function () {
$(".dt-buttons").prepend('<button class="btn btn-label">Export:</button> ');
},
language: {
buttons: {
colvis: 'Select Columns'
}
}
});
$('#example').on('click', '.readMore', function (e) {
e.preventDefault();
$(this).parent().html($(this).next().text());
});
});
</script>
<script defer async src="https://www.googletagmanager.com/gtag/js?id=UA-108891851-1"></script>
<script src="/static/scripts/common.js"></script>
</body>
</html>