IOS逆向安全(3)-小试插件无根越狱
nic.pl
Tweak.x
%hook AppDelegate // Hook应用入口
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
NSLog(@"微信已启动!");
return %orig;
}
%end
control
Package: com.tencent.xin
Name: tweak_wechat
Version: 0.0.1
Architecture: iphoneos-arm64
Description: An awesome MobileSubstrate tweak!
Maintainer: txf
Author: txf
Section: Tweaks
Depends: mobilesubstrate (>= 0.9.5000)
MakeFile
TARGET := iphone:clang:latest:7.0
ARCHS = arm64
THEOS_PACKAGE_SCHEME=rootless
export THEOS_DEVICE_IP=192.168.1.65
export THEOS_DEVICE_PORT=22
include $(THEOS)/makefiles/common.mk
TWEAK_NAME = tweakwechat
tweakwechat_FILES = Tweak.x
tweakwechat_CFLAGS = -fobjc-arc
include $(THEOS_MAKE_PATH)/tweak.mk
进入新建的项目
make clean && make && make package && make install
License:
杭州小单纯