mirror of
https://github.com/Nezumi-2711/winrar-keygen.git
synced 2026-09-22 13:48:33 +00:00
🎉 v2.0.1
release v2.0.1
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-2
@@ -482,5 +482,4 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
+2
-24
@@ -189,17 +189,6 @@ public:
|
|||||||
RegInfo.Items[0] = GeneratePublicKeySM2CompressedFormat(RegInfo.Items[3].c_str());
|
RegInfo.Items[0] = GeneratePublicKeySM2CompressedFormat(RegInfo.Items[3].c_str());
|
||||||
RegInfo.UID = HelperStringFormat("%.16s%.4s", temp.c_str() + 48, RegInfo.Items[0].c_str());
|
RegInfo.UID = HelperStringFormat("%.16s%.4s", temp.c_str() + 48, RegInfo.Items[0].c_str());
|
||||||
|
|
||||||
/*while (true) {
|
|
||||||
auto LicenseTypeSignature = Sign(RegInfo.LicenseType.c_str(), RegInfo.LicenseType.length());
|
|
||||||
auto LicenseTypeSignatureR = LicenseTypeSignature.r.ToString(16, true);
|
|
||||||
auto LicenseTypeSignatureS = LicenseTypeSignature.s.ToString(16, true);
|
|
||||||
if (LicenseTypeSignatureR.length() <= 60 && LicenseTypeSignatureS.length() <= 60) {
|
|
||||||
RegInfo.Items[1] = HelperStringFormat("60%060s%060s", LicenseTypeSignatureS.c_str(), LicenseTypeSignatureR.c_str());
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
// Fix InternalError: The length of register data is not correct.
|
|
||||||
while (true) {
|
while (true) {
|
||||||
auto LicenseTypeSignature = Sign(RegInfo.LicenseType.c_str(), RegInfo.LicenseType.length());
|
auto LicenseTypeSignature = Sign(RegInfo.LicenseType.c_str(), RegInfo.LicenseType.length());
|
||||||
auto LicenseTypeSignatureR = LicenseTypeSignature.r.ToString(16, true);
|
auto LicenseTypeSignatureR = LicenseTypeSignature.r.ToString(16, true);
|
||||||
@@ -211,23 +200,13 @@ public:
|
|||||||
LicenseTypeSignatureS.insert(LicenseTypeSignatureS.begin(), 60 - LicenseTypeSignatureS.size(), '0');
|
LicenseTypeSignatureS.insert(LicenseTypeSignatureS.begin(), 60 - LicenseTypeSignatureS.size(), '0');
|
||||||
}
|
}
|
||||||
if (LicenseTypeSignatureR.length() == 60 && LicenseTypeSignatureS.length() == 60) {
|
if (LicenseTypeSignatureR.length() == 60 && LicenseTypeSignatureS.length() == 60) {
|
||||||
RegInfo.Items[1] = HelperStringFormat("60%060s%060s", LicenseTypeSignatureS.c_str(), LicenseTypeSignatureR.c_str());
|
RegInfo.Items[1] = HelperStringFormat("60%s%s", LicenseTypeSignatureS.c_str(), LicenseTypeSignatureR.c_str());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
temp = RegInfo.UserName + RegInfo.Items[0];
|
temp = RegInfo.UserName + RegInfo.Items[0];
|
||||||
/*while (true) {
|
|
||||||
auto UserNameSignature = Sign(temp.c_str(), temp.length());
|
|
||||||
auto UserNameSignatureR = UserNameSignature.r.ToString(16, true);
|
|
||||||
auto UserNameSignatureS = UserNameSignature.s.ToString(16, true);
|
|
||||||
if (UserNameSignatureR.length() <= 60 || UserNameSignatureS.length() <= 60) {
|
|
||||||
RegInfo.Items[2] = HelperStringFormat("60%060s%060s", UserNameSignatureS.c_str(), UserNameSignatureR.c_str());
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}*/
|
|
||||||
|
|
||||||
// Fix InternalError: The length of register data is not correct.
|
|
||||||
while (true) {
|
while (true) {
|
||||||
auto UserNameSignature = Sign(temp.c_str(), temp.length());
|
auto UserNameSignature = Sign(temp.c_str(), temp.length());
|
||||||
auto UserNameSignatureR = UserNameSignature.r.ToString(16, true);
|
auto UserNameSignatureR = UserNameSignature.r.ToString(16, true);
|
||||||
@@ -239,7 +218,7 @@ public:
|
|||||||
UserNameSignatureS.insert(UserNameSignatureS.begin(), 60 - UserNameSignatureS.size(), '0');
|
UserNameSignatureS.insert(UserNameSignatureS.begin(), 60 - UserNameSignatureS.size(), '0');
|
||||||
}
|
}
|
||||||
if (UserNameSignatureR.length() == 60 && UserNameSignatureS.length() == 60) {
|
if (UserNameSignatureR.length() == 60 && UserNameSignatureS.length() == 60) {
|
||||||
RegInfo.Items[2] = HelperStringFormat("60%060s%060s", UserNameSignatureS.c_str(), UserNameSignatureR.c_str());
|
RegInfo.Items[2] = HelperStringFormat("60%s%s", UserNameSignatureS.c_str(), UserNameSignatureR.c_str());
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -259,7 +238,6 @@ public:
|
|||||||
RegInfo.Checksum
|
RegInfo.Checksum
|
||||||
);
|
);
|
||||||
|
|
||||||
// maybe have fixed
|
|
||||||
if (RegInfo.HexData.length() % 54 != 0) {
|
if (RegInfo.HexData.length() % 54 != 0) {
|
||||||
throw std::runtime_error("InternalError: The length of register data is not correct.");
|
throw std::runtime_error("InternalError: The length of register data is not correct.");
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4
-4
@@ -61,8 +61,8 @@ IDI_ICON1 ICON "icon.ico"
|
|||||||
//
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION 2,0,0,0
|
FILEVERSION 2,0,1,0
|
||||||
PRODUCTVERSION 2,0,0,0
|
PRODUCTVERSION 2,0,1,0
|
||||||
FILEFLAGSMASK 0x3fL
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS 0x1L
|
||||||
@@ -79,12 +79,12 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "WinRAR Keygen"
|
VALUE "CompanyName", "WinRAR Keygen"
|
||||||
VALUE "FileDescription", "WinRAR Key Generation Tool"
|
VALUE "FileDescription", "WinRAR Key Generation Tool"
|
||||||
VALUE "FileVersion", "2.0.0.0"
|
VALUE "FileVersion", "2.0.1.0"
|
||||||
VALUE "InternalName", "winrar-keygen.exe"
|
VALUE "InternalName", "winrar-keygen.exe"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2021"
|
VALUE "LegalCopyright", "Copyright (C) 2021"
|
||||||
VALUE "OriginalFilename", "winrar-keygen.exe"
|
VALUE "OriginalFilename", "winrar-keygen.exe"
|
||||||
VALUE "ProductName", "WinRAR Keygen"
|
VALUE "ProductName", "WinRAR Keygen"
|
||||||
VALUE "ProductVersion", "2.0.0.0"
|
VALUE "ProductVersion", "2.0.1.0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
|||||||
Reference in New Issue
Block a user