彩神悠悠1.0---用winHEX破解VB程式之例三
下載 共享軟體註冊中心
VB編的程式,追蹤起來很煩。
可以用SmartCheck破解,發現註冊碼格式是xxxx-xxxx-xxxx-xxxx
下面我們用winhex破解
1、執行彩神悠悠主程式,註冊
填入姓名:guodong
註冊碼:1234-1234-1234-1234
點選現在註冊,彈出出錯資訊視窗,先不要關閉它!
2、執行WinHex,點選RAM Editor或按Alt+F9,選彩神悠悠中的Primary
Memory,然後點選hex search搜尋十六進位制字串,填入3100320033003400
(解釋:1的ASCII碼是31,2的ASCII碼是32,3的ASCII碼是33,4的ASCII碼是34,VB下都是雙位元組)
點選確定,搜尋結果如下
Offset 0 1 2
3 4 5 6 7 8 9 A B C
D E F
0044EDE0 64 00 00 A0 3C 00 00 00 43 00
3A 00 5C 00 57 00 d..?...C.:.\.W.
0044EDF0 49 00 4E 00 44 00
4F 00 57 00 53 00 5C 00 53 00 I.N.D.O.W.S.\.S.
0044EE00
59 00 53 00 54 00 45 00 4D 00 5C 00 43 00 4F 00 Y.S.T.E.M.\.C.O.
0044EE10 4D 00 43 00 54 00 32 00 33 00 32 00 2E 00 4F 00 M.C.T.2.3.2...O.
0044EE20 43 00 58 00 00 00 00 00 D8 F3 66 00 00 00 00 00
C.X.....伢f.....
0044EE30 02 00 01 00 00 00 44 00 3C 00 44 00
20 00 00 00 ......D.<.D. ...
0044EE40 20 00 00 00 34 00 00
A0 26 00 00 00 31 00 32 00 ...4..?...1.2.
0044EE50
33 00 34 00 2D 00 31 00 32 00 33 00 34 00 2D 00 3.4.-.1.2.3.4.-.
0044EE60 31 00 32 00 33 00 34 00 2D 00 31 00 32 00 33 00 1.2.3.4.-.1.2.3.
0044EE70 34 00 00 00 A0 60 00 00 44 00 00 A0 26 00 00 00
4...`..D..?...
0044EE80 34 00 32 00 30 00 44 00 2D 00 30 00 33
00 34 00 4.2.0.D.-.0.3.4.
0044EE90 30 00 2D 00 37 00 39 00
34 00 30 00 2D 00 32 00 0.-.7.9.4.0.-.2.
0044EEA0 33 00 34 00
44 00 00 00 A0 60 5C 00 00 00 FF 00 3.4.D...`\....
0044EEB0
F6 BA 7F 00 00 00 00 00 56 22 20 00 24 00 00 A0 齪.....V" .$..
420D-0340-7940-234D就是真正的註冊碼
註冊碼除根據姓名算出外,還與機器有關
註冊資訊儲存於cpreg.dat中
[reginfo]
註冊名=guodong
註冊碼=420D-0340-7940-234D?
2001。9