当前位置: 首页 > 知识库问答 >
问题:

python3 import。frida 报错?

艾敏学
2023-08-05
>>> import frida***Failed to load the Frida native extension: dlopen(/Users/stephen/Library/Python/3.8/lib/python/site-packages/_frida.abi3.so, 2): no suitable image found.  Did find:    /Users/stephen/Library/Python/3.8/lib/python/site-packages/_frida.abi3.so: mach-o, but wrong architecture    /Users/stephen/Library/Python/3.8/lib/python/site-packages/_frida.abi3.so: mach-o, but wrong architecturePlease ensure that the extension was compiled correctly***Traceback (most recent call last):  File "<stdin>", line 1, in <module>  File "/Users/stephen/Library/Python/3.8/lib/python/site-packages/frida/__init__.py", line 16, in <module>    raise ex  File "/Users/stephen/Library/Python/3.8/lib/python/site-packages/frida/__init__.py", line 4, in <module>    import _fridaImportError: dlopen(/Users/stephen/Library/Python/3.8/lib/python/site-packages/_frida.abi3.so, 2): no suitable image found.  Did find:    /Users/stephen/Library/Python/3.8/lib/python/site-packages/_frida.abi3.so: mach-o, but wrong architecture    /Users/stephen/Library/Python/3.8/lib/python/site-packages/_frida.abi3.so: mach-o, but wrong architecture

共有1个答案

长孙逸仙
2023-08-05

看了下你的问题描述,在Python安装目录C:\Program Files\Python37\Lib\site-packages中未找到frida-12.4.0-py3.7-win-amd64.egg文件,该文件是运行frida所必需的。即使执行了"pip install frida"和"pip install frida-tools"命令,该文件也未被下载。
所以,我们需要手动下载这个文件,并将之前下载的frida egg文件复制到Python安装目录C:\Program Files\Python37\Lib\site-packages中。完成后,执行"frida-ps"命令,即可成功显示计算机当前进程。

 类似资料:
  • Awesome Frida A curated list of awesome projects, libraries, and tools powered by Frida. What is Frida? Frida is Greasemonkey for native apps, or, put in more technical terms, it’s a dynamic code inst

  • & also output examples Table of Contents Native Load C/C++ module One time watchpoint Socket activity Intercept open Execute shell command List modules Log SQLite query Log method arguments Intercept

  • 《Frida操作手册》 PS:by : @hluwa @r0ysue changelog: date log 2019-5-4 4.4 FRIDA脚本系列(四)更新篇:几个主要机制的大更新 2019-3-29 4.3 FRIDA脚本系列(三)超神篇:百度AI“调教”抖音AI 2019-1-16 Brida操作指南 2019-1-11 4.2 FRIDA脚本系列(二)成长篇:动静态结合逆向Whats

  • 我试图在。ics文件中实现警报()。其思想是,每当在系统中创建指定的记录时,就会发送带有邀请的自动电子邮件。该事件工作正常,它正在发送,我能够添加到日历(谷歌日历和iPhone/Mac日历)。 所以问题是:是谷歌和苹果忽视了这些VALARM组件,还是我做错了什么? 我是否正确理解这个带有动作的警报应该只是在浏览器(谷歌日历)和日历应用程序中向我显示一个弹出窗口? 我的文件正文: null

  • 错误日志对于发现程序中的错误是非常有帮助的,但是有些时候它也会将应用程序的结构暴露给外部。为了有效的保护你的应用程序不受到由此而引发的问题。你需要将在你的服务器上使用开发和生产(线上)两套不同的配置。 开发环境 为了在开发环境中显示所有可能的错误,将你的 php.ini 进行如下配置: display_errors = On display_startup_errors = On error_re