zoukankan      html  css  js  c++  java
  • StarUML 2下载、安装、破解全过程

       StarUML官方下载地址: 

               http://staruml.io/download

      破解: 
    ​   1.使用Editplus或者Notepad++等特殊的文本编辑器打开 安装位置下/www/license/node/LicenseManagerDomain.js文件 

      2.修改validate方法,在如下指定的位置上添加指定的代码

    function validate(PK, name, product, licenseKey) {
            var pk, decrypted;
            //添加代码开始
            return{
                "name": "gqzdev",
                "product": "StarUML",
                "licenseType": "vip",
                "quantity": "www.ganquanzhong.top",
                "licenseKey": "gqzdev"
            }
            //添加代码结束
            try {
                pk = new NodeRSA(PK);
                decrypted = pk.decrypt(licenseKey, 'utf8');
            } catch (err) {
                return false;
            }
            var terms = decrypted.trim().split("
    ");
            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和license信息,分别为gqzdevgqzdev,成功! 
      然后就有注册成功的提示信息了,help->about startuml,可以看到​提示信息已注册 

  • 相关阅读:
    本周学习进度条2
    web—图表表示数据库中的数据
    Intern Day36
    计算机网络
    面试
    C++
    计算机网络
    腾讯PC客户端开发暑期实习一面
    TCP和UDP
    Intern Day34
  • 原文地址:https://www.cnblogs.com/gqzdev/p/12008631.html
Copyright © 2011-2022 走看看