Skip to content

Latest commit

 

History

History
250 lines (170 loc) · 8.7 KB

readme-en.md

File metadata and controls

250 lines (170 loc) · 8.7 KB

By X1a0He

Since there is no need to translate English content into Chinese, the script only retains the weak invasive perfect crack. In addition, the content of this document is translated by Google, so there may be errors.

StarUML SourceCode

StarUML-SourceCode

Usage Instructions

app.asar has been cracked perfectly, just follow the steps to use it

  • Click Releases on the right column, download app.asar or download app.asar.zip and unzip it
  • Then follow the instructions on the Releases page and place app.asar in the specified directory
  • It can be used immediately after opening, without entering any license

⚠️⚠️⚠️ If you have a Python environment and want to run it with one click or study it yourself, please read on!!!


Surge script activation

script-activation.png

Note that this method is not within the scope of script processing. Please add it yourself if you have hands-on skills.
This activation has no Chinese translation and is only convenient for activation
The advantages and disadvantages of this method are as follows

Advantages

  • Non-intrusive, no modification to the original app
  • Supports updating directly from the official website without reactivation

Disadvantages

  • You must use apps that support scripting, such as Surge, Stash, etc.
  • When opening StarUML, you must enable the script, otherwise activation may fail or be restored.

Notes

You need to turn on HTTPS decryption and add the MitM hostname: staruml.io

Write your own configuration

[Script]
StarUML = type=http-request,pattern=^https://staruml.io/api/license/validate,requires-body=1,max-size=0,debug=1,script-path=staruml.js

Manually add scripts

Put staruml.js in the /Users/$HOME/Library/Application Support/Surge/Profiles

Script name: Custom by yourself
Script Type: HTTP Request
URL: ^https://staruml.io/api/license/validate


Latest Changelog

Support status

  • macOS
    • Cracked
    • Chinese localization
    • Fully automatic script support
  • Windows
    • Cracked
    • Chinese localization
    • Fully automatic script support
  • Linux (Maybe)
    • Cracked
    • Chinese localization
    • Fully automatic script support

Read before use

  1. Must be downloaded from the official website, only compatible with official website downloads, no matter what system
  2. Regardless of the system, if you want to run the script, please run it with the highest authority, that is, 「sudo」 or 「administrator」
  3. Although the script backs up the target file in advance during operation, my suggestion is that you still need to back it up manually.
  4. app.asar should be universal for Win and Mac. If you have any questions, please let me know.
  5. Feedback: raise issues or @X1a0He

Catalog

Crack support version

App Version Cracked Mac Windows Link
StarUML 6.0.1 - Latest https://staruml.io/

There are two ways to crack

The evaluation mode introduced in 6.2.0 may not have been updated in time, but the script has been perfectly cracked

Note that you can choose either of the two methods, both of which need to meet the conditionsBasic conditions for running the script

  • Strong Intrusive: Modify the license-manager.js file to achieve the purpose of cracking, perfect cracking
  • Weakly Intrusive: By hijacking the $.post method to hook the verification request and return the built-in data, a perfect crack

Weakly Intrusive

  1. Put the hook.js file in the unpacked src directory, that is, in the same directory as app-context.js
  2. Under the comment in app-cocntext.js, add a line require("./hook"); above const _ = require("lodash");, that is
require("./hook");          // <---------- add this line
const _ = require("lodash");
const URL = require("url");
const fs = require("fs");
  1. Start StarUML, enter the license key or click OK to enjoy it.

Strong Intrusive

  1. Windows and macOS are the same way to crack.
  2. If you have Python on your machine, you can run the script yourself. The script in the repository uses weak invasive cracking by default.
  3. Logically speaking, the cracking is universal, unless StarUML does not use Electron anymore!

The perfect way to use it on macOS

Make sure your Mac has the best operating environment,Basic conditions for running the script

cd StarUML-CrackedAndTranslate
sudo python3 main-en.py
# Just select the corresponding operation, the whole process is fully automatic without intervention

If you are a developer

Since I usually use Mac💻, the tutorial here focuses on Mac. Windows is similar, please be informed✅

PS: ⚠️I wrote the Python script for convenience. It is recommended to read the code and study it before deciding whether to run it yourself.


This project document explains as follows

  • main-en.py Universal one-key script, since Chinese is not required, only the cracking function is retained

Basic conditions for running the script

The prerequisites for running main-en.py are as follows

  • macOS please make sure NodeJS, asar, Python are installed

  • Open cmd in Windows and terminal in macOS, and enter the following command to check whether NodeJS and asar support exists

# Node.JS & npm
node -v && npm -v

# Check if asar is installed
asar --version

# Check if Python is installed
# Python2
python --version

# Python3
python3 --version

If an error occurs in any of the above commands, you need to install it in advance. Only the official installation method is provided here. For other methods (such as HomeBrew installation on Mac), please search for them yourself.

NodeJS install

NodeJS official website: https://nodejs.org/

NodeJS Current version download: https://nodejs.org/en/download/current

⚠️ NPM will be installed along with NodeJS

❗️❗️❗️I recommend the Current version, which is the version on the right side of the picture.

Nodejs.png

After my attempt, I found that if I click on the right side to download on Windows, it will give you a compressed package, so my suggestion is to click on the NodeJS Current version

Nodejs-current.png

Click on the corresponding system icon to download. If you still don't know how to install it,fine,u r a fxxking genius!

asar installation

Once you have installed NodeJS and NPM, run the following command to install asar

npm -g i @electron/asar

This command is provided by @electron/asar

Github: https://github.com/electron/asar

asar-website.png

Please search for other installation methods by yourself, I don’t know how to do it🤡.

Python Installation

Python official website: https://www.python.org/downloads/

python-website.png

This address will detect the current operating system by default and guide you to download the corresponding installation package. You will understand the installation process yourself.

At this point, you have reached the conditions for running the script