objection icon indicating copy to clipboard operation
objection copied to clipboard

启动objection时候,我打印frida的基本信息报错,但是打印env没有报错

Open L-kook opened this issue 3 years ago • 6 comments

com.android.settings on (Android: 8.0.0) [usb] # frida An unexpected internal exception has occurred. If this looks like a code related error, please file a bug report! 'filename'

Python stack trace: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/objection/console/repl.py", line 371, in start_repl self.run_command(document) File "/usr/local/lib/python3.9/dist-packages/objection/console/repl.py", line 185, in run_command exec_method(arguments) File "/usr/local/lib/python3.9/dist-packages/objection/commands/frida_commands.py", line 38, in frida_environment ('Script Filename', frida_env['filename']), KeyError: 'filename'

L-kook avatar Mar 31 '22 02:03 L-kook

How did you install objection?

CDuPlooy avatar Apr 05 '22 16:04 CDuPlooy

me too,I alse meet this problem,and I install objection bypip3 install objection

saucer-man avatar Apr 16 '22 11:04 saucer-man

frida版本过高,我之前用的python 3.10和frida15.1.17,切换到了python 3.7,frida=14.2.18后可以正运行

Irhtn avatar May 09 '22 12:05 Irhtn

Make sure you are running the latest version of objection. Since at least v 1.11.0 that key is no longer available. Update with pip3 install -U objection.

leonjza avatar Jun 13 '22 11:06 leonjza

Apologies, I spotted the bug now! Thanks!

leonjza avatar Jun 13 '22 11:06 leonjza

Actually, I'm confused by this one. We're referencing the key here, and even if it were null, it's populated here. Will debug.

leonjza avatar Jun 13 '22 11:06 leonjza