Closed moondrink closed 2 years ago
环境:frida 15.1.2,对象顺丰速运 在choose函数中target.identifier的值是包名 Application(identifier="com.sf.activity", name="顺丰速运", pid=14246, parameters={}) 但是在device.enumerate_processes()中process的name值却是“顺丰速运”,而非包名"com.sf.activity",导致匹配失败。 建议在choose函数处理如下 if pid is None and pkg is None: target = device.get_frontmost_application() pid = target.pid
-n 顺丰速运 设置下包名
环境:frida 15.1.2,对象顺丰速运 在choose函数中target.identifier的值是包名 Application(identifier="com.sf.activity", name="顺丰速运", pid=14246, parameters={}) 但是在device.enumerate_processes()中process的name值却是“顺丰速运”,而非包名"com.sf.activity",导致匹配失败。 建议在choose函数处理如下 if pid is None and pkg is None: target = device.get_frontmost_application() pid = target.pid
return target.pid, target.identifier