frida.ProcessNotRespondingError: process with pid

使用python 启动frida,

fv = frida.get_usb_device(-1)
# 获取在前台运行的APP 这样就不需要每次去改
front_app = fv.get_frontmost_application()
print("===正在运行的应用为:", front_app)
process = fv.attach(front_app.pid)  # frida版本15之后 这里传进程名或者进程id

script = process.create_script(test)
script.on('message', on_message)
script.load()
# 使程序保持运行状态
sys.stdin.read()

报异常  frida.ProcessNotRespondingError: process with pid --- 

解决:参考 https://github.com/frida/frida/issues/1719

 

 重启手机,重启frida-server,即可解决

原因:应该是frida自身问题。重启解决。

 


posted @ 2022-01-18 14:46  爱吃猫的鱼i  阅读(1712)  评论(0编辑  收藏  举报