Page 1 of 1

Track "stolen" keys with custom KeyGen shell

Posted: Mon Aug 05, 2013 10:09 pm
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,

Re: Track "stolen" keys with custom KeyGen shell

Posted: Tue Aug 06, 2013 8:34 am
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.