📃 Add LICENSE

Add LICENSE
This commit is contained in:
BitCookies 2021-07-18 16:50:20 +08:00 committed by bitcookies
parent 87ea4af4d1
commit 9b66ae050e
50 changed files with 109 additions and 69 deletions

View file

@ -2,6 +2,6 @@
"ExpandedNodes": [
""
],
"SelectedNode": "\\winrar-keygen.sln",
"SelectedNode": "\\winrar-keygen.vcxproj",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 BitCookies
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1,8 +1,17 @@
# WinRAR-Keygen
<p align="center">
<img width="100px" src="icon.svg" align="center" alt="WinRAR Keygen" />
<h2 align="center">WinRAR Keygen</h2>
<p align="center">Principle of WinRAR key generation</p>
</p>
[中文版 README](README.zh-CN.md)
<p align="center">
<img src="https://img.shields.io/github/v/release/bitcookies/winrar-keygen?label=version" />
<a href="https://github.com/bitcookies/winrar-keygen/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/bitcookies/winrar-keygen?color=F48D73" />
</a>
</p>
<p align='center'><img width="100px" src="icon1.png" /></p>
<center><a href="README.zh-CN.md">简体中文</a> | <a href="README.md">English</a></center>
## 1. What is WinRAR?
@ -10,7 +19,7 @@ WinRAR is a trialware file archiver utility for Windows, developed by Eugene Ros
It can create and view archives in RAR or ZIP file formats and unpack numerous archive file formats.
WinRAR is not a free software. If you want to use it, you should pay to [__RARLAB__](https://rarlab.com/) and then you will get a license file named `rarreg.key`.
WinRAR is not a free software. If you want to use it, you should pay to [__RARLAB__](https://www.rarlab.com/) and then you will get a license file named `rarreg.key`.
This repository will tell you how WinRAR license file `"rarreg.key"` is generated.
@ -94,3 +103,21 @@ de3cdc56b311475b484e80b48157a0c3af60ca4f7f9c75d49bc50d
```
Save the generated information as `rarreg.key`.
## 5. Encounter problems?
### 5.1 Feedback
If you encounter some problems, you can report on the [Issues](https://github.com/bitcookies/winrar-keygen/issues) page. There will be many enthusiastic developers or Github users to help you.
### 5.2 Security
Some Anti-Virus Software may falsely report. If you do not trust this binary executable file, your only option is to compile the code yourself.
### 5.3 Thanks
Thank you very much to some enthusiastic developers for helping answer some questions in [Issues](https://github.com/bitcookies/winrar-keygen/issues).
## 6. License
The code is available under the [MIT license](https://github.com/bitcookies/winrar-keygen/blob/master/LICENSE)

View file

@ -1,8 +1,18 @@
# WinRAR-Keygen
<p align="center">
<img width="100px" src="icon.svg" align="center" alt="WinRAR Keygen" />
<h2 align="center">WinRAR Keygen</h2>
<p align="center">Principle of WinRAR key generation</p>
</p>
<p align="center">
<img src="https://img.shields.io/github/v/release/bitcookies/winrar-keygen?label=version" />
<a href="https://github.com/bitcookies/winrar-keygen/issues">
<img alt="Issues" src="https://img.shields.io/github/issues/bitcookies/winrar-keygen?color=F48D73" />
</a>
</p>
[README for English](README.md)
<p align='center'><img width="100px" src="icon1.png" /></p>
<center>
<a href="README.zh-CN.md">简体中文</a> | <a href="README.md">English</a>
</center>
## 1. WinRAR是什么
@ -10,7 +20,7 @@ WinRAR是一款用于管理压缩包文件的共享软件。其算法由作者
它可以用来创建或浏览RAR、ZIP等众多格式的压缩包。
WinRAR不是免费软件。如果你想使用它,你应当向 [__RARLAB__](https://rarlab.com/) 付费,然后获得一个授权文件 `rarreg.key`
WinRAR不是免费软件。如果你想使用它你应当向 [__RARLAB__](https://www.rarlab.com/) 付费,然后获得一个授权文件 `rarreg.key`
这份repo将会告诉你 `rarreg.key` 是如何生成的。
@ -20,7 +30,7 @@ WinRAR不是免费的软件。如果你想使用它你应当向 [__RARLAB__](
## 3. 如何编译?
如果你不想自己编译,也可以到 [Release](https://github.com/bitcookies/winrar-keygen/releases/) 页面获取 `winrar-keygen.exe`
如果你不想自己编译,也可以到 [Release](https://github.com/bitcookies/winrar-keygen/releases/) 页面获取对应版本的 `winrar-keygen.exe`
### 3.1 前提条件
@ -58,7 +68,7 @@ WinRAR不是免费的软件。如果你想使用它你应当向 [__RARLAB__](
这里以 `Github``Github.com` 为例:
```
```console
Usage:
winrar-keygen.exe <your name> <license type>
@ -87,4 +97,26 @@ de3cdc56b311475b484e80b48157a0c3af60ca4f7f9c75d49bc50d
5eede7ed46566b10bf033daa6384062b259194b1acbd1443042646
```
将生成的信息以文本格式保存为 `rarreg.key ` 拖动即可导入WinRAR。
将生成的信息以文本格式保存为 `rarreg.key ` ,拖动导入 WinRAR 即可。
## 5. 遇到问题
### 5.1 反馈
如果您遇到了一些问题,可在 [Issues](https://github.com/bitcookies/winrar-keygen/issues) 页面反馈,会有很多热心的开发者及 Github 用户帮助你。
### 5.2 安全
一些杀毒软件可能会误报,如果您不信任此二进制可执行文件,您唯一的选择就是自己编译代码。
### 5.3 感谢
非常感谢一些热心的开发者,在 [Issues](https://github.com/bitcookies/winrar-keygen/issues) 帮助解答一些问题。
## 6. 关于WinRAR广告
在 [__RARLAB__](https://www.rarlab.com/) 下载的简体中文版 WinRAR 将会自带广告组件,即使使用了 `rarreg.key` 授权,广告组件依旧会出现。如果您介意广告,可以尝试下载其他语言版。
## 7. 许可
使用 [MIT License](https://github.com/bitcookies/winrar-keygen/blob/master/LICENSE)

View file

@ -12,9 +12,9 @@ void Help() {
_putts(TEXT(""));
_putts(TEXT("Example:"));
_putts(TEXT(""));
_putts(TEXT(" winrar-keygen.exe \"Rebecca Morrison\" \"Single PC usage license\""));
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\""));
_putts(TEXT(" or:"));
_putts(TEXT(" winrar-keygen.exe \"Rebecca Morrison\" \"Single PC usage license\" > rarreg.key\n"));
_putts(TEXT(" winrar-keygen.exe \"Github\" \"Github.com\" > rarreg.key\n"));
}
void PrintRegisterInfo(const WinRarKeygen<WinRarConfig>::RegisterInfo& Info) {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

Before

Width:  |  Height:  |  Size: 264 KiB

After

Width:  |  Height:  |  Size: 264 KiB

View file

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

1
icon.svg Normal file
View file

@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1626578511905" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2229" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16"><defs><style type="text/css"></style></defs><path d="M640 31.9488c-194.4576 0-352.0512 157.5936-352.0512 352.0512-0.1024 49.9712 10.5472 99.4304 31.1296 144.896l-287.1296 303.104v159.9488h160.0512v-128h128v-128l87.6544-87.6544c64.2048 56.6272 146.8416 87.7568 232.3456 87.6544 194.3552 0 352.0512-157.5936 352.0512-352.0512S834.3552 31.9488 640 31.9488z m64 416.0512c-70.656 0-128-57.344-128-128s57.344-128 128-128 128 57.344 128 128-57.344 128-128 128z" fill="#F0EEE2" p-id="2230"></path><path d="M789.504 53.4528L613.4784 229.4784c-49.9712 49.9712-49.9712 131.072 0 181.0432s131.072 49.9712 181.0432 0L970.5472 234.496 789.504 53.4528z m-85.504 314.5728c-26.5216 0-48.0256-21.504-48.0256-48.0256s21.504-48.0256 48.0256-48.0256 48.0256 21.504 48.0256 48.0256-21.504 48.0256-48.0256 48.0256z" fill="#BBAA9C" p-id="2231"></path><path d="M335.9744 671.9488h-48.0256c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h48.0256c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.168-15.9744-15.9744-15.9744z m320-63.8976h-79.9744c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h79.9744c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.0656-15.9744-15.9744-15.9744zM512 176.0256h-64c-8.8064 0.2048-15.7696 7.5776-15.5648 16.384 0.2048 8.4992 7.0656 15.36 15.5648 15.5648H512c8.8064-0.2048 15.7696-7.5776 15.5648-16.384-0.2048-8.4992-7.0656-15.36-15.5648-15.5648z m415.9488 367.9232h-128c-8.8064-0.2048-16.1792 6.7584-16.384 15.5648s6.7584 16.1792 15.5648 16.384h128.8192c8.8064 0.2048 16.1792-6.7584 16.384-15.5648s-6.7584-16.1792-15.5648-16.384h-0.8192zM512 480.0512h-31.9488c-8.8064 0.2048-15.7696 7.5776-15.5648 16.384 0.2048 8.4992 7.0656 15.36 15.5648 15.5648H512c8.8064-0.2048 15.7696-7.5776 15.5648-16.384-0.2048-8.4992-7.0656-15.36-15.5648-15.5648z m79.9744-336.0768c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.168-15.9744-15.9744-15.9744-15.9744 7.168-15.9744 15.9744 7.168 15.9744 15.9744 15.9744zM384 368.0256h-79.9744c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744H384c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.168-15.9744-15.9744-15.9744zM799.9488 256h48.0256c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.168-15.9744-15.9744-15.9744h-48.0256c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744zM176.0256 752.0256H96.0512c-8.8064 0-15.9744 7.168-15.9744 15.9744s7.168 15.9744 15.9744 15.9744h79.9744c8.8064 0 15.9744-7.168 15.9744-15.9744s-7.168-15.9744-15.9744-15.9744z" fill="#D8D5BA" p-id="2232"></path><path d="M704 384c35.328 0 64-28.672 64-64S739.328 256 704 256 640 284.672 640 320s28.672 64 64 64z m0-96.0512c17.7152 0 31.9488 14.336 31.9488 31.9488s-14.336 31.9488-31.9488 31.9488-31.9488-14.336-31.9488-31.9488c-0.1024-17.6128 14.2336-31.9488 31.9488-31.9488zM640 0C427.9296 0 256 171.9296 256 384c-0.1024 51.0976 10.1376 101.6832 29.9008 148.7872L9.3184 809.3696C3.3792 815.4112 0 823.5008 0 832v159.9488C0 1009.664 14.336 1024 31.9488 1024h159.9488c17.7152 0 31.9488-14.336 31.9488-31.9488V896h96.0512c17.7152 0 31.9488-14.336 31.9488-31.9488v-114.688l57.856-57.856c66.3552 49.8688 147.1488 76.6976 230.1952 76.5952 212.0704 0 384-171.9296 384-384S852.0704 0 640 0z m291.2256 251.1872L783.1552 399.1552c-43.7248 43.7248-114.688 43.7248-158.4128 0-43.7248-43.7248-43.7248-114.688 0-158.4128L772.8128 92.7744c70.0416 32.0512 126.3616 88.3712 158.4128 158.4128zM640 704c-88.064 0.1024-172.1344-36.1472-232.5504-100.1472L294.2976 717.0048c-4.096 5.5296-6.2464 12.1856-6.2464 18.944v96.0512h-96.0512c-17.7152 0-31.9488 14.336-31.9488 31.9488v96.0512H64V845.2096l253.2352-253.2352 0.2048 0.3072 46.4896-46.592c-28.7744-49.0496-44.032-104.8576-43.9296-161.792 0-176.7424 143.2576-320 320-320 34.0992 0 67.8912 5.4272 100.352 16.0768l-138.1376 138.24c-56.2176 56.2176-56.2176 147.456 0 203.6736s147.456 56.2176 203.6736 0l138.0352-138.24c10.6496 32.3584 16.0768 66.2528 16.0768 100.352 0 176.7424-143.2576 320-320 320z" fill="#5F4E56" p-id="2233"></path></svg>

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Binary file not shown.

View file

@ -1,2 +0,0 @@
 _tmain.cpp
D:\Users\haoning\Documents\Visual Studio 2019\winrar-keygen\BigInteger.hpp(4,10): fatal error C1083: 无法打开包括文件: “gmp.h”: No such file or directory

View file

@ -1,2 +0,0 @@
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.27.29110:TargetPlatformVersion=10.0.18362.0:
Debug|x64|D:\Users\haoning\Documents\Visual Studio 2019\winrar-keygen\|

Binary file not shown.

Binary file not shown.

View file

@ -1 +0,0 @@


View file

@ -1,23 +0,0 @@
d:\users\haoning\documents\visual studio 2019\winrar-keygen\obj\x64-release\vc142.pdb
d:\users\haoning\documents\visual studio 2019\winrar-keygen\obj\x64-release\_tmain.obj
d:\users\haoning\documents\visual studio 2019\winrar-keygen\bin\x64-release\winrar-keygen.exe
d:\users\haoning\documents\visual studio 2019\winrar-keygen\bin\x64-release\winrar-keygen.pdb
d:\users\haoning\documents\visual studio 2019\winrar-keygen\obj\x64-release\winrar-keygen.res
d:\users\haoning\documents\visual studio 2019\winrar-keygen\bin\x64-release\winrar-keygen.ipdb
d:\users\haoning\documents\visual studio 2019\winrar-keygen\bin\x64-release\winrar-keygen.iobj
d:\users\haoning\documents\visual studio 2019\winrar-keygen\obj\x64-release\vcpkg.applocal.log
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\_tmain.obj
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.res
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\vc142.pdb
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\bin\x64-release\winrar-keygen.pdb
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\bin\x64-release\winrar-keygen.exe
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\cl.command.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\cl.read.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\cl.write.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\link.command.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\link.read.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\link.write.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\rc.command.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\rc.read.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\rc.write.1.tlog
d:\users\haoning\documents\github\@bitcookies\winrar-keygen\obj\x64-release\winrar-keygen.tlog\winrar-keygen.write.1u.tlog

View file

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>D:\Users\haoning\Documents\GitHub\@bitcookies\winrar-keygen\bin\x64-Release\winrar-keygen.exe</ProjectOutputs>
<ContentFiles></ContentFiles>
<SatelliteDlls></SatelliteDlls>
<NonRecipeFileRefs></NonRecipeFileRefs>
</Project>

View file

@ -1,7 +0,0 @@
 _tmain.cpp
正在生成代码
403 of 409 functions (98.5%) were compiled, the rest were copied from previous compilation.
9 functions were new in current compilation
1 functions had inline decision re-evaluated but remain unchanged
已完成代码的生成
winrar-keygen.vcxproj -> D:\Users\haoning\Documents\GitHub\@bitcookies\winrar-keygen\bin\x64-Release\winrar-keygen.exe

Binary file not shown.

View file

@ -1,2 +0,0 @@
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.27.29110:TargetPlatformVersion=10.0.18362.0:
Release|x64|D:\Users\haoning\Documents\GitHub\@bitcookies\winrar-keygen\|

Binary file not shown.

View file

@ -52,7 +52,7 @@ END
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "icon1.ico"
IDI_ICON1 ICON "icon.ico"
/////////////////////////////////////////////////////////////////////////////
@ -61,8 +61,8 @@ IDI_ICON1 ICON "icon1.ico"
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,1,0
PRODUCTVERSION 1,0,1,0
FILEVERSION 1,0,2,0
PRODUCTVERSION 1,0,2,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -78,13 +78,13 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "WinRAR Keygen"
VALUE "FileDescription", "WinRAR Keygen Tool"
VALUE "FileVersion", "1.0.1.0"
VALUE "FileDescription", "WinRAR Key Generation Tool"
VALUE "FileVersion", "1.0.2.0"
VALUE "InternalName", "winrar-keygen.exe"
VALUE "LegalCopyright", "Copyright (C) 2021"
VALUE "OriginalFilename", "winrar-keygen.exe"
VALUE "ProductName", "WinRAR Keygen"
VALUE "ProductVersion", "1.0.1.0"
VALUE "ProductVersion", "1.0.2.0"
END
END
BLOCK "VarFileInfo"

View file

@ -182,7 +182,8 @@
<ResourceCompile Include="winrar-keygen.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="icon1.ico" />
<Image Include="icon.ico" />
<Image Include="icon.png" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">

View file

@ -54,7 +54,10 @@
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="icon1.ico">
<Image Include="icon.ico">
<Filter>资源文件</Filter>
</Image>
<Image Include="icon.png">
<Filter>资源文件</Filter>
</Image>
</ItemGroup>