闲着没事拿 知了im 练练手

春节快到了是不是又有红包抢了.

知了im 自动抢红包.

直接上源码

%hook WFCCNetworkService
- (void)onReceiveMessage:(id)arg1 hasMore:(_Bool)arg2 {
    
    NSArray *datas = [NSArray arrayWithArray:arg1];
    
    WFCCMessage *msg = datas.lastObject;
    
    NSObject *obj = msg.content;
    
    NSString *obj_cls = NSStringFromClass(obj.class);
    
    if ([obj_cls isEqualToString:@"WFCCRedpacketMessageContent"]) {
        
        WFCCRedpacketMessageContent *msgContent = obj;

        [%c(RPRedpacketReceiver) grabRedpacket:msgContent andGrabBlock:nil];
        
    }

    %orig;
    
}
%end
1 Like

这有用吗?能直接抢红包?

绝对可以的.

大佬你是用什么工具获取这些代码的,求教求文档求学习