资源简介
flexlm vendor key keygen
代码片段和文件信息
#include “stdafx.h“
#include “lmkg.h“
#include “lmkgDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
BEGIN_MESSAGE_MAP(Clmkg CWinApp)
END_MESSAGE_MAP()
Clmkg theApp;
#define NELEM(v) (sizeof(v)/sizeof(*(v)))
#define VK_X0 0xBFFFFFFE
#define VK_X1 0xFFFFFFE2
#define VK_X2 0xFFFFFFFF
#define VK_X3 0x03EEA001
typedef struct FLEXlmVendorCode
{
unsigned __int32 rgdwVendorKey[5];
unsigned __int32 rgdwCroTrlKey[2];
}
LM_VENDOR_CODE *PLM_VENDOR_CODE;
typedef struct FLEXlmVersion
{
unsigned __int8 byVersion;
unsigned __int32 dwCryptSeed;
unsigned __int32 dwXOR;
unsigned __int32 dwCroTrl;
}
LM_VERSION *PLM_VERSION;
static LM_VERSION rgFLEXlmVersion[8] =
{
{ 4 0xCF53FA74 0xA8F38730 0 }
{ 5 0x58A340F2 0xA8F38730 0 }
{ 6 0x1504C935 0xA8F38730 0 }
{ 7 0x788F71D2 0x7648B98E 0xD0E83B58 }
{ 8 0x3CDE3EBF 0x6F7330B8 0x2A82355A }
{ 9 0x72346B53 0x6F7330B8 0xF023FE01 }
{ 10 0x5332322F 0x6F7330B8 0x1548463A }
{ 11 0xEBE86632 0x6F7330B8 0x3003FC03 }
};
static unsigned __int8 ReverseBits(unsigned __int8 byValue)
{
unsigned __int8 i byResult = 0;
for (i = 0; i < 8; ++i)
{
byResult <<= 1;
byResult |= byValue & 0x1;
byValue >>= 1;
}
return byResult;
}
static unsigned __int8 SwapNibble(unsigned __int8 byValue)
{
return ((byValue & 0xF0) >> 4) | ((byValue & 0x0F) << 4);
}
static unsigned __int32 Scramble(unsigned __int32 dwValue)
{
unsigned __int32 b0 b1 b2 b3 dwResult;
b0 = dwValue & 0xFF;
b1 = (dwValue >> 8) & 0xFF;
b2 = (dwValue >> 16) & 0xFF;
b3 = (dwValue >> 24) & 0xFF;
dwResult = SwapNibble(ReverseBits(b0 ^ b1));
dwResult |= ReverseBits(b1 ^ b3) << 8;
dwResult |= ReverseBits(SwapNibble(b3)) << 16;
dwResult |= SwapNibble(b2 ^ b3) << 24;
return dwResult;
}
static unsigned __int32 Checksum(const char* szText unsigned __int32 dwInit)
{
unsigned __int32 i dwChecksum = dwInit;
for (i = 0; *szText; ++i ++szText)
dwChecksum ^= (*szText & 0xFF) << ((i & 0x3) << 3);
return dwChecksum;
}
static void GenVendorKeys(const char* szVendorName PLM_VERSION plmVersion PLM_VENDOR_CODE plmVendorCode)
{
unsigned __int32 i dwZeroChecksum dwChecksum dwKey5;
dwZeroChecksum = Checksum(szVendorName 0);
dwChecksum = Checksum(szVendorName plmVersion->dwCryptSeed);
for (i = dwKey5 = 0; i < 4; ++i)
dwKey5 = (dwKey5 << 8) | ((dwZeroChecksum >> (i << 3)) & 0xFF);
plmVendorCode->rgdwVendorKey[0] = Scramble(dwChecksum ^ VK_X0);
plmVendorCode->rgdwVendorKey[1] = Scramble(plmVendorCode->rgdwVendorKey[0] ^ VK_X0 ^ VK_X1);
plmVendorCode->rgdwVendorKey[2] = Scramble(plmVendorCode->rgdwVendorKey[1] ^ VK_X1 ^ VK_X2);
plmVendorCode->rgdwVendorKey[3] = Scramble(plmVendorCode->rgdwVendorKey[2] ^ VK_X2 ^ VK_X3);
plmVendorCode->rgdwVen
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7064 2010-09-19 20:10 Source\lmkg\EasySize.h
文件 5832 2011-05-26 02:26 Source\lmkg\lmkg.cpp
文件 411 2011-05-26 02:16 Source\lmkg\lmkg.h
文件 5727 2011-05-26 02:08 Source\lmkg\lmkg.rc
文件 5526 2011-05-26 02:19 Source\lmkg\lmkg.vcproj
文件 3379 2011-05-26 02:16 Source\lmkg\lmkgDlg.cpp
文件 768 2011-05-26 02:14 Source\lmkg\lmkgDlg.h
文件 26694 2010-08-17 15:33 Source\lmkg\res\lmkg.ico
文件 641 2011-05-08 00:50 Source\lmkg\res\lmkg.manifest
文件 395 2011-05-08 00:32 Source\lmkg\res\lmkg.rc2
文件 997 2011-05-08 03:04 Source\lmkg\Resource.h
文件 21 2011-05-08 03:04 Source\lmkg\stdafx.cpp
文件 1517 2011-05-26 02:15 Source\lmkg\stdafx.h
文件 1021 2011-05-08 00:32 Source\lmkg.sln
目录 0 2011-05-08 00:56 Source\lmkg\res
目录 0 2011-05-26 02:26 Source\lmkg
目录 0 2011-05-26 02:26 Source
----------- --------- ---------- ----- ----
59993 17
- 上一篇:AD9361
- 下一篇:Emv Reader Writer v8.6
相关资源
- Magic swf2gif 1.35+Keygen.rar
- RadStudioKeygen_绿色版专用10.2.3
- RadStudioKeygen 10.3 rido 4364
- Keil_ARM_MDK_5.00_Keygen_serial_Crack.rar
- Keil_ARM_MDK_5.25_Keygen_pro
- MapInfo-Professional-17-0-0-Crack-Keygen-Build
-
Segger_J_li
nk_keygen - J-Flash-keygen.zip
- 现在EFA破解工具是11.4.1版本 Mentor.Gr
- AD9KeyGen AD9license生成器
- Navicat Premium 激活工具_Keygen_Patch_v3.4
- Navicat Premium 12.1.17激活Navicat_Keygen_Pa
- RadStudio10.3Keygen
- radstudiokeygen.exe
- MDK-license management到2032年.zip
- scl_keygen.rar
- KISpro12.2keygen
- Chilkat_Keygen_v3.1_Downloadly.ir.rar
- vSphere VMwarevCenterServer及ESXI系列6.5 Ke
- vmware+vsphere+6.0全系列keygen
- OmniGroup(OmniFocus+OmniPlan+OmniGraffle+Omn
- NSX企业版和VSAN企业版 keygen
- xf-adsk2018_x64
- IAR for AVR破解工具EWAVR V5.30-V5.50 Keyge
- Acronis.True.Image.Echo.Enterprise.Server.v9.7
- Embarcadero RAD Studio 10.3.1 Rio keygen,实测
- RAD Studio Tokyo 10.2 keygen东京
- vmware 11及OS X unlocker 2.0.3
- Mathematica_11.0.0_Keygen
- SecureCRT 8.5注册机KeyGen
评论
共有 条评论