-
Notifications
You must be signed in to change notification settings - Fork 15
/
index.html
407 lines (394 loc) · 12 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
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>NSA-O-Matic</title>
<style type="text/css">
.container {
max-width: 40em;
margin: auto;
}
.headline {
font-size: 18pt;
font-family: sans-serif;
}
.madlib {
background-color: rgb(220, 220, 220);
border-color: rgb(180, 180, 180);
border-style: solid;
border-width: 1px;
border-radius: 4px;
}
.btnbox {
text-align: center;
padding: 24pt;
}
.c2a {
max-width: 60em;
margin: auto;
padding: 24pt;
}
.stamp {
margin: auto;
width: 230px;
height: 242px;
}
#btn {
font-size: 18pt;
background-color: rgb(150, 255, 150);
}
</style>
<script>
// Source: http://www.laquadrature.net/wiki/Usa_surveillance_tools
var wordParts = [
['AQUA', 'CADE'],
['BEACH', 'HEAD'],
['BLUE', 'ANCHOR'],
['BLUE', 'ZEPHYR'],
['BOUNDLESS', 'INFORMANT'],
['BULL', 'RUN'],
['BYE', 'MAN'],
['COBALT', 'FALCON'],
['CONTRA', 'OCTAVE'],
['DEW', 'SWEEPER'],
['DROP', 'MIRE'],
['DRT', 'BOX'],
['EGOTISTICAL', 'GIRAFFE'],
['EGOTISTICAL', 'GOAT'],
['ERRONEOUS', 'INGENUITY'],
['EVENING', 'EASEL'],
['EVIL', 'OLIVE'],
['FAIR', 'VIEW'],
['FOX', 'ACID'],
['HIGH', 'LANDS'],
['JUMP', 'SEAT'],
['MADCAP', 'OCELOT'],
['MONKEY', 'ROCKET'],
['MOONLIGHT', 'PATH'],
['OAK', 'STAR'],
['ORANGE', 'BLOSSOM'],
['ORANGE', 'CRUSH'],
['PATH', 'FINDER'],
['PIN', 'WALE'],
['SHELL', 'TRUMPET'],
['SHIFTING', 'SHADOW'],
['SILK', 'WORTH'],
['STELLAR', 'WIND'],
['STORM', 'BREW'],
['SILVER', 'ZEPHYR'],
['THIN', 'TREAD'],
['TRAFFIC', 'THIEF'],
['TRAIL', 'BLAZER'],
['XKEY', 'SCORE'],
['YACHT', 'SHOP'],
['AGILE', 'VIEW'],
['AIR', 'GAP'],
['AIR', 'STEED'],
['AQUA', 'DOR'],
['AUTO', 'SOURCE'],
['BELL', 'TOPPER'],
['BELL', 'VIEW'],
['BLACK', 'FOOT'],
['BLACK', 'HEART'],
['BLACK', 'MAGIC'],
['BLACK', 'PEARL'],
['BLACK', 'WATCH'],
['BULLS', 'EYE'],
['CENTER', 'MASS'],
['CHALK', 'FUN'],
['CHASE', 'FALCON'],
['CHEW', 'STICK'],
['CIMBRI', 'CINEPLEX'],
['COAST', 'LINE'],
['COURIER', 'SKILL'],
['CRISS', 'CROSS'],
['DANCING', 'OASIS'],
['DANGER', 'MOUSE'],
['DARK', 'THUNDER'],
['DECK', 'PIN'],
['DISH', 'FIRE'],
['DRAGON', 'FLY'],
['FACE', 'LIFT'],
['FALL', 'OUT'],
['FISH', 'BOWL'],
['FOX', 'TRAIL'],
['GLOBAL', 'BROKER'],
['HIDE', 'TIDE'],
['HOME', 'BASE'],
['INTEL', 'INK'],
['IVY', 'BELLS'],
['LIFE', 'SAVER'],
['LONG', 'HAUL'],
['MAGIC', 'LANTERN'],
['MAIL', 'ORDER'],
['MAIN', 'CORE'],
['OIL', 'STOCK'],
['OCT', 'SKYWARD'],
['ONE', 'ROOF'],
['PUZZLE', 'CUBE'],
['SHARK', 'FIN'],
['SKY', 'WRITER'],
['SPOT', 'BEAM'],
['STEEL', 'KNIGHT'],
['STUMP', 'CURSOR'],
['TALENT', 'KEYHOLE'],
['TAPER', 'LAY'],
['TAROT', 'CARD'],
['TREASURE', 'MAP'],
['TUNING', 'FORK'],
['TUSK', 'ATTIRE'],
['WEALTHY', 'CLUSTER'],
['WEB', 'CANDID'],
['WHITE', 'BOX'],
['MONKEY', 'PUZZLE'],
//Source: http://leaksource.wordpress.com/2013/12/30/nsas-ant-division-catalog-of-exploits-for-nearly-every-major-software-hardware-firmware/
['DEITY', 'BOUNCE'],
['ARK', 'STREAM'],
['IRON', 'CHEF'],
['WAGON', 'BED'],
['FEED', 'TROUGH'],
['ZESTY', 'LEAK'],
['BANANA', 'GLEE'],
['GOURMET', 'TROUGH'],
['HALLUX', 'WATER'],
['TURBO', 'PANDA'],
['JET', 'PLOW'],
['SOUFFLE', 'TROUGH'],
['HEAD', 'WATER'],
['HAMMER', 'MILL'],
['SCHOOL', 'MONTANA'],
['SIERRA', 'MONTANA'],
['STUCCO', 'MONTANA'],
['LOUD', 'AUTO'],
['ANGRY', 'NEIGHBOR'],
['NIGHT', 'STAND'],
['NIGHT', 'WATCH'],
['VIEW', 'PLATE'],
['PHOTO', 'ANGLO'],
['BLIND', 'DATE'],
['TAWDRY', 'YARD'],
['RAGE', 'MASTER'],
['HOWLER', 'MONKEY'],
['STRIKE', 'ZONE'],
['IRATE', 'MONK'],
['UNITE', 'DRAKE'],
['STRAIT', 'BAZZARE'],
['SLICKER', 'VICAR'],
['JUNIOR', 'MINT'],
['SOMBER', 'KNAVE'],
['TWISTED', 'KILT'],
['WISTFUL', 'TOLL'],
['SURLY', 'SPAWN'],
['DROPOUT', 'JEEP'],
['CHIMNEY', 'POOL'],
['FREE', 'FLOW'],
['GOPHER', 'SET'],
['MONKEY', 'CALENDAR'],
['TOTE', 'CHASER'],
['TOTE', 'GHOSTLY'],
['CANDY', 'GRAM'],
['CROSS', 'BEAM'],
['ROCKY', 'KNOB'],
['LAND', 'SHARK'],
['HOLLOW', 'POINT'],
['WATER', 'WITCH'],
['COTTON', 'MOUTH'],
['FIRE', 'WALK'],
['DANDER', 'SPRITZ'],
];
var types = [
'surveillance tool',
'network-based attack',
'cryptanalytic technique',
'exploit toolkit',
'massive database',
'searchable database',
'surveillance program',
'software tool',
'cluster of computers',
'lawful intercept feature',
'surveillance satellite',
'full-take collection point',
'USB hardware host tap',
];
var verbs = [
'copies',
'spies on',
'spoofs',
'cracks',
'does a man-in-the-middle attack on',
'undermined NIST standards for securing',
'remotely records',
'deanonymizes',
'indefinitely stores',
'surreptitiously records',
'decrypts',
'intercepts',
'monitors',
'tracks',
'bugs',
];
var nouns = [
'SSL connections',
'identities of TOR users',
'SMS messages',
'cell phone call records',
'webmail accounts',
'emails',
'pager messages',
'undersea fiberoptic cables',
'the backbone of the internet',
'consumer-grade routers',
'computers at European telecom companies',
'Angela Merkel\'s text messages',
'social networking profiles',
'cloud storage databases',
'private fiber-optic lines used by Google and Yahoo',
'communications satellites',
'certificate authority keys',
'random number generators',
'Facebook messages',
'VPN connections',
'email attachments',
'conversations within earshot of laptop microphones',
'one tenth of all internet traffic',
'international telephone calls',
'traffic from major internet exchanges',
'cellular data connections',
'foreign embassies',
'emails of foreign heads of state',
'cell phone geolocation data',
'SIM cards',
];
var feds = [
'President Barack Obama',
'General Keith Alexander, Director of the National Security Agency,',
'James Clapper, the Director of National Intelligence,',
'Senator Dianne Feinstein',
'An anonymous administration source',
];
var checks = [
'is rubber stamped by a secret court',
'is reviewed by Congress every five years',
'is only used to combat terrorism',
'undergoes strict quality control procedures',
'would only be used in the event of a national emergency',
'was approved by the House and Senate Intelligence Committees',
'only collects information on foreign citizens',
'discards information as soon it is determined to be irrelevant',
'is authorized by a section of the PATRIOT Act',
'is actually run by the FBI, not the NSA',
];
function removeChildren(elem) {
while (elem.lastChild) {
elem.removeChild(elem.lastChild);
}
}
function pick(list) {
var index = Math.floor(Math.random() * list.length);
return list[index];
}
function addText(elem, text) {
elem.appendChild(document.createTextNode(text));
}
function spin() {
var codenameSpan = document.getElementById('codename');
var typeSpan = document.getElementById('type');
var verbSpan = document.getElementById('verb');
var nounSpan = document.getElementById('noun');
var fedSpan = document.getElementById('fed');
var checkSpan = document.getElementById('check');
var i, j;
while (true) {
i = Math.floor(Math.random() * wordParts.length);
j = Math.floor(Math.random() * wordParts.length);
if (i == j) continue;
if (wordParts[i][0] == wordParts[j][0]) continue;
if (wordParts[i][1] == wordParts[j][1]) continue;
break;
}
var codename = wordParts[i][0] + wordParts[j][1];
var type = pick(types);
var verb = pick(verbs);
var noun = pick(nouns);
var fed = pick(feds);
var check = pick(checks);
removeChildren(codenameSpan);
addText(codenameSpan, codename);
removeChildren(typeSpan);
addText(typeSpan, type);
removeChildren(verbSpan);
addText(verbSpan, verb);
removeChildren(nounSpan);
addText(nounSpan, noun);
removeChildren(fedSpan);
addText(fedSpan, fed);
removeChildren(checkSpan);
addText(checkSpan, check);
}
function setup() {
var btn = document.getElementById('btn');
btn.addEventListener('click', spin);
spin();
}
document.addEventListener('DOMContentLoaded', setup);
</script>
<script type="text/javascript" src="javascripts/jquery.min.js"></script>
<script type="application/x-social-share-privacy-settings">{"path_prefix":"","layout":"line","services":{"buffer":{"status":false},"delicious":{"status":false},"disqus":{"status":false},"flattr":{"status":false},"hackernews":{"status":false},"linkedin":{"status":false},"mail":{"status":false},"pinterest":{"status":false},"reddit":{"status":false},"stumbleupon":{"status":false},"tumblr":{"status":false},"xing":{"status":false}}}</script>
</head>
<body>
<div class="container">
<span class="headline">Recently released NSA documents revealed the existence of
<span class="madlib" id="codename">the Options menu</span>, a
<span class="madlib" id="type">feature of your browser</span> that
<span class="madlib" id="verb">lets you enable</span>
<span class="madlib" id="noun">JavaScript</span>.
<span class="madlib" id="fed">The developer of this page</span> assured the
public that the program
<span class="madlib" id="check">needs JavaScript to run</span>.
</span>
</div>
<div class="btnbox">
<button id="btn" onclick="spin();">Spin again</button>
</div>
<div class="c2a">
<h2>Now what?</h2>
<ul>
<li>Truth is scarier than fiction.
Read up on the NSA's actual programs from
<a href="http://www.theguardian.com/profile/glenn-greenwald">Glenn Greenwald</a>,
<a href="https://www.schneier.com/">Bruce Schneier</a>,
or elsewhere across the web.</li>
<li>Help change the system. The folks at
<a href="http://www.demandprogress.org/">Demand Progress</a> and the
<a href="https://www.eff.org/"><acronym title="Electronic Frontier Foundation">EFF</acronym></acronymn></a>
do good work, and they could use your voice or any donation you can muster.
</li>
<li>Protect your own communications. Visit
<a href="https://www.prism-break.org/">PRISM Break</a> to learn about
available technical solutions. For secure text messaging and phone calls,
see <a href="https://whispersystems.org/">Open WhisperSystems</a>. Visit the
<a href="https://www.torproject.org/">Tor Project</a> to learn how to browse
the web more anonymously. Keep an eye on the
<a href="https://www.darkmail.info/">Dark Mail Alliance</a> in the coming
year for a new way to encrypt email.
</li>
</ul>
<div data-social-share-privacy="true"></div>
</div>
<div class="stamp">
<a href="http://fffff.at/speed-project/">
<img style="border: 0; z-index: -1;" src="speedproject-approved-stamp-4h.gif" alt="SPEED PROJECT APPROVED! 4 hours" width="230" height="242">
</a>
</div>
<a href="https://github.com/divergentdave/nsa-o-matic">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png" alt="Fork me on GitHub">
</a>
<script type="text/javascript">(function () {var s = document.createElement('script');var t = document.getElementsByTagName('script')[0];s.type = 'text/javascript';s.async = true;s.src = 'javascripts/jquery.socialshareprivacy.min.autoload.js';t.parentNode.insertBefore(s, t);})();</script>
<!--[if !(lt IE 8)]><!-->
<script type="text/javascript">
(function(){var e=document.createElement("script");e.type="text/javascript";e.async=true;e.src=document.location.protocol+"//d1agz031tafz8n.cloudfront.net/thedaywefightback.js/widget.min.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})()
</script>
<!--<![endif]-->
</body>
</html>