您的位置:首页 > 其它

StarUML2 建模工具全平台破解及license验证简要分析

2016-01-11 23:43 429 查看
破解方法:

找到安装目录下的文件:LicenseManagerDomain.js
阅读得知,改软件用rsa加密用户信息,换行为用户信息的分隔符
修改以下代码,然后打开软件点击菜单栏中的帮助->输入license软件即可获得授权,即可:

    function validate(PK, name, product, licenseKey) {
        var pk, decrypted;
        // edit by 0xcb
        return {
            name: "0xcb",
            product: "StarUML",
            licenseType: "vip",
            quantity: "bbs.chinapyg.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;
        }
    }
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: