lightroom分析学习

lightroom分析学习

gyc Lv2

起因
本来用qiuchenly大佬的注入库,注入后应用程序崩溃,应该是代码没有适配最新的lightroom 7.2,又不想降级应用,所以就自己研究看看怎么实现的。

准备工作

vscode
Hopper Disassemble
ida free 8.4

开始分析

先在vscode搜索关键字 :您的试用期限已结束,编辑功能已禁用 现在购买

发现没有什么实际有用的String
尝试在hopper中直接搜索中文也无果

尝试搜索试用的英文:Trial

发现有用的字符串,按x查看引用,找到关键函数:get_licenseType

可以看到如果走到 loc_1001197c6 是trial_expired,如果走到loc_10011972c,就是trial模式,所以思路就是让程序默认走到trial的函数。

cfg模式可以看到 ,trial函数有两条路可以跳转,当然优先在上一级就直接跳转过来,我们直接修改000000010011970e je loc_10011972c —–>> jne loc_10011972c

然后直接 保存打包替换启动!编辑功能已经可用。

破解流程比较简单,可以使用qiuchenly大佬的注入库,搞成优雅的注入破解。

  • Title: lightroom分析学习
  • Author: gyc
  • Created at : 2024-08-24 19:07:05
  • Updated at : 2024-09-19 14:23:51
  • Link: https://gyc.660624.xyz/2024/08/24/lightroom分析学习/
  • License: This work is licensed under CC BY-NC-SA 4.0.
Comments
On this page
lightroom分析学习