mirror of
https://github.com/Mas0nShi/typoraCracker.git
synced 2023-07-10 13:41:20 +08:00
009b2ebff3145aaa436ad16e9552e6989f6d1133
typora Cracker
A patch and keygen tools for typora.
中文说明请戳这里
WARNING
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.)
- Supports ALL OS supported by typora
Usage
pip install -r requirements.txtpython typora.py --help- read and use.
- patch License.js.
- replace app.asar.
- run keygen.
- enjoy it.
Example
> 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/
⋯
> python typora.py -u workstation/outfile/ workstation/outappasar
⋯
> cp {installRoot}/Typora/resources/app.asar {installRoot}/Typora/resources/app.asar.bak
> mv workstation/outappasar/app.asar {installRoot}/Typora/resources/app.asar
# (patch code)
> node keygen.js
XXXXXX-XXXXXX-XXXXXX-XXXXXX
> typora
# (input info)
email: crack@example.com
serial: XXXXXX-XXXXXX-XXXXXX-XXXXXX
LICENSE
MIT LICENSE
Description
Languages
Python
92.3%
JavaScript
7.7%