startUML安装与破解

安装包百度云:

链接:https://pan.baidu.com/s/1mMrdI1XO6g0MS6G5dB2sVA 密码:ekii

破解步骤:
1. 首先打开你的starUML安装目录,并找到LicenseManagerDomain.js,
starUML是用NodeJS写的,这个文件就是判断注册用户的文件,我的目
录是:
D:\Program Files (x86)\StarUML\www\license\node\LicenseManagerDomain.js

2. 修改该文件,找到第24行,加入如下所示区域的代码。

   function validate(PK, name, product, licenseKey) {
        var pk, decrypted;

        //加入如下几行
        //-------------START
        return {
            name: "zzzzz",//随意
            product: "StarUML",
            licenseType: "vip",
            quantity: "zzzzzz",//随意
            licenseKey: "zzzzzz"//随意
        };
        //-------------END

        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和licenseKey输入相应的内容,确定后便会
提示注册成功。

猜你喜欢

转载自www.cnblogs.com/cthon/p/9237237.html
今日推荐