Quantcast
Channel: 睿论坛 - 最新话题
Viewing all articles
Browse latest Browse all 5731

狗神 SMSNinja源码中的短信拦截

$
0
0

@chen wrote:

@snakeninny
狗神 我照着你的源码中 做IOS8.3的短信拦截

%group SNIncomingMessageHook_5_6_7_8
%hook IMDServiceSession
- (void)didReceiveMessage:(id)message forChat:(NSString *)arg2 style:(unsigned char)arg3 // incoming iMessage_5/message_6_7_8
{
%log;
%orig;
NSLog(@"zenmebannnnnn");
}
%end
%end

%hook IMDaemon
- (void)_loadServices
{
%orig;
%init(SNIncomingMessageHook_5_6_7_8);
}
%end

结果却报错 error: non-initialized hook group: _ungrouped
查遍了 一头雾水啊 跪请狗神解答··

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5731

Trending Articles