先说一下目标:改正棋盘密码两个42个bug,新加入:adfgvx密码,QWE密码,ascll,键盘v字,旗语,数字加1,培根密码
找到changeSubstitutionTable()这个自定义函数,经过观察,它是activex控件的内容,于是乎替换类密码就在
switch (x)
{
case:0;break;
.
.
.
}
这个语句中,于是按照swich的格式我们在其中写下:
case "adfgvx密码":
oSubTable.value = "b t a l p d h o z k q f v s n g i j c u x m r e w y\naa ad af ag ax da dd df dg dx
fa fd ff fg fx ga gd gf gg gx xa xd xf xg xx\n11 12 13 14 15 21 22 23 24 25 31 32 33 34 35 41 42 43 44 45 51 52 53 54 55";
break;
case "QWE密码":
oSubTable.value = "a b c d e f g h i j k l m n o p q r s t u v w x y z\nq w e r t y u i o p a s d f g
h j k l z x c v b n m"; break;
case "ascll":
oSubTable.value = "a b c d e f g h i j k l m n o p q r s t u v w x y z\n97 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\n65 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"; break;
case "键盘v字":
oSubTable.value = "q w e r t y u i o p a s d f g h j k l z x c v b n m\n12 23 34 45 56 67 78 89 90 0-
13 24 35 46 57 68 79 80 9- 14 25 36 47 58 69 70"; break;
case "旗语":
oSubTable.value = "a b c d e f g h i j k l m n o p q r s t u v w x y z\n78 48 18 28 38 68 89 47 17 26
27 37 67 79 14 24 34 46 49 12 13 29 36 39 16 69"; break;
case "数字加一":
oSubTable.value = "0 1 2 3 4 5 6 7 8 9\n1 2 3 4 5 6 7 8 9 0"; break;
case "培根密码":
oSubTable.value = "a b c d e f g h i j k l m n o p q r s t u v w x y z\naaaaa aaaab aaaba aaabb aabaa
aabab aabba aabbb abaaa abaab ababa ababb abbaa abbab abbba abbbb baaaa baaab baaba baabb babaa babab babba babbb bbaaa
bbaab\n00000 00001 00010 00011 00100 00101 00110 00111 01000 01001 01010 01011 01100 01101 01110 01111 10000 10001 10010
10011 10100 10101 10110 10111 11000 11001"; break;