forked from binarymaster/3WiFi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wpspin.html
1146 lines (1057 loc) · 28 KB
/
wpspin.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
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<title>%l10n_title_wpspin%</title>
<head>
<script type="text/javascript">
function zeroFill(number, width)
{
width -= number.toString().length;
if (width > 0)
{
return new Array(width + (/\./.test( number ) ? 2 : 1)).join('0') + number;
}
return number + ""; // always return a string
}
function reverse(s)
{
return s.split("").reverse().join("");
}
function insert(a, b, position)
{
return [a.slice(0, position), b, a.slice(position)].join('');
}
function pinChecksum(pin)
{
pin %= 10000000;
var a = 0, t = pin;
while (t)
{
a += 3 * (t % 10);
t = Math.floor(t / 10);
a += t % 10;
t = Math.floor(t / 10);
}
return (pin * 10) + ((10 - (a % 10)) % 10);
}
function pinSuggest()
{
$('#result').empty();
var ln = $('#bssids').val().replace(/^\s+|\s+$/g, '').split("\n");
for (var j = 0; j < ln.length; j++)
{
var m = ln[j];
m = m.replace(/:/g, '').replace(/-/g, '').replace(/\./g, '').replace(/ /g, '');
m = parseInt(m, 16);
if (isNaN(m) || m > 0xFFFFFFFFFFFF) continue;
var mt = zeroFill(m.toString(16).toUpperCase(), 12);
mt = insert(mt, ':', 10);
mt = insert(mt, ':', 8);
mt = insert(mt, ':', 6);
mt = insert(mt, ':', 4);
mt = insert(mt, ':', 2);
$('#suggpin').text("%l10n_wpspin_suggested% "+mt+"\n\n");
var sugg = false;
for (var i = 0; i < algos.length; i++)
{
var info = $('#' + algos[i].id).val().split("\n");
for (var k = 0; k < info.length; k++)
{
if (info[k].indexOf(' ') == 0 && info[k].lastIndexOf(':xx') == 16)
{
info[k] = info[k].substr(2);
info[k] = info[k].substr(0, info[k].indexOf('x'));
if (mt.indexOf(info[k]) == 0)
{
sugg = true;
var pin = pinChecksum(algos[i].func(m));
pin = zeroFill(pin.toString(10), 8);
if (algos[i].stat)
{
$('#suggpin').append(pin + ' | %l10n_wpspin_static% - ' + algos[i].name + "\n");
} else {
$('#suggpin').append(pin + ' | ' + algos[i].name + "\n");
}
}
}
}
}
if (sugg) $('#result').append($('#suggpin').val() + "\n");
}
$('#algosel').val('algonone');
}
function getAll()
{
var m = $('#bssids').val().replace(/^\s+|\s+$/g, '').split("\n");
if (m.length > 1)
return alert('%l10n_wpspin_one_bssid%.');
var bss = m[0].replace(/ /g, '').toUpperCase();
m = m[0].replace(/:/g, '').replace(/-/g, '').replace(/\./g, '').replace(/ /g, '');
m = parseInt(m, 16);
if (isNaN(m) || m > 0xFFFFFFFFFFFF)
return alert('%l10n_wpspin_bssid_wrong%.');
$('#result').text("%l10n_wpspin_all_pins% "+bss+"\n\n");
for (var i = 0; i < algos.length; i++)
{
var pin = pinChecksum(algos[i].func(m));
pin = zeroFill(pin.toString(10), 8);
if (algos[i].stat)
{
$('#result').append(pin + ' | %l10n_wpspin_static% - ' + algos[i].name + "\n");
} else {
$('#result').append(pin + ' | ' + algos[i].name + "\n");
}
}
$('#algosel').val('algonone');
}
function showAlgo()
{
var algo = $('#algosel').val();
$('#result').empty();
for (var i = 0; i < algos.length; i++)
{
if (algos[i].id == algo)
{
if (algos[i].stat)
{
$('#result').append(algos[i].name + " %l10n_wpspin_stat%,\n");
} else {
$('#result').append(algos[i].name + " %l10n_wpspin_algo%,\n");
}
$('#result').append("%l10n_wpspin_used_by%\n\n");
$('#result').append($('#' + algos[i].id).val());
break;
}
}
}
function detect()
{
var formdata = $($('form')[0]).serialize();
$('input').prop('disabled', true);
$('button').prop('disabled', true);
$('#fdata').empty();
$('#fhead').empty();
$('#fhead').append('<tr><th>%l10n_tbl_algorithm%</th><th>%l10n_tbl_wpspin%</th><th>%l10n_tbl_probability%</th></tr>');
$('#fdata').append('<tr><td colspan=3><img src="img/loading.gif"></td></tr>');
$.post('3wifi.php?a=wpspin', formdata, function(d)
{
$('input').prop('disabled', false);
$('button').prop('disabled', false);
if (!d.result)
{
if (d.error == 'database')
{
$('#fdata > tr:first-child > :first-child').text('%l10n_err_database%.');
}
else if (d.error == 'bssid')
{
$('#fdata > tr:first-child > :first-child').text('%l10n_wpspin_bssid_wrong%.');
}
else
{
$('#fdata > tr:first-child > :first-child').text('%l10n_err_unknown%.');
}
return;
}
if (!d.auth)
{
$('#fdata > tr:first-child > :first-child').text('%l10n_err_unauthorized%.');
return;
}
if (d.scores.length > 0)
{
$('#fdata').empty();
for (var i = 0; i < d.scores.length; i++)
{
$('#fdata').append('<tr><td>'+d.scores[i].name+'</td><td>'+d.scores[i].value+'</td><td style="text-align: left"><span class=perc></span><b> '+Math.round(d.scores[i].score * 100)+'%</b></td></tr>');
var perc = $('.perc:last');
var wid = 180;
perc.css('width', wid + 'px');
var chld = $('<span class=perc-data>');
chld.css('width', Math.round(d.scores[i].score * 100) + '%');
perc.html(chld);
}
} else {
$('#fdata > tr:first-child > :first-child').text('%l10n_wpspin_not_found%.');
}
}).fail(function(jqXHR, textStatus, errorThrown) {
$('#fdata > tr:first-child > :first-child').text('%l10n_err_data%.');
$('input').prop('disabled', false);
$('button').prop('disabled', false);
});
}
function initpage()
{
algos = [];
algos.push({id: "pin24", name: "24-bit PIN", stat: false, func: function (mac) {return mac & 0xFFFFFF;}});
algos.push({id: "pin28", name: "28-bit PIN", stat: false, func: function (mac) {return mac & 0xFFFFFFF;}});
algos.push({id: "pin32", name: "32-bit PIN", stat: false, func: function (mac) {return mac % 0x100000000;}});
algos.push({id: "pin36", name: "36-bit PIN", stat: false, func: function (mac) {return mac % 0x1000000000;}});
algos.push({id: "pin40", name: "40-bit PIN", stat: false, func: function (mac) {return mac % 0x10000000000;}});
algos.push({id: "pin44", name: "44-bit PIN", stat: false, func: function (mac) {return mac % 0x100000000000;}});
algos.push({id: "pin48", name: "48-bit PIN", stat: false, func: function (mac) {return mac;}});
algos.push({id: "pin24rh", name: "Reverse byte 24-bit", stat: false, func: function (mac)
{
mac &= 0xFFFFFF;
mac = zeroFill(mac.toString(16), 6);
mac = mac.substr(4,2)
+ mac.substr(2,2)
+ mac.substr(0,2);
return parseInt(mac, 16);
}});
algos.push({id: "pin32rh", name: "Reverse byte 32-bit", stat: false, func: function (mac)
{
mac %= 0x100000000;
mac = zeroFill(mac.toString(16), 8);
mac = mac.substr(6,2)
+ mac.substr(4,2)
+ mac.substr(2,2)
+ mac.substr(0,2);
return parseInt(mac, 16);
}});
algos.push({id: "pin48rh", name: "Reverse byte 48-bit", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(16), 12);
mac = mac.substr(10,2)
+ mac.substr(8,2)
+ mac.substr(6,2)
+ mac.substr(4,2)
+ mac.substr(2,2)
+ mac.substr(0,2);
return parseInt(mac, 16);
}});
algos.push({id: "pin24rn", name: "Reverse nibble 24-bit", stat: false, func: function (mac)
{
mac &= 0xFFFFFF;
mac = zeroFill(mac.toString(16), 6);
return parseInt(reverse(mac), 16);
}});
algos.push({id: "pin32rn", name: "Reverse nibble 32-bit", stat: false, func: function (mac)
{
mac %= 0x100000000;
mac = zeroFill(mac.toString(16), 8);
return parseInt(reverse(mac), 16);
}});
algos.push({id: "pin48rn", name: "Reverse nibble 48-bit", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(16), 12);
return parseInt(reverse(mac), 16);
}});
algos.push({id: "pin24rb", name: "Reverse bits 24-bit", stat: false, func: function (mac)
{
mac &= 0xFFFFFF;
mac = zeroFill(mac.toString(2), 24);
return parseInt(reverse(mac), 2);
}});
algos.push({id: "pin32rb", name: "Reverse bits 32-bit", stat: false, func: function (mac)
{
mac %= 0x100000000;
mac = zeroFill(mac.toString(2), 32);
return parseInt(reverse(mac), 2);
}});
algos.push({id: "pin48rb", name: "Reverse bits 48-bit", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(2), 48);
return parseInt(reverse(mac), 2);
}});
algos.push({id: "pinDLink", name: "D-Link PIN", stat: false, func: function (mac)
{
mac &= 0xFFFFFF;
mac ^= 0x55AA55;
mac ^= ((mac & 0xF) << 4)
| ((mac & 0xF) << 8)
| ((mac & 0xF) << 12)
| ((mac & 0xF) << 16)
| ((mac & 0xF) << 20);
mac %= 10000000;
if (mac < 1000000) mac += ((mac % 9) * 1000000) + 1000000;
return mac;
}});
algos.push({id: "pinDLink1", name: "D-Link PIN +1", stat: false, func: function (mac)
{
mac++;
mac &= 0xFFFFFF;
mac ^= 0x55AA55;
mac ^= ((mac & 0xF) << 4)
| ((mac & 0xF) << 8)
| ((mac & 0xF) << 12)
| ((mac & 0xF) << 16)
| ((mac & 0xF) << 20);
mac %= 10000000;
if (mac < 1000000) mac += ((mac % 9) * 1000000) + 1000000;
return mac;
}});
algos.push({id: "pinEasyBox", name: "Vodafone EasyBox", stat: false, func: function (mac)
{
var sn = zeroFill((mac & 0xFFFF).toString(10), 5);
var k1 = parseInt(sn[1]) + parseInt(sn[2]) + ((mac & 0xFF) >> 4) + (mac & 0xF);
k1 &= 0xF;
var k2 = parseInt(sn[3]) + parseInt(sn[4]) + ((mac & 0xFFFF) >> 12) + ((mac & 0xFFF) >> 8);
k2 &= 0xF;
var hpin = [];
hpin[0] = k1 ^ parseInt(sn[4]);
hpin[1] = k1 ^ parseInt(sn[3]);
hpin[2] = k2 ^ ((mac & 0xFFF) >> 8);
hpin[3] = k2 ^ ((mac & 0xFF) >> 4);
hpin[4] = ((mac & 0xFF) >> 4) ^ parseInt(sn[4]);
hpin[5] = (mac & 0xF) ^ parseInt(sn[3]);
hpin[6] = k1 ^ parseInt(sn[2]);
var hex = "";
for (var i = 0; i < hpin.length; i++) hex += hpin[i].toString(16);
return parseInt(hex, 16);
}});
algos.push({id: "pinASUS", name: "ASUS PIN", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(16), 12);
var b = [];
b[0] = parseInt(mac.substr(0, 2), 16);
b[1] = parseInt(mac.substr(2, 2), 16);
b[2] = parseInt(mac.substr(4, 2), 16);
b[3] = parseInt(mac.substr(6, 2), 16);
b[4] = parseInt(mac.substr(8, 2), 16);
b[5] = parseInt(mac.substr(10, 2), 16);
var pin = [];
for (var i = 0; i < 7; i++)
{
pin[i] = (b[i % 6] + b[5]) % (10 - ((i + b[1] + b[2] + b[3] + b[4] + b[5]) % 7));
}
return parseInt(pin.join(''), 10);
}});
algos.push({id: "pinAirocon", name: "Airocon Realtek", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(16), 12);
var b = [];
b[0] = parseInt(mac.substr(0, 2), 16);
b[1] = parseInt(mac.substr(2, 2), 16);
b[2] = parseInt(mac.substr(4, 2), 16);
b[3] = parseInt(mac.substr(6, 2), 16);
b[4] = parseInt(mac.substr(8, 2), 16);
b[5] = parseInt(mac.substr(10, 2), 16);
return ((b[0] + b[1]) % 10)
+ (((b[5] + b[0]) % 10) * 10)
+ (((b[4] + b[5]) % 10) * 100)
+ (((b[3] + b[4]) % 10) * 1000)
+ (((b[2] + b[3]) % 10) * 10000)
+ (((b[1] + b[2]) % 10) * 100000)
+ (((b[0] + b[1]) % 10) * 1000000);
}});
algos.push({id: "pinInvNIC", name: "Inv NIC to PIN", stat: false, func: function (mac)
{
mac &= 0xFFFFFF;
return ~mac & 0xFFFFFF;
}});
algos.push({id: "pinNIC2", name: "NIC * 2", stat: false, func: function (mac) {return (mac & 0xFFFFFF) * 2;}});
algos.push({id: "pinNIC3", name: "NIC * 3", stat: false, func: function (mac) {return (mac & 0xFFFFFF) * 3;}});
algos.push({id: "pinOUIaddNIC", name: "OUI + NIC", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(16), 12);
var oui = parseInt(mac.substr(0, 6), 16);
var nic = parseInt(mac.substr(6, 6), 16);
return (oui + nic) % 0x1000000;
}});
algos.push({id: "pinOUIsubNIC", name: "OUI - NIC", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(16), 12);
var oui = parseInt(mac.substr(0, 6), 16);
var nic = parseInt(mac.substr(6, 6), 16);
if (nic < oui)
{
return oui - nic;
} else {
return (oui + 0x1000000 - nic) & 0xFFFFFF;
}
}});
algos.push({id: "pinOUIxorNIC", name: "OUI ^ NIC", stat: false, func: function (mac)
{
mac = zeroFill(mac.toString(16), 12);
var oui = parseInt(mac.substr(0, 6), 16);
var nic = parseInt(mac.substr(6, 6), 16);
return oui ^ nic;
}});
algos.push({id: "pinCisco", name: "Cisco", stat: true, func: function (mac) {return 1234567;}});
algos.push({id: "pinBrcm1", name: "Broadcom 1", stat: true, func: function (mac) {return 2017252;}});
algos.push({id: "pinBrcm2", name: "Broadcom 2", stat: true, func: function (mac) {return 4626484;}});
algos.push({id: "pinBrcm3", name: "Broadcom 3", stat: true, func: function (mac) {return 7622990;}});
algos.push({id: "pinBrcm4", name: "Broadcom 4", stat: true, func: function (mac) {return 6232714;}});
algos.push({id: "pinDSL2740R", name: "DSL-2740R", stat: true, func: function (mac) {return 6817554;}});
algos.push({id: "pinRealtek", name: "Realtek", stat: true, func: function (mac) {return 9566146;}});
algos.push({id: "pinUpvel", name: "Upvel", stat: true, func: function (mac) {return 2085483;}});
algos.push({id: "pinUR814AC", name: "UR-814AC", stat: true, func: function (mac) {return 4397768;}});
algos.push({id: "pinUR825AC", name: "UR-825AC", stat: true, func: function (mac) {return 0529417;}});
algos.push({id: "pinOnlime", name: "Onlime", stat: true, func: function (mac) {return 9995604;}});
algos.push({id: "pinEdimax", name: "Edimax", stat: true, func: function (mac) {return 3561153;}});
algos.push({id: "pinThomson", name: "Thomson", stat: true, func: function (mac) {return 6795814;}});
algos.push({id: "pinHG532x", name: "HG532x", stat: true, func: function (mac) {return 3425928;}});
for (var i = 0; i < algos.length; i++)
{
if (algos[i].stat)
{
$('#algosel').append($('<option>').val(algos[i].id).text('Static PIN - ' + algos[i].name));
} else {
$('#algosel').append($('<option>').val(algos[i].id).text(algos[i].name));
}
}
}
</script>
</head>
<body>
<table width=100%>
<tr><td width=50% style="vertical-align: top">
<p>%l10n_msg_wpspin%</p>
<p>%l10n_msg_wpspin_info%</p>
<table>
<tr><td>
<textarea id=bssids rows=3 cols=22 autofocus>12:34:56:78:9A:BC</textarea>
</td><td>
<button onclick="pinSuggest()">%l10n_btn_suggest%</button> <button onclick="getAll()">%l10n_btn_getall%</button>
</td></tr>
<tr><td colspan=2>
<textarea id=result readonly rows=14 cols=42></textarea>
</td></tr>
</table>
<div>%l10n_wpspin_algos%</div>
<select id=algosel onchange="showAlgo()"><option value=algonone>%l10n_wpspin_not_selected%</option></select>
</td><td width=50% style="vertical-align: top">
<p>%l10n_msg_wpspin_db%</p>
<p>%l10n_msg_wpspin_db_info%</p>
<form id=fdeviceform enctype="multipart/form-data" method="POST" onsubmit="detect(); return false">
<table>
<tbody>
<tr>
<td><nobr>%l10n_str_bssid%</nobr></td>
<td><input name="bssid" type="text" value="" pattern="([0-9A-Fa-f]{2}[:-]?){5}[0-9A-Fa-f]{2}" /></td>
<td><nobr> (%l10n_bssid_format%)</nobr></td>
</tr>
</tbody>
<tbody>
<tr><td><input type=submit value="%l10n_btn_detect%" /></td><td></td></tr>
</tbody>
</table>
</form>
<br>
<table class=st1>
<tbody id=fhead></tbody>
<tbody id=fdata></tbody>
</table>
</td></tr>
</table>
<div style="display: none">
<textarea id=suggpin rows=14 cols=38></textarea>
<textarea id=pin24>ZyXEL NDMS
10:7B:EF:xx:xx:xx
14:A9:E3:xx:xx:xx
28:28:5D:xx:xx:xx
50:67:F0:xx:xx:xx
5C:F4:AB:xx:xx:xx
6A:28:5D:xx:xx:xx
AA:28:5D:xx:xx:xx
B0:B2:DC:xx:xx:xx
C8:6C:87:xx:xx:xx
CC:5D:4E:xx:xx:xx
EA:28:5D:xx:xx:xx
EC:43:F6:xx:xx:xx
EE:43:F6:xx:xx:xx
F2:B2:DC:xx:xx:xx
FC:F5:28:xx:xx:xx
FE:F5:28:xx:xx:xx
%l10n_wpspin_wsc%
ZyXEL Internet Center
Keenetic Giga II
Keenetic Ultra
RalinkAPS
TRENDnet (%l10n_wpspin_some_fw%)
TRENDnet TEW-651BR
00:14:D1:xx:xx:xx
D-Link DIR-300NRU B5
84:C9:B2:xx:xx:xx
%l10n_wpspin_wsc%
RalinkAPS
D-Link DIR-620
14:D6:4D:xx:xx:xx
90:94:E4:xx:xx:xx
BC:F6:85:xx:xx:xx
%l10n_wpspin_wsc%
RalinkAPS
D-Link DSL-2600U
C4:A8:1D:xx:xx:xx
Huawei HG532e
00:66:4B:xx:xx:xx
08:7A:4C:xx:xx:xx
14:B9:68:xx:xx:xx
20:08:ED:xx:xx:xx
34:6B:D3:xx:xx:xx
4C:ED:DE:xx:xx:xx
78:6A:89:xx:xx:xx
88:E3:AB:xx:xx:xx
D4:6E:5C:xx:xx:xx
E8:CD:2D:xx:xx:xx
EC:23:3D:xx:xx:xx
EC:CB:30:xx:xx:xx
F4:9F:F3:xx:xx:xx
%l10n_wpspin_wsc%
RalinkAPS
ASUS RT-G32
ASUS RT-N13U
ASUS RT-N13U Rev.B1
20:CF:30:xx:xx:xx
90:E6:BA:xx:xx:xx
E0:CB:4E:xx:xx:xx
Upvel UR-309BN
Upvel UR-309NB
D4:BF:7F:4x:xx:xx
Upvel (%l10n_wpspin_some_fw%)
F8:C0:91:xx:xx:xx
Belkin F5D8231-4v5000
00:1C:DF:xx:xx:xx
Belkin F5D8235-4v1000
00:22:75:xx:xx:xx
Belkin F9K1104v1
08:86:3B:xx:xx:xx
Tenda W309R
00:B0:0C:xx:xx:xx
08:10:75:xx:xx:xx
C8:3A:35:xx:xx:xx
Conceptronic c300brs4a v2_v1.0.0
00:22:F7:xx:xx:xx
Edimax 3G-6210n
Edimax 3G-6220n
00:1F:1F:xx:xx:xx
Hitron CDE-30364
00:26:5B:xx:xx:xx
68:B6:CF:xx:xx:xx
78:8D:F7:xx:xx:xx
BC:14:01:xx:xx:xx
Huawei HG566a
20:2B:C1:xx:xx:xx
30:87:30:xx:xx:xx
5C:4C:A9:xx:xx:xx
62:23:3D:xx:xx:xx
62:3C:E4:xx:xx:xx
62:3D:FF:xx:xx:xx
62:53:D4:xx:xx:xx
62:55:9C:xx:xx:xx
62:6B:D3:xx:xx:xx
62:7D:5E:xx:xx:xx
62:96:BF:xx:xx:xx
62:A8:E4:xx:xx:xx
62:B6:86:xx:xx:xx
62:C0:6F:xx:xx:xx
62:C6:1F:xx:xx:xx
62:C7:14:xx:xx:xx
62:CB:A8:xx:xx:xx
62:CD:BE:xx:xx:xx
62:E8:7B:xx:xx:xx
64:16:F0:xx:xx:xx
6A:1D:67:xx:xx:xx
6A:23:3D:xx:xx:xx
6A:3D:FF:xx:xx:xx
6A:53:D4:xx:xx:xx
6A:55:9C:xx:xx:xx
6A:6B:D3:xx:xx:xx
6A:96:BF:xx:xx:xx
6A:7D:5E:xx:xx:xx
6A:A8:E4:xx:xx:xx
6A:C0:6F:xx:xx:xx
6A:C6:1F:xx:xx:xx
6A:C7:14:xx:xx:xx
6A:CB:A8:xx:xx:xx
6A:CD:BE:xx:xx:xx
6A:D1:5E:xx:xx:xx
6A:D1:67:xx:xx:xx
72:1D:67:xx:xx:xx
72:23:3D:xx:xx:xx
72:3C:E4:xx:xx:xx
72:3D:FF:xx:xx:xx
72:53:D4:xx:xx:xx
72:55:9C:xx:xx:xx
72:6B:D3:xx:xx:xx
72:7D:5E:xx:xx:xx
72:96:BF:xx:xx:xx
72:A8:E4:xx:xx:xx
72:C0:6F:xx:xx:xx
72:C6:1F:xx:xx:xx
72:C7:14:xx:xx:xx
72:CB:A8:xx:xx:xx
72:CD:BE:xx:xx:xx
72:D1:5E:xx:xx:xx
72:E8:7B:xx:xx:xx
Kuzomi K1500
Kuzomi K1550
00:26:CE:xx:xx:xx
MitraStar DSL-100HN-T1v4
98:97:D1:xx:xx:xx
E0:41:36:xx:xx:xx
MitraStar HGW-2501GN-R2
B2:46:FC:xx:xx:xx
E2:41:36:xx:xx:xx
Samsung SMT-G7440
5C:A3:9D:xx:xx:xx
D8:6C:E9:xx:xx:xx
DC:71:44:xx:xx:xx
Samsung SWL
80:1F:02:xx:xx:xx
E4:7C:F9:xx:xx:xx
TELDAT iRouter1104-W
00:A0:26:xx:xx:xx
TP-Link TD-W8951ND
A0:F3:C1:xx:xx:xx
TP-Link TD-W8961NDv2.1
64:70:02:xx:xx:xx
B0:48:7A:xx:xx:xx
F8:1A:67:xx:xx:xx
F8:D1:11:xx:xx:xx
%l10n_wpspin_tech%
Pin = MAC[7..12]
http://hellocow.cn/2012/04/get-the-pin-in-router-mac-address-start-with-c83a35-00b00c-081075/</textarea>
<textarea id=pin28>Huawei HG8245H
20:0B:C7:xx:xx:xx
48:46:FB:xx:xx:xx
D4:6A:A8:xx:xx:xx
F8:4A:BF:xx:xx:xx
%l10n_wpspin_tech%
Pin = MAC[6..12]</textarea>
<textarea id=pin32>D-Link DIR-300 (%l10n_wpspin_some_fw%)
00:07:26:xx:xx:xx
D8:FE:E3:xx:xx:xx
D-Link DIR-825AC (%l10n_wpspin_some_fw%)
10:62:EB:xx:xx:xx
1C:5F:2B:xx:xx:xx
48:EE:0C:xx:xx:xx
90:8D:78:xx:xx:xx
Beeline DIR-300
2C:AB:25:xx:xx:xx
ASUS (%l10n_wpspin_some_fw%)
ASUS RT-N13U Rev.B1
10:BF:48:xx:xx:xx
14:DA:E9:xx:xx:xx
30:85:A9:xx:xx:xx
50:46:5D:xx:xx:xx
54:04:A6:xx:xx:xx
C8:60:00:xx:xx:xx
F4:6D:04:xx:xx:xx
ASUS EA-N66
30:85:A9:xx:xx:xx
EDIMAX BR6428GN
EDIMAX BR6228GNS
80:1F:02:xx:xx:xx
%l10n_wpspin_tech%
Pin = MAC[5..12]</textarea>
<textarea id=pin36>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[4..12]</textarea>
<textarea id=pin40>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[3..12]</textarea>
<textarea id=pin44>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[2..12]</textarea>
<textarea id=pin48>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[1..12]</textarea>
<textarea id=pin24rh>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..7]</textarea>
<textarea id=pin32rh>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..5]</textarea>
<textarea id=pin48rh>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..1]</textarea>
<textarea id=pin24rn>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..7]</textarea>
<textarea id=pin32rn>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..5]</textarea>
<textarea id=pin48rn>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..1]</textarea>
<textarea id=pin24rb>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..7]</textarea>
<textarea id=pin32rb>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..5]</textarea>
<textarea id=pin48rb>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[12..1]</textarea>
<textarea id=pinDLink>D-Link DAP-1155 Rev. A1
D-Link DAP-1360 Rev. B1
D-Link DIR-651
14:D6:4D:xx:xx:xx
1C:7E:E5:xx:xx:xx
28:10:7B:xx:xx:xx
84:C9:B2:xx:xx:xx
B8:A3:86:xx:xx:xx
C0:A0:BB:xx:xx:xx
CC:B2:55:xx:xx:xx
FC:75:16:xx:xx:xx
TRENDnet TEW-432BRP
TRENDnet TEW-651BR
TRENDnet TEW-652BRP
TRENDnet TEW-731BR
00:14:D1:xx:xx:xx
D8:EB:97:xx:xx:xx
%l10n_wpspin_wsc%
TEW-651BR
%l10n_wpspin_tech%
http://www.devttys0.com/2014/10/reversing-d-links-wps-pin-algorithm/</textarea>
<textarea id=pinDLink1>D-Link DIR-400
D-Link DIR-615 Rev. B2
D-Link DIR-615 Rev. E4
D-Link DIR-628 Rev. A2
D-Link DIR-635 Rev. B1
D-Link DIR-655
D-Link DIR-825
D-Link DIR-826L
D-Link DIR-855 Rev. A2
D-Link DIR-857
00:18:E7:xx:xx:xx
00:19:5B:xx:xx:xx
00:1C:F0:xx:xx:xx
00:1E:58:xx:xx:xx
00:21:91:xx:xx:xx
00:22:B0:xx:xx:xx
00:24:01:xx:xx:xx
00:26:5A:xx:xx:xx
14:D6:4D:xx:xx:xx
1C:7E:E5:xx:xx:xx
34:08:04:xx:xx:xx
5C:D9:98:xx:xx:xx
84:C9:B2:xx:xx:xx
B8:A3:86:xx:xx:xx
C8:BE:19:xx:xx:xx
C8:D3:A3:xx:xx:xx
CC:B2:55:xx:xx:xx
%l10n_wpspin_wsc%
D-Link Systems DIR-615
Wireless N Router
TRENDnet TEW-652BRP
TRENDnet TEW-673GRU
00:14:D1:xx:xx:xx
%l10n_wpspin_tech%
http://www.devttys0.com/2014/10/reversing-d-links-wps-pin-algorithm/</textarea>
<textarea id=pinEasyBox>Vodafone EasyBox 802
Vodafone EasyBox 803
38:22:9D:xx:xx:xx
%l10n_wpspin_tech%
https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20130805-0_Vodafone_EasyBox_Default_WPS_PIN_Vulnerability_v10.txt</textarea>
<textarea id=pinASUS>ASUS DSL-N10 Rev.C1
ASUS DSL-N10E
ASUS DSL-N10S
ASUS DSL-N12E
ASUS DSL-N12E Rev.C1
ASUS DSL-N12U Rev.C1
ASUS DSL-N14U
ASUS RT-AC51U
ASUS RT-G32
ASUS RT-G32 Rev.C1
ASUS RT-N10
ASUS RT-N10 Rev.B1
ASUS RT-N10 Rev.C1
ASUS RT-N10+
ASUS RT-N10E
ASUS RT-N10LX
ASUS RT-N10P
ASUS RT-N10PV2
ASUS RT-N10U
ASUS RT-N11P
ASUS RT-N12
ASUS RT-N12 Rev.C1
ASUS RT-N12 Rev.D1
ASUS RT-N12+
ASUS RT-N12E
ASUS RT-N12LX
ASUS RT-N12VP
ASUS RX3041 Rev.B
08:60:6E:xx:xx:xx
08:62:66:9x:xx:xx
10:BF:48:xx:xx:xx
10:C3:7B:xx:xx:xx
14:DD:A9:xx:xx:xx
1C:87:2C:xx:xx:xx
1C:B7:2C:xx:xx:xx
2C:56:DC:xx:xx:xx
30:5A:3A:xx:xx:xx
38:2C:4A:xx:xx:xx
40:16:7E:xx:xx:xx
50:46:5D:xx:xx:xx
54:A0:50:xx:xx:xx
60:A4:4C:xx:xx:xx
74:D0:2B:xx:xx:xx
78:24:AF:xx:xx:xx
9C:5C:8E:xx:xx:xx
AC:22:0B:xx:xx:xx
AC:9E:17:xx:xx:xx
BC:EE:7B:xx:xx:xx
C8:60:00:7x:xx:xx
D8:50:E6:xx:xx:xx
E0:3F:49:xx:xx:xx
F0:79:59:78:xx:xx
F8:32:E4:xx:xx:xx
%l10n_wpspin_wsc%
ASUS WPS Router
RT-N10PV2
RT-N10U
RT-N12
RT-N12VP
Airocon Realtek RTL867x
00:07:26:24:xx:xx
00:08:A1:D3:xx:xx
00:17:7C:xx:xx:xx
00:1E:A6:xx:xx:xx
00:30:4F:Bx:xx:xx
00:E0:4C:0x:xx:xx
04:8D:38:xx:xx:xx
08:10:77:xx:xx:xx
08:10:78:xx:xx:xx
08:10:79:xx:xx:xx
10:FE:ED:3C:xx:xx
2C:AB:25:xx:xx:xx
30:85:A9:8C:xx:xx
3C:1E:04:xx:xx:xx
48:EE:0C:xx:xx:xx
54:B8:0A:xx:xx:xx
58:7B:E9:06:xx:xx
60:D1:AA:21:xx:xx
64:51:7E:xx:xx:xx
64:D9:54:xx:xx:xx
6C:19:8F:xx:xx:xx
6C:72:20:xx:xx:xx
6C:FD:B9:xx:xx:xx
78:D9:9F:Dx:xx:xx
80:3F:5D:F6:xx:xx
8C:88:2B:00:xx:xx
90:F6:52:90:xx:xx
94:FB:B2:xx:xx:xx
A0:F3:C1:Ex:xx:xx
A8:F7:E0:0x:xx:xx
AC:A2:13:xx:xx:xx
B8:55:10:xx:xx:xx
BC:34:00:xx:xx:xx
BC:96:80:xx:xx:xx
D0:0E:D9:0x:xx:xx
D8:FE:E3:xx:xx:xx
E8:94:F6:F6:xx:xx
EC:1A:59:71:xx:xx
F4:28:53:29:xx:xx
F4:3E:61:xx:xx:xx
FC:8B:97:xx:xx:xx
D-Link DIR-600
D-Link DIR-600M
D-Link DIR-615
70:62:B8:xx:xx:xx
78:54:2E:xx:xx:xx
C0:A0:BB:8C:xx:xx
C4:12:F5:xx:xx:xx
C4:A8:1D:xx:xx:xx
E8:CC:18:xx:xx:xx
EC:22:80:xx:xx:xx
F8:E9:03:F4:xx:xx
%l10n_wpspin_tech%
https://forum.antichat.ru/posts/3978417/</textarea>
<textarea id=pinAirocon>Airocon Realtek RTL867x
00:07:26:2F:xx:xx
00:0B:2B:4A:xx:xx
00:0E:F4:E7:xx:xx
00:13:33:Bx:xx:xx
00:17:7C:xx:xx:xx
00:1A:EF:xx:xx:xx
00:E0:4B:B3:xx:xx
02:10:18:01:xx:xx
08:10:73:4x:xx:xx
08:10:77:10:xx:xx
10:13:EE:0x:xx:xx
2C:AB:25:C7:xx:xx
78:8C:54:xx:xx:xx
80:3F:5D:F6:xx:xx
94:FB:B2:xx:xx:xx
BC:96:80:xx:xx:xx
F4:3E:61:xx:xx:xx
FC:8B:97:xx:xx:xx
%l10n_wpspin_tech%
https://forum.antichat.ru/posts/3975451/</textarea>
<textarea id=pinInvNIC>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = Inv(MAC[7..12])</textarea>
<textarea id=pinNIC2>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[7..12] * 2</textarea>
<textarea id=pinNIC3>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[7..12] * 3</textarea>
<textarea id=pinOUIaddNIC>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[1..6] + MAC[7..12]</textarea>
<textarea id=pinOUIsubNIC>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[1..6] - MAC[7..12]</textarea>
<textarea id=pinOUIxorNIC>%l10n_wpspin_algo_test%
%l10n_wpspin_tech%
Pin = MAC[1..6] ^ MAC[7..12]</textarea>
<textarea id=pinCisco>Cisco DPC2420
Cisco EPC2100R2
Cisco EPC2325
00:24:8C:xx:xx:xx
00:26:18:xx:xx:xx
34:4D:EB:xx:xx:xx
70:71:BC:xx:xx:xx
E0:69:95:xx:xx:xx
E0:CB:4E:xx:xx:xx
%l10n_wpspin_tech%
Pin = 1234567</textarea>
<textarea id=pinBrcm1>Broadcom firmwares
D-Link DSL-2640U
D-Link DSL-2650U
D-Link DSL-2740U
D-Link DSL-2750U
AC:F1:DF:xx:xx:xx
BC:F6:85:xx:xx:xx
C8:D3:A3:xx:xx:xx
Sagemcom F@ST3804
98:8B:5D:xx:xx:xx
Starnet AR800
00:1A:A9:xx:xx:xx
14:14:4B:xx:xx:xx
Modem Supply MSW41p4 v2.5
EC:62:64:xx:xx:xx
%l10n_wpspin_tech%
Pin = 2017252</textarea>
<textarea id=pinBrcm2>D-Link DSL-2600U
D-Link DSL-2640U
D-Link DSL-2640NRU
D-Link DSL-2740U
14:D6:4D:xx:xx:xx
1C:7E:E5:xx:xx:xx
28:10:7B:xx:xx:xx
84:C9:B2:xx:xx:xx
B8:A3:86:xx:xx:xx
BC:F6:85:xx:xx:xx
C8:BE:19:xx:xx:xx
%l10n_wpspin_wsc%
BroadcomAP
%l10n_wpspin_tech%
Pin = 4626484</textarea>
<textarea id=pinBrcm3>D-Link DSL-2600U