能力值:
( LV5,RANK:70 )
|
-
-
2 楼
感谢share
|
能力值:
( LV3,RANK:20 )
|
-
-
3 楼
|
能力值:
( LV13,RANK:437 )
|
-
-
4 楼
我今天刚搭建frida,必须pip install frida-tools,才会生成frida.exe可执行文件。然后还遇到两个问题,向楼主请教下: 1. Java.perform 里面写的 send("***"),写在外层js代码中,python端就能接收到。但是写在被hook的方法中,就接收不到 2. var currentApplication =Dalvik.use("android.app.ActivityThread").currentApplication(); 想通过这个方式获取Application,但是报错提示——identifier 'Dalvik' undefined"
|
能力值:
( LV2,RANK:10 )
|
-
-
5 楼
https://bbs.pediy.com/thread-246141.htm 楼主 能不能帮我看下这个是什么问题?
|
能力值:
( LV3,RANK:20 )
|
-
-
6 楼
奔跑的阿狸
我今天刚搭建frida,必须pip install frida-tools,才会生成frida.exe可执行文件。然后还遇到两个问题,向楼主请教下:
1. Java.perform 里面写的 sen ...
第一个描述的问题我没理解您的意思,send函数是js代码,必须在js环境中才有输出结果。 第二个问题,你把Dalvik换成Java就应该可以了,在frida里面好像确实没有定义Dalvik。
|
能力值:
( LV13,RANK:437 )
|
-
-
7 楼
js_code = '''
Java.perform(function(){
send("Enter JS Code Runtime")
var hook_Activity = Java.use('com.hello.kittyActivity');
var mt_context;
hook_Activity.onCreate.implementation = function(arg){
send("enter oncreate");
this.onCreate(arg);
}
send("JS Code Runtime End")
});
''' 您好,大概的demo就是上面的,然后实际测试结果是: send("Enter JS Code Runtime"),能接收到 send("enter oncreate");,接收不到 send("JS Code Runtime End"),能接收到
|
能力值:
( LV13,RANK:437 )
|
-
-
8 楼
onCreate函数肯定是执行了的, 我如果修改onCreate里面的调用代码,是会引起界面反应的
|
能力值:
( LV3,RANK:20 )
|
-
-
9 楼
你把function(arg)换成不带参数的function()试一下。
|
能力值:
( LV2,RANK:10 )
|
-
-
10 楼
C:\Users\Administrator>python "C:\Users\Administrator\Desktop\frida demo\frida npack-master\frida_unpack.py" com.xiaocongapp.chain dex 导出目录为: /data/data/com.xiaocongapp.chain Traceback (most recent call last): File "C:\Users\Administrator\Desktop\frida demo\frida-unpack-master\frida_un ck.py", line 19, in <module> pid = device.spawn(package) File "D:\Program Files\Python36\lib\site-packages\frida\core.py", line 98, i spawn return self._impl.spawn(program, argv, envp, env, cwd, stdio, aux_options) frida.TransportError: the connection is closed
C:\Users\Administrator> 楼主知道是什么原因?链接其他正常 导出函数就不行
|
能力值:
( LV2,RANK:10 )
|
-
-
11 楼
感谢楼主这篇帖子,我说之前用好好的一更新提示command not found了。。。原来frida 12.0 把两个部分拆开了
|
能力值:
( LV5,RANK:60 )
|
-
-
12 楼
C:\Users\test>pip install frida
Collecting frida
Installing collected packages: frida
Successfully installed frida-12.2.1
C:\Users\test>pip install frida-tools
Collecting frida-tools
Downloading https://files.pythonhosted.org/packages/32/34/f6ce58434dd01996f55aae1b74a9d2ff8dc8ed93e655916e19707cd627c1/frida-tools-1.2.1.tar.gz
Requirement already satisfied: colorama<1.0.0,>=0.2.7 in e:\python-code\venv\lib\site-packages (from frida-tools) (0.3.9)
Requirement already satisfied: frida<13.0.0,>=12.1.0 in e:\python-code\venv\lib\site-packages (from frida-tools) (12.2.1)
Collecting prompt-toolkit<2.0.0,>=0.57 (from frida-tools)
Using cached https://files.pythonhosted.org/packages/04/d1/c6616dd03701e7e2073f06d5c3b41b012256e42b72561f16a7bd86dd7b43/prompt_toolkit-1.0.15-py3-none-any.whl
Collecting pygments<3.0.0,>=2.0.2 (from frida-tools)
Using cached https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl
Requirement already satisfied: six>=1.9.0 in e:\python-code\venv\lib\site-packages (from prompt-toolkit<2.0.0,>=0.57->frida-tools) (1.11.0)
Collecting wcwidth (from prompt-toolkit<2.0.0,>=0.57->frida-tools)
Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl
Building wheels for collected packages: frida-tools
Running setup.py bdist_wheel for frida-tools ... done
Stored in directory: C:\Users\test\AppData\Local\pip\Cache\wheels\75\81\7b\210869bbc6b9f43a712b2dc9b44cd51a78f433ee9a612695e1
Successfully built frida-tools
Installing collected packages: wcwidth, prompt-toolkit, pygments, frida-tools
Successfully installed frida-tools-1.2.1 prompt-toolkit-1.0.15 pygments-2.2.0 wcwidth-0.1.7
C:\Users\test>frida-ps
***
Failed to load the Frida native extension: DLL load failed: 找不到指定的模块。 有遇到类似的兄弟么? 显示找不到指定模块
python 3.5.3
最后于 2018-9-13 23:51
被endlif编辑
,原因:
|
能力值:
( LV6,RANK:80 )
|
-
-
13 楼
mark
|
能力值:
( LV2,RANK:10 )
|
-
-
14 楼
endlif
C:\Users\test>pip install frida
Collecting frida
Insta ...
你好,这个问题怎么解决
|
能力值:
( LV2,RANK:10 )
|
-
-
15 楼
卡住了 可以用全局 pr(富强)ox(民主)y 试一试
|
能力值:
( LV2,RANK:10 )
|
-
-
16 楼
endlif
C:\Users\test>pip install frida
Collecting frida
Insta ...
看来是python版本问题,安装python3.7.x版本可以解决
最后于 2019-9-30 16:05
被airbus编辑
,原因:
|
|
|