Unable to trace or spawn process
まだ誰も着手していません。
評価
- 難易度
- 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 に失敗するケースを比較します。プロセスに timeout やデバイスのハングアップなしで 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
- Unable to attach to any process
- Unable to spawn any process
- 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 はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
frida/frida-python のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
frida/frida-python#265 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
frida/frida-python#262 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
frida/frida-python#247 · コメント 2 件 · リアクション 2 件 ·
-
After a long period of hooking applications on Ubuntu, Python and JavaScript are unable to interact. オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
frida/frida-python#246 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
frida/frida-python#243 ·
frida/frida-python の issue をすべて見る
似ている issue
-
area: harness bug status: needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Human-Agent-Society/reef#625 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
learningequality/kolibri#15351 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Name consistency オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eellak/triplestore#65 · コメント 1 件 ·