mirror of
https://github.com/Mas0nShi/typoraCracker.git
synced 2023-07-10 13:41:20 +08:00
dev commits.
This commit is contained in:
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Mason Shi
|
||||
|
||||
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.
|
||||
70
README.md
Normal file
70
README.md
Normal file
@@ -0,0 +1,70 @@
|
||||
# typora Cracker
|
||||
|
||||

|
||||

|
||||
|
||||
A extract & decryption and pack & encryption tools for typora.
|
||||
|
||||
中文说明请戳[这里](README_CN.md)
|
||||
|
||||
## WARNING
|
||||
|
||||
**NOTE: typoraCracker doesn't provide support for crack.**
|
||||
|
||||
```
|
||||
FOR STUDY AND DISCUSSION ONLY, PLEASE DO NOT ENGAGE IN ANY ILLEGAL ACTS.
|
||||
ANY PROBLEMS ARISING FROM THIS WILL BE BORNE BY THE USER (YOU).
|
||||
```
|
||||
|
||||
## Features
|
||||
- Supports Version 1.0.0+ (At least for now.)
|
||||
- tested fine in Windows, Ubuntu
|
||||
|
||||
## Usage
|
||||
|
||||
1. `pip install -r requirements.txt`
|
||||
2. `python typora.py --help`
|
||||
3. read and use.
|
||||
4. do something.
|
||||
5. pack and replace app.asar.
|
||||
6. enjoy it.
|
||||
|
||||
|
||||
## Example
|
||||
|
||||
```shell
|
||||
> python typora.py --help
|
||||
usage: typora.py [-h] [-u] [-f] asarPath dirPath
|
||||
|
||||
[extract and decryption / pack and encryption] app.asar file from [Typora].
|
||||
|
||||
positional arguments:
|
||||
asarPath app.asar file path/dir [input/ouput]
|
||||
dirPath as tmp and out directory.
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-u pack & encryption (default: extract & decryption)
|
||||
-f enabled prettify/compress (default: disabled)
|
||||
|
||||
If you have any questions, please contact [ MasonShi@88.com ]
|
||||
|
||||
> python typora.py {installRoot}/Typora/resources/app.asar workstation/outfile/
|
||||
⋯
|
||||
# (patch code by yourself in workstation/outfile/dec_app)
|
||||
> python typora.py -u workstation/outfile/dec_app workstation/outappasar
|
||||
⋯
|
||||
> cp {installRoot}/Typora/resources/app.asar {installRoot}/Typora/resources/app.asar.bak
|
||||
> mv workstation/outappasar/app.asar {installRoot}/Typora/resources/app.asar
|
||||
> node example/keygen.js
|
||||
XXXXXX-XXXXXX-XXXXXX-XXXXXX
|
||||
> typora
|
||||
# (input info)
|
||||
email: crack@example.com
|
||||
serial: XXXXXX-XXXXXX-XXXXXX-XXXXXX
|
||||
```
|
||||
|
||||
## LICENSE
|
||||
MIT LICENSE
|
||||
|
||||
[](https://app.fossa.com/projects/git%2Bgithub.com%2FMas0nShi%2FtyporaCracker?ref=badge_large)
|
||||
64
README_CN.md
Normal file
64
README_CN.md
Normal file
@@ -0,0 +1,64 @@
|
||||
# typora Cracker
|
||||
|
||||
一个typora的解包&解密,打包&加密工具
|
||||
|
||||
## 敬告
|
||||
|
||||
**请注意:** typoraCracker不会提供破解相关支持,包括但不限于思路、流程、成品。
|
||||
|
||||
```
|
||||
仅供学习和讨论,请不要从事任何非法行为。
|
||||
由此产生的任何问题都将由用户(您)承担。
|
||||
```
|
||||
|
||||
## Features
|
||||
|
||||
- 支持版本1.0.0以上(至少现在是这样)
|
||||
- 测试通过平台:Win/Ubuntu
|
||||
|
||||
## 食用方式
|
||||
|
||||
1. `pip install -r requirements.txt`
|
||||
2. `python typora.py --help`
|
||||
3. 阅读帮助文档及使用。
|
||||
4. 做你想做的事。
|
||||
5. 打包并替换原目录下的 app.asar。
|
||||
6. 享受成果。
|
||||
|
||||
|
||||
## 示例
|
||||
|
||||
```shell
|
||||
> python typora.py --help
|
||||
usage: typora.py [-h] [-u] [-f] asarPath dirPath
|
||||
|
||||
[extract and decryption / pack and encryption] app.asar file from [Typora].
|
||||
|
||||
positional arguments:
|
||||
asarPath app.asar file path/dir [input/ouput]
|
||||
dirPath as tmp and out directory.
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-u pack & encryption (default: extract & decryption)
|
||||
-f enabled prettify/compress (default: disabled)
|
||||
|
||||
If you have any questions, please contact [ MasonShi@88.com ]
|
||||
|
||||
> python typora.py {installRoot}/Typora/resources/app.asar workstation/outfile/
|
||||
⋯
|
||||
# (patch code by yourself in workstation/outfile/dec_app)
|
||||
> python typora.py -u workstation/outfile/dec_app workstation/outappasar
|
||||
⋯
|
||||
> cp {installRoot}/Typora/resources/app.asar {installRoot}/Typora/resources/app.asar.bak
|
||||
> mv workstation/outappasar/app.asar {installRoot}/Typora/resources/app.asar
|
||||
> node example/keygen.js
|
||||
XXXXXX-XXXXXX-XXXXXX-XXXXXX
|
||||
> typora
|
||||
# (input info)
|
||||
email: crack@example.com
|
||||
serial: XXXXXX-XXXXXX-XXXXXX-XXXXXX
|
||||
```
|
||||
|
||||
## LICENSE
|
||||
MIT LICENSE
|
||||
Reference in New Issue
Block a user