Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] InvalidOperationError: script has been destroyed #699

Open
EvilWatermelon opened this issue Sep 12, 2024 · 0 comments
Open

[bug] InvalidOperationError: script has been destroyed #699

EvilWatermelon opened this issue Sep 12, 2024 · 0 comments
Labels
freshissue Default label for new, untriaged issues.

Comments

@EvilWatermelon
Copy link

To Reproduce
Steps to reproduce the behavior:

  1. objection -g app explore
  2. ios info binary
  3. ios keychain dump

Expected behavior
Dumping the app keychain and its content to review settings

Evidence / Logs / Screenshots

Note: You may be asked to authenticate using the devices passcode or TouchID
Save the output by adding `--json keychain.json` to this command
Dumping the iOS keychain...
An unexpected internal exception has occurred. If this looks like a code related error, please file a bug report!
script has been destroyed

Python stack trace: Traceback (most recent call last):
  File "/home/isumis/.local/pipx/venvs/objection/lib/python3.11/site-packages/objection/console/repl.py", line 371, in start_repl
    self.run_command(document)
  File "/home/isumis/.local/pipx/venvs/objection/lib/python3.11/site-packages/objection/console/repl.py", line 185, in run_command
    exec_method(arguments)
  File "/home/isumis/.local/pipx/venvs/objection/lib/python3.11/site-packages/objection/commands/ios/keychain.py", line 79, in dump
    keychain = api.ios_keychain_list(_should_do_smart_decode(args))
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/isumis/.local/pipx/venvs/objection/lib/python3.11/site-packages/frida/core.py", line 180, in method
    return script._rpc_request(request, data, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/isumis/.local/pipx/venvs/objection/lib/python3.11/site-packages/frida/core.py", line 86, in wrapper
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "/home/isumis/.local/pipx/venvs/objection/lib/python3.11/site-packages/frida/core.py", line 497, in _rpc_request
    raise result.error
frida.InvalidOperationError: script has been destroyed

Environment (please complete the following information):

  • Device: [e.g. iPhone6s]
  • OS: [e.g. iOS 12.5.7]
  • Frida Version [e.g. current stable version]
  • Objection Version [e.g. 1.11.0]
@EvilWatermelon EvilWatermelon added the freshissue Default label for new, untriaged issues. label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
freshissue Default label for new, untriaged issues.
Projects
None yet
Development

No branches or pull requests

1 participant