StarUML破解

来源:互联网 发布:js判断上传文件的类型 编辑:程序博客网 时间:2024/04/30 22:47

在你的StarUML的安装目录下path/to/StarUML/www/license/node/找到LicenseManagerDomain.js
打开文件,将其中第23行的validate函数改为如下形式:

function validate(PK, name, product, licenseKey) {        var pk, decrypted;        //以下为新增语句        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;        }    }

然后打开软件,在help/enter license下输入
Name:0xcb
licenseKey:later equals never!
即可破解成功!

0 0
原创粉丝点击