StarUML 破解方法

StarUML 版本破解

1,打开对应 /opt/staruml/www/license/node/LicenseManagerDomain.js文件。

2,修改对应下面函数。让函数直接返回,红色部分为新增。

        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;
            }
        }


3,打开starUML。help>enter license

name: 0xcb

licenseKey: later equals never!


4、提示成功


安装过程中的相关问题:

依赖问题:libgcrypt11_1.5.3-2ubuntu4.3_i386.deb

解决方法:You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:

deb http://security.ubuntu.com/ubuntu trusty-security main 

发布了36 篇原创文章 · 获赞 9 · 访问量 11万+

猜你喜欢

转载自blog.csdn.net/gudufeiyang/article/details/51264216