StarUML official Download:
Cracking: 1. Use Editplus Notepad ++ or other special text editor to open the file installation location /www/license/node/LicenseManagerDomain.js
2. Modify the validate method, add the following code to specify the location specified
function validate(PK, name, product, licenseKey) { var pk, decrypted; //添加代码开始 return{ "name": "gqzdev", "product": "StarUML", "licenseType": "vip", "quantity": "www.ganquanzhong.top", "licenseKey": "gqzdev" } //添加代码结束 try { pk = new NodeRSA(PK); decrypted = pk.decrypt(licenseKey, 'utf8'); } catch (err) { return false; } var terms = decrypted.trim().split("\n"); if (terms[0] === name && terms[1] === product) { return { name: name, product: product, licenseType: terms[2], quantity: terms[3], licenseKey: licenseKey }; } else { return false; } }
在如上位置,插入如上代码。
3.验证打开StarUML,打开菜单Help->Enter License,
输入上面指定的name和license信息,分别为gqzdev和gqzdev,成功!
然后就有注册成功的提示信息了,help->about startuml,可以看到提示信息已注册