码迷,mamicode.com
首页 > 其他好文 > 详细

startUml 破解

时间:2016-07-21 21:32:39      阅读:223      评论:0      收藏:0      [点我收藏+]

标签:

1、打开安装文件LicenseManagerDomain.js文件

2、修改validate函数

function validate(PK, name, product, licenseKey) {
 var pk, decrypted;
        // edit by 0xcb
        return {
            name: "0xcb",
            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;
        }
    }

打开starUML   help>enter license

Name:0xcb

licenseKey:later equals never!

startUml 破解

标签:

原文地址:http://www.cnblogs.com/austinspark-jessylu/p/5693028.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!