WinLicense一机一码加壳方式图

近UnPacKcN上有不少朋友询问WinLicense一机一码加壳方式,虽然大家有了文字回复,但是有些人还不是太明白,所以找点时间用图解的方式来演示
硬件綁定加壳大家所疑惑的是如何使试用加壳后文件显示目标机器的硬件信息,其实WinLicense Help.chm中已经有说明了
%machineid     Current Hardware ID for current machine.
下面图解WinLicense几种硬件綁定的加壳情况,仅供参考

_____________________________________________________________
一.新建保护工程            
      
《WinLicense一机一码加壳方式图》

Winlicense添加界面上某些字符没有汉化好
工程命名为:Winlicense V1.9.5.0.Test.Machine
点击主界面的“软件”搜索图标选择刚才建立的工程

_____________________________________________________________
二.试用设置

保护选项、虚拟机、替换代码等设置这里就不谈了,大家根据需求自己设置
点击“试用设置”
《WinLicense一机一码加壳方式图》

这里可以设置一些试用规则,先演示时间限制,选择30天数

_____________________________________________________________
三.注册

《WinLicense一机一码加壳方式图》

1.可以设置License的方式,如key文件、注册表文件、SmartActivate等
2.SmartActivate必须试用SDK才能实现

引用:

As you might know, an application can be registered via a file key or a Registry key. SmartActivate keys is another way to register an application but it’s basically the same as a file or Registry key, though we have to make use of some APIs in order to install the SmartActivate key as a file or Registry key.
The steps are the following:
①. In the Registration panel, we have to check the option Enable SmartActivate System for user-side generated keys  
②. We have to choose if we will finally install the SmartActivate key as file or Registry key, so we check the option “Single File” (In the Registration panel) if we plan to finally install the SmartActivate key as a file key  
③. In your application, you have to implement a dialog where you allow a user to register the application via SmartActivate keys (See examples in the WinLicense examples folder)  
④. Protect your application  
⑤. Let’s create a SmartActivate key from the WinLicense License Manager. You have to give your client the SmartActivate key information in order to register your application  
⑥. When your customer inserts the SmartActivate key in the dialog where you allow the insertion of SmartActivate keys, you have to call the API WLRegSmartKeyCheck and if it returns TRUE, you have to install the SmartActivate key as file (or Registry) using WLRegSmartKeyInstallToFile (or WLRegSmartKeyInstallToRegistry)  
⑦. Restart your application and it should run as registered!  

3.必须选择:“允许只是硬件(锁)的依赖注册”(这个汉化的真别扭),否则就没有硬件綁定了。
4.如果想设置无key不运行的保护模式,则选择:“应用程序只有在注册后才能运行”

_____________________________________________________________
四.硬件锁

《WinLicense一机一码加壳方式图》

1.可以选择全部硬件

引用:

· CPU: This option uses the CPU features for the current computer. Note that the CPU features are the same for all computers with the same CPU. It is not a good idea to use only this option to generate the final Machine ID.  
· BIOS: This option uses the BIOS serial number for the current computer. This serial number should be unique among computers, unless the BIOS serial number has been manipulated from flash.  
· MAC Address: This option uses the MAC address for the current computer. MAC address should be unique among computers. Be careful including this option if your customers usually change their network cards.  
· HDD Serial: This option uses the primary hard drive serial number for the current computer. This serial number should be unique among computers.  

2.可以设置运行替换某硬件的次数

_____________________________________________________________
五.密码保护

这个与硬件綁定无关,类似WinRar的压缩包密码
This Password Protection form allows an application to be protected with user/password protection. WinLicense will ask for a valid user/password to run the protected application.
这里就不涉及了

_____________________________________________________________
六.定制对话框

如何使试用加壳后文件显示目标机器的硬件信息,这里的设置很关键
1.试用版界面显示硬件码

引用:

MsgID14 : 试用版界面(提醒)
This is a shareware reminder. You can register your
copy at http://www.yourcompany.com
(Days left = %daysleft, Executions left = %execleft)
UnPacKcN保护演示WinLicense硬件綁定机器码:
%machineid

蓝色字是需要添加的信息,这样就可以在试用界面显示目标机器上的硬件码了
加壳后运行效果:
《WinLicense一机一码加壳方式图》

2.应用程序只有在注册后才能运行
第三步“注册”界面中选择了必须要有key才能运行

引用:

MsgID34 : 需要序列号来运行
Sorry, this software cannot be run without a license key.
http://www.unpack.cn
UnPacKcN保护演示WinLicense硬件綁定机器码:
%machineid

蓝色字是需要添加的信息,这样就可以在试用界面显示目标机器上的硬件码了
加壳后运行效果:
《WinLicense一机一码加壳方式图》

UnPacKcN论坛专注于软件安全领域,以脱壳技术研究和软件安全工具共享为特色。
欢迎朋友们多发脱壳和逆向教程,也欢迎大家也多多研究保护技巧多发保护教程。



发表评论

您的电子邮箱地址不会被公开。

47 − = 45