注入修改代码,白嫖按键精灵ios手机版

因为按键精灵ios手机版需要购买vip才能使用,于是自己动动手破jie了。

原理是修改用户模块的变量

用户模块的变量被我强制改成

	arg1.UserName = @"修改注入的名字!";
	arg1.IsActivated = [NSNumber numberWithInt:1];
	arg1.IsVIP = [NSNumber numberWithInt:1];
	arg1.VIPExpTime = @"2022-06-15";

注入方式是用theos编写tweak生成deb包。
从此白嫖这个软件。。。。
tweak代码如下:

@interface MAUser : NSObject
	
@property(copy, nonatomic) NSString *UserName; // @synthesize 
@property(copy, nonatomic) NSNumber *IsActivated; // @synthesize 
@property(copy, nonatomic) NSString *VIPExpTime; // @synthesize 
@property(copy, nonatomic) NSNumber *IsVIP; // @synthesize 

@end


%hook MAMineHeaderView
- (void)updateWithUser:(MAUser *)arg1 {
	arg1.UserName = @"修改注入的名字!";
	arg1.IsActivated = [NSNumber numberWithInt:1];
	arg1.IsVIP = [NSNumber numberWithInt:1];
	arg1.VIPExpTime = @"2022-06-15";
    %orig;
}
%end

生成tweak模板的时候bundle ID 指定为:com.cyjh.MobileAnjian

3 个赞

比起代码,我更想康康你的过程

4 个赞

这样的软件竟然没有防护,这么容易就破了吗

3 个赞

:eyes:感觉只是中看

这个类名都叫View了

有无展示使用流程呢?

1 个赞

啊这。。只改UI界面的显示也能■■软件吗?

恩,目前有些问题,待我重新搞一下

2 个赞

加油! 我也在玩这个应用,有时间可以一起交流 :grinning:

?????

1 个赞

只改UI显示,肯定不行

:joy:

这好像是。。。。改了个UI? :rofl:

我收到了暴击,我感觉我的高中文凭不保了(joke)