Track "stolen" keys with custom KeyGen shell

Post here any topics that related to Enigma Protector, its functionality, your misunderstanding, offers to improvements etc etc etc
Post Reply
koot33
Posts: 1
Joined: Mon Jun 10, 2013 8:41 pm

Track "stolen" keys with custom KeyGen shell

Post by koot33 »

Hi,

I'm writing a custome shell to generate keys for my program but I don't see a way to integrate the "stolen" key logging functionality. Am I missing something?

Thanks,
Enigma
Site Admin
Posts: 2939
Joined: Wed Aug 20, 2008 2:24 pm

Re: Track "stolen" keys with custom KeyGen shell

Post by Enigma »

Hi koot33,

This functionality is not made in a key generator (keygen.dll), but there are few workarounds you may use.

1. Open your project file in Enigma Protector and go to main menu - Tools - Keys Generator. Try to generate any key and click "Add to log" button.
Then check the folder of the .enigma project file. There is created a new file with the name "<PROJECTNAME>.keys.log". This file contains a log of keys generator. Also, there you may specify if the key is stolen or no.
The file itself is xml file, and the item for a key record looks like:

Code: Select all

<i><t>2013-08-06T01:28:58.671Z</t><s>False</s><n>Name</n><k>BR76YPJY43TQWNEQU9U4TQR7G5F2XMJ32QHZ5BW3Z8WXWBUMR7TM3</k><h></h></i>
<t> - contains a time, does not matter in our case
<s> - determines if this key is stolen, True/False
<n> - registration name
<k> - registration key
<h> - hardware id
So you may update this file with the stolen keys inside your shell. Just note, .keys.log file should be located in the same folder with the .enigma project file.

2. A little complex, but the same way you may do with the License Manager. File structure is more complex there.
Post Reply