StarUML2 建模工具全平台破解及license验证简要分析
2016-01-11 23:43
429 查看
破解方法:
找到安装目录下的文件: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;
}
}
找到安装目录下的文件: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;
}
}
相关文章推荐
- mark一下:csdn博客访问量约100万, 积分约2万, 评论约1000条, 排名约200
- 资源收集
- js-变量、作用域和内存问题,引用类型
- 幻方
- 改变PS1变量的颜色
- 网络舆情分析师
- HDU【1875】畅通工程再续
- 数据存储
- [每日电路图] 2、红外遥控电路原理设计与解析【转+解读】
- Java学习——继承
- mysql ERROR 1045 (28000): Access denied for user解决方法
- 服务端开发小感
- Android插件化开发之Atlas初体验
- GPUImage滤镜之锐化
- Java final关键字声明的意义
- 说说常用的服务器操作
- 欧几里得扩展算法
- 计算机学习视频教程
- 2016第2周一
- c++中关于char数组/char*指针/string类型 之间的爱恨情