StarUML2 建模工具全平台破解及license驗證簡要分析


破解方法:
找到安裝目錄下的文件: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("\n");
  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.     }


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM