mirror of
https://github.com/Mas0nShi/typoraCracker.git
synced 2023-07-10 13:41:20 +08:00
95 lines
3.4 KiB
Markdown
95 lines
3.4 KiB
Markdown
**typoraCracker STOPS MAINTENANCE NOW. [why](https://github.com/Mas0nShi/typoraCracker/issues/39#issuecomment-1083117056)?**
|
|
|
|
|
|
# typora Cracker
|
|
|
|

|
|

|
|

|
|

|
|

|
|

|
|
|
|
|
|

|
|

|
|
[](https://github.com/Mas0nShi/typoraCracker/actions/workflows/manual.yml)
|
|
|
|
|
|
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 - 1.2.0 [(old archive)](https://github.com/Mas0nShi/typoraCracker/tree/backup-raw)
|
|
- Supports Version 1.2.+ [(Experimental archive)](https://github.com/Mas0nShi/typoraCracker/tree/master)
|
|
|
|
## Support List
|
|
2022.4.4: Experimental support for automatic binary analysis to generate scripts. (v1.2.+)
|
|
|
|
| OS / ARCH | x86 | x64 | arm64 |
|
|
|:---------:|:---:|:---:|:-----:|
|
|
| win | ✅ | ✅ | ❌ |
|
|
| linux | ⛔ | ✅ | ❌ |
|
|
| macOS | ❌ | ❌ | ❌ |
|
|
|
|
|
|
## Usage
|
|
1. download in [Release Pages](https://github.com/Mas0nShi/typoraCracker/releases)
|
|
2. unzip
|
|
3. `pip install -r requirements.txt`
|
|
4. `python typora.py --help`
|
|
5. read and use.
|
|
6. do something.
|
|
7. pack and replace app.asar.
|
|
8. 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)
|