zoukankan      html  css  js  c++  java
  • StarUML2 建模工具全平台破解及license验证简要分析

    http://staruml.io/download

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

    1.     function validate(PK, name, product, licenseKey) {
    2.         var pk, decrypted;
    3.         // edit by 0xcb
    4.         return {
    5.             name: "0xcb",
    6.             product: "StarUML",
    7.             licenseType: "vip",
    8.             quantity: "bbs.chinapyg.com",
    9.             licenseKey: "later equals never!"
    10.         };
    11.         try {
    12.             pk = new NodeRSA(PK);
    13.             decrypted = pk.decrypt(licenseKey, 'utf8');
    14.         } catch (err) {
    15.             return false;
    16.         }
    17.         var terms = decrypted.trim().split(" ");
    18.         if (terms[0] === name && terms[1] === product) {
    19.             return { 
    20.                 name: name, 
    21.                 product: product, 
    22.                 licenseType: terms[2],
    23.                 quantity: terms[3],
    24.                 licenseKey: licenseKey
    25.             };
    26.         } else {
    27.             return false;
    28.         }
    29.     }
     
     
  • 相关阅读:
    win10 UWP button
    内网分享资源
    内网分享资源
    CF724F Uniformly Branched Trees
    win10 UWP FlipView
    win10 UWP FlipView
    win10 UWP FlipView
    搭建阿里云 centos mysql tomcat jdk
    搭建阿里云 centos mysql tomcat jdk
    win10 UWP 申请微软开发者
  • 原文地址:https://www.cnblogs.com/exmyth/p/5906918.html
Copyright © 2011-2022 走看看