破解方法:
找到安裝目錄下的文件:LicenseManagerDomain.js
閱讀得知,改軟件用rsa加密用戶信息,換行為用戶信息的分隔符
修改以下代碼,然后打開軟件點擊菜單欄中的幫助->輸入license軟件即可獲得授權,即可:
- function validate(PK, name, product, licenseKey) {
- var pk, decrypted;
- // edit by 0xcb
- return {
- name: "0xcb",
- product: "StarUML",
- licenseType: "vip",
- quantity: "bbs.chinapyg.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;
- }
- }