能力值:
( LV2,RANK:10 )
2 楼
支持一下
能力值:
( LV3,RANK:20 )
3 楼
楼主,你的legu,360的样本是最新版吗?可悲的是,frida低版本的安卓Android 4.0.4+ 兼容性不好.
能力值:
( LV2,RANK:10 )
4 楼
66666
能力值:
( LV3,RANK:20 )
5 楼
东西很不错。
最后于 2018-7-22 22:03
被小琦编辑
,原因:
能力值:
( LV2,RANK:10 )
6 楼
oncreate能还原?
能力值:
( LV2,RANK:10 )
7 楼
我尝试了js代码
Interceptor.attach(Module.findExportByName("libart.so", "_ZN3art7DexFile10OpenMemoryEPKhjRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEjPNS_6MemMapEPKNS_10OatDexFileEPS9_"), {
onEnter: function (args) {
},
onLeave: function (retval) {
}
});
系统是4.4或者5.0的都尝试了。都是弹出同样的报错。{u'columnNumber': 1, u'description': u'Error: expected a pointer', u'fileName': u'frida/runtime/core.js', u'lineNumber': 471, u'type': u'error', u'stack': u'Error: expected a pointer\n at frida/runtime/core.js:471\n at script1.js:10'}
但是测试其他native hook,如下
Interceptor.attach(Module.findExportByName("libc.so" , "open"), { 就正常
有知道原因的吗?
楼主有联系方式吗?需要咨询点问题
最后于 2018-7-29 17:58
被Gino_859435编辑
,原因:
能力值:
( LV4,RANK:44 )
8 楼
不行啊,我frida 10.6.52版本,android 7.0下脱libshella2.8的壳手机总是重启.
======================
重启解决了,但是还是报错Failed to spawn: unexpectedly timed out while waiting for app to launch
======================
干脆换模拟器没有超时的报错了,但是又有新的问题。
Spawned `com.xxx.xxx`. Resuming main thread!
[Unknown sdk_google_phone_armv7::com.xxx.xxxxxxx]-> magic : dex
035
dex_size :14568192
Error: failed to open file (No such file or directory)
at repl1.js:22
magic : dex
035
dex_size :292
Error: failed to open file (No such file or directory)
at repl1.js:22
最后于 2018-7-31 15:13
被xeldax编辑
,原因:
能力值:
( LV2,RANK:10 )
9 楼
xeldax
不行啊,我frida 10.6.52版本,android 7.0下脱libshella2.8的壳手机总是重启.======================重启解决了 ...
device = frida.get_usb_device(10) 连接时,修改下超时时间。默认是0
能力值:
( LV4,RANK:44 )
10 楼
这个是设置过了但还是不行,我后来干脆换了安卓模拟器就好了,但是还是有报错。 Error: failed to open file (No such file or directory) at repl1.js:22 我还卡在这里
能力值:
( LV4,RANK:44 )
11 楼
成功了,可以用了,我犯蠢文件夹没改
能力值:
( LV2,RANK:10 )
12 楼
D:\frida-unpack-master>frida -R -f com.android.browser -l OpenMemory.js --no-pause ____ / _ | Frida 12.0.8 - A world-class dynamic instrumentation toolkit | (_| | > _ | Commands: /_/ |_| help -> Displays the help system . . . . object? -> Display information about 'object' . . . . exit/quit -> Exit . . . . . . . . More info at http://www.frida.re/docs/home/ Spawned `com.android.browser`. Resuming main thread! [Remote::com.android.browser]-> Error: access violation accessing 0xf35a8 at repl1.js:14 Error: access violation accessing 0xc539c at repl1.js:14 [Remote::com.android.browser]-> [Remote::com.android.browser]-> 各位好,我执行始终报内存不能访问。换了模拟器,虚拟机都不行。
能力值:
( LV2,RANK:10 )
13 楼
C:\Users\Administrator>python C:\Users\Administrator\Desktop\frida-unpack-master \frida-unpack-master\frida_unpack.py com.jlzb.android File "C:\Users\Administrator\Desktop\frida-unpack-master\frida-unpack-master\f rida_unpack.py", line 9 print hex(base),size ^ SyntaxError: invalid syntax 我安卓7.0的 n5 试了这个 不行 请问是什么原因?
能力值:
( LV2,RANK:10 )
14 楼
ex 导出目录为: /data/data/com.waqu.android.firebull raceback (most recent call last): File "D:\Program Files\Python36\lib\site-packages\frida\core.py", line 295, in _on_message callback(message, data) File "C:\Users\Administrator\Desktop\frida-unpack-master\frida-unpack-master\f ida_unpack.py", line 7, in on_message base = message['payload']['base'] keyError: 'payload' 这是关键词不存在?
能力值:
( LV2,RANK:10 )
15 楼
总是 报权限不足,无法创建 或者 无法打开文件。怎么办?
能力值:
( LV2,RANK:10 )
16 楼
{'type': 'error', 'description': 'Error: failed to open file (Permission denied)
', 'stack': 'Error: failed to open file (Permission denied)\n at script1.js:1
3', 'fileName': 'script1.js', 'lineNumber': 13, 'columnNumber': 1}
能力值:
( LV2,RANK:10 )
17 楼
linlon
{'type': 'error', 'description': 'Error: failed to open file (Permission denied)
', 'stack': 'Error ...
设置-》应用-》找到APP,给它读写权限
能力值:
( LV2,RANK:10 )
18 楼
____
/ _ | Frida 12.0.8 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at http://www.frida.re/docs/home/
Failed to spawn: the 'argv' option is not supported when spawning Android apps
原来是sever版本不对,更新后又提示
access violation:
Spawned `com.ionicframework.cgbank122507`. Resuming main thread! Error: access violation accessing 0x130d4 at repl1.js:14 Error: access violation accessing 0x130d4 at repl1.js:14 Error: access violation accessing 0x63bd44 at repl1.js:14
问题有待分析,换了个手机,终于脱壳成功了,感谢楼主!
最后于 2018-8-17 18:55
被wxfishso编辑
,原因:
能力值:
( LV2,RANK:10 )
19 楼
chmlqw
设置-》应用-》找到APP,给它读写权限
太感谢了,确实是这个原因
但是我想把文件输出的时候,又提示 没有这个属性
AttributeError: 'Session' object has no attribute 'read_bytes'
查了下 py源码,确实是没有,文档中也没有,是版本问题吗?
能力值:
( LV2,RANK:10 )
20 楼
知道了 def on_message(message ,data): print (message) f = open("1.luc","wb") f.write(data) f.close() 这样写就没问题了
能力值:
( LV2,RANK:10 )
21 楼
linlon
知道了
def on_message(message ,data):
print (message)
f = open("1.luc","wb&q ...
你用的是模拟器 还是手机的?
能力值:
( LV3,RANK:20 )
22 楼
真机 7.1.2 arm64 的 不用改吃成64位OpenMemory的签名 不然会报错。
用
inject.sh com.xx.xx OpenMemory.js
Usage: ./inject.sh packageName xx.js
____
/ _ | Frida 12.1.1 - A world-class dynamic instrumentation toolkit
| (_| |
> _ | Commands:
/_/ |_| help -> Displays the help system
. . . . object? -> Display information about 'object'
. . . . exit/quit -> Exit
. . . .
. . . . More info at http://www.frida.re/docs/home/
Spawning ` com.xx.xx`...
Spawned ` com.xx.xx`. Resuming main thread!
[Huawei Nexus 6P::com.xx.xx]-> magic : dex
035
dex_size :995208
magic : dex
035
dex_size :995208
magic : qh
dex_size :879191396
Error: breakpoint triggered
at /repl1.js:27
magic : dex
035
dex_size :5154472
magic : dex
035
dex_size :5154472
magic : dex
035
dex_size :259656
magic : dex
035
dex_size :324
magic : dex
035
dex_size :324
magic : dex
035
dex_size :5154472
magic : dex
035
dex_size :995208
magic : dex
035
dex_size :995208
能力值:
( LV2,RANK:10 )
23 楼
牛逼支持一个
能力值:
( LV2,RANK:10 )
24 楼
Traceback (most recent call last): File "E:\Python27\lib\site-packages\frida\core.py", line 295, in _on_message callback(message, data) File "F:/code/untitled/frida-unpack-master/frida_unpack.py", line 7, in on_message base = message['payload']['base'] KeyError: 'payload' 请问这个怎么破啊?
能力值:
( LV2,RANK:10 )
25 楼
可用,成功,支持一个