StarUML软件设计建模工具破解

转载自:https://blog.csdn.net/helencoder/article/details/51932722

参考:http://bbs.chinapyg.com/thread-79022-1-1.html 

各平台版本均适用,本文更改的为Mac版本。​

1,打开对应 mac版本的安装包位置,在对应目录/Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js文件。 
2,找到文件23行,修改对应下面函数。更改为如下代码:

function validate(PK, name, product, licenseKey) {
        var pk, decrypted;
        // edit by 0xcb
        return {
            name: "helencoder",
            product: "StarUML",
            licenseType: "vip",
            quantity: "mergades.com",
            licenseKey: "later equals never!"
        };

        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;
        }
    }
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30

我的做法是注释掉原有代码,再增加,防止出现问题。 
3,打开starUML。help>enter license 
Name:helencoder 
licenseKey:later 
equals never! 
然后提示你注册成功!

名字可以自己指定。

猜你喜欢

转载自blog.csdn.net/qian2213762498/article/details/80715420