Skip to content

iOS SSL Pinning Error: TypeError: cannot read property 'forEach' of undefined #189

Description

@nVisium-Kevin-Cody

In the recently released v1.5 version of Objection, I've encounted the following error when attempting to utilize the TLS Pinning Bypass:


com.pewpew.app on (iPhone: 11.1) [usb] # ios sslpinning disable --quiet                            
(agent) Quiet mode enabled. Not reporting invocations.
(agent) Hooking common framework methods
A Frida agent exception has occured.
TypeError: cannot read property 'forEach' of undefined
    at [anon] (duk_hobject_props.c:2384)
    at /script1.js:6218
    at frida/runtime/message-dispatcher.js:45
    at o (frida/runtime/message-dispatcher.js:27)

Python stack trace: Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/objection/console/repl.py", line 371, in start_repl
    self.run_command(document)
  File "/usr/local/lib/python3.7/site-packages/objection/console/repl.py", line 185, in run_command
    exec_method(arguments)
  File "/usr/local/lib/python3.7/site-packages/objection/commands/ios/pinning.py", line 26, in ios_disable
    api.ios_pinning_disable(_should_be_quiet(args))
  File "/usr/local/lib/python3.7/site-packages/frida/core.py", line 322, in method
    return script._rpc_request('call', js_name, args)
  File "/usr/local/lib/python3.7/site-packages/frida/core.py", line 250, in _rpc_request
    raise result[2]
frida.core.RPCException: TypeError: cannot read property 'forEach' of undefined
    at [anon] (duk_hobject_props.c:2384)
    at /script1.js:6218
    at frida/runtime/message-dispatcher.js:45
    at o (frida/runtime/message-dispatcher.js:27)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions