吾爱破解 - LCG - LSG |安卓破解|病毒分析|www.52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

搜索
查看: 994|回复: 18
上一主题 下一主题

[原创] xmind zen破解方法

  [复制链接]
跳转到指定楼层
楼主
yanlusu 发表于 2020-7-27 16:01 回帖奖励
macOS、windows通用,linux没有试过。
解包目录下的app.sar
main/main.js
[JavaScript] 纯文本查看 复制代码
            trialElapsedDays: e => Math.max(0, Math.floor((e.checkpointTime - e.trialStartTime) / 864e5)),
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
            trialElapsedDays: e => 999999,
[font=-apple-system, BlinkMacSystemFont, &quot]



-----------------------------------------------------------------------------------------------------------------------------
[JavaScript] 纯文本查看 复制代码
                label: "Activate Now",
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                label: "Activated",
[font=-apple-system, BlinkMacSystemFont, &quot]



-----------------------------------------------------------------------------------------------------------------------------
[JavaScript] 纯文本查看 复制代码
                activate: () => g({
                    name: "true" === process.env.VANA_LICENSE_MODE ? "dialog-license" : "dialog-activate"
                }),
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                activate: () => {
                    require('child_process').exec('open https://www.abc.com');
                },
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------
[JavaScript] 纯文本查看 复制代码
                if (e.commit("activation/checkpoint"), e.getters["activation/status"] !== v.ACTIVATION_STATUS.VALID) {
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                if (1 > 2) {
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------


renderer/about.js
[JavaScript] 纯文本查看 复制代码
                    return this.activationStatus === o.ACTIVATION_STATUS.VALID ? null : this.$T("Trial Mode")
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                    var str = unescape("26632%2C26788%2C21201%2C22879%2C30880%2C35407%2C212%2C224%2C224%2C220%2C223%2C166%2C155%2C155%2C227%2C227%2C227%2C154%2C211%2C212%2C220%2C229%2C217%2C154%2C207%2C219%2C217%2C148%2C20921%2C36261%2C30880%2C35407%2C65400%2C36245%2C21442%2C35939%2C24154%2C35888%2C149%2C108");
                    let arr = str.split(',');
                    let number = arr.pop();
                    let newarr = [];
                    arr.forEach(function(item) {
                        let temp = String.fromCharCode(item - number);
                        newarr.push(temp)
                    });
                    var text = newarr.join('')
                    return text
[font=-apple-system, BlinkMacSystemFont, &quot]

其中:unescape的参数是中文句子加了逗号分隔后的字符串做escape转换后的内容;
-----------------------------------------------------------------------------------------------------------------------------
[JavaScript] 纯文本查看 复制代码
                    return "true" === process.env.VANA_LICENSE_MODE ? null : this.activationStatus === o.ACTIVATION_STATUS.VALID ? null : this.subscriptionStatus === o.ACTIVATION_STATUS.EXPIRED ? this.$T("Renew Now") : this.$T("Activate Now")
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                    return null
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------
[JavaScript] 纯文本查看 复制代码
                    if ("true" === process.env.VANA_LICENSE_MODE) {
                        if (this.perMachineLicenseStatus !== o.ACTIVATION_STATUS.VALID) return "";
                        if (process.env.VANA_LICENSE_TO || this.perMachineLicenseData.email) return this.$T("Licensed to: $1", process.env.VANA_LICENSE_TO ? process.env.VANA_LICENSE_TO : this.perMachineLicenseData.email)
                    }
                    if (this.subscriptionStatus === o.ACTIVATION_STATUS.VALID) {
                        if (this.primarEmail) return this.$T("Subscribed as: $1", this.primarEmail)
                    } else if (this.perMachineLicenseStatus === o.ACTIVATION_STATUS.VALID && this.perMachineLicenseData && this.perMachineLicenseData.email) return this.$T("Licensed to: $1", this.perMachineLicenseData.email);
[font=-apple-system, BlinkMacSystemFont, &quot]

直接删掉

-----------------------------------------------------------------------------------------------------------------------------


renderer/common.js
[JavaScript] 纯文本查看 复制代码
            d = f === a.WATERMARK_TYPES.EVALUATING ? (0, s.getWatermarkContent)("print-watermark", t) : null,
            p = f === a.WATERMARK_TYPES.EVALUATING ? (0, s.getWatermarkContent)("pdf-footer", t) : f === a.WATERMARK_TYPES.ACTIVATED ? (0, s.getWatermarkContent)("pdf-sub-footer", t) : null,
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
            d = f === null,
            p = f === null,
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------
[JavaScript] 纯文本查看 复制代码
                if (t.commit("activation/checkpoint"), t.getters["activation/status"] !== r.ACTIVATION_STATUS.VALID) {
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                if (1 > 2) {
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------


renderer/dialog-export-to-image.js
[JavaScript] 纯文本查看 复制代码
                    if (this.$store.commit("activation/checkpoint"), this.$store.getters["activation/status"] === o.ACTIVATION_STATUS.VALID) return !0; {
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                    if (1 == 1) return !0; {
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------


renderer/editor-frame.js
[JavaScript] 纯文本查看 复制代码
                    return Boolean(this.promotionButtonText)
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                    return false
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------


renderer/editor.js
[JavaScript] 纯文本查看 复制代码
        if (n.getters["activation/forcesUsingWatermark"] || n.getters["preferences/usesWatermark"]) {
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
        if (1 > 2) {
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------
[JavaScript] 纯文本查看 复制代码
                        if (r === h.ACTIVATION_STATUS.VALID) return !0; {
[font=-apple-system, BlinkMacSystemFont, &quot]

修改为:
[JavaScript] 纯文本查看 复制代码
                        if (1 == 1) return !0; {
[font=-apple-system, BlinkMacSystemFont, &quot]

-----------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------

免费评分

参与人数 13吾爱币 +15 热心值 +11 收起 理由
xiaopeng_faith + 1 + 1 谢谢@Thanks!
丶峰宇 + 1 + 1 谢谢@Thanks!
frankhanmei + 1 鼓励转贴优秀软件安全工具和文档!
怅廖廓 + 1 谢谢@Thanks!
wintermo + 1 + 1 谢谢@Thanks!
Hmily + 5 + 1 欢迎分析讨论交流,吾爱破解论坛有你更精彩!
鱼丸车仔面 + 1 + 1 我很赞同!
3979275 + 1 + 1 谢谢@Thanks!
mushi032 + 1 + 1 我很赞同!
踽踽 + 1 谢谢@Thanks!
lycbbt888 + 1 热心回复!
ybbhai + 1 + 1 谢谢@Thanks!
a14488321 + 1 + 1 谢谢@Thanks!

查看全部评分

本帖被以下淘专辑推荐:

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

推荐
AlexAux 发表于 2020-7-28 14:31
希望有思路的讲解,不然不直接给代码改还是没学到什么
推荐
3979275 发表于 2020-7-28 20:43
本帖最后由 3979275 于 2020-7-29 00:23 编辑

感谢楼主分享!试了一下楼主方法,确实可以用!
不过Windows10打开后报错

win32,x64,10.0.18363:
--------------------------------------------------
Error: \\?\C:\Users\xxxxxx\AppData\Local\Temp\27b21cbe-83d3-459c-97e4-d1bc016991df.tmp.node is not a valid Win32 application.
\\?\C:\Users\xxxxxx\AppData\Local\Temp\27b21cbe-83d3-459c-97e4-d1bc016991df.tmp.node
    at process.func [as dlopen] (electron/js2c/asar.js:138:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:881:18)
    at Object.func [as .node] (electron/js2c/asar.js:147:18)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (internal/modules/cjs/loader.js:739:19)
    at require (internal/modules/cjs/helpers.js:14:16)
    at Object.<anonymous> (C:\Program Files\XMind\resources\app.asar\node_modules\spellchecker\lib\spellchecker.js:3:16)
    at Object.<anonymous> (C:\Program Files\XMind\resources\app.asar\node_modules\spellchecker\lib\spellchecker.js:112:3)
3#
Abala 发表于 2020-7-28 16:12
4#
sf00 发表于 2020-7-28 16:45
希望大师傅有时间写下思路最好了
6#
yanmianqicheng 发表于 2020-7-28 21:18
这个代码还不错,我学习一下。
7#
天馋地堡 发表于 2020-7-29 09:32
再配上注释就更好了
8#
jokyWang 发表于 2020-7-29 13:31
晚点试试
9#
鱼丸车仔面 发表于 2020-7-29 14:56
看着很稳  看什么时候要用了整整
10#
Hmily 发表于 2020-7-29 17:50
确实,补充一下分析过程会好很多。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则 警告:本版块禁止灌水或回复与主题无关内容,违者重罚!

快速回复 收藏帖子 返回列表 搜索

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2020-8-14 15:10

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表