<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
有用!!!MARK
楼主 按照你的步奏来操作 到了第6步 我是这么做的
#include "InspCWrapper.m"
%hook HWRestClient
- (void)setAuthToken:(id)arg1 withPublicToken:(id)arg2{
NSLog(@"setAuthToken:%@ withPublicToken:%@",arg1,arg2);
watchClass(%c(SomeClass));
%orig;
}
%end
然后输出
Aug 7 16:03:28 Scholarde-iPhone HeyWire[18895]: [InspectiveC] Loading - Directory is "/var/mobile/Containers/Data/Application/3EFF8650-0D9B-4C15-9B76-0B43843C2C8F/Documents"
这个时候是不是已经成功了?
但是我进入应用的/Documents/InspectiveC目录下 log文件也存在,但是里面是空白的 请问怎么回事
Hook类已经成功了,楼主请问我想hook
- [HWRestClient setAuthToken]
该怎么做
对分析来讲很有帮助!
你们没有遇到这个错误吗?
InspectiveC.mm:568:1: error: C++ requires a type specifier for all declarations
MSInitialize {
^
InspectiveC.mm:568:13: error: expected ‘;’ after top level declarator
MSInitialize {
^
;
2 errors generated.
对于分析有帮助,不知道swift项目支持怎么样?
当然不支持…
注入闪退很多,而且使用命令行在远程iphone6情况下也是闪退不断
我碰到过,请问你解决了吗
能把你解决的方法说下嘛,谢谢!
使用最新的theos就可以了:Tutorial: Install the latest Theos step by step
我昨天就是这么跟你说的
可以编译成功张总的项目WTFJH,就是重启会白苹果.控制台也有输出,只是Introspy-Analyzer无法将deb解析成html.
laoshirendeMacBook-Air:introspy laoshiren$ python -m introspy -p ios -o new-html /Users/laoshiren/Desktop/introspy/123.db
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/introspy/__main__.py", line 7, in <module>
sys.exit(introspy.main())
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/introspy/__init__.py", line 122, in main
analyzedDB = DBAnalyzer(db_path, androidDb)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/introspy/DBAnalyzer.py", line 14, in __init__
super(DBAnalyzer, self).__init__(dbPath, androidDb)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/introspy/DBParser.py", line 47, in __init__
subgroup = APIGroups.find_subgroup(clazz, method)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/introspy/IOS_Utils/APIGroups.py", line 133, in find_subgroup
subgroup = cls.API_SUBGROUPS_MAP[method]
KeyError: u'sessionWithConfiguration:delegate:delegateQueue:'
laoshirendeMacBook-Air:introspy laoshiren$
另外一个只有8k的deb是可以解析的.不过没有数据
张总你分给我的deb是可以解析的哦;
看下系统日志,我这里master上的没问题。
analyzer的问题是我没做适配,正常的
还有一个问题是你开启了哪些分析模块
主要是网络的模块urlconnection session xmlparser
我开的就是这几个啊。iOS9.3.3
你看下crash日志呢
谢谢,没有crash哦,只有重启的时候会白苹果,应该和什么插件有冲突.我不重启测试控制台有输出的.就是deb不能解析了
不懂啥叫deb不能解析,那不是sql?
白苹果的话。这玩意儿跟很多同类分析工具冲突
说错了,是数据库解析html