Skip to content

frida.ProcessNotFoundError: unable to find process with name '*' #748

@martinmusil1219

Description

@martinmusil1219

Hi, I have a problem with the dev version of the Objection.
Used git to get the latest dev build, built agent, etc. Now when I want to start Objection (over USB), I get a Frida error:

c:\objection\agent>objection -d -n com.apple.AppStore start
[debug] Agent path is: C:\.TOOLS\.OTHER\Python\Lib\site-packages\objection\agent.js
[debug] agent config: AgentConfig(name='com.apple.AppStore', host=None, port=None, device_type='usb', device_id=None, foremost=False, spawn=False, pause=True, debugger=False, uid=None)
[debug] device determined as: Device(id="78ead7726d6724a75ac895aea31cc02ffbd0fff8", name="Apple iPad", type='usb')
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\.TOOLS\.OTHER\Python\Scripts\objection.exe\__main__.py", line 7, in <module>
    sys.exit(cli())
             ~~~^^
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\click\core.py", line 1442, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\click\core.py", line 1363, in main
    rv = self.invoke(ctx)
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\click\core.py", line 1830, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\click\core.py", line 1226, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\click\core.py", line 794, in invoke
    return callback(*args, **kwargs)
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\objection\console\cli.py", line 135, in start
    agent = get_agent()
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\objection\console\cli.py", line 35, in get_agent
    agent.run()
    ~~~~~~~~~^^
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\objection\utils\agent.py", line 340, in run
    self.set_target_pid()
    ~~~~~~~~~~~~~~~~~~~^^
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\objection\utils\agent.py", line 235, in set_target_pid
    self.pid = self.device.get_process(self.config.name).pid
               ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\frida\core.py", line 86, in wrapper
    return f(*args, **kwargs)
  File "C:\.TOOLS\.OTHER\Python\Lib\site-packages\frida\core.py", line 908, in get_process
    raise _frida.ProcessNotFoundError(f"unable to find process with name '{process_name}'")
frida.ProcessNotFoundError: unable to find process with name 'com.apple.AppStore'

Device is connected, frida-ps Uai shows all the processes, frida scripts run without any problems. The old objection release worked without problem but when tried the latest dev build, I have this Frida issue.

Did anyone face similar problems?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions