Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Unable to trace or spawn process

未关闭
#144 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
android, python

调研方向

首先,使用 frida 12.0.7 和 frida-server-12.0.7-android-arm64 重现报告中的 frida-ps -Uai、frida-trace、attach-pid 和 spawn 命令。将正常工作的进程列表与 attach 和 spawn 失败的情况进行比较;当可以在不发生超时或设备卡死的情况下对进程执行 attach 和 spawn 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Hi everyone !

Great tool, have been working with this for sometime now ( 2 months ).

However before updating to version 12.0.7, I was able to work fine on my lenovo k3 note.
However now, only frida-ps works and nothing else.

I tried using the process name from there to run frida-trace on it but in vain.
Also both the versions are same on the device and on python.
First I installed the python-frida_12.0.7-1.ubuntu-bionic_amd64.deb package but it didn't work so now I installed using pip install -U frida-tools

Output on my terminal :
$uname -a
Linux kali 4.15.0-kali2-amd64 #1 SMP Debian 4.15.11-1kali1 (2018-03-21) x86_64 GNU/Linux

$frida --version
12.0.7
$frida-ps --version
12.0.7
$frida-trace --version
12.0.7

$ frida -U --no-pause -f net.one97.paytm
     ____
    / _  |   Frida 12.0.7 - 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: timeout was reached        

$frida-trace -f net.one97.paytm -i "recv*" -i "read*"
Failed to spawn: unable to find executable at 'net.one97.paytm'  

$frida-ps -Uai
~~~~~ SNIP ~~~~~
4154  Setup Wizard                            com.lenovo.setupwizard                                        
2251  System Daemon Service                   com.lenovo.systemdaemonservice                                
1324  System UI                               com.android.systemui                                          
4319  System Update                           com.lenovo.ota                                                
3580  Tasks                                   com.google.android.apps.tasks                                 
1348  User Dictionary                         com.android.providers.userdictionary                          
3736  Wallpapers                              com.google.android.apps.wallpaper                             
~~~~~ SNIP ~~~~~
4906  Paytm                                   net.one97.paytm
...
$frida-trace --attach-pid=4906  -i "recv*" -i "read*" 
Failed to attach: unable to find process with pid 4906
Output on my mobile
root@K50a40:/data/tmp # id
uid=0(root) gid=0(root) groups=0(root) context=u:r:su:s0
root@K50a40:/data/tmp # ./frida-server                                         

Problems

  1. Unable to attach to any process
  2. Unable to spawn any process
  3. Once spawned command is issued, device just hangs and have to remove the battery to restart ( thank god I didn't have those irreplaceable battery mobiles )

Only thing that works is frida-ps -Uai

P.S.
I am using frida-server-12.0.7-android-arm64 on my device.
Thanks.

主要语言
Python
星标
873
派生
173
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

frida/frida-python 的其他 Issue

查看 frida/frida-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。