参考:http://bbs.chinapyg.com/thread-79022-1-1.html
这个博文传播比较广了。目前要提醒大家还是有经济能力支持正版、支持正版、支持正版
1,打开对应 mac版本的安装包位置,在对应目录/Applications/StarUML.app/Contents/www/license/node/LicenseManagerDomain.js文件。
2,找到文件23行,修改对应下面函数。更改为如下代码:
-
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!
然后提示你注册成功!
本文提供了一种针对StarUML软件的破解方法,通过修改特定文件中的验证函数实现。适用于Mac版本,操作包括替换验证函数及输入指定的名称与密钥。
1万+

被折叠的 条评论
为什么被折叠?



