反编译ALEX.DLL,分析这些函数,太多,太复杂,找不到关键点。
从error message 入手,用winhex搜索ALEX.DLL,包括ansi/unicode,并未发现“There is no license to run command line”字符串。
用uedit对整个bin目录下所有文件搜索,也未发现。那么,这一句license error message从那里冒出来得?
G:\editg\CPPTest65\bin>cpptest t.c之后,
在系统temp目录下发现一个文件Toolkit16970.log,主要内容如下。
[INFO] Checking main feature...
[INFO] Version: Application: C++Test 6.5
[INFO] License configured
[INFO] Final status: 0
[INFO] checkConfiguration(t):finish
[INFO] cancelOtherThreads:begin
[INFO] cancelOtherThreads:finish
[INFO] checkConfiguration:finish
[INFO] isFeatureConfigurated returned ErrorCode: -3
[toolkit.modules.common.license.LicenseConfigurationException: isFeatureConfigurated returned ErrorCode: -3
[ at toolkit.modules.common.license.LicenseUtils.isFeatureConfigurated(LicenseUtils.java:177)
[ at toolkit.modules.common.license.LicenseModule.getFeatureStatus(LicenseModule.java:392)
[ at com.parasoft.cpptest.app.LicenseManager.printErrorMessage(LicenseManager.java:814)
[ at com.parasoft.cpptest.app.LicenseManager.checkLicense(LicenseManager.java:424)
[ at com.parasoft.cpptest.app.ModuleTest.mainSlave(ModuleTest.java:1539)
[ at com.parasoft.cpptest.app.ModuleTest.main(ModuleTest.java:1376)
去下了个Jad - the fast JAva Decompiler,和它的GUI前端FrontEnd Plus v1.04:
6f1K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8Y4N6%4N6#2)9J5k6h3E0H3k6s2g2K6i4K6u0W2j5$3!0E0i4K6u0r3K9X3q4V1i4K6u0W2K9s2c8E0L8q4)9J5x3$3c8G2N6$3&6D9L8$3q4V1
顺便分析了FrontEnd的注册码:
--------------cut--------------------
REGEDIT4