1
2
3
4
5
6
7
8
9
10
11
12
13
14
@import com.saurik.substrate.MS
MS.hookMessage(QIMService,@selector(postRegisteNotification:Object:userInfo:), function(arg1, arg2, arg3){
var url = [NSURL URLWithString:[NSString stringWithFormat:@"https://httpbin.org/post"]];
var request =[NSMutableURLRequest requestWithURL:url];
request.HTTPMethod = @"POST";
var args = [NSString stringWithFormat:@"arg1=%@&arg2=%@&arg3=%@",[arg1 description], [arg2 description], [arg3 description]];
request.HTTPBody = [args dataUsingEncoding:NSUTF8StringEncoding];

var session = [NSURLSession sharedSession];
var sessionDataTask = [session dataTaskWithRequest:request completionHandler:nil];
[sessionDataTask resume];


}, NULL)
1
http://www.52pojie.cn/thread-441666-1-1.html

主要依赖QQMessageModel