forked from TedTschopp/The-Password-Challange
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPassword Challange lite.html
executable file
·415 lines (408 loc) · 18.1 KB
/
Password Challange lite.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
408
409
410
411
412
413
414
415
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Password Strength Checker</title>
<link type="text/css" href="css/pwdmeter.css" media="screen" rel="stylesheet" />
<!--[if lt IE 7]>
<link type="text/css" href="css/ie.css" media="screen" rel="stylesheet" />
<![endif]-->
<script type="text/javascript" src="js/hacked_passwords_lite.js" language="javascript"></script>
<script type="text/javascript" src="js/dictionary_lite.js" language="javascript"></script>
<script type="text/javascript" src="js/passwords_common.js" language="javascript"></script>
<script type="text/javascript" src="js/pwdmeter_lite.js" language="javascript"></script>
</head>
<body>
<!--
<div id="header">
<div id="logo">
<h1 id="blogname"><a href="#">The Password Challenge 4.0</a></h1>
</div>
</div>
-->
<div id="content">
<form id="formPassword" name="formPassword">
<table id="bigtable" width="100%" cellpadding="5" cellspacing="1" border="0">
<tr>
<td class="w33">
<table id="tablePwdCheck" cellpadding="5" cellspacing="1" border="0">
<tr>
<th colspan="2" class="txtLeft bold txtLg">Test Your Password</th>
</tr>
<tr>
<th>Password:</th>
<td>
<input type="password" id="passwordPwd" name="passwordPwd" autocomplete="off" onKeyPress="chkPass(this.value);" />
<input type="text" id="passwordTxt" name="passwordTxt" autocomplete="off" onKeyPress="chkPass(this.value);" class="hide" />
<input type="reset" value="Reset!" onClick="initPwdChk(1);">
</td>
</tr>
<tr class="hide">
<th>Attacker has access to the machine:</th>
<td><input type="checkbox" id="hash" value="1" checked name="hash" onclick="togPwdHash();recalcPwd();" /></td>
</tr>
<tr id="DisplayTimeout" class="hide">
<th>System supports timeout :</th>
<td><input type="checkbox" id="supportTimeOut" name="supportTimeOut" onclick="togPwdTimeOut();recalcPwd();" /></td>
</tr>
<tr id="DisplayNumberAttempts" class="hide">
<th>Number of attempts until timeout:</th>
<td>
<input type="text" id="Attempts" name="Attempts" autocomplete="off" value = "3" onkeyup="recalcPwd();"/>
</td>
</tr>
<tr id="DisplayNumberTimeouts" class="hide">
<th>Length of timeout in seconds:</th>
<td>
<input type="text" id="Timeout" name="Timeout" autocomplete="off" value = "10" onkeyup="recalcPwd();"/>
</td>
</tr>
<tr id="DisplayLockout" class="hide">
<th>System supports Lockout:</th>
<td><input type="checkbox" id="supportLockOut" name="supportLockOut" onclick="togPwdLockOut();recalcPwd();" /></td>
</tr>
<tr id="DisplayNumberLockouts" class="hide">
<th>Number of attempts until lockout:</th>
<td>
<input type="text" id="Lockout" name="Lockout" autocomplete="off" value = "5" onkeyup="recalcPwd();"/>
</td>
</tr>
<tr id="DisplayLockoutTime" class="hide">
<th>Length of lockout in minutes:</th>
<td>
<input type="text" id="LockOutTime" name="LockOutTime" autocomplete="off" value = "30" onkeyup="recalcPwd();"/>
</td>
</tr>
<tr class="hide">
<th>Password <span id="ShowOrHide">Hidden</span>:</th>
<td><input type="checkbox" id="mask" value="1" checked name="mask" onclick="togPwdMask();" /></td>
</tr>
<tr class="hide">
<th>Show score details:</th>
<td><input type="checkbox" id="score_details" name="score_details" onclick="togScoreMask();" /></td>
</tr>
<tr>
<th>Score:</th>
<td>
<div id="scorebarBorder">
<div id="score">0%</div>
<div id="scorebar"> </div>
</div>
</td>
</tr>
<tr class="hide">
<th>Complexity:</th>
<td><div id="complexity">Too Short</div></td>
</tr>
<tr class="hide">
<th>Bits of Entropy:</th>
<td><div id="bits">0 bits</div></td>
</tr>
<tr>
<th>Notes:<br /></th>
<td colspan="2"><div id="speedP"><br /><br /><br /><br /><br />0 seconds</div>
<div id="notes"><span id="password_notes"></span></div></td>
</tr>
</table>
<table id="tablePwdScore" cellpadding="5" cellspacing="1" border="0" class="hide">
<tr class="hide">
<th colspan="2" class="txtLeft bold txtLg">Notes & Speed to Hack:<br />
</tr>
<tr class="hide">
<th>Amateur:<br />
<span class="txtSmall">Homegrown tools on a PC</span></th>
<td><div id="speed"><br /><br /><br /><br /><br />0 seconds</div></td>
</tr>
<tr class="hide">
<th>Average:<br />
<span class="txtSmall">Professional tools on home network</span></th>
<td><div id="speedA"><br /><br /><br /><br /><br />0 seconds</div></td>
</tr>
<!--<tr>
<th>Notes:<br /><br /><br /><br /><br /></th>
<td><div id="notes"><span id="password_notes"></span>
</div> </td>
</tr>-->
</table>
</td>
<td class="w33 hide">
</td>
<td class="w33 hide">
<table id="tablePwdStatus" cellpadding="5" cellspacing="1" border="0" class="hide">
<tr>
<th colspan="2">Additions</th>
<th class="txtCenter">Type</th>
<th class="txtCenter">Rate</th>
<th class="txtCenter">Count</th>
<th class="txtCenter">Bonus</th>
</tr>
<tr>
<th width="1%"><div id="div_nLength" class="fail"> </div></th>
<td width="94%">Number of Characters</td>
<td width="1%" class="txtCenter">Flat</td>
<td width="1%" class="txtCenter italic">+(n*4)</td>
<td width="1%"><div id="nLength" class="box"> </div></td>
<td width="1%"><div id="nLengthBonus" class="boxPlus"> </div></td>
</tr>
<tr>
<th><div id="div_nAlphaUC" class="fail"> </div></th>
<td>Uppercase Letters</td>
<td class="txtCenter">Cond/Incr</td>
<td nowrap="nowrap" class="txtCenter italic">+((len-n)*2)</td>
<td><div id="nAlphaUC" class="box"> </div></td>
<td><div id="nAlphaUCBonus" class="boxPlus"> </div></td>
</tr>
<tr>
<th><div id="div_nAlphaLC" class="fail"> </div></th>
<td>Lowercase Letters</td>
<td class="txtCenter">Cond/Incr</td>
<td class="txtCenter italic">+((len-n)*2)</td>
<td><div id="nAlphaLC" class="box"> </div></td>
<td><div id="nAlphaLCBonus" class="boxPlus"> </div></td>
</tr>
<tr>
<th><div id="div_nNumber" class="fail"> </div></th>
<td>Numbers</td>
<td class="txtCenter">Cond</td>
<td class="txtCenter italic">+(n*4)</td>
<td><div id="nNumber" class="box"> </div></td>
<td><div id="nNumberBonus" class="boxPlus"> </div></td>
</tr>
<tr>
<th><div id="div_nSymbol" class="fail"> </div></th>
<td>Symbols</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*6)</td>
<td><div id="nSymbol" class="box"> </div></td>
<td><div id="nSymbolBonus" class="boxPlus"> </div></td>
</tr>
<tr>
<th><div id="div_nMidChar" class="fail"> </div></th>
<td>Middle Numbers or Symbols</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*2)</td>
<td><div id="nMidChar" class="box"> </div></td>
<td><div id="nMidCharBonus" class="boxPlus"> </div></td>
</tr>
<tr>
<th><div id="div_nRequirements" class="fail"> </div></th>
<td>Requirements</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">+(n*2)</td>
<td><div id="nRequirements" class="box"> </div></td>
<td><div id="nRequirementsBonus" class="boxPlus"> </div></td>
</tr>
<tr>
<th colspan="6">Deductions</th>
</tr>
<tr>
<th width="1%"><div id="div_nAlphasOnly" class="pass"> </div></th>
<td width="94%">Letters Only</td>
<td width="1%" class="txtCenter">Flat</td>
<td width="1%" class="txtCenter italic">-n</td>
<td width="1%"><div id="nAlphasOnly" class="box"> </div></td>
<td width="1%"><div id="nAlphasOnlyBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nNumbersOnly" class="pass"> </div></th>
<td>Numbers Only</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-n</td>
<td><div id="nNumbersOnly" class="box"> </div></td>
<td><div id="nNumbersOnlyBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nRepChar" class="pass"> </div></th>
<td>Repeat Characters (Case Insensitive)</td>
<td class="txtCenter">Comp</td>
<td nowrap="nowrap" class="txtCenter italic"> - </td>
<td><div id="nRepChar" class="box"> </div></td>
<td><div id="nRepCharBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nConsecAlphaUC" class="pass"> </div></th>
<td>Consecutive Uppercase Letters</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecAlphaUC" class="box"> </div></td>
<td><div id="nConsecAlphaUCBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nConsecAlphaLC" class="pass"> </div></th>
<td>Consecutive Lowercase Letters</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecAlphaLC" class="box"> </div></td>
<td><div id="nConsecAlphaLCBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nConsecNumber" class="pass"> </div></th>
<td>Consecutive Numbers</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*2)</td>
<td><div id="nConsecNumber" class="box"> </div></td>
<td><div id="nConsecNumberBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nSeqAlpha" class="pass"> </div></th>
<td>Sequential Letters (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqAlpha" class="box"> </div></td>
<td><div id="nSeqAlphaBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nSeqNumber" class="pass"> </div></th>
<td>Sequential Numbers (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqNumber" class="box"> </div></td>
<td><div id="nSeqNumberBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nSeqSymbol" class="pass"> </div></th>
<td>Sequential Symbols (3+)</td>
<td class="txtCenter">Flat</td>
<td class="txtCenter italic">-(n*3)</td>
<td><div id="nSeqSymbol" class="box"> </div></td>
<td><div id="nSeqSymbolBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th colspan="6">Disqualifications</th>
</tr>
<tr>
<th><div id="div_nCommonPassword" class="pass"> </div></th>
<td>Common Password</td>
<td class="txtCenter">Disq</td>
<td class="txtCenter italic">-</td>
<td><div id="nCommonPassword" class="box"> </div></td>
<td><div id="nCommonPasswordBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nDictionary" class="pass"> </div></th>
<td>Dictionary</td>
<td class="txtCenter">Disq</td>
<td class="txtCenter italic">-</td>
<td><div id="nDictionary" class="box"> </div></td>
<td><div id="nDictionaryBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<tr>
<th><div id="div_nHacked_passwords" class="pass"> </div></th>
<td>Hacked Passwords</td>
<td class="txtCenter">Disq</td>
<td class="txtCenter italic">-</td>
<td><div id="nHacked_passwords" class="box"> </div></td>
<td><div id="nHacked_passwordsBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th colspan="6">Warnings</th>
</tr>
<tr>
<th><div id="div_nContainsCommonPassword" class="pass"> </div></th>
<td>Contains a Common Password</td>
<td class="txtCenter">Disq</td>
<td class="txtCenter italic">-</td>
<td><div id="nContainsCommonPassword" class="box"> </div></td>
<td><div id="nContainsCommonPasswordBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nContainsDictionary" class="pass"> </div></th>
<td>Contains Dictionary</td>
<td class="txtCenter">Disq</td>
<td class="txtCenter italic">-</td>
<td><div id="nContainsDictionary" class="box"> </div></td>
<td><div id="nContainsDictionaryBonus" class="boxMinus"> </div></td>
</tr>
<tr>
<th><div id="div_nContainsHacked_passwords" class="pass"> </div></th>
<td>Contains Hacked Passwords</td>
<td class="txtCenter">Disq</td>
<td class="txtCenter italic">-</td>
<td><div id="nContainsHacked_passwords" class="box"> </div></td>
<td><div id="nContainsHacked_passwordsBonus" class="boxMinus"> </div></td>
</tr>
<!--<tr>
<th colspan="6">Legend</th>
</tr>
<tr>
<th>
<ul id="listLegend">
<li><div class="exceed imgLegend"> </div></li>
</ul>
</th>
<td colspan="5">
<span class="bold">Exceptional:</span> Exceeds minimum standards. Additional bonuses are applied.
</td>
</tr>
<tr>
<th>
<ul id="listLegend">
<li><div class="pass imgLegend"> </div></li>
</ul>
</th>
<td colspan="5">
<span class="bold">Sufficient:</span> Meets minimum standards. Additional bonuses are applied.
</td>
</tr>
<tr>
<th>
<ul id="listLegend">
<li><div class="warn imgLegend"> </div></li>
</ul>
</th>
<td colspan="5">
<span class="bold">Warning:</span> Advisory against employing bad practices. Overall score is reduced.
</td>
</tr>
<tr>
<th>
<ul id="listLegend">
<li><div class="fail imgLegend"> </div></li>
</ul>
</th>
<td colspan="5">
<span class="bold">Failure:</span> Does not meet the minimum standards. Overall score is reduced.
</td>
</tr>
<tr>
<th colspan="6">Quick Footnotes</th>
</tr>
<tr>
<td colspan="6">
• <strong>Flat:</strong> Rates that add/remove in non-changing increments.<br />
• <strong>Incr:</strong> Rates that add/remove in adjusting increments.<br />
• <strong>Cond:</strong> Rates that add/remove depending on additional factors.<br />
• <strong>Comp:</strong> Rates that are too complex to summarize. See source code for details.<br />
• <strong>n:</strong> Refers to the total number of occurrences.<br />
• <strong>len:</strong> Refers to the total password length.<br />
• <strong>Disq:</strong> Disqualifies you from the scoring.<br />
• Additional bonus scores are given for increased character variety.<br />
• Final score is a cumulative result of all bonuses minus deductions.<br />
• Final score is capped with a minimum of 0 and a maximum of 100.<br />
• Score and Complexity ratings are not conditional on meeting minimum requirements.<br />
</td>
</tr>-->
</table>
</td>
</tr>
</table>
</form>
<div class="xtend">
</div>
<div id="footer" class="hide">
<div class="txtRight txtSmall noPad">v.4.0 (rev.30000)</div>
<p class="txtCenter txtSmall">This software is freely available for distribution under the <a href="http://www.gnu.org/licenses/gpl-3.0.txt" target="_blank">GNU General Public License (GPL)</a>.</p>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1278981-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>