1 第一步要先找出vendor ID,并计算出安装序列号
2 破解wlscgen.exe文件,使之不受狗的控制
3 找出加密文件中feature,制作license


java 验证license 破解手记:
Parasoft C++ Test Pro v6.5.8.1

C++Test    64.5 MB    (last update 2005-Oct-27)  
http://www.parasoft.com/jsp/downloads/cpptest/cpptest_win32_6.5.8.1_pro.exe

Parasoft.C.Plus.Plus.Test.Pro.v6.5.8.1-SHOCK
这个是有问题的,他只是破解了Toolkit.dll,可以运行C++TestW.exe进行GUI测试的。
可是强大的comandline没有破解到。这样你要套用makefile对整个工程进行test就不可能了。

G:\editg\CPPTest65\bin>cpptest t.c
There is no license to run command line.
Please launch C++Test GUI to enter license details.

用c32asm反编译可以得看到他导入alex.dll的几个函数验证license:
ALEX.DLL:??0RegistryKey@@QAE@W4PredefinedKey@0@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4Mode@0@W4Access@0@@Z
ALEX.DLL:?isValid@RegistryKey@@QBE_NXZ
......

反编译ALEX.DLL,分析这些函数,太多,太复杂,找不到关键点。
从error message 入手,用winhex搜索ALEX.DLL,包括ansi/unicode,并未发现“There is no license to run