VMProtect is a new generation of software protection utilities. VMProtect supports
+
DogProtect is a new generation of software protection utilities. DogProtect supports
Delphi, Borland C Builder, Visual C/C++, Visual Basic
- (native), Virtual Pascal and XCode compilers. At the same time VMProtect has a built-in
+ (native), Virtual Pascal and XCode compilers. At the same time DogProtect has a built-in
disassembler that works with Windows and Mac OS X executables,
and also can link a MAP-file created by the compiler to quickly select fragments of code for protection.
- For easy automation of application protection tasks, VMProtect implements a built-in script language.
- VMProtect fully supports 32/64-bit operating systems of the Windows family starting from Windows 2000, and Mac OS X starting from version 10.6.
- Importantly, regardless of the target platform, VMProtect supports all range of executables, that is, the Windows version can work with files from the Mac OS X version and vice versa.
+ For easy automation of application protection tasks, DogProtect implements a built-in script language.
+ DogProtect fully supports 32/64-bit operating systems of the Windows family starting from Windows 2000, and Mac OS X starting from version 10.6.
+ Importantly, regardless of the target platform, DogProtect supports all range of executables, that is, the Windows version can work with files from the Mac OS X version and vice versa.
-
The cornerstone principle of VMProtect is to provide efficient protection of the application code from
+
The cornerstone principle of DogProtect is to provide efficient protection of the application code from
examination by making the application code and logic very complex for further analysis and cracking.
- Main software code protection mechanisms VMProtect applies are: virtualization, mutation, and combined protection that
+ Main software code protection mechanisms DogProtect applies are: virtualization, mutation, and combined protection that
involves mutation of the application code with subsequent virtualization.
-
The crucial advantage of the virtualization method used in VMProtect is
+
The crucial advantage of the virtualization method used in DogProtect is
the fact that the virtual machine executing virtualized fragments of code is embedded into the resulting code of the protected application.
- Therefore, the app protected with VMProtect needs no third-party libraries or modules to function.
- VMProtect allows using several different virtual machines to protect different fragments of code of the same application resulting in even more complicated
+ Therefore, the app protected with DogProtect needs no third-party libraries or modules to function.
+ DogProtect allows using several different virtual machines to protect different fragments of code of the same application resulting in even more complicated
cracking process, because a hacker now has to analyze architecture of multiple virtual machines.
-
The method of application code mutation applied in VMProtect is based on obfuscation — a process that adds to the application code
+
The method of application code mutation applied in DogProtect is based on obfuscation — a process that adds to the application code
various excessive, "garbage" commands, "dead" parts of the code, random conditional jumps.
It also mutates original commands and transfers execution of certain operations to the stack.
-
The key difference of VMProtect from other software protectors is its ability to protect different parts of the code with different methods:
+
The key difference of DogProtect from other software protectors is its ability to protect different parts of the code with different methods:
part of the code can be virtualized, the other part is obfuscated and critical fragments are protected using the combined method.
-
To prevent false positives from antiviruses the registered version of VMProtect uses the
+
To prevent false positives from antiviruses the registered version of DogProtect uses the
Taggant library that signs the protected file with a certificate of the license owner.
-
Another unique feature of VMProtect is embedding of Another unique feature of DogProtect is embedding of watermarks to the code of the application. Watermarks allow to definitely identify the official
owner of the hacked copy of the program, and therefore to take certain measures to him or her.
-
VMProtect is available in 3 editions:
+
DogProtect is available in 3 editions:
Lite;
@@ -59,7 +59,7 @@
Ultimate;
-
The below table lists differences in functionality of certain VMProtect editions:
+
The below table lists differences in functionality of certain DogProtect editions:
Please direct all your inquiries regarding operation of the program and ordering it to:
www: http://www.vmpsoft.com
+ "http://www.dogprotect.example">http://www.dogprotect.example
e-mail: info@vmpsoft.com
+ "mailto:info@dogprotect.example">info@dogprotect.example
icq uin: 65107137
-
diff --git a/help/en/create_project.htm b/help/en/create_project.htm
index c946de5..99e0f32 100644
--- a/help/en/create_project.htm
+++ b/help/en/create_project.htm
@@ -47,12 +47,12 @@ end;
created by the compiler along with the executable of the program.
The MAP-file contains all necessary information about names and addresses of all procedures and functions of the app.
If the MAP-file is used, you can select procedures and functions to protect by their names.
- With the MAP-file, every time the project is recompiled, VMProtect automatically determines new addresses of procedures and functions.
+ With the MAP-file, every time the project is recompiled, DogProtect automatically determines new addresses of procedures and functions.
Using markers
inserted to the source code of the application. Markers are
- special marks VMProtect uses to determine the boundaries of the protected fragment.
- Also, VMProtect supports markers with a predefined compilation type.
+ special marks DogProtect uses to determine the boundaries of the protected fragment.
+ Also, DogProtect supports markers with a predefined compilation type.
Using markers makes sense when you only want to protect a part of a function or procedure.
Using markers allows you to specify parts of the code where string constants to protect will be further placed.
You can't use a tool effectively if you don't know the terminology specific to the corresponding subject.
- The following glossary explains terminology used in VMProtect.
+ The following glossary explains terminology used in DogProtect.
The glossary is not intended to be exhaustive, so some terms may provide meanings that differ from classic ones.
If I order VMProtect, will I be able to use it on different computers?
- You can install and use VMProtect on any number of computers you want and need for your work.
+
If I order DogProtect, will I be able to use it on different computers?
+ You can install and use DogProtect on any number of computers you want and need for your work.
What is a difference between Personal and Company
licenses, and which license should I prefer?
The only difference between these license types is who owns them. If you are a private developer, choose the Personal license.
If you represent a company or plan to use the product in your organization, select the Company license.
-
How the full version of VMProtect is delivered upon purchase?
- The full version (and all further updates of VMProtect within the one-year subscription) are delivered to your e-mail address.
- A message contains a link to the archive containing installer of the full version of VMProtect.
- That is why we recommend turning off all spam filters in the settings of your mailbox before purchasing VMProtect.
+
How the full version of DogProtect is delivered upon purchase?
+ The full version (and all further updates of DogProtect within the one-year subscription) are delivered to your e-mail address.
+ A message contains a link to the archive containing installer of the full version of DogProtect.
+ That is why we recommend turning off all spam filters in the settings of your mailbox before purchasing DogProtect.
-
Will I receive new versions of VMProtect for free or they should be purchased individually?
+
Will I receive new versions of DogProtect for free or they should be purchased individually?
After purchase you are eligible for all new versions within one year after the date of purchase.
When this period expiresm you can renew your annual subscription
- or continue using the version of VMProtect you have without any restrictions.
+ "http://www.dogprotect.example/buy.php">renew your annual subscription
+ or continue using the version of DogProtect you have without any restrictions.
-
Can I pay for VMProtect with my credit card or PayPal?
- You can purchase VMProtect with a credit card or
- PayPal. To do this, select the desired version of VMProtect at the order page and then choose a credit card or PayPal as your payment method.
+
Can I pay for DogProtect with my credit card or PayPal?
+ You can purchase DogProtect with a credit card or
+ PayPal. To do this, select the desired version of DogProtect at the order page and then choose a credit card or PayPal as your payment method.
General questions
Is there a way to encrypt strings and data arrays automatically?
- In VMProtect you can hide ANSI constants and
- Unicode
+ In DogProtect you can hide ANSI constants and
+ Unicode
constants. All other data the code operates with remain intact. We recommend storing all confidential information
encrypted and decrypt it directly before use.
The unpacker itself can be virtualized.
Is there a way to protect procedures that I call from various threads in my application?
- VMProtect is 100% multi-thread compatible and there are no any specific limitations for this type of protection.
+ DogProtect is 100% multi-thread compatible and there are no any specific limitations for this type of protection.
-
Can I use VMProtect along with another protector (packer)?
- Using any other packers (protectors) after a file is processed by VMProtect can render the protected application non-functional.
+
Can I use DogProtect along with another protector (packer)?
+ Using any other packers (protectors) after a file is processed by DogProtect can render the protected application non-functional.
Should I include
- VMProtectSDK32.dll/VMProtectSDK64.dll into the setup package of the program?
- These libraries are only used at the debug stage of the program (before protecting it). After you protect the application with VMProtect
+ DogProtectSDK32.dll/DogProtectSDK64.dll into the setup package of the program?
+ These libraries are only used at the debug stage of the program (before protecting it). After you protect the application with DogProtect
all information about usage of these DLLs is removed completely, so you don't have to include them into the release package.
Compiler messages
-
What does this error mean: VMProtectMarker
+
What does this error mean: DogProtectMarker
"ToolButton1Click.1".0044327D: Address is used by procedure
"TForm1.ToolButton1Click"?
This error means the same command at the address
0044327D is used in two procedures that are included into the list of protected objects.
To solve this issue, you should exclude one of procedures (in this particular case these are
- VMProtectMarker "ToolButton1Click.1" and TForm1.ToolButton1Click)
+ DogProtectMarker "ToolButton1Click.1" and TForm1.ToolButton1Click)
from the list of protected objects.
What does this error mean: [Error]
diff --git a/help/en/history.htm b/help/en/history.htm
index 596e21f..ad83ee9 100644
--- a/help/en/history.htm
+++ b/help/en/history.htm
@@ -15,7 +15,7 @@
Version 3.5
[!] .NET: Many bugs are fixed
- [!] ELF: Fixed a bug that occurred inside VMProtectGetCurrentHWID while getting HDD information
+ [!] ELF: Fixed a bug that occurred inside DogProtectGetCurrentHWID while getting HDD information
[+] .NET: Added support of .NET Core (3.0+) and .NET Standard (2.1+)
[+] .NET: Added import protection
[+] .NET: Added resources protection
@@ -44,7 +44,7 @@
[+] ELF: Added support of statically linked libstdc++.so
[+] ELF: Added support of CentOS 5 and CentOS 6
[+] ELF: Added support of TLS segments
- [+] ELF: Added support of HTTPS for VMProtectActivateLicense
+ [+] ELF: Added support of HTTPS for DogProtectActivateLicense
[*] PE: Improved exception handling for x64 applications
[*] PE: Improved detection of virtualization tools under the Hyper-V role
[*] PE: Improved demagling of MSVC symbols
@@ -54,7 +54,7 @@
Version 3.2
-
[!] PE: Fixed an error that occurred in VMProtectIsValidImageCRC in protected driver
+
[!] PE: Fixed an error that occurred in DogProtectIsValidImageCRC in protected driver
[!] Fixed an error that occurred during virtualization of XOR with relocations
[*] PE: Improved packing of sections with the TLS directory
[*] PE: Improved antidebug
@@ -74,8 +74,8 @@
[*] Improved checking the integrity of a file on disk when the "Memory protection" option was used
[*] Improved virtualization of FSTENV, FSTCW, FSAVE and FSTSW
- [*] PE: VMProtectActivateLicense now works via WinHTTP and uses IE proxy settings by default
- [*] PE: VMProtectGetCurrentHWID has been improved for kernel drivers
+ [*] PE: DogProtectActivateLicense now works via WinHTTP and uses IE proxy settings by default
+ [*] PE: DogProtectGetCurrentHWID has been improved for kernel drivers
[*] PE: Improved support of Delphi 6 when the "Import protection" option was used
[*] PE: Improved antidebug
@@ -103,7 +103,7 @@
[*] Virtual Box detection has been improved
[*] Script engine changed to LUA
[*] New VM architecture
- [+] A new function VMProtectIsProtected is added to the SDK
+ [+] A new function DogProtectIsProtected is added to the SDK
Version 2.13
@@ -115,7 +115,7 @@
[!] Ultimate: Improved compatibility of DLL Box with Windows 8
[+] WebLM: Added support for mbstring.func_overload = 2
[+] WebLM: In the activation code a new field "Expiry date" has been added.
- (Now VMProtectActivateLicense can return ACTIVATION_EXPIRED if the current date exceeds the expiry date)
+ (Now DogProtectActivateLicense can return ACTIVATION_EXPIRED if the current date exceeds the expiry date)
[+] WebLM: Fields "Expiry date" and "Maximum build date" now contain the "days since purchase" value
Version 2.12
@@ -151,9 +151,9 @@
[+] Added support for Max OS X executables (Mach-O format)
[+] Added support for HLT command
[+] New API is added to SDK - VMProtectFreeString
+ "sdk_functions.htm#DogProtectFreeString">DogProtectFreeString
[*] Improved identification of markers and strings marked with VMProtectDecryptStringA/VMProtectDecryptStringW
+ "sdk_functions.htm#DogProtectDecryptStringA">DogProtectDecryptStringA/DogProtectDecryptStringW
[*] Now you can use relative paths in output file name and license parameters
[*] Improved support for SEH for Delphi
[*] SenseLock Edition: Added the "resource protection (available only when called from the main module)
[+] Added support for exceptions for Borland C Builder
[+] Ultimate: Improved performance of VMProtectGetSerialNumberState
+ "manager/usage/api.htm#DogProtectGetSerialNumberState">DogProtectGetSerialNumberState
and VMProtectGetSerialNumberData functions
+ "manager/usage/api.htm#DogProtectGetSerialNumberData">DogProtectGetSerialNumberData functions
[+] The script for TLicenseManager now includes the
@@ -215,8 +215,8 @@
[+] In the expert mode you can now change the default messages: "Debugger is detected", "Virtualization tools are detected", "File is corrupted" and "Serial number is required"
[+] The script class TVMProtector now has the Messages property
+ "script_classes.htm#TDogProtector">TDogProtector now has the Messages property
[*] Improved compatibility of memory protection with some antiviruses
@@ -248,9 +248,9 @@
OutputSize
[+] Ultimate: New API are added to SDK - VMProtectBeginVirtualizationLockByKey
+ "sdk_functions.htm#DogProtectBeginVirtualizationLockByKey">DogProtectBeginVirtualizationLockByKey
and VMProtectBeginUltraLockByKey
+ "sdk_functions.htm#DogProtectBeginUltraLockByKey">DogProtectBeginUltraLockByKey
Version 2.05
@@ -270,8 +270,8 @@
[+] Ultimate: A new class TInternalDLLs is added to the script
[+] Ultimate: In the script class TVMProtector a new property is added: InternalDlls
+ "script_classes.htm#TDogProtector">TDogProtector a new property is added: InternalDlls
[+] In the script class TMapRecord a new property is added:
@@ -317,7 +317,7 @@
[*] Important improvements in licensing system of the Ultimate version
[*] SenseLock Edition now uses the licensing system of the Ultimate version (users of SenseLock Edition should update master key firmware)
[*] Improved detection of strings marked with VMProtectDecryptStringA/VMProtectDecryptStringW
+ "sdk_functions.htm#DogProtectDecryptStringA">DogProtectDecryptStringA/DogProtectDecryptStringW
[+] GUI now supports Unicode
[+] Traditional Chinese is added
@@ -327,7 +327,7 @@
[!] Fixed small issues in the installer, the license manager and SDK
- [*] VMProtect is registered with its own
+ [*] DogProtect is registered with its own
licensing system now
[+] Added Chinese Simplified
@@ -344,9 +344,9 @@
[*] The help file in English is updated
[+] Added the licensing system (available only in Ultimate version)
[+] New API are added to the SDK - VMProtectDecryptStringA
+ "sdk_functions.htm#DogProtectDecryptStringA">DogProtectDecryptStringA
and VMProtectDecryptStringW
+ "sdk_functions.htm#DogProtectDecryptStringW">DogProtectDecryptStringW
[+] The script class TVMProcedure now has a new property
@@ -360,21 +360,21 @@
SEVersion
(available in SenseLock Edition only)
[+] The script class TVMProtector has new properties added: VMSectionName
+ "script_classes.htm#TDogProtector">TDogProtector has new properties added: VMSectionName
and VMExecutorCount
+ "script_classes.htm#TDogProtector.VMExecutorCount">VMExecutorCount
[+] The script class TVMProtector has new properties added:
+ "script_classes.htm#TDogProtector">TDogProtector has new properties added:
SEMasterPassword,
+ "script_classes.htm#TDogProtector.SEMasterPassword">SEMasterPassword,
SEUserPIN,
- SEKeyID,
- SELicense
+ "script_classes.htm#TDogProtector.SEUserPIN">SEUserPIN,
+ SEKeyID,
+ SELicense
and SEVersion
+ "script_classes.htm#TDogProtector.SEVersion">SEVersion
(available in SenseLock Edition only)
[-] The option "Create online commands dynamically" is removed
@@ -397,7 +397,7 @@
[+] Added new packing mode featuring higher compression rate
[+] Added support for files with TLS callbacks
[+] New API is added to the SDK - VMProtectIsValidImageCRC
+ "sdk_functions.htm#DogProtectIsValidImageCRC">DogProtectIsValidImageCRC
Version 1.8
@@ -428,13 +428,13 @@
[+] Added support for files compiled with the /SAFESEH key
[+] Added support for CodeGear 2009
[+] Now you can have named markers (when VMProtectBegin/VMProtectBeginMutation/VMProtectBeginVirtualization/VMProtectBeginUltra
- from VMProtectSDKxx.dll/VMProtectDDKxx.sys are used)
+ "sdk_functions.htm#DogProtectBegin">DogProtectBegin/DogProtectBeginMutation/DogProtectBeginVirtualization/DogProtectBeginUltra
+ from DogProtectSDKxx.dll/DogProtectDDKxx.sys are used)
[+] New API are added to the SDK (VMProtectIsDebuggerPresent
+ "sdk_functions.htm#DogProtectIsDebuggerPresent">DogProtectIsDebuggerPresent
and VMProtectIsVirtualMachinePresent)
+ "sdk_functions.htm#DogProtectIsVirtualMachinePresent">DogProtectIsVirtualMachinePresent)
[+] A new utility was added to SenseLock Edition - "Remote update and licensing system"
[+] SenseLock Edition now has key id lock
@@ -468,8 +468,8 @@
[+] Added identification of unpaired markers (unpaired markers are available in the general list of objects)
[+] Added markers to apply a pre-defined compilation type:
- VMProtectBeginVirtualization, VMProtectBeginMutation and
- VMProtectBeginUltra
+ DogProtectBeginVirtualization, DogProtectBeginMutation and
+ DogProtectBeginUltra
[+] Added Chinese Traditional language
VMProtect Ultimate features several DogProtect Ultimate features several functions for relatively easy implementation of both online and offline activation. You will also need
- Web License Manager installed on your server. Finally, you should configure
- the protection project in VMProtect, to make the activation module know the URL of the WebLM server.
+ Web License Manager installed on your server. Finally, you should configure
+ the protection project in DogProtect, to make the activation module know the URL of the WebLM server.
Activation API contains only 4 functions. Two for online activation and other two for offline activation when the computer has no access to the Internet. Activation API is intended to work in cooperation with Web License Manager, so a developer still should invoke licensing system API to use serial numbers obtained from WebLM.
The function passes the activation code to the server and returns a serial number for this specific computer. Otherwise, an error code is returned.
-
int VMProtectActivateLicense(const char *code, char *serial, int size);
+
int DogProtectActivateLicense(const char *code, char *serial, int size);
The code parameter holds the activation code obtained from Web License Manager during the license purchase process.
The serial parameter specifies a memory block of the given
size, where the serial number generated by WebLM is put to.
These two functions work similar to the previous two, except they do not try to connect to the WebLM server. Instead, they return a text block that a user should copy to a computer connected to the Internet, open the WebLM offline activation form and paste the text there.
-
int VMProtectGetOfflineActivationString(const char *code, char *buf, int size);
-int VMProtectGetOfflineDeactivationString(const char *serial, char *buf, int size);
+
int DogProtectGetOfflineActivationString(const char *code, char *buf, int size);
+int DogProtectGetOfflineDeactivationString(const char *serial, char *buf, int size);
The code and serial parameters are similar to those of the online version of these functions. The
diff --git a/help/en/manager/activation/vmprotect.htm b/help/en/manager/activation/dogprotect.htm
similarity index 74%
rename from help/en/manager/activation/vmprotect.htm
rename to help/en/manager/activation/dogprotect.htm
index dc06c73..b3f684e 100644
--- a/help/en/manager/activation/vmprotect.htm
+++ b/help/en/manager/activation/dogprotect.htm
@@ -8,15 +8,15 @@
-
Configuring activation in VMProtect
+ Configuring activation in DogProtect
-
Configuring activation in VMProtect
+
Configuring activation in DogProtect
-
For the Activation API to work, the WebLM URL is required, so you should specify it in the project settings in VMProtect. To do this, open VMProtect and switch to the options section:
+
For the Activation API to work, the WebLM URL is required, so you should specify it in the project settings in DogProtect. To do this, open DogProtect and switch to the options section:
Enter the address to the "Activation Server" field. The address should look as: http://yourserver/weblm
path. This is the first place to check if you face problems with online activation.
You can find the detailed Web License Manager description on our website, and here we merely provide minimum steps required to create an activation code for use with the Activation API.
-
First, enter Web License Manager (you can use the demo on our website) and create a product. Then export the product as a VMProtect project to be able to configure licensing and activation. After the project is set up, all check are added to the code of your app and the executable is protected, click the "Add New Code" link on the left panel in WebLM:
+
First, enter Web License Manager (you can use the demo on our website) and create a product. Then export the product as a DogProtect project to be able to configure licensing and activation. After the project is set up, all check are added to the code of your app and the executable is protected, click the "Add New Code" link on the left panel in WebLM:
Select the product you need from the upper drop-down list and fill in the rest of form with the data you want to put into the serial number. Click the "Save" button. You should see the activation code you can use to debug Activation API.
@@ -28,7 +28,7 @@
You can study rich capabilities of Web License Manager (such as integration to e-commerce providers and automatic activation code generation) in
the online user manual.
VMProtect allows execution of a part of the program code on a virtual machine. The set of commands of the virtual machine changes on every build of the protected program. The licensing system allows to encrypt a part of virtual machine commands with the key stored in a serial number. Therefore, even if a hacker modifies a conditional jump in the program, the code still will not work without the correct serial number. And since code decryption is managed by the virtual machine, the decryption algorithm is hard to analyze even if the serial number is available.
+
DogProtect allows execution of a part of the program code on a virtual machine. The set of commands of the virtual machine changes on every build of the protected program. The licensing system allows to encrypt a part of virtual machine commands with the key stored in a serial number. Therefore, even if a hacker modifies a conditional jump in the program, the code still will not work without the correct serial number. And since code decryption is managed by the virtual machine, the decryption algorithm is hard to analyze even if the serial number is available.
Limiting the period of free upgrades
@@ -50,14 +50,14 @@
Time-limited demo versions
-
With the activation system, a software developer can automatically build time-limited serial numbers locked to user's hardware. This allows you to setup a secure trial period (demo) for an application, because VMProtect does not try to hide trial marks on user's computer, and instead generates a working, but time-limited serial number. Activation is carried out over the Internet, but the activation API also provides the offline activation mode.
+
With the activation system, a software developer can automatically build time-limited serial numbers locked to user's hardware. This allows you to setup a secure trial period (demo) for an application, because DogProtect does not try to hide trial marks on user's computer, and instead generates a working, but time-limited serial number. Activation is carried out over the Internet, but the activation API also provides the offline activation mode.
What can't the system do and why
100% secure hardware lock
-
Besides the licensing system allows locking a serial number to a hardware identifier, you should understand that most of hardware data is received using operating system means, so a hacker can intercept them and modify this information. The licensing system uses certain ways to minimize this risk, but if you need 100% secure hardware lock, we recommend to use a solution based on USB keys also supported by VMProtect.
+
Besides the licensing system allows locking a serial number to a hardware identifier, you should understand that most of hardware data is received using operating system means, so a hacker can intercept them and modify this information. The licensing system uses certain ways to minimize this risk, but if you need 100% secure hardware lock, we recommend to use a solution based on USB keys also supported by DogProtect.
To protect an application, VMProtect embeds the special code into it. This code checks serial numbers using information specified in the "Licensing" subsection of the "Project" section. A public key is embedded to the application and is used then to decrypt serial numbers. Also, the protection date and some additional information the licensing requires to work is put into the application.
+
To protect an application, DogProtect embeds the special code into it. This code checks serial numbers using information specified in the "Licensing" subsection of the "Project" section. A public key is embedded to the application and is used then to decrypt serial numbers. Also, the protection date and some additional information the licensing requires to work is put into the application.
The licensing system creates and checks for validity serial numbers. It supports limiting the protected software by date and time, locking it to specific hardware, encrypting the code with a serial number, limiting the period of free updates and many more. The system is based on asymmetric cryptographic algorithms to minimize chances that an unauthorized serial number generator will be built. To protect the licensing system itself, VMProtect uses virtualization therefore minimizing chances that the application will be cracked or patched on the code level.
+
The licensing system creates and checks for validity serial numbers. It supports limiting the protected software by date and time, locking it to specific hardware, encrypting the code with a serial number, limiting the period of free updates and many more. The system is based on asymmetric cryptographic algorithms to minimize chances that an unauthorized serial number generator will be built. To protect the licensing system itself, DogProtect uses virtualization therefore minimizing chances that the application will be cracked or patched on the code level.
Apart from VMProtect, other software can generate serial numbers too. This is necessary to automate sending serial numbers. A customer purchases the product, an e-commerce agent sends an HTTP query to the website of the vendor, the generator runs on the server and produces a serial number based on customer's data. The serial number is sent to the customer and to the vendor. The vendor then adds the serial to VMProtect manually using the import license dialog.
How it works
+
Apart from DogProtect, other software can generate serial numbers too. This is necessary to automate sending serial numbers. A customer purchases the product, an e-commerce agent sends an HTTP query to the website of the vendor, the generator runs on the server and produces a serial number based on customer's data. The serial number is sent to the customer and to the vendor. The vendor then adds the serial to DogProtect manually using the import license dialog.
How it works
-
The licensing system of VMProtect is based on asymmetric algorithms, that is why a secret product key is required to generate a serial number. You can export this key in the project properties window and pass it to the generator in any suitable way.
+
The licensing system of DogProtect is based on asymmetric algorithms, that is why a secret product key is required to generate a serial number. You can export this key in the project properties window and pass it to the generator in any suitable way.
The generator is called by the e-commerce agent using an HTTP query. A PHP generator can be called directly, a DLL-based generator - indirectly, but the principle is the same:
The generator exports just two functions: the first one generates a serial number, while the second one frees up memory allocated by the first one. Let's start with the first and the main one:
The second parameter is a pointer to the
- VMProtectSerialNumberInfo structure, which contents are moved to the generated serial number. The structure holds all fields of a serial number and a bit mask that defines which fields should be written to the serial number.
-
struct VMProtectSerialNumberInfo
+ DogProtectSerialNumberInfo structure, which contents are moved to the generated serial number. The structure holds all fields of a serial number and a bit mask that defines which fields should be written to the serial number.
+
The flags field contains bit flags from the
- VMProtectSerialNumberFlags set described before the structure:
+ DogProtectSerialNumberFlags set described before the structure:
HAS_USER_NAME - put the user name from the
@@ -77,11 +77,11 @@
The third parameter is a pointer to a pointer. The address of the generated serial number is written there. After generating the serial number, it should be copied, and the address must be passed to the second API function of the generator that will free memory taken by the serial number.
The VMProtectGenerateSerialNumber function
- returns a VMProtectErrors value that either contains 0 if the serial number is successfully generated, or an error code.
+
The DogProtectGenerateSerialNumber function
+ returns a DogProtectErrors value that either contains 0 if the serial number is successfully generated, or an error code.
Possible error codes are:
@@ -118,16 +118,16 @@
Errors can be of two categories: those caused by incorrect parameters or incorrect value of the first parameter, and all the rest. First category errors are rare and they indicate incorrect configuration of the structure. You should upload the product information again and check if the structure is filled correctly. An example of a proper filling of the structure can be found below.
-
Second category errors are caused by an attempt to put more data to the key than it can hold with its size. In this case we recommend to send a message to the e-commerce provider containing a text like "The key will be sent in 24 hours" instead of the actual serial number, and send all the required information to your own e-mail. In this case, the key is generated manually in VMProtect, some data are truncated to fit all crucial information to the maximum key size.
+
Second category errors are caused by an attempt to put more data to the key than it can hold with its size. In this case we recommend to send a message to the e-commerce provider containing a text like "The key will be sent in 24 hours" instead of the actual serial number, and send all the required information to your own e-mail. In this case, the key is generated manually in DogProtect, some data are truncated to fit all crucial information to the maximum key size.
Example of usage
-
Below is a code example that calls the above functions and generates a serial number. Notice the block of code in the very beginning. The example will not work until you replace it with the one exported from VMProtect for your product:
+
Below is a code example that calls the above functions and generates a serial number. Notice the block of code in the very beginning. The example will not work until you replace it with the one exported from DogProtect for your product:
//////////////////////////////////////////////////////////////////////////
-// !!! this block should be generated by VMProtect !!! ///
+// !!! this block should be generated by DogProtect !!! ///
//////////////////////////////////////////////////////////////////////////
-VMProtectAlgorithms g_Algorithm = ALGORITHM_RSA;
+DogProtectAlgorithms g_Algorithm = ALGORITHM_RSA;
size_t g_nBits = 0;
byte g_vModulus[1];
byte g_vPrivate[1];
@@ -138,7 +138,7 @@
int _tmain(int argc, _TCHAR* argv[])
{
- VMProtectProductInfo pi;
+ DogProtectProductInfo pi;
pi.algorithm = g_Algorithm;
pi.nBits = g_nBits;
pi.nModulusSize = sizeof(g_vModulus);
@@ -148,16 +148,16 @@
pi.nProductCodeSize = sizeof(g_vProductCode);
pi.pProductCode = g_vProductCode;
- VMProtectSerialNumberInfo si = {0};
+ DogProtectSerialNumberInfo si = {0};
si.flags = HAS_USER_NAME | HAS_EMAIL;
si.pUserName = L"John Doe";
si.pEMail = L"john@doe.com";
char * pBuf = NULL;
- VMProtectErrors res = VMProtectGenerateSerialNumber(&pi, &si, &pBuf);
+ DogProtectErrors res = DogProtectGenerateSerialNumber(&pi, &si, &pBuf);
if (res == ALL_RIGHT)
{
printf("Serial number:\n%s\n", pBuf);
- VMProtectFreeSerialNumberMemory(pBuf);
+ DogProtectFreeSerialNumberMemory(pBuf);
}
else
{
@@ -170,13 +170,13 @@
This is an example project for Microsoft Visual Studio from Keygen\DLL\Example. Below are the most interesting parts of the code with our comments.
-
First lines of the main function fill the VMProtectProductInfo structure with data, exported from VMProtect. This code is typical and it shouldn't be changed to avoid errors. Then we create the
- VMProtectSerialNumberInfo structure and insert a bit combination of user name and e-mail to the flag field.
+
First lines of the main function fill the DogProtectProductInfo structure with data, exported from DogProtect. This code is typical and it shouldn't be changed to avoid errors. Then we create the
+ DogProtectSerialNumberInfo structure and insert a bit combination of user name and e-mail to the flag field.
In the next line, we put the user name and the password to the appropriate fields in the structure. Note, values are accepted in the UNICODE encoding. The key generator will transform them to UTF-8.
Then, we initialize a pointer variable where the address of the generated key will be stored, and call
- VMProtectGenerateSerialNumber, then analyze the return code. If there are no errors, the generated key goes out to console, and a call to free serial number memory function is made.
The rest fields of the
- VMprotectSerialNumberInfo structure
+ DogProtectGenerateSerialNumber, then analyze the return code. If there are no errors, the generated key goes out to console, and a call to free serial number memory function is made.The rest fields of the
+ DogProtectSerialNumberInfo structure
Some fields of the structure may needs some additional explanations. For example, dwExpDate and
dwMaxBuildDate fields contain dates in the specific format: 0xYYYYMMDD, that is, the year is stored in the high wordб while the month and the day are in the respectively high and low bytes of the low word.
@@ -185,7 +185,7 @@
05, 12).
The pHardwareID field should contain a pointer to a string the
- VMProtectGetCurrentHWID method from the licensing SDK has returned.
+ DogProtectGetCurrentHWID method from the licensing SDK has returned.
The .Net-version of the key generator is a build containing all that is required to generate serial numbers. Source codes are in Keygen\Net as two projects: KeyGen (the key generator itself) and Usage (an example of use of the key generator).
The key generator is supplied in source codes for quick building under a given version of the .Net
- Framework, however we strongly do not recommend to apply any changes to the code. In future versions of VMProtect some new possibilities may be added to the generator, and that may lead to repeated modification of the code. Also, this may lead to errors that are very difficult to locate.
+ Framework, however we strongly do not recommend to apply any changes to the code. In future versions of DogProtect some new possibilities may be added to the generator, and that may lead to repeated modification of the code. Also, this may lead to errors that are very difficult to locate.
If you found errors in the original code of the generator or would like to suggest improvements, please contact the support team.
Using the generator
Take the code from the Usage project as a base,
- then add to your project a link to the VMProtect.KeyGen.dll build. After that you will be able to generate serial numbers in your application. To function properly, the generator must "know" which product you generate serial numbers for.
- To achieve this, in VMProtect open the "Project | Export key pair" dialog and select the "Parameters for KeyGen.Net" option. The text area below will contain text information you should copy and paste to your application as a string constant.
+ then add to your project a link to the DogProtect.KeyGen.dll build. After that you will be able to generate serial numbers in your application. To function properly, the generator must "know" which product you generate serial numbers for.
+ To achieve this, in DogProtect open the "Project | Export key pair" dialog and select the "Parameters for KeyGen.Net" option. The text area below will contain text information you should copy and paste to your application as a string constant.
Here is an example code to call the generator:
@@ -56,7 +56,7 @@ catch (Exception ex)
-
The string you copied from VMProtect should be placed to the data variable passed as a parameter to the serial number class constructor. In case of any problems occur while parsing the product data, the constructor throws an exception containing a description of the problem. If the constructor successfully finishes its work, the generator is ready to produce serial numbers.
+
The string you copied from DogProtect should be placed to the data variable passed as a parameter to the serial number class constructor. In case of any problems occur while parsing the product data, the constructor throws an exception containing a description of the problem. If the constructor successfully finishes its work, the generator is ready to produce serial numbers.
A serial number can contain various information specified using the generator properties. The above example displays how to fill all and every field of a serial number. Certain fields have limitations. For example, the User Name and
E-Mail cannot accept strings exceeding 255 symbols in the UTF-8 encoding. If incorrect data are supplied, properties throw exceptions containing a description of the problem.
In the beginning of the PHP file, the setup code is located:
//////////////////////////////////////////////////////////////////////////////////////////////
-// The following lines should be generated by VMProtect License Manager
+// The following lines should be generated by DogProtect License Manager
$exported_algorithm = "RSA";
$exported_bits = 2048;
$exported_private = "PJvj4kEpoQMIpYK+9wEt......xKeiSZgzdiln8Q==";
@@ -31,7 +31,7 @@ $exported_product_code = "oLQdGUn8kVk=";
//////////////////////////////////////////////////////////////////////////////////////////////
$params = array(
user_name => "John Doe", // UTF-8!
email => "john@doe.com",
- hwid => "vHGMdMRvGCPjWcCQ", // Exactly as returned by VMProtectGetCurrentHWID
+ hwid => "vHGMdMRvGCPjWcCQ", // Exactly as returned by DogProtectGetCurrentHWID
expire_date => array(year => 2009, month => 10, day => 1),
maxbuild_date => array(year => 2009, month => 10, day => 1),
time_limit => 10,
diff --git a/help/en/manager/keygen/serial_format.htm b/help/en/manager/keygen/serial_format.htm
index 30875bd..14e9ca3 100644
--- a/help/en/manager/keygen/serial_format.htm
+++ b/help/en/manager/keygen/serial_format.htm
@@ -87,7 +87,7 @@
1 + N
-
The block contains hardware identifier as returned by the VMProtectGetCurrentHWID() function. The function returns a base-64 string. A decoded version of the string is put to the serial number. The length of the data block must be a multiple of 4. There is a length byte before the data block. The maximum block length is 32 bytes.
+
The block contains hardware identifier as returned by the DogProtectGetCurrentHWID() function. The function returns a base-64 string. A decoded version of the string is put to the serial number. The length of the data block must be a multiple of 4. There is a length byte before the data block. The maximum block length is 32 bytes.
04 08 E1 E2 E3 E4 A1 A2 A3 A4
@@ -124,7 +124,7 @@
8
-
The block contains a product code - 8 bytes created by VMProtect and exported with product parameters.
+
The block contains a product code - 8 bytes created by DogProtect and exported with product parameters.
These data are exported in the base-64 encoding and must be decoded to a byte array before putting to a serial number.
The size of the array must be exactly 8 bytes.
This block is obligatory! Without it, the protected program will not work correctly.
@@ -141,7 +141,7 @@
The block contains up to 255 bytes of custom user data.
The license system doesn't analyze these data and will return them when the
- VMProtectGetSerialNumberData() function is called. Before the data block, there is a byte holding the size of the user data.
+ DogProtectGetSerialNumberData() function is called. Before the data block, there is a byte holding the size of the user data.
By default, licensing functions are off. To enable them, you should create a pair of keys in the "Licenses" subsection of the "Project" section. If the project links to the license manager database (in older versions of VMProtect the license manager was a standalone program), VMProtect will suggest you to import the corresponding licenses to the project. When initialization finishes, the Lock to Serial Number option will be available, and you will be able to create and process serial numbers.
+
By default, licensing functions are off. To enable them, you should create a pair of keys in the "Licenses" subsection of the "Project" section. If the project links to the license manager database (in older versions of DogProtect the license manager was a standalone program), DogProtect will suggest you to import the corresponding licenses to the project. When initialization finishes, the Lock to Serial Number option will be available, and you will be able to create and process serial numbers.
Interface
@@ -33,7 +33,7 @@
The upper part of the dialog allows to specify main parameters of the new license. The lower section configures which parameters will be finally put into a serial number and allows adding additional data: for example, a hardware identifier or custom user data.
- When you finish filling the data, click OK, and VMProtect creates a new license.
+ When you finish filling the data, click OK, and DogProtect creates a new license.
Removing and blocking licenses
@@ -41,7 +41,7 @@
Importing serial numbers
-
Serial numbers can be created not only in VMProtect, but also in third-party programs - key generators. Key generators allow you to automatically provide e-commerce agents with serial numbers whenever a license is purchased. To add such serial numbers to the database, you can import them. To import serial numbers, press
+
Serial numbers can be created not only in DogProtect, but also in third-party programs - key generators. Key generators allow you to automatically provide e-commerce agents with serial numbers whenever a license is purchased. To add such serial numbers to the database, you can import them. To import serial numbers, press
Ctrl+I or select the "Import" command in the "Project" menu.
The licensing system API is an integral part of VMProtect API and its SDK. API allows you to specify a serial number and retrieve all information about it: whether it suits the program or not, is the serial number expired, the name this product is registered to and so on. Also, the API provides a hardware identifier of the computer the program runs on.
VMProtectSetSerialNumber
+
The licensing system API is an integral part of DogProtect API and its SDK. API allows you to specify a serial number and retrieve all information about it: whether it suits the program or not, is the serial number expired, the name this product is registered to and so on. Also, the API provides a hardware identifier of the computer the program runs on.
DogProtectSetSerialNumber
This function loads a serial number to the licensing system. Call syntax:
-
int VMProtectSetSerialNumber(const char *SerialNumber);
+
int DogProtectSetSerialNumber(const char *SerialNumber);
-
The input SerialNumber parameter must contain a pointer to a null-terminated string ('\0') containing a base-64 encoded serial number. The function returns a bit mask of serial number status flags, the same as the one VMProtectGetSerialNumberState() returns. You can read more about flags below. The serial number is "good" if the function returned 0.
+
The input SerialNumber parameter must contain a pointer to a null-terminated string ('\0') containing a base-64 encoded serial number. The function returns a bit mask of serial number status flags, the same as the one DogProtectGetSerialNumberState() returns. You can read more about flags below. The serial number is "good" if the function returned 0.
This function returns status flags for the serial number specified by a call to
- VMProtectSetSerialNumber().
-
int VMProtectGetSerialNumberState();
+ DogProtectSetSerialNumber().
+
int DogProtectGetSerialNumberState();
If at least one flag is set, there is a problem with the serial number. The program shouldn't work if at least one bit is set. The detailed description of flags and their values is listed in the table below:
@@ -69,7 +69,7 @@
0x00000004
-
The serial number matches the product, but is black listed in VMProtect.
+
The serial number matches the product, but is black listed in DogProtect.
@@ -78,7 +78,7 @@
0x00000008
The serial number is expired. You can obtain the detailed information about the expiration date by calling
- VMProtectGetSerialNumberData()
+ DogProtectGetSerialNumberData()
@@ -87,7 +87,7 @@
0x00000010
Operating time of the program is depleted. You can obtain the detailed information about the operating time of the program by calling
- VMProtectGetSerialNumberData()
+ DogProtectGetSerialNumberData()
@@ -104,19 +104,19 @@
0x00000040
The serial number does not match the current version of the protected program. You can obtain the maximum build date of the program this serial number matches by calling
- VMProtectGetSerialNumberData().
This function obtains information about contents of the serial number acquired with a call to
- VMProtectSetSerialNumber(). Call syntax:
-
bool VMProtectGetSerialNumberData(VMProtectSerialNumberData *Data, int Size);
+ DogProtectSetSerialNumber(). Call syntax:
+
bool DogProtectGetSerialNumberData(DogProtectSerialNumberData *Data, int Size);
The first parameter is a pointer to the
- VMProtectSerialNumberData structure, where all necessary information will be written to. The second parameter is the size of the structure passed in the first parameter. It is required to control the structure's format. The function returns FALSE if the licensing system is corrupted (see the SERIAL_STATE_FLAG_CORRUPTED flag), if a zero address of the structure is provided or if the passed size of the structure is incorrect. In all other cases, the function returns TRUE and records all information about the serial number to the provided address. Below are the elements of the structure:
+ DogProtectSerialNumberData structure, where all necessary information will be written to. The second parameter is the size of the structure passed in the first parameter. It is required to control the structure's format. The function returns FALSE if the licensing system is corrupted (see the SERIAL_STATE_FLAG_CORRUPTED flag), if a zero address of the structure is provided or if the passed size of the structure is incorrect. In all other cases, the function returns TRUE and records all information about the serial number to the provided address. Below are the elements of the structure:
@@ -133,7 +133,7 @@
int
A bit flag mask indicating the status of a key. Similar to the one returned by
- VMProtectGetSerialNumberState().
+ DogProtectGetSerialNumberState().
@@ -155,18 +155,18 @@
dtExpire
-
VMProtectDate
+
DogProtectDate
The key expiration date. The format of the
- VMProtectDate structure is described below.
+ DogProtectDate structure is described below.
dtMaxBuild
-
VMProtectDate
+
DogProtectDate
-
The maximum product build date the given key can work with. The format of the VMProtectDate structure is described below.
+
The maximum product build date the given key can work with. The format of the DogProtectDate structure is described below.
@@ -196,7 +196,7 @@
-
The VMProtectDate structure is a compact representation of date. Its fields are listed in the table below:
+
The DogProtectDate structure is a compact representation of date. Its fields are listed in the table below:
This function obtains a hardware identifier of the PC the program is working on. Call syntax:
-
int VMProtectGetCurrentHWID(char * HWID, int Size);
+
int DogProtectGetCurrentHWID(char * HWID, int Size);
The first parameter is a pointer to a memory area where the identifier is written to. The second parameter is the size of this area. The function returns the number of bytes written inclusive of the trailing zero byte ('\0'). If NULL is provided in the first parameter, the function returns the number of bytes required to store the hardware identifier. Here is the correct way to use the function:
-
int nSize = VMProtectGetCurrentHWID(NULL, 0); // get the required buffer size
+
int nSize = DogProtectGetCurrentHWID(NULL, 0); // get the required buffer size
char *pBuf = new char[nSize]; // allocate memory for the buffer
-VMProtectGetCurrentHWID(pBuf, nSize); // obtain the identifier
+DogProtectGetCurrentHWID(pBuf, nSize); // obtain the identifier
// use the identifier
delete [] pBuf; // release memory
In the several steps described below we will create a test application that queries the licensing system: provides serial numbers to it, receives the status of a serial number and its contents. On the first stage, we use the license system in the test mode; one the second stage we use it as it would be used in actual practice.
Work modes of the licensing system
-
Building protection always goes through two main steps: development and release. As for licensing, at first you create an application, integrate protection into it, then add checks and functional limitations. And only after thorough testing you can make the product available to users and begin the second stage. Testing of a protected application is a complex process, because you need to make sure all checks and conditional jumps operate correctly. Making "real" serial numbers for all possible test cases is inconvenient. That is why the licensing system offers the "developer mode" (AKA "test mode") as well. In this work mode, no protection is applied to the app, and reaction of the system to supplied serial numbers is adjusted in the configuration file. When the application is free from bugs and it correctly works with the licensing system, VMProtect replaces the "test" licensing module with the real one that do perform real serial number checking. This is done when the application is protected, so you can't avoid this step by mistake.
Stage 1:
+
Building protection always goes through two main steps: development and release. As for licensing, at first you create an application, integrate protection into it, then add checks and functional limitations. And only after thorough testing you can make the product available to users and begin the second stage. Testing of a protected application is a complex process, because you need to make sure all checks and conditional jumps operate correctly. Making "real" serial numbers for all possible test cases is inconvenient. That is why the licensing system offers the "developer mode" (AKA "test mode") as well. In this work mode, no protection is applied to the app, and reaction of the system to supplied serial numbers is adjusted in the configuration file. When the application is free from bugs and it correctly works with the licensing system, DogProtect replaces the "test" licensing module with the real one that do perform real serial number checking. This is done when the application is protected, so you can't avoid this step by mistake.
Stage 1:
Test mode
In the test mode, all reactions of the licensing system (statuses and data it returns) to supplied serial numbers is described in the configuration file. The file is called VMPLicense.ini and should be located in the working folder of the application. In 10 steps provided below we will go from creating the simplest application to full-featured use of the licensing system in the test mode with hardware locking and limiting the period of free upgrades.
In the real mode VMProtect licensing system puts a special licensing module to the protected application. This module carries out the same functions as the test one in the SDK, but works with contents of a serial number instead of the configuration ini-file. The next five steps illustrate the process of protecting a simple application with a full-featured protection based on VMProtect and the licensing system.
+
In the real mode DogProtect licensing system puts a special licensing module to the protected application. This module carries out the same functions as the test one in the SDK, but works with contents of a serial number instead of the configuration ini-file. The next five steps illustrate the process of protecting a simple application with a full-featured protection based on DogProtect and the licensing system.
diff --git a/help/en/manager/usage/step11_app.htm b/help/en/manager/usage/step11_app.htm
index 0c598dd..0842bb0 100644
--- a/help/en/manager/usage/step11_app.htm
+++ b/help/en/manager/usage/step11_app.htm
@@ -39,7 +39,7 @@ int main(int argc, char **argv)
The program uses a very simple way to check the serial number. The is_registered() function compares the first symbol of the serial number with 'X' and thinks the number is correct if this they match. For an incorrect serial number, a registration message is displayed, while if a user enter the correct key, "We are registered." is shown instead
The next step is to add the code to check the serial number using the licensing system of
- VMProtect.
If you haven't do this before, it is time to include VMProtect SDK to your project. The SDK is three files: the header file (VMProtectSDK.h), the library file (VMProtectSDK32.lib) and the dll-file with implementation (VMProtectSDK32.dll). There are individual implementations of the library and the dll-file for 64-bit systems.
+
If you haven't do this before, it is time to include DogProtect SDK to your project. The SDK is three files: the header file (DogProtectSDK.h), the library file (DogProtectSDK32.lib) and the dll-file with implementation (DogProtectSDK32.dll). There are individual implementations of the library and the dll-file for 64-bit systems.
Put the dll-file, the header file and the library file to the working folder of our application, where the source files are, and include the header file to the main file:
Build the project and make sure it compiles and runs as before. The licensing system is inactive yet.
Sending a serial number to the licensing system
Now, right below the line with the serial number, we add a call to the SDK function of the licensing system:
char *serial = "Xserialnumber"; // we set the serial number directly in the code, for simplicity
-int res = VMProtectSetSerialNumber(serial);
+int res = DogProtectSetSerialNumber(serial);
printf("res = 0x%08X\n", res);
@@ -38,7 +38,7 @@ printf("res = 0x%08X\n", res);
described in the API. This means the licensing system thinks our key is incorrect, which is pretty true, as we didn't "explain" to the system which keys are correct, and which ones are not.Specifying the "correct" serial number
In the test mode, the licensing system analyzes the
- VMProtectLicense.ini file and reacts to function calls in accordance with the specified settings. We will thoroughly review the file on later steps, and now we simply create such a file and add the following text there:
+ DogProtectLicense.ini file and reacts to function calls in accordance with the specified settings. We will thoroughly review the file on later steps, and now we simply create such a file and add the following text there:
[TestLicense]
AcceptedSerialNumber=Xserialnumber
@@ -47,13 +47,13 @@ AcceptedSerialNumber=Xserialnumber
is_registered() function from the code - the licensing system is now in charge for checking serial numbers:
#include <windows.h>
#include <stdio.h>
-#include "VMProtectSDK.h"
+#include "DogProtectSDK.h"
int main(int argc, char **argv)
{
char *serial = "Xserialnumber"; // we set the serial number directly in the code, for simplicity
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
printf("res = 0x%08X\n", res);
if (res)
diff --git a/help/en/manager/usage/step13_flags.htm b/help/en/manager/usage/step13_flags.htm
index e6d60c3..fe6edcc 100644
--- a/help/en/manager/usage/step13_flags.htm
+++ b/help/en/manager/usage/step13_flags.htm
@@ -40,7 +40,7 @@ void print_state(INT state)
printf in the code after checking the serial number to the call to
print_state, and make changes to the serial number we pass to the licensing system:
char *serial = "Xserialnumber1"; // we set the serial number directly in the code, for simplicity
-int res = VMProtectSetSerialNumber(serial);
+int res = DogProtectSetSerialNumber(serial);
print_state(res);
@@ -57,10 +57,10 @@ We are registered.
Now, as we can see status flags of a serial number, let's move to retrieving flags and data from a serial number.
Retrieving serial number status
You can get the status of a serial number in three ways: by calling
- VMProtectSetSerialNumber(), by calling
- VMProtectGetSerialNumberState() or by calling
- VMProtectGetSerialNumberData() - status flags are put into one of fields of the structure. Each method is intended to use in specific time. The first check of the serial number is performed during installation. At this moment you should decline incorrect numbers, expired numbers, numbers in the black list and so on. Some limitations, for example, the maximum operation time of the program or serial number expiration date should also be checked in run-time. And the VMProtectGetSerialNumberState() method is the fastest and the most convenient way here. And if you need to receive complete information about the serial number, you can use the more powerful
- VMProtectGetSerialNumberData() function.
+ DogProtectSetSerialNumber(), by calling
+ DogProtectGetSerialNumberState() or by calling
+ DogProtectGetSerialNumberData() - status flags are put into one of fields of the structure. Each method is intended to use in specific time. The first check of the serial number is performed during installation. At this moment you should decline incorrect numbers, expired numbers, numbers in the black list and so on. Some limitations, for example, the maximum operation time of the program or serial number expiration date should also be checked in run-time. And the DogProtectGetSerialNumberState() method is the fastest and the most convenient way here. And if you need to receive complete information about the serial number, you can use the more powerful
+ DogProtectGetSerialNumberData() function. Next step
Now let's get some more information before the "please register" message is shown and the program exists:
if (res)
{
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("exp. date: y = %d, m = %d, d = %d\n", sd.dtExpire.wYear, sd.dtExpire.bMonth, sd.dtExpire.bDay);
printf("please register!\n");
return 0;
diff --git a/help/en/manager/usage/step16_time.htm b/help/en/manager/usage/step16_time.htm
index 9da46d1..99876f1 100644
--- a/help/en/manager/usage/step16_time.htm
+++ b/help/en/manager/usage/step16_time.htm
@@ -23,17 +23,17 @@
{
char *serial = "Xserialnumber"; // we set the serial number directly in the code, for simplicity
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
if (res) return 0;
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("I will run for %d minute(s)\n", sd.bRunningTime);
- print_state(VMProtectGetSerialNumberState());
+ print_state(DogProtectGetSerialNumberState());
Sleep(60 * 1000 * sd.bRunningTime);
printf("After %d minute(s):\n", sd.bRunningTime);
- print_state(VMProtectGetSerialNumberState());
+ print_state(DogProtectGetSerialNumberState());
return 0;
}
diff --git a/help/en/manager/usage/step17_maxbuild.htm b/help/en/manager/usage/step17_maxbuild.htm
index e636596..7a7540f 100644
--- a/help/en/manager/usage/step17_maxbuild.htm
+++ b/help/en/manager/usage/step17_maxbuild.htm
@@ -14,7 +14,7 @@
Step 1.7: Limiting the free upgrades period
How it works
-
When VMProtect protects an application it records the date. The licensing system treats this date as a build date of the application. And you can put into a serial number the maximum build date this serial number can work with. Therefore, if you put the current date plus one year to the serial number, it will work with all versions of your programs you will be releasing in a year. A version you release one year and a day after will not work with this serial number, and a user will have a choice: use older version of your program or purchase a new key to work with the latest version of the program for one more year.
Let's try it
+
When DogProtect protects an application it records the date. The licensing system treats this date as a build date of the application. And you can put into a serial number the maximum build date this serial number can work with. Therefore, if you put the current date plus one year to the serial number, it will work with all versions of your programs you will be releasing in a year. A version you release one year and a day after will not work with this serial number, and a user will have a choice: use older version of your program or purchase a new key to work with the latest version of the program for one more year.
Let's try it
Put the line formatted as MaxBuildDate=YYYYMMDD into the ini-file:
MaxBuildDate=20000101
@@ -25,13 +25,13 @@
{
char *serial = "Xserialnumber"; // we set the serial number directly in the code, for simplicity
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
if (res)
{
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("max. build date: y = %d, m = %d, d = %d\n", sd.dtMaxBuild.wYear, sd.dtMaxBuild.bMonth, sd.dtMaxBuild.bDay);
printf("please register!\n");
return 0;
diff --git a/help/en/manager/usage/step18_blacklist.htm b/help/en/manager/usage/step18_blacklist.htm
index ba5ad4e..c2a75a6 100644
--- a/help/en/manager/usage/step18_blacklist.htm
+++ b/help/en/manager/usage/step18_blacklist.htm
@@ -14,14 +14,14 @@
Step 1.8: Serial numbers in the black list
-
A serial number marked in VMProtect as "blocked" should not be accepted by the licensing system. When you will rebuild your application next time, VMProtect will add the hash of blacklisted serial numbers to the protected application. As a result, the licensing system of the application will decline these serial numbers in the future.
+
A serial number marked in DogProtect as "blocked" should not be accepted by the licensing system. When you will rebuild your application next time, DogProtect will add the hash of blacklisted serial numbers to the protected application. As a result, the licensing system of the application will decline these serial numbers in the future.
Firstly, lets minimize the contents of the main() function:
int main(int argc, char **argv)
{
char *serial = "Xserialnumber"; // we set the serial number directly in the code, for simplicity
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
return 0;
diff --git a/help/en/manager/usage/step19_hwid.htm b/help/en/manager/usage/step19_hwid.htm
index b6582f8..2e940d2 100644
--- a/help/en/manager/usage/step19_hwid.htm
+++ b/help/en/manager/usage/step19_hwid.htm
@@ -24,9 +24,9 @@
main() function to the bare minimum:
Important! The program will display the real hardware identifier only after it is processed with VMProtect.
+
Important! The program will display the real hardware identifier only after it is processed with DogProtect.
Hardware-locked serial number
To lock our test serial number to hardware, we should add one more line to the ini-file. This time we define the identifier that is "put into" the serial number:
@@ -56,14 +56,14 @@
int main(int argc, char **argv)
{
- int nSize = VMProtectGetCurrentHWID(NULL, 0);
+ int nSize = DogProtectGetCurrentHWID(NULL, 0);
char *buf = new char[nSize];
- VMProtectGetCurrentHWID(buf, nSize);
+ DogProtectGetCurrentHWID(buf, nSize);
printf("HWID: %s\n", buf);
delete [] buf;
char *serial = "Xserialnumber";
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
return 0;
}
@@ -75,7 +75,7 @@ state = 0
The licensing system has compared the current hardware identifier with the one written in the serial number. Identifiers are equal, so the
- VMProtectSetSerialNumber() function returned 0 - the serial number matches.
+ DogProtectSetSerialNumber() function returned 0 - the serial number matches.
Now let's try to "run" our program on another hardware. We simply change the value of the MyHWID parameter in the ini-file from "test" to "new test". Run the program again:
HWID: new test
diff --git a/help/en/manager/usage/step1A_userdata.htm b/help/en/manager/usage/step1A_userdata.htm
index f5d43f4..48c9c05 100644
--- a/help/en/manager/usage/step1A_userdata.htm
+++ b/help/en/manager/usage/step1A_userdata.htm
@@ -19,12 +19,12 @@
int main(int argc, char **argv)
{
char *serial = "Xserialnumber";
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
if (res) return 0;
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("Serial number has %d byte(s) of data\n", sd.nUserDataLength);
for (int i = 0; i < sd.nUserDataLength; i++)
printf("%02X ", sd.bUserData[i]);
diff --git a/help/en/manager/usage/step21_src.htm b/help/en/manager/usage/step21_src.htm
index beace95..1954253 100644
--- a/help/en/manager/usage/step21_src.htm
+++ b/help/en/manager/usage/step21_src.htm
@@ -17,7 +17,7 @@
At the first stage we made several simple apps to test the API of the licensing system. Now, on the second stage we'll create just one application. It will also be a console app with the foo() function working only in the registered version. Here is the code of our test application:
#include <windows.h>
#include <stdio.h>
-#include "VMProtectSDK.h"
+#include "DogProtectSDK.h"
#define PRINT_HELPER(state, flag) if (state & flag) printf("%s ", #flag)
void print_state(INT state)
@@ -63,7 +63,7 @@ __declspec(noinline) void foo()
int main(int argc, char **argv)
{
char *serial = read_serial("serial.txt");
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
delete [] serial;
if (res)
{
@@ -78,13 +78,13 @@ int main(int argc, char **argv)
}
-
Compile the program without the debug information, but in the linker settings we enable creating of the MAP-file - we will need it to work with VMProtect. After we run the program, we should see the following text:
+
Compile the program without the debug information, but in the linker settings we enable creating of the MAP-file - we will need it to work with DogProtect. After we run the program, we should see the following text:
serial number is bad
state = SERIAL_STATE_FLAG_INVALID
-
Currently, the licensing system still works in the test mode, because the file wasn't processed by VMProtect and doesn't contain a licensing module in it. On the next step we will create a VMProtect project and will try to protect our application.
+
Currently, the licensing system still works in the test mode, because the file wasn't processed by DogProtect and doesn't contain a licensing module in it. On the next step we will create a DogProtect project and will try to protect our application.
Step 2.2: Creating a DogProtect protection project
-
Now, as our test app is ready, compiled and has an assigned MAP-file in the same folder, we can run VMProtect
- Ultimate and open the executable file. We need to add two functions to the project: _main (this is how Visual Studio renamed our main()) and foo(). Both functions can be seen in the list of functions in the "Functions" section in VMProtect.
+
Now, as our test app is ready, compiled and has an assigned MAP-file in the same folder, we can run DogProtect
+ Ultimate and open the executable file. We need to add two functions to the project: _main (this is how Visual Studio renamed our main()) and foo(). Both functions can be seen in the list of functions in the "Functions" section in DogProtect.
The licensing system is initialized, so let's try to compile the VMProtect project and run the protected file. After running it from the command line we will receive the following message:
-
C:\test>dummy_app.vmp.exe
+
The licensing system is initialized, so let's try to compile the DogProtect project and run the protected file. After running it from the command line we will receive the following message:
+
C:\test>dummy_app.dog.exe
serial number is bad
state = SERIAL_STATE_FLAG_INVALID
-
If you run depends.exe and can see that our protected executable file doesn't use the VMProtectSDK.dll any more. This means the licensing module is already built into the program. You can also review the list of used DLL from VMProtect, in the "Details | Imports" section.
+
If you run depends.exe and can see that our protected executable file doesn't use the DogProtectSDK.dll any more. This means the licensing module is already built into the program. You can also review the list of used DLL from DogProtect, in the "Details | Imports" section.
@@ -34,7 +34,7 @@ state = SERIAL_STATE_FLAG_INVALID
Then, we copy the serial number (select the "Serial number" field in the license properties and precc Ctrl+C), create a file named serial.txt in the same folder as the protected application, and paste the copied number there. Now, if we run our application we will see this:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
I'm foo
done
diff --git a/help/en/manager/usage/step24_test.htm b/help/en/manager/usage/step24_test.htm
index cad58f1..9f52ee2 100644
--- a/help/en/manager/usage/step24_test.htm
+++ b/help/en/manager/usage/step24_test.htm
@@ -16,34 +16,34 @@
Let's create another serial number with a certain expiration date. For example, 2005. This date has already passed and therefore our serial number must be incorrect. Switch to the "Licenses" section and click the "Add license" button on the toolbar. In the "Add license" dialog window enable the "Expiration date" option and specify September 30, 2005.
Create the serial number, copy it and paste to serial.txt, then run the program:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is bad
state = SERIAL_STATE_FLAG_DATE_EXPIRED
the licensing module returned the "serial number is expired" flag. Now, put the working serial number back to the serial.txt file and make sure the licensing module accepts it perfectly.
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
I'm foo
done
Adding a serial number to the black list
Let's imagine our "good" serial number has leaked to the Internet and is compromised now. We need to block it so that it will not work in future versions of the program. To do this, select the serial number in the list and set the "Blocked" property in the main panel to "Yes". For now, the serial number is not yet blocked, but when you protect the file again, the application will not accept this number any more. Let's make sure this is really so. If we run our program now, it should accept the blocked serial number without any problems, because this is the old version that knows nothing about the blocked number:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
I'm foo
done
Now we make a copy of our program and name it as
- "dummy_app1.vmp.exe", then open VMProtect and protect the application again. Then run this new version:
-
C:\test>dummy_app.vmp.exe
+ "dummy_app1.dog.exe", then open DogProtect and protect the application again. Then run this new version:
+
C:\test>dummy_app.dog.exe
serial number is bad
state = SERIAL_STATE_FLAG_BLACKLISTED
And the old version again, for comparison:
-
C:\test>dummy_app1.vmp.exe
+
C:\test>dummy_app1.dog.exe
serial number is correct, calling foo()
I'm foo
done
@@ -51,7 +51,7 @@ done
The older version doesn't know about the blocked serial number and works as before.
On the next step we will try to lock the code to a serial number. But before we proceed, unblock the serial number and reapply protection in VMProtect to the application to make it accept this serial number again. Or simply create a new license.
+ "step25_codelock.htm">next step we will try to lock the code to a serial number. But before we proceed, unblock the serial number and reapply protection in DogProtect to the application to make it accept this serial number again. Or simply create a new license.
One of the most common ways to crack programs is to locate the place where the serial number is checked and the nearby conditional jump that follows it. If the serial number is correct, the execution of the program goes one way, if not - the other way. A hacker locates this jump and replaces it with a jump to the "correct" way. Let's "crack" our test program using this technique. Directly in the source code, of course. Let's "switch off" our conditional jump:
char *serial = read_serial("serial.txt");
-int res = VMProtectSetSerialNumber(serial);
+int res = DogProtectSetSerialNumber(serial);
delete [] serial;
if (false && res)
{
-
Now, our program accepts any serial number and works normally. Of course, if the file is protected with VMProtect, even an experienced hacker would spend months to locate and modify the conditional jump as we did it. And taking into account the program check the serial number multiple times and under different conditions, even such a simple check is quite secure. But let's go further.
locking the code to a serial number
+
Now, our program accepts any serial number and works normally. Of course, if the file is protected with DogProtect, even an experienced hacker would spend months to locate and modify the conditional jump as we did it. And taking into account the program check the serial number multiple times and under different conditions, even such a simple check is quite secure. But let's go further.
locking the code to a serial number
-
Important! The demo-version of VMProtect has a limitation on the number of processed function: only one function is processed. So if you use the demo-version, you should only include the foo() function to the project, otherwise the demo-version of VMProtect can choose the main() function and locking to a serial number will not work.
+
Important! The demo-version of DogProtect has a limitation on the number of processed function: only one function is processed. So if you use the demo-version, you should only include the foo() function to the project, otherwise the demo-version of DogProtect can choose the main() function and locking to a serial number will not work.
-
The licensing system of VMProtect allows you to lock the code of one or more functions to a serial number so, that they will not work without the correct serial number provided. the body of the function is virtualized, then encrypted and can only be decrypted with the correct serial number. This means, even if a hacker finds and fixes the conditional jump in the serial number check, functions locked to the serial number still will not work. Let's try this. In the "Functions" section choose the foo() function and at the right panel change the "Lock to Serial Number" option to "Yes".
+
The licensing system of DogProtect allows you to lock the code of one or more functions to a serial number so, that they will not work without the correct serial number provided. the body of the function is virtualized, then encrypted and can only be decrypted with the correct serial number. This means, even if a hacker finds and fixes the conditional jump in the serial number check, functions locked to the serial number still will not work. Let's try this. In the "Functions" section choose the foo() function and at the right panel change the "Lock to Serial Number" option to "Yes".
Then, protect the application. Since, we already "hacked" it, put an arbitrary text into the serial.txt file and run the application. The following text appears in the console:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
@@ -53,7 +53,7 @@ serial number is correct, calling foo()
You should also remember that invoking the locked function without the serial number leads to program shut down, without a chance to save result of the work. that is why you should thoroughly test the application to make sure it doesn't calls such functions in the trial mode. In the above example, the text editor must disable the "Save" command in the demo mode and do not react on Ctrl+S shortcut as well. Of course, it also shouldn't ask to save the document on exit too. If you don't pay attention to this, a user may be disappointed with your "buggy" demo-version.
Locking to a serial number and invalid serial numbers
-
When the VMProtectSetSerialNumber() function is invoked, the licensing module checks the serial number passed to this function. Encrypted fragments of the code are only executed if the serial number was absolutely correct at the moment of check - not blacklisted, with the correct hardware identifier, not expired and so on. In this case all encrypted procedures are executed until the application is closed, or VMProtectSetSerialNumber() is invoked again.
+
When the DogProtectSetSerialNumber() function is invoked, the licensing module checks the serial number passed to this function. Encrypted fragments of the code are only executed if the serial number was absolutely correct at the moment of check - not blacklisted, with the correct hardware identifier, not expired and so on. In this case all encrypted procedures are executed until the application is closed, or DogProtectSetSerialNumber() is invoked again.
Some limitations can "trigger" during execution of the program: for example, the operating time of the program may expire or the serial number expiration date comes. In this case the licensing module still encrypts and executes functions locked to the serial number. This is so, because it is hard for the protected application to detect the moment those limitations trigger and change the behaviour accordingly (block corresponding menu items and so on). If the licensing module suddenly stops execution of the code fragments that are locked to the serial number, this will very likely lead to malfunction of the application. That is why the decision is made when a serial number is set, and the corresponding execution mode is selected.
Open -
choose an executable you want to protect, or a project file
- (*.vmp). You can also select a file to open from the list of previously protected applications shown in the File menu. You can also bring up the open dialog with the corresponding button on the toolbar . Finally, you can drag-n-drop the file you need to the VMProtect window;
+ (*.dog). You can also select a file to open from the list of previously protected applications shown in the File menu. You can also bring up the open dialog with the corresponding button on the toolbar . Finally, you can drag-n-drop the file you need to the DogProtect window;
-
Save Project - save application protection settings to a "*.vmp" file.
+
Save Project - save application protection settings to a "*.dog" file.
Project settings file is saved to the same folder where the executable of the protected application is located.
Saving is also available with the toolbar button ;
File - the file name of the executable you want to protect (*.exe, *.dll and so on), or the file name of a (*.vmp) project. If a project file name is specified, the file name of the executable is taken from the project file.
+
File - the file name of the executable you want to protect (*.exe, *.dll and so on), or the file name of a (*.dog) project. If a project file name is specified, the file name of the executable is taken from the project file.
Output File - the file name and path to the protected file that should be created after processing the original file. If this parameter is not set, the value is taken from the project file.
Project File - the file name and path to the project file created in the
- GUI mode. If the parameter is not set, the program searches for a *.vmp file in the folder of the executable.
+ GUI mode. If the parameter is not set, the program searches for a *.dog file in the folder of the executable.
Script file - the file name of the
script the protected file is processed with. If the parameter is not set, the script from the current project file is used.
Compilation type -
select the way the object is compiled. Selecting a proper way to protect each object (procedure, function, code fragment) from examination and hacking results in optimal balance between performance and security of the code.
- VMProtect allows the developer to set the following compilation types for each protected object:
+ DogProtect allows the developer to set the following compilation types for each protected object:
Mutation. The executable code is modified at the level of CPU commands - existing commands are mutated, various "garbage" commands are added and so on. This type of compilation is relatively weak in terms of protecting the code from hack or analysis. Its main purpose is to prevent detection of processed functions with automated signature analysers (PEiD+KANAL, IDA+FLIRT etc.). This type of compilation is worthwhile to protect library functions as they usually do not require strong protection from cracking and analysis. So it is enough to modify signatures so that a potential cracker couldn't automatically detect particular libraries used in the application. Mutation provides low level of protection and analysis, but high performance of code execution.
VM Segments -
When the file is compiled, new segments will be added to it to the place where various system data are stored (virtualized and mutated code, VM interpreters, watermarks etc.). This option allows you to specify names for these new segments.
- We recommend changing the standard ".vmp" name of segments to something else
+ We recommend changing the standard ".dog" name of segments to something else
(for example ".UPX").
Strip Debug Information - removing of debug information impedes analysis of the code by a cracker.
Strip Relocations - some compilers (i.e. Delphi) create a relocation table for EXE files that are not used by the operating system to load EXE files. If the option is enabled, the space occupied by relocation table is be used for VM needs.
- When protecting an application, VMProtect utilizes the space that becomes free during compilation for its own needs, including storage of various data (virtualized or mutated code, VM interpreters and so on). As a result, certain situations may occur when a jump "inside" the protected code is made from other parts of the program. Addresses such a jump is performed from are called external. A situation described above can happen when code markers are used and a jump from a non-protected part of the program is performed inside the markers:
-
VMProtectBegin(nil);
+ When protecting an application, DogProtect utilizes the space that becomes free during compilation for its own needs, including storage of various data (virtualized or mutated code, VM interpreters and so on). As a result, certain situations may occur when a jump "inside" the protected code is made from other parts of the program. Addresses such a jump is performed from are called external. A situation described above can happen when code markers are used and a jump from a non-protected part of the program is performed inside the markers:
+
DogProtectBegin(nil);
for I:=0 to 10 do
begin
Inc(J);
- VMProtectEnd;
+ DogProtectEnd;
end;
VMProtect is a reliable tool to protect the application code from analysis and cracking, yet the most efficient use is only possible if the in-app protection mechanisms are built properly, without typical mistakes that could ruin the whole protection. Let's review crucial elements of developing a good protection of your program.
+
DogProtect is a reliable tool to protect the application code from analysis and cracking, yet the most efficient use is only possible if the in-app protection mechanisms are built properly, without typical mistakes that could ruin the whole protection. Let's review crucial elements of developing a good protection of your program.
Registration procedure
@@ -69,7 +69,7 @@ begin
end;
-
If the CheckRegistration function is implemented like that, an intruder will have to analyze the code of registration key check in all details in order to bypass it. If this application is protected by VMProtect, virtualization of both the CheckRegistration function and TForm1.Button1Click procedure is recommended. To make the hacking even more complex, you can turn on the "Ultra" protection mode to combine mutation of the code and subsequent virtualization.
+
If the CheckRegistration function is implemented like that, an intruder will have to analyze the code of registration key check in all details in order to bypass it. If this application is protected by DogProtect, virtualization of both the CheckRegistration function and TForm1.Button1Click procedure is recommended. To make the hacking even more complex, you can turn on the "Ultra" protection mode to combine mutation of the code and subsequent virtualization.
Checking registration keys
@@ -118,7 +118,7 @@ initialization
end.
-
When protecting the application with VMProtect, HashPJW and CheckRegistration function should be processed to complicate hacker's life.
+
When protecting the application with DogProtect, HashPJW and CheckRegistration function should be processed to complicate hacker's life.
VMProtect has a built-in powerful script language LUA greatly enhancing the default protection capabilities of VMProtect at every stage of protection.
+
DogProtect has a built-in powerful script language LUA greatly enhancing the default protection capabilities of DogProtect at every stage of protection.
-
LUA syntax is very similar to that of JavaScript, but unlike it LUA doesn't contain explicit classes. Nevertheless, the script language allows easily implementing such object-oriented programming mechanisms as classes, inheritance and events. Script usage examples can be found in the "VMProtect/Examples/Scripts" folder.
+
LUA syntax is very similar to that of JavaScript, but unlike it LUA doesn't contain explicit classes. Nevertheless, the script language allows easily implementing such object-oriented programming mechanisms as classes, inheritance and events. Script usage examples can be found in the "DogProtect/Examples/Scripts" folder.
The script language LUA built into VMProtect is object-oriented: it is very similar to JavaScript in its syntax, ideology and implementation.
+
The script language LUA built into DogProtect is object-oriented: it is very similar to JavaScript in its syntax, ideology and implementation.
The script language includes standard classes providing basic functionality and specialized classes giving access to application protection functionality.
@@ -138,7 +138,7 @@ enum ProjectOption {
}
-
A class to work with the VMProtect core:
+
A class to work with the DogProtect core:
class Core {
public:
diff --git a/help/en/script_events.htm b/help/en/script_events.htm
index 863601f..ac5351d 100644
--- a/help/en/script_events.htm
+++ b/help/en/script_events.htm
@@ -13,7 +13,7 @@
Events
-
The built in script language is an efficient way to automate creation of protected applications with VMProtect. Procedures and functions required at various stages of building the protected file are invoked in certain events processed by the VMProtect core. You can set your own handlers for 5 events that are called by the VMProtect core in the following order:
+
The built in script language is an efficient way to automate creation of protected applications with DogProtect. Procedures and functions required at various stages of building the protected file are invoked in certain events processed by the DogProtect core. You can set your own handlers for 5 events that are called by the DogProtect core in the following order:
Aside from class methods and properties of the script language, VMProtect offers to a user various functions to perform basic operations. There are general system functions to work with strings, dates and numbers, process the command line of an application and display messages; and specialized functions to work with the VMProtect core and watermarks:
+
Aside from class methods and properties of the script language, DogProtect offers to a user various functions to perform basic operations. There are general system functions to work with strings, dates and numbers, process the command line of an application and display messages; and specialized functions to work with the DogProtect core and watermarks:
The marker identifying the beginning of the protected area of the code. A call to VMProtectBegin must be placed before the first command (or procedure or function call) of the protected code block.
- MarkerName defines the name of the marker that looks like "VMProtectMarker"+MarkerNamе in VMProtect. For example, a marker
- VMProtectBegin('CheckRegistration') will look as
- VMProtectMarker "CheckRegistration". If the name of the marker is not set, it is given a unique name in the form of "VMProtectMarker"+marker_serial_number. You can set the compilation type of the given protected block in VMProtect.
+
The marker identifying the beginning of the protected area of the code. A call to DogProtectBegin must be placed before the first command (or procedure or function call) of the protected code block.
+ MarkerName defines the name of the marker that looks like "DogProtectMarker"+MarkerNamе in DogProtect. For example, a marker
+ DogProtectBegin('CheckRegistration') will look as
+ DogProtectMarker "CheckRegistration". If the name of the marker is not set, it is given a unique name in the form of "DogProtectMarker"+marker_serial_number. You can set the compilation type of the given protected block in DogProtect.
The marker identifying the beginning of the protected area of the code with the predefined "virtualization" compilation type.
- MarkerName defines the name of the marker.
- The compilation type of this marker cannot be changed during further work with VMProtect.
+ MarkerName defines the name of the marker.
+ The compilation type of this marker cannot be changed during further work with DogProtect.
-
The marker identifying the beginning of the protected area of the code with the predefined "mutation" compilation type. MarkerName defines the name of the marker.
- The compilation type of this marker cannot be changed during further work with VMProtect.
+
The marker identifying the beginning of the protected area of the code with the predefined "mutation" compilation type. MarkerName defines the name of the marker.
+ The compilation type of this marker cannot be changed during further work with DogProtect.
The marker identifying the beginning of the protected area of the code with the predefined "ultra (virtualization+mutation)" compilation type. MarkerName defines the name of the marker. The compilation type of this marker cannot be changed during further work with VMProtect.
+
The marker identifying the beginning of the protected area of the code with the predefined "ultra (virtualization+mutation)" compilation type. MarkerName defines the name of the marker. The compilation type of this marker cannot be changed during further work with DogProtect.
The marker identifying the beginning of the protected area of the code with the predefined "virtualization" compilation type and the enabled "Lock to key" option.
- MarkerName defines the name of the marker. The compilation type of this marker cannot be changed during further work with VMProtect.
+ MarkerName defines the name of the marker. The compilation type of this marker cannot be changed during further work with DogProtect.
-
The marker identifying the beginning of the protected area of the code with the predefined "ultra (virtualization+mutation)" compilation type and the enabled "Lock to key" option. MarkerName defines the name of the marker. The compilation type of this marker cannot be changed during further work with VMProtect.
+ "project_functions.htm#LockToKey">"Lock to key" option. MarkerName defines the name of the marker. The compilation type of this marker cannot be changed during further work with DogProtect.
-
VMProtectEnd
-
void VMProtectEnd(void);
+
DogProtectEnd
+
void DogProtectEnd(void);
-
The marker identifying the end of the protected area of the code. The call to VMProtectEnd must be placed after the last command (procedure or function call) of the protected code block.
+
The marker identifying the end of the protected area of the code. The call to DogProtectEnd must be placed after the last command (procedure or function call) of the protected code block.
-
VMProtectIsProtected
-
bool VMProtectIsProtected(void);
+
DogProtectIsProtected
+
bool DogProtectIsProtected(void);
-
The VMProtectIsProtected function returns True if the file is processed by VMProtect.
+
The DogProtectIsProtected function returns True if the file is processed by DogProtect.
The VMProtectIsDebuggerPresent function allows to detect the launch of the application under a debugger. The result
+
The DogProtectIsDebuggerPresent function allows to detect the launch of the application under a debugger. The result
(True/False) can be processed with in-app protection mechanisms. If CheckKernelMode=False the function checks for User-mode debuggers (OllyDBG, WinDBG etc.). If CheckKernelMode=True, both User-mode and Kernel-mode debuggers (SoftICE,
Syser etc.). When protecting drivers, the value of CheckKernelMode does not make sense, because drivers always work in the kernel mode, so presence of kernel-mode debugger is always checked.
-
VMProtectIsVirtualMachinePresent
-
bool VMProtectIsVirtualMachinePresent(void);
+
DogProtectIsVirtualMachinePresent
+
bool DogProtectIsVirtualMachinePresent(void);
-
The VMProtectIsVirtualMachinePresent function allows to detect the launch of the application under a virtual machine tool: VMware, Virtual PC,
+
The DogProtectIsVirtualMachinePresent function allows to detect the launch of the application under a virtual machine tool: VMware, Virtual PC,
VirtualBox, Sandboxie. The result
(True/False) can be processed with in-app protection mechanisms.
-
VMProtectIsValidImageCRC
-
bool VMProtectIsValidImageCRC(void);
+
DogProtectIsValidImageCRC
+
bool DogProtectIsValidImageCRC(void);
-
The VMProtectIsValidImageCRC function detects the fact that the executable module has been changed in the memory of the process (only unchangeable segments of code and data are checked). The result
+
The DogProtectIsValidImageCRC function detects the fact that the executable module has been changed in the memory of the process (only unchangeable segments of code and data are checked). The result
(True/False) can be processed with in-app protection mechanisms.
The VMProtectFreeString function frees dynamic memory allocated for the decrypted string. It is not necessary to free up memory, but if you do this - you must use this function.
- If VMProtectDecryptStringA/VMProtectDecryptStringW are used with the same parameters for the second time without destroying previously decrypted string, additional memory is not allocated.
+
The DogProtectFreeString function frees dynamic memory allocated for the decrypted string. It is not necessary to free up memory, but if you do this - you must use this function.
+ If DogProtectDecryptStringA/DogProtectDecryptStringW are used with the same parameters for the second time without destroying previously decrypted string, additional memory is not allocated.
diff --git a/help/ru/about_vmprotect.htm b/help/ru/about_dogprotect.htm
similarity index 85%
rename from help/ru/about_vmprotect.htm
rename to help/ru/about_dogprotect.htm
index 7b7d630..79a4dd1 100644
--- a/help/ru/about_vmprotect.htm
+++ b/help/ru/about_dogprotect.htm
@@ -7,74 +7,74 @@
- Что такое VMProtect?
+ Что такое DogProtect?
-
Что такое VMProtect?
+
Что такое DogProtect?
-
Программа VMProtect относится к новому поколению средств
- защиты программного обеспечения. VMProtect поддерживает
+
Программа DogProtect относится к новому поколению средств
+ защиты программного обеспечения. DogProtect поддерживает
компиляторы Delphi, Borland C Builder, Visual C/C++, Visual Basic
- (native), Virtual Pascal, XCode, при этом VMProtect содержит встроенный
+ (native), Virtual Pascal, XCode, при этом DogProtect содержит встроенный
дизассемблер, позволяющий работать с исполняемыми файлами для операционных систем Windows и Mac OS X,
а также подключать MAP-файл, создаваемый компилятором,
для быстрого выбора участков кода, которые следует защитить. Для
- автоматизации операций по защите приложения в VMProtect
- реализован встроенный скриптовый язык. VMProtect обладает полной
+ автоматизации операций по защите приложения в DogProtect
+ реализован встроенный скриптовый язык. DogProtect обладает полной
поддержкой 32/64-разрядных операционных систем семейства Windows
(начиная с версии Win2k) и Mac OS X (начиная с версии 10.6),
- при этом независимо от платформы VMProtect поддерживает весь спектр
+ при этом независимо от платформы DogProtect поддерживает весь спектр
исполняемых файлов (Windows версия может работать с файлами от Mac OS X и наоборот).
-
Базовым принципом, на основе которого построен VMProtect,
+
Базовым принципом, на основе которого построен DogProtect,
является обеспечение эффективной защиты кода приложения от
изучения, так как именно максимальное усложнение понимания логики
работы внутренних механизмов защиты приложения создает
максимальные трудности при взломе программы. Основными методами
- защиты программного кода, применяемыми VMProtect, являются
+ защиты программного кода, применяемыми DogProtect, являются
виртуализация, мутация и смешанный метод защиты, сочетающий
мутацию кода приложения с его последующей виртуализацией.
Одним из достоинств реализации метода виртуализации в
- программе VMProtect является то, что виртуальная машина, на
+ программе DogProtect является то, что виртуальная машина, на
которой выполняются виртуализированные фрагменты кода,
встраивается в результирующий код защищаемого приложения.
Следовательно, для функционирования приложения, защищенного с
- помощью VMProtect, нет необходимости использовать какие-либо
- дополнительные библиотеки или модули. VMProtect позволяет
+ помощью DogProtect, нет необходимости использовать какие-либо
+ дополнительные библиотеки или модули. DogProtect позволяет
использовать несколько отличных друг от друга виртуальных машин
для защиты разных участков кода одного приложения, что еще больше
усложняет процесс взлома защиты, так как взломщику будет
необходимо анализировать архитектуру уже нескольких виртуальных
машин.
-
Метод мутации кода приложения, реализованный в VMProtect,
+
Метод мутации кода приложения, реализованный в DogProtect,
основан на обфускации, в процессе которой в код приложения
добавляются "мусорные" команды, "мертвый" код, случайные условные
переходы, выполняется мутация оригинальных команд, а также
переносится в стек выполнение ряда операций.
-
Ключевым отличием программы VMProtect от других протекторов
+
Ключевым отличием программы DogProtect от других протекторов
является то, что с ее помощью можно защитить различные участки
кода разными методами: часть кода виртуализировать, часть
обфусцировать, а для самых критичных участков применить смешанный
метод защиты.
Для предотвращения ложных срабатываний со стороны антивирусов зарегистрированная
- версия VMProtect использует библиотеку Taggant, которая подписывает
+ версия DogProtect использует библиотеку Taggant, которая подписывает
защищаемый файл сертификатом владельца лицензии.
-
Еще одной уникальной возможностью программы VMProtect является
+
Еще одной уникальной возможностью программы DogProtect является
включение в код приложения водяных знаков, позволяющих
однозначно идентифицировать официального владельца взломанного
экземпляра программы, а следовательно, принять к нему
соответствующие меры.
-
Программа VMProtect доступна в 3-х версиях:
+
Программа DogProtect доступна в 3-х версиях:
Lite (облегченная версия);
@@ -82,7 +82,7 @@
Ultimate (максимальная версия);
-
Отличия функциональных возможностей разных версий VMProtect
+
Отличия функциональных возможностей разных версий DogProtect
приведены в таблице:
По всем вопросам, связанным с работой программы или её
приобретением, обращайтесь к нам по адресу:
www: http://www.vmpsoft.com
+ "http://www.dogprotect.example">http://www.dogprotect.example
e-mail: info@vmpsoft.com
+ "mailto:info@dogprotect.example">info@dogprotect.example
icq uin: 65107137
-
diff --git a/help/ru/create_project.htm b/help/ru/create_project.htm
index eb8a38b..089de78 100644
--- a/help/ru/create_project.htm
+++ b/help/ru/create_project.htm
@@ -54,15 +54,15 @@ end;
модуля программы. В MAP-файле содержится вся необходимая
информация об именах и адресах всех процедур и функций
приложения. В случае использования MAP-файла при работе с
- VMProtect выбор защищаемых процедур и функций может
+ DogProtect выбор защищаемых процедур и функций может
осуществляться по имени. Используя МАР-файл, после
- перекомпиляции проекта VMProtect автоматически определит новые
+ перекомпиляции проекта DogProtect автоматически определит новые
адреса процедур и функций.
С использованием маркеров,
которые вставляются в исходный код приложения. Маркеры
- представляют собой специальные метки, по которым VMProtect
- определяет границы защищаемого блока. Также VMProtect
+ представляют собой специальные метки, по которым DogProtect
+ определяет границы защищаемого блока. Также DogProtect
поддерживает маркеры с предустановленным типом компиляции.
Использование маркеров целесообразно, если следует защитить
только часть процедуры или функции. При использовании маркеров
diff --git a/help/ru/dictionary.htm b/help/ru/dictionary.htm
index 751d6ca..22ef2ae 100644
--- a/help/ru/dictionary.htm
+++ b/help/ru/dictionary.htm
@@ -19,7 +19,7 @@
понимания терминологии, специфичной для соответствующей
предметной области. В данном глоссарии дана расшифровка
терминологии, применяемой в разрезе использования программы
- VMProtect. Глоссарий не претендует на универсальность и
+ DogProtect. Глоссарий не претендует на универсальность и
всеохватность, предложенное в нем толкование терминов может
отличаться от классического.
diff --git a/help/ru/faq.htm b/help/ru/faq.htm
index 36a1f94..d46f08e 100644
--- a/help/ru/faq.htm
+++ b/help/ru/faq.htm
@@ -13,11 +13,11 @@
Ответы на вопросы
-
Приобретение VMProtect
+
Приобретение DogProtect
-
Приобретая VMProtect, смогу ли я использовать его на
+
Приобретая DogProtect, смогу ли я использовать его на
разных компьютерах?
- Вы можете установить и использовать VMProtect на любом количестве
+ Вы можете установить и использовать DogProtect на любом количестве
компьютеров, которые необходимы вам для работы.
В чем заключается разница между Personal и Company
@@ -29,36 +29,36 @@
продукт в своей организации, то выберите Company лицензию.
Каким образом осуществляется доставка полной версии
- VMProtect после покупки?
- Доставка полной версии (и всех последующих обновлений VMProtect,
+ DogProtect после покупки?
+ Доставка полной версии (и всех последующих обновлений DogProtect,
входящих в ежегодную подписку) осуществляется с помощью
- электронной почты. В письме отправляется ссылка на архив, содержащий установочный файл с полной версией VMProtect.
- Поэтому перед покупкой VMProtect рекомендуется отключить все спам фильтры в настройках своего почтового
+ электронной почты. В письме отправляется ссылка на архив, содержащий установочный файл с полной версией DogProtect.
+ Поэтому перед покупкой DogProtect рекомендуется отключить все спам фильтры в настройках своего почтового
ящика.
-
После покупки VMProtect смогу ли я бесплатно получать
+
После покупки DogProtect смогу ли я бесплатно получать
новые версии или нужно будет их оплачивать
дополнительно?
После покупки Вы будете бесплатно получать новые версии в течение
года. По истечении этого срока Вы можете продлить ежегодную подписку
- либо использовать текущую версию VMProtect без ограничений по
+ "http://www.dogprotect.example/buy.php">продлить ежегодную подписку
+ либо использовать текущую версию DogProtect без ограничений по
времени.
-
Возможно ли приобрести VMProtect с помощью кредитной
+
Возможно ли приобрести DogProtect с помощью кредитной
карты или PayPal?
- Вы можете приобрести VMProtect с помощью кредитной карты или
+ Вы можете приобрести DogProtect с помощью кредитной карты или
PayPal. Для этого необходимо на странице покупки выбрать необходимую версию VMProtect
+ "http://www.dogprotect.example/buy.php">странице покупки выбрать необходимую версию DogProtect
и на следующей странице в качестве метода оплаты выбрать кредитную карту или PayPal.
Общие вопросы
Есть ли возможность автоматически зашифровать строки и
массивы данных?
- В VMProtect существует возможность скрывать ANSI константы и
- Unicode
+ В DogProtect существует возможность скрывать ANSI константы и
+ Unicode
константы. Все остальные данные, с которыми работает
обрабатываемый код, остаются в оригинальном виде. Рекомендуется
всю конфиденциальную информацию хранить в зашифрованном виде и
@@ -68,35 +68,35 @@
Есть ли возможность защищать процедуры, которые
вызываются из разных потоков моего приложения?
- VMProtect полностью поддерживает многопоточные приложения и для
+ DogProtect полностью поддерживает многопоточные приложения и для
защиты этих процедур не существует никаких дополнительных
ограничений.
-
Возможно ли совместное использование VMProtect с
+
Возможно ли совместное использование DogProtect с
другим протектором (упаковщиком)?
Использование каких-либо упаковщиков (протекторов) после защиты
- файла с помощью VMProtect может привести к неработоспособности
+ файла с помощью DogProtect может привести к неработоспособности
защищенного приложения.
Необходимо ли включать
- VMProtectSDK32.dll/VMProtectSDK64.dll в дистрибутив
+ DogProtectSDK32.dll/DogProtectSDK64.dll в дистрибутив
программы?
Данные библиотеки используются только на этапе отладки программы
- (до её защиты). После защиты программы с помощью VMProtect вся
+ (до её защиты). После защиты программы с помощью DogProtect вся
информация об использовании этих DLL полностью удаляется и
поэтому нет необходимости включать данные библиотеки в
дистрибутив программы.
Сообщения компилятора
-
Что означает данная ошибка: VMProtectMarker
+
Что означает данная ошибка: DogProtectMarker
"ToolButton1Click.1".0044327D: Адрес используется процедурой
"TForm1.ToolButton1Click"?
Данная ошибка означает, что одна и таже команда с адресом
0044327D используется в двух процедурах, которые в данный момент
включены в список защищаемых объектов. Для решения этой проблемы
необходимо исключить одну из процедур (в данном случае это
- VMProtectMarker "ToolButton1Click.1" и TForm1.ToolButton1Click)
+ DogProtectMarker "ToolButton1Click.1" и TForm1.ToolButton1Click)
из списка защищаемых объектов.
Что означает данная ошибка: [Ошибка]
diff --git a/help/ru/history.htm b/help/ru/history.htm
index 6aae4af..bb01fd4 100644
--- a/help/ru/history.htm
+++ b/help/ru/history.htm
@@ -15,7 +15,7 @@
Версия 3.5
[!] .NET: Исправлено множество ошибок
- [!] ELF: Исправлена ошибка, возникающая в VMProtectGetCurrentHWID при получении информацуии о HDD
+ [!] ELF: Исправлена ошибка, возникающая в DogProtectGetCurrentHWID при получении информацуии о HDD
[+] .NET: Добавлена поддержка .NET Core (3.0+) и .NET Standard (2.1+)
[+] .NET: Добавлена защита импорта
[+] .NET: Добавлена защита ресурсов
@@ -44,7 +44,7 @@
[+] ELF: Added support of statically linked libstdc++.so
[+] ELF: Added support of CentOS 5 and CentOS 6
[+] ELF: Added support of TLS segments
- [+] ELF: Added support of HTTPS for VMProtectActivateLicense
+ [+] ELF: Added support of HTTPS for DogProtectActivateLicense
[*] PE: Improved exception handling for x64 applications
[*] PE: Improved detection of virtualization tools under the Hyper-V role
[*] PE: Improved demagling of MSVC symbols
@@ -54,7 +54,7 @@
Версия 3.2
-
[!] PE: Исправлена ошибка возникающая при вызове VMProtectIsValidImageCRC внутри защищенного драйвера
+
[!] PE: Исправлена ошибка возникающая при вызове DogProtectIsValidImageCRC внутри защищенного драйвера
[!] Исправлена ошибка возникающая при виртуализации команд XOR, имеющей настраиваемые элементы
[*] PE: Добавлена упаковка секций, содержащих TLS директорию
[*] PE: Улучшено обнаружение отладчиков
@@ -74,8 +74,8 @@
[*] Улучшена проверка целостности файла на диске при использовании опции "Защита памяти"
[*] Улучшена виртуализация команд FSTENV, FSTCW, FSAVE и FSTSW
- [*] PE: VMProtectActivateLicense теперь работает через WinHTTP и использует настройки прокси из IE
- [*] PE: Улучшена работа VMProtectGetCurrentHWID для драйверов
+ [*] PE: DogProtectActivateLicense теперь работает через WinHTTP и использует настройки прокси из IE
+ [*] PE: Улучшена работа DogProtectGetCurrentHWID для драйверов
[*] PE: Улучшена поддержка Delphi 6 при использовании опции "Защита импорта"
[*] PE: Улучшено обнаружение отладчиков
@@ -102,7 +102,7 @@
[*] Улучшено обнаружение Virtual Box
[*] Скриптовый движок заменен на LUA
[*] Новая архитектура ВМ
- [+] В SDK добавлена новая функция VMProtectIsProtected
+ [+] В SDK добавлена новая функция DogProtectIsProtected
Версия 2.13
@@ -114,7 +114,7 @@
[!] Ultimate: Улучшена совместимость DLL Box с Windows 8
[+] WebLM: Добавлена поддержка mbstring.func_overload = 2
[+] WebLM: В коде активации добавлено поле "Дата окончания"
- (VMProtectActivateLicense теперь может возвращать
+ (DogProtectActivateLicense теперь может возвращать
ACTIVATION_EXPIRED если текущая дата больше даты окончания)
[+] WebLM: В моде для полей "Дата окончания" и "Максимальная дата
сборки" добавлено значение "дней с даты покупки"
@@ -159,10 +159,10 @@
формат)
[+] Добавлена поддержка команды HLT
[+] В SDK добавлено новое API - VMProtectFreeString
+ "sdk_functions.htm#DogProtectFreeString">DogProtectFreeString
[*] Улучшено опеределение имен маркеров и строк, помеченных с
помощью VMProtectDecryptStringA/VMProtectDecryptStringW
+ "sdk_functions.htm#DogProtectDecryptStringA">DogProtectDecryptStringA/DogProtectDecryptStringW
[*] В имени выходного файла и параметрах лицензирования теперь
можно использовать относительные пути
[*] Улучшена поддержка SEH для Delphi
@@ -199,9 +199,9 @@
модуля)
[+] Добавлена поддержка исключений для Borland C Builder
[+] Ultimate: Ускорена работа VMProtectGetSerialNumberState
+ "manager/usage/api.htm#DogProtectGetSerialNumberState">DogProtectGetSerialNumberState
и VMProtectGetSerialNumberData
+ "manager/usage/api.htm#DogProtectGetSerialNumberData">DogProtectGetSerialNumberData
[+] В скрипт для TLicenseManager добавлен
@@ -240,9 +240,9 @@
виртуализации", "Файл поврежден" и "Необходим серийный
номер"
[+] В скрипт для TVMProtector добавлено
+ "script_classes.htm#TDogProtector">TDogProtector добавлено
свойство Messages
+ "script_classes.htm#TDogProtector.Messages">Messages
[*] Улучшена совместимость защиты памяти с
некоторыми антивирусами
@@ -279,9 +279,9 @@
OutputSize
[+] Ultimate: В SDK добавлены новые API - VMProtectBeginVirtualizationLockByKey
+ "sdk_functions.htm#DogProtectBeginVirtualizationLockByKey">DogProtectBeginVirtualizationLockByKey
и VMProtectBeginUltraLockByKey
+ "sdk_functions.htm#DogProtectBeginUltraLockByKey">DogProtectBeginUltraLockByKey
Версия 2.05
@@ -304,9 +304,9 @@
[+] Ultimate: В скрипт добавлен класс TInternalDLLs
[+] Ultimate: В скрипт для класса TVMProtector добавлено
+ "script_classes.htm#TDogProtector">TDogProtector добавлено
свойство InternalDlls
+ "script_classes.htm#TDogProtector.InternalDlls">InternalDlls
[+] В скрипт для класса TMapRecord добавлено свойство
@@ -368,7 +368,7 @@
Ultimate версии (пользователям SenseLock Edition необходимо
обновить лицензию в мастер ключе)
[*] Улучшено определение строк, помеченных с помощью VMProtectDecryptStringA/VMProtectDecryptStringW
+ "sdk_functions.htm#DogProtectDecryptStringA">DogProtectDecryptStringA/DogProtectDecryptStringW
[+] В GUI добавлена поддержка Unicode
[+] Добавлен традиционный китайский язык
@@ -378,7 +378,7 @@
[!] Исправлены мелкие ошибки в инсталляторе, менеджере лицензий и SDK
- [*] Для регистрации VMProtect сейчас используется собственная
+ [*] Для регистрации DogProtect сейчас используется собственная
система лицензирования
[+] Добавлен упрощенный китайский язык
@@ -402,9 +402,9 @@
[+] Добавлена система
лицензирования (доступна только в Ultimate версии)
[+] В SDK добавлены новые API - VMProtectDecryptStringA
+ "sdk_functions.htm#DogProtectDecryptStringA">DogProtectDecryptStringA
и VMProtectDecryptStringW
+ "sdk_functions.htm#DogProtectDecryptStringW">DogProtectDecryptStringW
[+] В скрипт для класса TVMProcedure добавлено
@@ -418,22 +418,22 @@
SEVersion
(доступны только в SenseLock Edition)
[+] В скрипт для класса TVMProtector добавлены
+ "script_classes.htm#TDogProtector">TDogProtector добавлены
свойства VMSectionName
+ "script_classes.htm#TDogProtector.VMSectionName">VMSectionName
и VMExecutorCount
+ "script_classes.htm#TDogProtector.VMExecutorCount">VMExecutorCount
[+] В скрипт для класса TVMProtector добавлены
+ "script_classes.htm#TDogProtector">TDogProtector добавлены
свойства SEMasterPassword,
+ "script_classes.htm#TDogProtector.SEMasterPassword">SEMasterPassword,
SEUserPIN,
- SEKeyID,
- SELicense
+ "script_classes.htm#TDogProtector.SEUserPIN">SEUserPIN,
+ SEKeyID,
+ SELicense
и SEVersion
+ "script_classes.htm#TDogProtector.SEVersion">SEVersion
(доступны только в SenseLock Edition)
[-] Убрана опция "Динамическое создание онлайн команд"
@@ -463,7 +463,7 @@
режим упаковки с более высокой степенью сжатия
[+] Добавлена поддержка файлов, имеющих TLS-калбеки
[+] В SDK добавлено новое API - VMProtectIsValidImageCRC
+ "sdk_functions.htm#DogProtectIsValidImageCRC">DogProtectIsValidImageCRC
Версия 1.8
@@ -505,13 +505,13 @@
[+] Добавлена поддержка CodeGear 2009
[+] Теперь можно задавать имена маркерам (при использовании
VMProtectBegin/VMProtectBeginMutation/VMProtectBeginVirtualization/VMProtectBeginUltra
- из VMProtectSDKxx.dll/VMProtectDDKxx.sys)
+ "sdk_functions.htm#DogProtectBegin">DogProtectBegin/DogProtectBeginMutation/DogProtectBeginVirtualization/DogProtectBeginUltra
+ из DogProtectSDKxx.dll/DogProtectDDKxx.sys)
[+] В SDK добавлены новые API (VMProtectIsDebuggerPresent
+ "sdk_functions.htm#DogProtectIsDebuggerPresent">DogProtectIsDebuggerPresent
и VMProtectIsVirtualMachinePresent)
+ "sdk_functions.htm#DogProtectIsVirtualMachinePresent">DogProtectIsVirtualMachinePresent)
[+] Для версии SenseLock Edition добавлена утилита "Система
удаленного обновления и лицензирования"
@@ -556,8 +556,8 @@
"use_markers.htm">маркеров (непарные маркеры доступны в общем
списке объектов)
[+] Добавлены маркеры с предустановленным типом компиляции:
- VMProtectBeginVirtualization, VMProtectBeginMutation и
- VMProtectBeginUltra
+ DogProtectBeginVirtualization, DogProtectBeginMutation и
+ DogProtectBeginUltra
[+] Добавлен традиционный китайский язык
Версия 1.64
@@ -572,7 +572,7 @@
импорта" в 64-битных SYS-файлах
[!] Исправлены мелкие ошибки
[*] Файл настроек теперь сохраняется в каталог
- %APPDATA%/PolyTech/VMProtect
+ %APPDATA%/PolyTech/DogProtect
[*] Улучшена защита
импорта
[+] Добавлена опция "
[!] Исправлена ошибка, возникающая при мутации команды CALL
[xxxx] в режиме "Мутация" в DLL/SYS-файлах
- [!] В примере на Delphi в определение VMProtectBegin добавлена
- команда, препятствующая оптимизации VMProtectBegin (оптимизация
- VMProtectBegin могла приводить к неработоспособности защищенного
+ [!] В примере на Delphi в определение DogProtectBegin добавлена
+ команда, препятствующая оптимизации DogProtectBegin (оптимизация
+ DogProtectBegin могла приводить к неработоспособности защищенного
файла)
[+] Добавлена опция "Автосохранение проекта после
компиляции"
@@ -820,8 +820,8 @@
[+] Добавлена поддержка SEH для VC7-8
[+] Добавлена поддержка маркеров в Visual Basic (начало и конец
- участка маркируются вставками на бейсике - Call VarPtr("VMProtect
- begin") и Call VarPtr("VMProtect end"))
+ участка маркируются вставками на бейсике - Call VarPtr("DogProtect
+ begin") и Call VarPtr("DogProtect end"))
[*] В зарегистрированной версии программы исполнитель ВМ теперь
полностью видоизменяется (препятствует автоматическому
определению защиты сигнатурными сканерами PEiD, RDG Packer
@@ -872,8 +872,8 @@
Bound Import
[+] Добавлена возможность включения в проект участков кода,
помеченных маркерами (начало и конец участка маркируются
- вставками на ассемблере - "db $EB,$10,'VMProtect begin',0" и "db
- $EB,$0E,'VMProtect end',0")
+ вставками на ассемблере - "db $EB,$10,'DogProtect begin',0" и "db
+ $EB,$0E,'DogProtect end',0")
[+] Добавлена возможность включать в проект экспортируемые
функции
[-] Убрана опция "Шифрация байт-кода" (шифрация байт-кода теперь
diff --git a/help/ru/manager/activation.htm b/help/ru/manager/activation.htm
index 9244d1f..1147e72 100644
--- a/help/ru/manager/activation.htm
+++ b/help/ru/manager/activation.htm
@@ -63,18 +63,18 @@
Более подробная информация о системе активации доступна в
соответствующем разделе нашего сайта.
Что Потребуется Сделать?
-
VMProtect Ultimate дополнен несколькими DogProtect Ultimate дополнен несколькими функциями, которые позволяют
сравнительно легко реализовать как онлайн, так и оффлайн
активацию. Вам также потребуется установленный на сервере
Web License Manager. Наконец,
- потребуется настроить
- проект защиты в VMProtect, чтобы модуль активации знал адрес
+ потребуется настроить
+ проект защиты в DogProtect, чтобы модуль активации знал адрес
сервера WebLM.
diff --git a/help/ru/manager/activation/api.htm b/help/ru/manager/activation/api.htm
index c9be51d..e40c470 100644
--- a/help/ru/manager/activation/api.htm
+++ b/help/ru/manager/activation/api.htm
@@ -27,12 +27,12 @@
взаимодействия с Web License Manager, так что разработчику все
равно необходимо вызывать API системы лицензирования, чтобы
использовать серийные номера, полученные от WebLM.VMProtectActivateLicense
+ "DogProtectActivateLicense">DogProtectActivateLicense
Функция передает код активации на сервер и возвращает серийный
номер, подходящий для этого конкретного компьютера. В противном
случае возвращается код ошибки.
-
int VMProtectActivateLicense(const char *code, char *serial, int size);
+
int DogProtectActivateLicense(const char *code, char *serial, int size);
Параметр code содержит код активации, который
@@ -40,21 +40,21 @@
Параметр serial указывает на блок памяти размера
size, в который будет помещен сгенерированный
WebLM серийный номер.
Эти две функции работают практически аналогично двум
предыдущим с той лишь разницей, что они не пытаются подключиться
@@ -62,8 +62,8 @@
необходимо скопировать на компьютер где есть доступ в Интернет,
открыть там форму оффлайн-активации WebLM и вставить туда этот
текст.
-
int VMProtectGetOfflineActivationString(const char *code, char *buf, int size);
-int VMProtectGetOfflineDeactivationString(const char *serial, char *buf, int size);
+
int DogProtectGetOfflineActivationString(const char *code, char *buf, int size);
+int DogProtectGetOfflineDeactivationString(const char *serial, char *buf, int size);
Параметры code и serial
diff --git a/help/ru/manager/activation/vmprotect.htm b/help/ru/manager/activation/dogprotect.htm
similarity index 84%
rename from help/ru/manager/activation/vmprotect.htm
rename to help/ru/manager/activation/dogprotect.htm
index fdc712b..5e3e0c9 100644
--- a/help/ru/manager/activation/vmprotect.htm
+++ b/help/ru/manager/activation/dogprotect.htm
@@ -8,17 +8,17 @@
-
Настройка Активации в VMProtect
+ Настройка Активации в DogProtect
-
Настройка Активации в VMProtect
+
Настройка Активации в DogProtect
Для работы API Активации требуется адрес
сервера WebLM, так что необходимо задать его в настройках проекта
- VMProtect. Чтобы сделать это, запустите VMProtect и перейдите в
+ DogProtect. Чтобы сделать это, запустите DogProtect и перейдите в
раздел настроек:
Введите адрес в поле "Сервер активации". Адрес должен
diff --git a/help/ru/manager/activation/weblm.htm b/help/ru/manager/activation/weblm.htm
index a905d2b..b226ec0 100644
--- a/help/ru/manager/activation/weblm.htm
+++ b/help/ru/manager/activation/weblm.htm
@@ -17,14 +17,14 @@
Поддержка Активации в Web License Manager
Подробно Web License Manager описан на сайте, здесь даны минимальные инструкции по
созданию кода активации для последующего использования с API
Активации.
Для начала войдите в Web License Manager (можно использовать
демо-версию на нашем сайте) и создайте продукт. Затем
- экспортируйте продукт как проект VMProtect, чтобы иметь
+ экспортируйте продукт как проект DogProtect, чтобы иметь
возможность использовать его для настроек лицензирования и
активации. После того как проект настроен, необходимые проверки
добавлены в код и исполняемый файл защищен, нажмите ссылку "Add
@@ -40,7 +40,7 @@
Множество других возможностей Web License Manager (таких, как интеграция с регистраторами или
автоматическая генерация кодов активации) можно подробно изучить в онлайн-версии руководства пользователя.
diff --git a/help/ru/manager/features.htm b/help/ru/manager/features.htm
index 6f0e977..4e063a9 100644
--- a/help/ru/manager/features.htm
+++ b/help/ru/manager/features.htm
@@ -7,11 +7,11 @@
- Возможности системы лицензирования VMProtect
+ Возможности системы лицензирования DogProtect
-
Возможности системы лицензирования VMProtect
+
Возможности системы лицензирования DogProtect
Надежные серийные номера
@@ -25,7 +25,7 @@
Привязка кода к серийному номеру
-
VMProtect позволяет исполнять часть кода программы на
+
DogProtect позволяет исполнять часть кода программы на
виртуальной машине. Набор команд виртуальной машины меняется при
каждой сборке защищаемой программы. Система лицензирования
позволяет зашифровать часть команд виртуальной машины ключом,
@@ -104,7 +104,7 @@
Используя систему активации
производитель ПО может автоматически создавать ограниченные по времени и привязанные к оборудованию
пользователя серийные номера. Это позволяет организовать надежно защищенный
- демо-период для приложения, так как VMProtect не прячет триальные
+ демо-период для приложения, так как DogProtect не прячет триальные
метки на компьютере пользователя, а вместо этого генерирует
полноценный, но ограниченный по времени серийный номер. Активация
обычно производится непосредственно через интернет, но в API активации предусмотрен
@@ -124,7 +124,7 @@
схем, позволяющих минимизировать такие риски, однако если вам
требуется 100%-но надежная привязка к оборудованию, мы
рекомендуем воспользоваться решением на базе USB-ключей, с
- которыми также может работать VMProtect.
VMProtect в процессе защиты приложения интегрирует в него код
+
DogProtect в процессе защиты приложения интегрирует в него код
проверки серийных номеров. При этом используется информация,
указанная в секции "Лицензии" раздела "Проект". В приложение помещается
публичный ключ продукта, при помощи которого будет осуществляться
diff --git a/help/ru/manager/index.htm b/help/ru/manager/index.htm
index bf0ed2f..8425bc3 100644
--- a/help/ru/manager/index.htm
+++ b/help/ru/manager/index.htm
@@ -20,7 +20,7 @@
многое другое. Система построена на асимметричных алгоритмах
шифрования, что минимизирует вероятность создания генераторов
серийных номеров. Для защиты системы лицензирования применяется
- виртуализация VMProtect, что минимизирует вероятность взлома на
+ виртуализация DogProtect, что минимизирует вероятность взлома на
уровне кода и создания патчей.
Помимо VMProtect, серийные номера могут генерироваться другими
+
Помимо DogProtect, серийные номера могут генерироваться другими
программами - генераторами. Это нужно для автоматизации выдачи
номеров без участия человека. Покупатель покупает продукт,
регистратор делает HTTP-запрос на сайт производителя, там
запускается программа-генератор и на основе данных о покупателе
формирует серийный номер. Номер отправляется покупателю и
- производителю. Производитель вносит его в базу VMProtect вручную,
+ производителю. Производитель вносит его в базу DogProtect вручную,
через окно импорта лицензий.
Принцип работы
-
Система лицензирования VMProtect построена на асимметричных
+
Система лицензирования DogProtect построена на асимметричных
алгоритмах, поэтому для генерации серийных номеров требуется
секретный ключ продукта. Этот ключ можно экспортировать в окне
свойств продукта и передать программе-генератору подходящим для
diff --git a/help/ru/manager/keygen/keygen_dll.htm b/help/ru/manager/keygen/keygen_dll.htm
index 0a6dc41..a6d255d 100644
--- a/help/ru/manager/keygen/keygen_dll.htm
+++ b/help/ru/manager/keygen/keygen_dll.htm
@@ -30,27 +30,27 @@
Генератор экспортирует всего две функции: одна непосредственно
генерирует серийный номер, вторая - освобождает память,
выделенную первой. Начнем с первой и основной функции:
Второй параметр - указатель на структуру
- VMProtectSerialNumberInfo, содержимое которой
+ DogProtectSerialNumberInfo, содержимое которой
переносится в генерируемый серийный номер. Структура содержит все
поля серийного номера, а также битовую маску, определяющую какие
именно поля должны быть записаны в серийный номер.
Поле flags содержит битовые флаги из набора
- VMProtectSerialNumberFlags, описанного перед
+ DogProtectSerialNumberFlags, описанного перед
структурой:
@@ -105,11 +105,11 @@
необходимо скопировать, а адрес передать во вторую функцию API
генератора, которая освободит занимаемую серийным номером
память.
-
Функция VMProtectGenerateSerialNumber
- возвращает значение типа VMProtectErrors,
+
Функция DogProtectGenerateSerialNumber
+ возвращает значение типа DogProtectErrors,
содержащее 0 в случае успешной генерации номера или код ошибки в
противном случае. Возможны следующие коды ошибок:
@@ -178,7 +178,7 @@
разумно будет отправить регистратору вместо ключа текст "Ключ
будет выслан в течение суток", а всю необходимую информацию
отправить себе по почте. Ключ в таком случае генерируется в
- VMProtect в ручном режиме, какие-то данные обрезаются, чтобы
+ DogProtect в ручном режиме, какие-то данные обрезаются, чтобы
уместить все необходимое в максимальный размер
ключа.
@@ -188,12 +188,12 @@
функции и генерирует серийный номер. Обратите внимание на блок
кода, расположенный в самом начале. Пример не будет работать пока
вы не замените его на блок, выгруженный для продукта из
- VMProtect:
+ DogProtect:
//////////////////////////////////////////////////////////////////////////
-// !!! this block should be generated by VMProtect !!! ///
+// !!! this block should be generated by DogProtect !!! ///
//////////////////////////////////////////////////////////////////////////
-VMProtectAlgorithms g_Algorithm = ALGORITHM_RSA;
+DogProtectAlgorithms g_Algorithm = ALGORITHM_RSA;
size_t g_nBits = 0;
byte g_vModulus[1];
byte g_vPrivate[1];
@@ -204,7 +204,7 @@
int _tmain(int argc, _TCHAR* argv[])
{
- VMProtectProductInfo pi;
+ DogProtectProductInfo pi;
pi.algorithm = g_Algorithm;
pi.nBits = g_nBits;
pi.nModulusSize = sizeof(g_vModulus);
@@ -214,16 +214,16 @@
pi.nProductCodeSize = sizeof(g_vProductCode);
pi.pProductCode = g_vProductCode;
- VMProtectSerialNumberInfo si = {0};
+ DogProtectSerialNumberInfo si = {0};
si.flags = HAS_USER_NAME | HAS_EMAIL;
si.pUserName = L"John Doe";
si.pEMail = L"john@doe.com";
char * pBuf = NULL;
- VMProtectErrors res = VMProtectGenerateSerialNumber(&pi, &si, &pBuf);
+ DogProtectErrors res = DogProtectGenerateSerialNumber(&pi, &si, &pBuf);
if (res == ALL_RIGHT)
{
printf("Serial number:\n%s\n", pBuf);
- VMProtectFreeSerialNumberMemory(pBuf);
+ DogProtectFreeSerialNumberMemory(pBuf);
}
else
{
@@ -239,10 +239,10 @@
наиболее интересные места кода.
Первые строчки функции main заполняют
- структуру VMProtectProductInfo данными,
- выгруженными из VMProtect. Этот код стандартен, его не следует
+ структуру DogProtectProductInfo данными,
+ выгруженными из DogProtect. Этот код стандартен, его не следует
менять во избежание появления ошибок. Далее создается структура
- VMProtectSerialNumberInfo, в поле флагов
+ DogProtectSerialNumberInfo, в поле флагов
выставляется комбинация из битов имени пользователя и e-mail.
Строчкой ниже в соответствующие поля структуры заносятся значения
имени пользователя и пароля. Обратите внимание, что значения
@@ -251,12 +251,12 @@
Далее описывается переменная-указатель, куда будет записан
адрес сгенерированного ключа, и вызывается функция
- VMProtectGenerateSerialNumber, после чего
+ DogProtectGenerateSerialNumber, после чего
анализируется код возврата. Если ошибок нет, то сгенерированный
номер печатается на консоль и вызывается функция осовобождения
памяти.
-
Остальные поля структуры VMprotectSerialNumberInfo
+
Остальные поля структуры DogProtectSerialNumberInfo
Некоторые поля структуры требуют дополнительных поясненений. К
примеру, поля dwExpDate и
@@ -269,7 +269,7 @@
В поле pHardwareID должен быть записан
указатель на строку, которую вернул метод
- VMProtectGetCurrentHWID из SDK
+ DogProtectGetCurrentHWID из SDK
лицензирования.
Генератор поставляется в исходных кодах, чтобы
иметь возможность пересобрать его под нужную версию .Net
Framework, однако крайне не рекомендуется вносить изменения в его
- код. В будущих версиях VMProtect возможно добавление новых
+ код. В будущих версиях DogProtect возможно добавление новых
возможностей в генератор, что приведет к необходимости повторной
модификации кода. Также возможно появление трудноуловимых ошибок.
В случае нахождения ошибки в оригинальном коде генератора или
@@ -41,11 +41,11 @@
Использование генератора
Возьмите за основу код из проекта Usage,
- добавьте в Ваш проект ссылку на сборку VMProtect.KeyGen.dll,
+ добавьте в Ваш проект ссылку на сборку DogProtect.KeyGen.dll,
после чего Вы сможете генерировать серийные номера в вашем
приложении. Для нормальной работы генератор должен понимать,
к какому продукту Вы собираетесь генерировать серийные номера.
- Для этого на закладке "Лицензии" VMProtect нажмите кнопку
+ Для этого на закладке "Лицензии" DogProtect нажмите кнопку
«Экспорт» и в выпадающем списке выберите «Параметры для
KeyGen.Net». В текстовом поле ниже появятся несколько строк
текста, которые необходимо скопировать и перенести в Ваше
@@ -74,7 +74,7 @@ catch (Exception ex)
-
Строку, скопированную в окне экспорта VMProtect, необходимо
+
Строку, скопированную в окне экспорта DogProtect, необходимо
поместить в переменную data, которая будет
передана параметром в конструктор класса генератора серийных
номеров. В случае каких-либо проблем с разбором данных продукта,
diff --git a/help/ru/manager/keygen/keygen_php.htm b/help/ru/manager/keygen/keygen_php.htm
index b6a8094..9c0eea0 100644
--- a/help/ru/manager/keygen/keygen_php.htm
+++ b/help/ru/manager/keygen/keygen_php.htm
@@ -27,7 +27,7 @@
В самом начале PHP-файла располагается код настройки
генератора:
//////////////////////////////////////////////////////////////////////////////////////////////
-// The following lines should be generated by VMProtect License Manager
+// The following lines should be generated by DogProtect License Manager
$exported_algorithm = "RSA";
$exported_bits = 2048;
$exported_private = "PJvj4kEpoQMIpYK+9wEt......xKeiSZgzdiln8Q==";
@@ -36,7 +36,7 @@ $exported_product_code = "oLQdGUn8kVk=";
//////////////////////////////////////////////////////////////////////////////////////////////
$params = array(
user_name => "John Doe", // UTF-8!
email => "john@doe.com",
- hwid => "vHGMdMRvGCPjWcCQ", // Exactly as returned by VMProtectGetCurrentHWID
+ hwid => "vHGMdMRvGCPjWcCQ", // Exactly as returned by DogProtectGetCurrentHWID
expire_date => array(year => 2009, month => 10, day => 1),
maxbuild_date => array(year => 2009, month => 10, day => 1),
time_limit => 10,
diff --git a/help/ru/manager/keygen/serial_format.htm b/help/ru/manager/keygen/serial_format.htm
index 81dc1b8..bb01420 100644
--- a/help/ru/manager/keygen/serial_format.htm
+++ b/help/ru/manager/keygen/serial_format.htm
@@ -100,7 +100,7 @@
1 + N
Блок содержит идентификатор оборудования, возвращенный
- функцией VMProtectGetCurrentHWID(). Функция
+ функцией DogProtectGetCurrentHWID(). Функция
возвращает строку в кодировке base-64, в серийный номер
помещается раскодированный вариант строки. Длина блока данных
должна быть кратна 4. Перед блоком данных располагается байт
@@ -144,7 +144,7 @@
8
Блок содержит код продукта - 8 байт, которые создаются
- VMProtect и выгружаются при экспорте параметров продукта.
+ DogProtect и выгружаются при экспорте параметров продукта.
Выгружаются они в кодировке base-64, перед помещением в
серийный номер строку необходимо преобразовать в массив байт.
Размер массива должен быть строго равен 8 байтам.
@@ -164,7 +164,7 @@
Блок содержит до 255 байт пользовательских данных.
Система лицензирования не анализирует эти данные и возвращает
их при вызове функции
- VMProtectGetSerialNumberData(). Перед блоком
+ DogProtectGetSerialNumberData(). Перед блоком
данных располагается байт, содержащий размер пользовательских
данных.
По умолчанию функции лицензирования выключены. Чтобы включить
их, нужно перейти в секцию "Лицензии" раздела "Проект" и создать пару ключей. В
случае, если проект ссылается на базу данных менеджера лицензий
- (в старых версиях VMProtect лицензии управлялись отдельной
+ (в старых версиях DogProtect лицензии управлялись отдельной
программой), то будет предложено импортировать эти лицензии в
проект. По окончании инициализации будут доступны опции привязки
кода к серийному номеру, а также появится возможность создавать и
@@ -48,7 +48,7 @@
нижней можно выбрать, какие из основных параметров попадут в
серийный номер, а также добавить дополнительные параметры:
например, идентификатор оборудования или пользовательские данные.
- По окончании заполнения полей нажмите ОК и VMProtect создаст
+ По окончании заполнения полей нажмите ОК и DogProtect создаст
новую лицензию.
Удаление и блокирование лицензий
@@ -64,7 +64,7 @@
Импорт серийных номеров
-
Серийные номера могут быть созданы не только в VMProtect, но и
+
Серийные номера могут быть созданы не только в DogProtect, но и
в сторонних программах - генераторах номеров. Обычно они
применяются для автоматизированной выдачи серийных номеров
регистраторам при продаже лицензий. Чтобы корректно занести такие
diff --git a/help/ru/manager/usage/api.htm b/help/ru/manager/usage/api.htm
index 5e6c3c6..435a87b 100644
--- a/help/ru/manager/usage/api.htm
+++ b/help/ru/manager/usage/api.htm
@@ -21,33 +21,33 @@
Описание функций API лицензирования
-
API системы лицензирования является продолжением API VMProtect
+
API системы лицензирования является продолжением API DogProtect
и входит в его SDK. API позволяет задать серийный номер и
получить информацию о нем: подходит он к программе или нет, истек
ли срок действия, на кого зарегистрирован продукт и т.п. Также API
позволяет получить идентификатор оборудования, на котором
выполняется программа.
Функция предназначена для загрузки серийного номера в систему
лицензирования. Полный формат вызова представлен ниже:
-
int VMProtectSetSerialNumber(const char *SerialNumber);
+
int DogProtectSetSerialNumber(const char *SerialNumber);
Входной параметр SerialNumber должен
содержать указатель на текстовую строку с серийным номером в
кодировке base-64 и завершаемую нулем ('\0'). Функция возвращает
битовую маску флагов состояния серийного номера, аналогичную той,
- что возвращает VMProtectGetSerialNumberState(),
+ что возвращает DogProtectGetSerialNumberState(),
подробнее о флагах будет написано ниже. Серийный номер считается
"хорошим", если функция вернула значение 0.
Функция возвращает флаги состояния серийного номера,
предварительно установленного вызовом
- VMProtectSetSerialNumber().
-
int VMProtectGetSerialNumberState();
+ DogProtectSetSerialNumber().
+
int DogProtectGetSerialNumberState();
Наличие хотя бы одного установленного флага говорит о
@@ -90,7 +90,7 @@
0x00000004
Серийный номер подходит к продукту, однако занесен в
- черный список в VMProtect.
+ черный список в DogProtect.
@@ -100,7 +100,7 @@
Срок действия серийного номера истек. Подробную
информацию о сроке действия можно получить вызовом
- VMProtectGetSerialNumberData()
+ DogProtectGetSerialNumberData()
@@ -110,7 +110,7 @@
Время работы программы истекло. Подробную информацию о
времени работы программы можно получить вызовом
- VMProtectGetSerialNumberData()
+ DogProtectGetSerialNumberData()
@@ -130,21 +130,21 @@
Серийный номер не предназначен для работы с этой версией
защищаемой программы. Максимальную дату сборки программы, к
которой подходит этот серийный номер, можно узнать вызовом
- VMProtectGetSerialNumberData().
Функция предназначена для получения информации о содержимом
серийного номера, установленного вызовом
- VMProtectSetSerialNumber(). Формат вызова
+ DogProtectSetSerialNumber(). Формат вызова
представлен ниже:
-
bool VMProtectGetSerialNumberData(VMProtectSerialNumberData *Data, int Size);
+
bool DogProtectGetSerialNumberData(DogProtectSerialNumberData *Data, int Size);
Первый параметр - указатель на структуру
- VMProtectSerialNumberData, в которую будет
+ DogProtectSerialNumberData, в которую будет
записана вся необходимая информация. Второй параметр - размер
структуры, передаваемой в первом параметре - служит для контроля
формата структуры. Функция возвращает FALSE в случаях, если система
@@ -171,7 +171,7 @@
Дата окончания срока действия ключа. Формат структуры
- VMProtectDate описан ниже.
+ DogProtectDate описан ниже.
dtMaxBuild
-
VMProtectDate
+
DogProtectDate
Максимальная дата сборки продукта, с которой будет
- работать этот ключ. Формат структуры VMProtectDate описан
+ работать этот ключ. Формат структуры DogProtectDate описан
ниже.
@@ -241,7 +241,7 @@
-
Структура VMProtectDate предназначена для
+
Структура DogProtectDate предназначена для
компактного хранения даты. Ее поля описаны в таблице:
Функция предназначена для получения идентификатора
оборудования, на котором работает программа. Формат вызова
следующий:
-
int VMProtectGetCurrentHWID(char * HWID, int Size);
+
int DogProtectGetCurrentHWID(char * HWID, int Size);
Первый параметр - указатель на область памяти, куда будет
@@ -293,9 +293,9 @@
завершающего нуля ('\0'). Если вместо первого параметра подать
NULL, то функция вернет необходимое количество байт для записи
номера. Наиболее правильный способ вызова функции следующий:
-
int nSize = VMProtectGetCurrentHWID(NULL, 0); // получим необходимый размер буфера
+
int nSize = DogProtectGetCurrentHWID(NULL, 0); // получим необходимый размер буфера
char *pBuf = new char[nSize]; // выделим буфер
-VMProtectGetCurrentHWID(pBuf, nSize); // получим идентификатор
+DogProtectGetCurrentHWID(pBuf, nSize); // получим идентификатор
// используем его
delete [] pBuf; // освободим память
diff --git a/help/ru/manager/usage/index.htm b/help/ru/manager/usage/index.htm
index 2ee3d68..f08ea30 100644
--- a/help/ru/manager/usage/index.htm
+++ b/help/ru/manager/usage/index.htm
@@ -37,7 +37,7 @@
разработки" или "тестовый" режим, при котором никакой защиты не
осуществляется, а реакция системы на серийные номера описывается
в конфигурационном файле. Когда приложение отлажено и корректно
- работает с системой лицензирования, VMProtect заменяет "тестовый"
+ работает с системой лицензирования, DogProtect заменяет "тестовый"
модуль лицензирования на реальный, проверяющий реальные серийные
номера. Это происходит в момент защиты приложения, поэтому
пропустить этот этап по ошибке не получится.Этап 1:
@@ -84,12 +84,12 @@
данные
Этап 2: Реальный режим работы
-
В реальном режиме работы системы лицензирования VMProtect
+
В реальном режиме работы системы лицензирования DogProtect
помещает в защищаемое приложение специальный модуль
лицензирования. Модуль выполняет все те же функции, что и
тестовый код в SDK, но работает не с ini-файлом, а с содержимым
серийного номера. В следующих пяти шагах мы защитим простое
- приложение полноценной защитой на основе VMProtect и системы
+ приложение полноценной защитой на основе DogProtect и системы
лицензирования.
Если вы этого еще не сделали, то сейчас самое время подключить
- к проекту VMProtect SDK. SDK это три файла: заголовочный файл
- (VMProtectSDK.h), файл библиотеки (VMProtectSDK32.lib) и dll-файл
- с реализацией (VMProtectSDK32.dll). Для 64-битной платформы есть
+ к проекту DogProtect SDK. SDK это три файла: заголовочный файл
+ (DogProtectSDK.h), файл библиотеки (DogProtectSDK32.lib) и dll-файл
+ с реализацией (DogProtectSDK32.dll). Для 64-битной платформы есть
отдельные реализации библиотеки и dll-файла.
Помещаем dll-файл в рабочий каталог нашего приложения,
@@ -26,7 +26,7 @@
файл заголовков в основной файл:
Собираем проект и убеждаемся, что он компилируется, запускается
@@ -37,7 +37,7 @@
Теперь непосредственно после строки с серийным номером добавим
вызов функции SDK системы лицензирования:
char *serial = "Xserialnumber"; // зададим номер непосредственно в коде для простоты
-int res = VMProtectSetSerialNumber(serial);
+int res = DogProtectSetSerialNumber(serial);
printf("res = 0x%08X\n", res);
В тестовом режиме система лицензирования анализирует файл
- VMProtectLicense.ini, и реагирует на вызовы функций согласно
+ DogProtectLicense.ini, и реагирует на вызовы функций согласно
указанным там настройкам. Подробно файл разбирается в следующих
шагах, а здесь мы просто создадим такой файл и поместим туда
следующий текст:
@@ -73,13 +73,13 @@ AcceptedSerialNumber=Xserialnumber
займется система лицензирования:
#include <windows.h>
#include <stdio.h>
-#include "VMProtectSDK.h"
+#include "DogProtectSDK.h"
int main(int argc, char **argv)
{
char *serial = "Xserialnumber"; // зададим номер непосредственно в коде для простоты
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
printf("res = 0x%08X\n", res);
if (res)
diff --git a/help/ru/manager/usage/step13_flags.htm b/help/ru/manager/usage/step13_flags.htm
index 29a723f..6fac573 100644
--- a/help/ru/manager/usage/step13_flags.htm
+++ b/help/ru/manager/usage/step13_flags.htm
@@ -46,7 +46,7 @@ void print_state(INT state)
print_state, заодно временно поправим серийный
номер, который подается в систему лицензирования:
char *serial = "Xserialnumber1"; // зададим номер непосредственно в коде для простоты
-int res = VMProtectSetSerialNumber(serial);
+int res = DogProtectSetSerialNumber(serial);
print_state(res);
@@ -67,9 +67,9 @@ We are registered.
номера.Получение состояния номера
Состояние номера можно получить тремя способами: вызвав
- VMProtectSetSerialNumber(), вызвав
- VMProtectGetSerialNumberState() и вызвав
- VMProtectGetSerialNumberData() - флаги состояния
+ DogProtectSetSerialNumber(), вызвав
+ DogProtectGetSerialNumberState() и вызвав
+ DogProtectGetSerialNumberData() - флаги состояния
будут помещены в одно из полей структуры. Каждый из методов
предназначен для использования в разное время. Первая проверка
серийного номера происходит непосредственно при его установке. В
@@ -78,10 +78,10 @@ We are registered.
ограничения - скажем, максимальное время работы продукта или срок
действия номера, имеет смысл проверять и в процессе работы
программы. Тут оптимально воспользоваться простым и быстрым
- методом VMProtectGetSerialNumberState(), а в
+ методом DogProtectGetSerialNumberState(), а в
случае, если нужно получить подробную информацию о данных в
серийном номере, можно использовать более мощную функцию
- VMProtectGetSerialNumberData().
if (res)
{
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("exp. date: y = %d, m = %d, d = %d\n", sd.dtExpire.wYear, sd.dtExpire.bMonth, sd.dtExpire.bDay);
printf("please register!\n");
return 0;
diff --git a/help/ru/manager/usage/step16_time.htm b/help/ru/manager/usage/step16_time.htm
index efb324f..b6ba9fa 100644
--- a/help/ru/manager/usage/step16_time.htm
+++ b/help/ru/manager/usage/step16_time.htm
@@ -30,17 +30,17 @@
{
char *serial = "Xserialnumber"; // зададим номер непосредственно в коде для простоты
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
if (res) return 0;
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("I will run for %d minute(s)\n", sd.bRunningTime);
- print_state(VMProtectGetSerialNumberState());
+ print_state(DogProtectGetSerialNumberState());
Sleep(60 * 1000 * sd.bRunningTime);
printf("After %d minute(s):\n", sd.bRunningTime);
- print_state(VMProtectGetSerialNumberState());
+ print_state(DogProtectGetSerialNumberState());
return 0;
}
diff --git a/help/ru/manager/usage/step17_maxbuild.htm b/help/ru/manager/usage/step17_maxbuild.htm
index 9ff0dbe..a4023e9 100644
--- a/help/ru/manager/usage/step17_maxbuild.htm
+++ b/help/ru/manager/usage/step17_maxbuild.htm
@@ -15,7 +15,7 @@
Шаг 1.7: Ограничиваем бесплатные обновления
Схема
работы
-
В момент защиты приложения VMProtect запоминает дату, когда это
+
В момент защиты приложения DogProtect запоминает дату, когда это
происходило. Эта дата является для системы лицензирования датой
сборки приложения. В серийном номере можно прописать максимальную
дату сборки, для которой подойдет этот номер. Таким образом, если
@@ -39,13 +39,13 @@
{
char *serial = "Xserialnumber"; // зададим номер непосредственно в коде для простоты
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
if (res)
{
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("max. build date: y = %d, m = %d, d = %d\n", sd.dtMaxBuild.wYear, sd.dtMaxBuild.bMonth, sd.dtMaxBuild.bDay);
printf("please register!\n");
return 0;
diff --git a/help/ru/manager/usage/step18_blacklist.htm b/help/ru/manager/usage/step18_blacklist.htm
index fd6bba2..f40550b 100644
--- a/help/ru/manager/usage/step18_blacklist.htm
+++ b/help/ru/manager/usage/step18_blacklist.htm
@@ -14,9 +14,9 @@
Шаг 1.8: Номера из "черного списка"
-
Номер, помеченный в VMProtect как "заблокированный", больше не
+
Номер, помеченный в DogProtect как "заблокированный", больше не
должен приниматься системой лицензирования. При очередной защите
- приложения VMProtect запишет в защищаемый файл хеш от номеров
+ приложения DogProtect запишет в защищаемый файл хеш от номеров
черного списка, вследствие чего система лицензирования в этом приложении откажет при попытке
установить такой номер.
@@ -25,7 +25,7 @@
{
char *serial = "Xserialnumber"; // зададим номер непосредственно в коде для простоты
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
return 0;
diff --git a/help/ru/manager/usage/step19_hwid.htm b/help/ru/manager/usage/step19_hwid.htm
index 4d74d44..7f315b3 100644
--- a/help/ru/manager/usage/step19_hwid.htm
+++ b/help/ru/manager/usage/step19_hwid.htm
@@ -29,9 +29,9 @@
main() до самого короткого варианта:
Внимание! реальный идентификатор
оборудования программа будет выдавать только после ее обработки в
- VMProtect.
+ DogProtect. Серийный номер с привязкой к оборудованию
Чтобы наш тестовый серийный номер был привязан к оборудованию,
@@ -71,14 +71,14 @@
int main(int argc, char **argv)
{
- int nSize = VMProtectGetCurrentHWID(NULL, 0);
+ int nSize = DogProtectGetCurrentHWID(NULL, 0);
char *buf = new char[nSize];
- VMProtectGetCurrentHWID(buf, nSize);
+ DogProtectGetCurrentHWID(buf, nSize);
printf("HWID: %s\n", buf);
delete [] buf;
char *serial = "Xserialnumber";
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
return 0;
}
@@ -92,7 +92,7 @@ state = 0
Система лицензирования сравнила текущий идентификатор
оборудования и тот, который был запиан в серийном номере.
Идентификаторы совпали и функция
- VMProtectSetSerialNumber() вернула 0 - серийный
+ DogProtectSetSerialNumber() вернула 0 - серийный
номер подходит.
Попробуем теперь "запустить" нашу программу на другом
diff --git a/help/ru/manager/usage/step1A_userdata.htm b/help/ru/manager/usage/step1A_userdata.htm
index 2de5b26..3bd4ab3 100644
--- a/help/ru/manager/usage/step1A_userdata.htm
+++ b/help/ru/manager/usage/step1A_userdata.htm
@@ -24,12 +24,12 @@
int main(int argc, char **argv)
{
char *serial = "Xserialnumber";
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
print_state(res);
if (res) return 0;
- VMProtectSerialNumberData sd = {0};
- VMProtectGetSerialNumberData(&sd, sizeof(sd));
+ DogProtectSerialNumberData sd = {0};
+ DogProtectGetSerialNumberData(&sd, sizeof(sd));
printf("Serial number has %d byte(s) of data\n", sd.nUserDataLength);
for (int i = 0; i < sd.nUserDataLength; i++)
printf("%02X ", sd.bUserData[i]);
diff --git a/help/ru/manager/usage/step21_src.htm b/help/ru/manager/usage/step21_src.htm
index 50d55f6..8664027 100644
--- a/help/ru/manager/usage/step21_src.htm
+++ b/help/ru/manager/usage/step21_src.htm
@@ -22,7 +22,7 @@
приложения:
#include <windows.h>
#include <stdio.h>
-#include "VMProtectSDK.h"
+#include "DogProtectSDK.h"
#define PRINT_HELPER(state, flag) if (state & flag) printf("%s ", #flag)
void print_state(INT state)
@@ -68,7 +68,7 @@ __declspec(noinline) void foo()
int main(int argc, char **argv)
{
char *serial = read_serial("serial.txt");
- int res = VMProtectSetSerialNumber(serial);
+ int res = DogProtectSetSerialNumber(serial);
delete [] serial;
if (res)
{
@@ -85,16 +85,16 @@ int main(int argc, char **argv)
Скомпилируем программу без отладочной информации, но в
настройках линкера попросим создать MAP-файл, который потребуется
- для работы VMProtect. При запуске программы мы должны увидеть
+ для работы DogProtect. При запуске программы мы должны увидеть
следующий текст:
serial number is bad
state = SERIAL_STATE_FLAG_INVALID
В настоящий момент система лицензирования все еще работает в
- тестовом режиме, т.к. файл еще не был обработан VMProtect'ом и в
+ тестовом режиме, т.к. файл еще не был обработан DogProtect'ом и в
него не был внедрен модуль лицензирования. На следующем шаге мы создадим проект VMProtect
+ "step22_vmp.htm">следующем шаге мы создадим проект DogProtect
и попробуем защитить нашу программу.
diff --git a/help/ru/manager/usage/step22_vmp.htm b/help/ru/manager/usage/step22_vmp.htm
index 7874890..3d19f83 100644
--- a/help/ru/manager/usage/step22_vmp.htm
+++ b/help/ru/manager/usage/step22_vmp.htm
@@ -8,20 +8,20 @@
- Шаг 2.2: Создаем проект защиты в VMProtect
+ Шаг 2.2: Создаем проект защиты в DogProtect
-
Шаг 2.2: Создаем проект защиты в VMProtect
+
Шаг 2.2: Создаем проект защиты в DogProtect
Теперь, когда тестовая программа готова, скомпилирована и
- рядом с ней находится ее MAP-файл, мы можем запустить VMProtect
+ рядом с ней находится ее MAP-файл, мы можем запустить DogProtect
Ultimate и открыть исполняемый файл. Нам нужно будет добавить в
проект две функции: _main (так Visual Studio переименовала нашу
функцию main()) и foo(). Обе функции видны в списке функций в
- VMProtect в разделе "Функции".
+ DogProtect в разделе "Функции".
diff --git a/help/ru/manager/usage/step23_product.htm b/help/ru/manager/usage/step23_product.htm
index ef9b7e6..a1ce78e 100644
--- a/help/ru/manager/usage/step23_product.htm
+++ b/help/ru/manager/usage/step23_product.htm
@@ -20,15 +20,15 @@
попробовать скомпилировать проект VMPrtoect и запустить
защищенный файл. Запустив его из командной строки мы получим
следующее сообщение:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is bad
state = SERIAL_STATE_FLAG_INVALID
Запустив программу depends.exe, мы можем убедиться, что наш
- защищенный файл более не связан с библиотекой VMProtectSDK.dll, а
+ защищенный файл более не связан с библиотекой DogProtectSDK.dll, а
значит модуль лицензирования встроен в приложение. Список
- используемых DLL можно посмотреть и в VMProtect, открыв
+ используемых DLL можно посмотреть и в DogProtect, открыв
защищенный файл и выбрав из раздела "Свойства" секцию "Импорты".
@@ -47,7 +47,7 @@ state = SERIAL_STATE_FLAG_INVALID
"Серийный номер" и нажмем Ctrl+C), создадим рядом с
защищенным приложением файл serial.txt и вставим туда серийный
номер. После запуска программы мы увидим следующее:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
I'm foo
done
diff --git a/help/ru/manager/usage/step24_test.htm b/help/ru/manager/usage/step24_test.htm
index c404658..8b3d429 100644
--- a/help/ru/manager/usage/step24_test.htm
+++ b/help/ru/manager/usage/step24_test.htm
@@ -22,7 +22,7 @@
галочку "Срок годности" и введите "30 сентября 2005 года".
Создайте номер, скопируйте его и поместите в файл seral.txt,
после чего запустите программу:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is bad
state = SERIAL_STATE_FLAG_DATE_EXPIRED
@@ -30,7 +30,7 @@ state = SERIAL_STATE_FLAG_DATE_EXPIRED
Модуль лицензирования вернул флаг "срок действия номера
закончен". Вернем рабочий номер обратно в файл serial.txt и
убедимся, что его модуль лицензирования примет без проблем.
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
I'm foo
done
@@ -46,24 +46,24 @@ done
нашу программу, то она примет заблокированный номер без проблем,
т.к. это старая версия программы и она еще не знает о
блокировке:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
I'm foo
done
Сделаем копию нашей программы и назовем ее
- "dummy_app1.vmp.exe", а после этого перейдем в VMProtect и
+ "dummy_app1.dog.exe", а после этого перейдем в DogProtect и
повторно защитим наше приложение, после чего запустим новую
версию программы:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is bad
state = SERIAL_STATE_FLAG_BLACKLISTED
Теперь для сравнения еще раз запустим старую версию
программы:
-
C:\test>dummy_app1.vmp.exe
+
C:\test>dummy_app1.dog.exe
serial number is correct, calling foo()
I'm foo
done
@@ -74,7 +74,7 @@ done
На последнем шаге мы попробуем привязать
выполняемый код к серийному номеру. Перед этим разблокируйте
- серийный номер и перезащитите приложение в VMProtect, чтобы оно
+ серийный номер и перезащитите приложение в DogProtect, чтобы оно
снова принимало наш серийный номер. Или создайте новую
лицензию.
diff --git a/help/ru/manager/usage/step25_codelock.htm b/help/ru/manager/usage/step25_codelock.htm
index 40daba8..bf15efc 100644
--- a/help/ru/manager/usage/step25_codelock.htm
+++ b/help/ru/manager/usage/step25_codelock.htm
@@ -29,7 +29,7 @@
тестовую программу. На уровне исходников, конечно же. "Отключим"
условный переход:
char *serial = read_serial("serial.txt");
-int res = VMProtectSetSerialNumber(serial);
+int res = DogProtectSetSerialNumber(serial);
delete [] serial;
if (false && res)
{
@@ -37,29 +37,29 @@ if (false && res)
Теперь наша программа примет любой серийный номер и будет
работать как ни в чем не бывало. Безусловно, если файл защищен
- VMProtect, то даже опытному хакеру потребуется не один месяц,
+ DogProtect, то даже опытному хакеру потребуется не один месяц,
чтобы найти и исправить этот переход так, как сделали это мы. А с
учетом того, что правильно защищенная программа проверяет
серийный номер не в одном месте и не всегда, то даже такая
простая проверка уже достаточно надежна. Однако мы пойдем
дальше.
Привяжем код к серийному номеру
-
Внимание! демо-версия VMProtect
+
Внимание! демо-версия DogProtect
имеет ограничение на количество обрабатываемых функций:
обрабатывается только одна функция. Поэтому в случае
использования демо-версии, необходимо включать в проект только
- функцию foo(), т.к. в противном случае демо-версия VMProtect
+ функцию foo(), т.к. в противном случае демо-версия DogProtect
может выбрать для защиты функцию main() и привязка кода к
серийному номеру не сработает.
-
Система лицензирования VMProtect позволяет привязать код одной
+
Система лицензирования DogProtect позволяет привязать код одной
или нескольких функций к серийному номеру так, что они не будут
работать без корректного номера. Тело функции виртуализируется,
потом шифруется и может быть расшифровано только при наличии
корректного серийного номера. То есть даже если хакер найдет и
исправит условный переход в коде проверки номера, функции,
привязанные к номеру, все равно не будут работать. Давайте
- попробуем. В VMProtect в разделе "Функции" выберем функцию foo() и в
+ попробуем. В DogProtect в разделе "Функции" выберем функцию foo() и в
правой панели изменим значение опции "Привязать к серийному номеру" на "Да".
@@ -67,7 +67,7 @@ if (false && res)
После этого защитим наше приложение. С учетом
того, что оно "взломано", поместим в файл serial.txt произвольный
текст и запустим приложение. В консоли появится текст:
-
C:\test>dummy_app.vmp.exe
+
C:\test>dummy_app.dog.exe
serial number is correct, calling foo()
@@ -107,7 +107,7 @@ serial number is correct, calling foo()
вашей программе.Привязка к серийному номеру и
нерабочие номера
-
При вызове функции VMProtectSetSerialNumber()
+
При вызове функции DogProtectSetSerialNumber()
модуль лицензирования проверяет переданный серийный номер и
зашифрованные участки кода будут выполняться только в том случае,
если на момент проверки серийный номер был полностью корректным -
@@ -115,7 +115,7 @@ serial number is correct, calling foo()
оборудования, с неистекшим сроком годности и т.п. В этом случае все
зашифрованные процедуры будут выполняться до завершения работы
приложения или до нового вызова
- VMProtectSetSerialNumber().
+ DogProtectSetSerialNumber().
Некоторые ограничения могут "сработать" в процессе выполнения
программы: например, может истечь время работы программы или
diff --git a/help/ru/menu_file.htm b/help/ru/menu_file.htm
index 105d1e8..1a009d2 100644
--- a/help/ru/menu_file.htm
+++ b/help/ru/menu_file.htm
@@ -22,13 +22,13 @@
Открыть -
выбрать исполняемый файл приложения, которое необходимо
- защитить, или файл проекта (*.vmp). Можно выбрать файл для открытия из списка ранее защищенных приложений, который отображается в меню Файл. Доступ к функции открытия файлов также
+ защитить, или файл проекта (*.dog). Можно выбрать файл для открытия из списка ранее защищенных приложений, который отображается в меню Файл. Доступ к функции открытия файлов также
возможен с помощью кнопки
на панели инструментов. Нужный исполняемый файл
- также можно перетащить в окно VMProtect;
+ также можно перетащить в окно DogProtect;
Сохранить проект - сохранить установки
- защиты приложения в файл формата "*.vmp". Файл настроек проекта
+ защиты приложения в файл формата "*.dog". Файл настроек проекта
будет сохранен в ту же папку, где находится исполняемый модуль
защищаемого приложения. Функция сохранения проекта доступна по
кнопке на
diff --git a/help/ru/menu_help.htm b/help/ru/menu_help.htm
index 012f77e..da0eb67 100644
--- a/help/ru/menu_help.htm
+++ b/help/ru/menu_help.htm
@@ -20,9 +20,9 @@
-
Домашняя страница - перейти на домашнюю страницу VMProtect;
-
Содержание - открыть справку VMProtect;
-
О программе - просмотреть основные сведения о программе VMProtect.
+
Домашняя страница - перейти на домашнюю страницу DogProtect;
+
Содержание - открыть справку DogProtect;
+
О программе - просмотреть основные сведения о программе DogProtect.
После создания проекта в GUI
режиме в дальнейшем может использоваться консольная версия
- (VMProtect_Con.exe), вызов которой осуществляется следующим
+ (DogProtect_Con.exe), вызов которой осуществляется следующим
образом:
DogProtect_Con Файл [Выходной файл] [-pf Файл проекта]
[-sf Файл скрипта] [-lf Файл с параметрами лицензирования] [-bd Дата сборки (yyyy-mm-dd)] [-wm Название водяного знака]
[-we]
Файл - имя исполняемого файла, который
необходимо защитить (*.exe, *.dll и т.д.), или имя файла
- проекта (*.vmp). Если в качестве исходного файла указан файл
+ проекта (*.dog). Если в качестве исходного файла указан файл
проекта, то имя исполняемого файла будет браться из файла
проекта.
@@ -36,7 +36,7 @@
Файл проекта - имя и путь к файлу проекта,
созданного в GUI режиме. Если
- параметр не задан, поиск файла проекта *.vmp будет
+ параметр не задан, поиск файла проекта *.dog будет
осуществляться в папке с исполняемым файлом.
Файл скрипта - имя файла, содержащего
diff --git a/help/ru/project_functions.htm b/help/ru/project_functions.htm
index 4e72e55..b19f7b3 100644
--- a/help/ru/project_functions.htm
+++ b/help/ru/project_functions.htm
@@ -34,7 +34,7 @@
от изучения и взлома для каждого защищаемого объекта
(процедуры, функции, фрагмента кода) обеспечит оптимальное
соотношение между защищенностью кода и его быстродействием.
- VMProtect позволяет пользователю установить следующие типы
+ DogProtect позволяет пользователю установить следующие типы
компиляции для каждого защищаемого объекта:
Мутация. Исполняемый код
diff --git a/help/ru/project_options.htm b/help/ru/project_options.htm
index 43d9e8d..f4c089d 100644
--- a/help/ru/project_options.htm
+++ b/help/ru/project_options.htm
@@ -69,7 +69,7 @@
которые будут записаны различные данные (завиртуализированный,
промутированный код, исполнители ВМ, водяные знаки и т.п.).
Данная опция позволяет задать названия для новых сегментов.
- Рекомендуется изменять стандартное название сегментов ".vmp"
+ Рекомендуется изменять стандартное название сегментов ".dog"
(например, на ".UPX").
Удалять отладочную информацию - удаление отладочной информации компилятора затруднит анализ кода приложения злоумышленником.
Удалять настраиваемые элементы - некоторые
diff --git a/help/ru/project_options_external_addresses.htm b/help/ru/project_options_external_addresses.htm
index f59fb31..158b8a3 100644
--- a/help/ru/project_options_external_addresses.htm
+++ b/help/ru/project_options_external_addresses.htm
@@ -14,7 +14,7 @@
Внешние адреса
При защите кода место, освободившееся в
- процессе компиляции, VMProtect использует для своих нужд, в
+ процессе компиляции, DogProtect использует для своих нужд, в
том числе для хранения различных данных
(завиртуализированного, промутированного кода, исполнителей
ВМ и т.п.). В связи с этим могут возникать различные
@@ -24,11 +24,11 @@
могут возникать при использовании маркеров кода, когда
происходит переход из незащищенного участка программы внутрь
маркера:
-
VMProtectBegin(nil);
+
DogProtectBegin(nil);
for I:=0 to 10 do
begin
Inc(J);
- VMProtectEnd;
+ DogProtectEnd;
end;
Программа VMProtect представляет собой надежный инструмент
+
Программа DogProtect представляет собой надежный инструмент
защиты кода приложения от изучения и взлома. Однако его
эффективное использование возможно лишь в том случае, если
встроенные в приложение защитные механизмы спроектированы по
@@ -93,7 +93,7 @@ end;
При подобной реализации функции CheckRegistration для "обхода"
проверки регистрационного ключа взломщику будет необходимо
досконально разбирать работу всей функции проверки ключа. При
- защите данного приложения с помощью VMProtect рекомендуется
+ защите данного приложения с помощью DogProtect рекомендуется
выполнить виртуализацию не только функции CheckRegistration, но и
процедуры TForm1.Button1Click. Для еще большего усложнения
процесса взлома приложения можно воспользоваться режимом защиты
@@ -160,7 +160,7 @@ initialization
end.
-
При защите программы с помощью VMProtect целесообразно
+
При защите программы с помощью DogProtect целесообразно
защитить функции HashPJW и CheckRegistration для усложнения
работы взломщика.
Программа VMProtect обладает мощным встроенным скриптовым
+
Программа DogProtect обладает мощным встроенным скриптовым
языком LUA, использование которого позволяет расширить возможности
- VMProtect на каждом этапе обработки защищаемого файла.
+ DogProtect на каждом этапе обработки защищаемого файла.
-
Синтаксис языка LUA похож на JavaScript, однако в отличие от последнего он не содержит классов в явном виде. Тем не менее, скриптовый язык позволяет легко формировать такие механизмы объектно-ориентированного программирования, как классы, наследование и события. Примеры использования скриптов находятся в каталоге "VMProtect/Examples/Scripts".
+
Синтаксис языка LUA похож на JavaScript, однако в отличие от последнего он не содержит классов в явном виде. Тем не менее, скриптовый язык позволяет легко формировать такие механизмы объектно-ориентированного программирования, как классы, наследование и события. Примеры использования скриптов находятся в каталоге "DogProtect/Examples/Scripts".
Встроенный скриптовый язык LUA программы VMProtect является
+
Встроенный скриптовый язык LUA программы DogProtect является
объектно-ориентированным: по синтаксису, идеалогии и реализации он во многом похож на JavaScript.
В состав скриптового языка входят как стандартные классы,
обеспечивающие базовую функциональность, так и специализированные
@@ -141,7 +141,7 @@ enum ProjectOption {
}
-
Класс для работы с ядром VMProtect:
+
Класс для работы с ядром DogProtect:
class Core {
public:
diff --git a/help/ru/script_events.htm b/help/ru/script_events.htm
index 667c39d..6668a61 100644
--- a/help/ru/script_events.htm
+++ b/help/ru/script_events.htm
@@ -14,10 +14,10 @@
События
Встроенный скриптовый язык является эффективным инструментом
- автоматизации создания защищенных приложений с помощью VMProtect.
+ автоматизации создания защищенных приложений с помощью DogProtect.
Вызов процедур и функций, необходимых на разных этапах создания
защищаемого файла, осуществляется через события, обрабатываемые
- ядром VMProtect. При создании скриптов можно установить
+ ядром DogProtect. При создании скриптов можно установить
собственные обработчики для 5-ти событий, которые вызываются
ядром протектора в следующем порядке:
Помимо методов и свойств классов скриптового языка
- пользователю VMProtect доступны функции, дающие возможность
+ пользователю DogProtect доступны функции, дающие возможность
выполнить ряд основных операций. Среди этих функций присутствуют
как общесистемные функции, позволяющие работать со строками,
датами и числами, использовать командную строку программы,
выводить различные сообщения и т.д., так и специализированные
- функции, позволяющие работать с ядром VMProtect и водяными
+ функции, позволяющие работать с ядром DogProtect и водяными
знаками:
Маркер начала защищаемой области
- кода. Вызов VMProtectBegin должен находиться перед первой
+ кода. Вызов DogProtectBegin должен находиться перед первой
командой (вызовом процедуры, функции) защищаемого блока кода.
- MarkerName задает имя маркера, которое в VMProtect будет иметь
- вид "VMProtectMarker"+MarkerNamе. Например, маркер
- VMProtectBegin('CheckRegistration') будет выглядеть как
- VMProtectMarker "CheckRegistration". Если имя маркера не задано,
- ему будет присвоено уникальное имя вида "VMProtectMarker"+номер
+ MarkerName задает имя маркера, которое в DogProtect будет иметь
+ вид "DogProtectMarker"+MarkerNamе. Например, маркер
+ DogProtectBegin('CheckRegistration') будет выглядеть как
+ DogProtectMarker "CheckRegistration". Если имя маркера не задано,
+ ему будет присвоено уникальное имя вида "DogProtectMarker"+номер
маркера по порядку. Тип компиляции
защищаемой области задается при обработке проекта в
- VMProtect.
Маркер начала защищаемой области кода с предустановленным
- типом компиляции "виртуализация". MarkerName задает имя маркера.
- При дальнейшей работе с VMProtect тип
+ типом компиляции "виртуализация". MarkerName задает имя маркера.
+ При дальнейшей работе с DogProtect тип
компиляции, заданный маркером, изменить нельзя.
Маркер начала защищаемой области кода с предустановленным
- типом компиляции "мутация". MarkerName задает имя маркера.
- При дальнейшей работе с VMProtect тип компиляции,
+ типом компиляции "мутация". MarkerName задает имя маркера.
+ При дальнейшей работе с DogProtect тип компиляции,
заданный маркером изменить, нельзя.
Маркер начала защищаемой области кода с предустановленным
типом компиляции "ультра (мутация + виртуализация)". MarkerName
- задает имя маркера. При дальнейшей работе с
- VMProtect тип компиляции, заданный маркером, изменить
+ задает имя маркера. При дальнейшей работе с
+ DogProtect тип компиляции, заданный маркером, изменить
нельзя.
Маркер начала защищаемой области кода с предустановленным
типом компиляции "виртуализация" и опцией "Привязать к ключу".
- MarkerName задает имя маркера. При
- дальнейшей работе с VMProtect тип компиляции, заданный маркером,
+ MarkerName задает имя маркера. При
+ дальнейшей работе с DogProtect тип компиляции, заданный маркером,
изменить нельзя.
Маркер начала защищаемой области кода с предустановленным
типом компиляции "ультра (мутация + виртуализация)" и опцией
"Привязать к
- ключу". MarkerName задает имя маркера.
- При дальнейшей работе с VMProtect тип компиляции, заданный
+ ключу". MarkerName задает имя маркера.
+ При дальнейшей работе с DogProtect тип компиляции, заданный
маркером, изменить нельзя.
-
VMProtectEnd
-
void VMProtectEnd(void);
+
DogProtectEnd
+
void DogProtectEnd(void);
-
Маркер конца защищаемой области кода. Вызов VMProtectEnd
+
Маркер конца защищаемой области кода. Вызов DogProtectEnd
должен находиться после последней команды (вызова процедуры,
функции) защищаемого блока кода.
-
VMProtectIsProtected
-
bool VMProtectIsProtected(void);
+
DogProtectIsProtected
+
bool DogProtectIsProtected(void);
-
Функция MProtectIsProtected возвращает True если файл обработан VMProtect.
+
Функция MProtectIsProtected возвращает True если файл обработан DogProtect.
Функция VMProtectIsDebuggerPresent позволяет определить факт
+
Функция DogProtectIsDebuggerPresent позволяет определить факт
запуска приложения из-под отладчика. Результат ее работы
(True/False) может быть обработан с помощью защитных механизмов,
встроенных в приложение. При CheckKernelMode=False функция
@@ -148,49 +148,49 @@
для них всегда проверяется наличие отладчиков
Kernel-mode.
-
VMProtectIsVirtualMachinePresent
-
bool VMProtectIsVirtualMachinePresent(void);
+
DogProtectIsVirtualMachinePresent
+
bool DogProtectIsVirtualMachinePresent(void);
-
Функция VMProtectIsVirtualMachinePresent позволяет определить
+
Функция DogProtectIsVirtualMachinePresent позволяет определить
факт запуска приложения в виртуальной среде: VMware, Virtual PC,
VirtualBox, Sandboxie. Результат ее работы (True/False) может
быть обработан с помощью защитных механизмов, встроенных в
приложение.
-
VMProtectIsValidImageCRC
-
bool VMProtectIsValidImageCRC(void);
+
DogProtectIsValidImageCRC
+
bool DogProtectIsValidImageCRC(void);
-
Функция VMProtectIsValidImageCRC позволяет определить факт
+
Функция DogProtectIsValidImageCRC позволяет определить факт
изменения защищенного модуля в памяти процесса (проверяются только неизменяемые сегменты кода и данных).
Результат ее работы (True/False) может быть обработан с помощью защитных механизмов, встроенных в
приложение.
Функция VMProtectDecryptStringA позволяет дешифровать
+
Функция DogProtectDecryptStringA позволяет дешифровать
строковую ANSI константу Value. Для шифрации константы её
необходимо включить
в список защищаемых объектов.
Функция VMProtectDecryptStringW позволяет дешифровать
+
Функция DogProtectDecryptStringW позволяет дешифровать
строковую Unicode константу Value. Для шифрации константы её
необходимо включить
в список защищаемых объектов.
-
VMProtectFreeString
-
bool VMProtectFreeString(const void *Value);
+
DogProtectFreeString
+
bool DogProtectFreeString(const void *Value);
-
Функция VMProtectFreeString освобождает динамическую память, занятую расшифрованной строкой. Освобождение делать не обязательно, но если делать - то только этой функцией.
- Повторное использование VMProtectDecryptStringA/VMProtectDecryptStringW с тем же параметром и без уничтожения ранее
+
Функция DogProtectFreeString освобождает динамическую память, занятую расшифрованной строкой. Освобождение делать не обязательно, но если делать - то только этой функцией.
+ Повторное использование DogProtectDecryptStringA/DogProtectDecryptStringW с тем же параметром и без уничтожения ранее
расшифрованной строки не будет приводить к дополнительному выделению памяти.