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] Unable to run objection after installation #637

Open
kkeennyy-tan opened this issue Sep 15, 2023 · 3 comments
Open

[bug] Unable to run objection after installation #637

kkeennyy-tan opened this issue Sep 15, 2023 · 3 comments
Labels
freshissue Default label for new, untriaged issues.

Comments

@kkeennyy-tan
Copy link

Describe the bug
After installation of objection I got error in terminal. Kali VM was fresh install and I already used frida with my mobile

To Reproduce
Steps to reproduce the behavior:

  1. sudo pip3 install objection
  2. objection -g com.bank.retail.uat explore

Expected behavior
Being able to explore the application

Evidence / Logs / Screenshots
Any output from objection, such as stack traces or errors that occurred. Be sure to run objection with the --debug flag so that errors from the agent are verbose enough to debug. For example:

┌──(Cheesemiss㉿kali)-[~/Documents/09062023/Secured]
└─$ objection --debug explore               
Traceback (most recent call last):
  File "/usr/local/bin/objection", line 5, in <module>
    from objection.console.cli import cli
  File "/home/Cheesemiss/.local/lib/python3.11/site-packages/objection/console/cli.py", line 8, in <module>
    from .repl import Repl
  File "/home/Cheesemiss/.local/lib/python3.11/site-packages/objection/console/repl.py", line 15, in <module>
    from .commands import COMMANDS
  File "/home/Cheesemiss/.local/lib/python3.11/site-packages/objection/console/commands.py", line 9, in <module>
    from ..commands import plugin_manager
  File "/home/Cheesemiss/.local/lib/python3.11/site-packages/objection/commands/plugin_manager.py", line 8, in <module>
    from ..utils.plugin import Plugin as PluginType
  File "/home/Cheesemiss/.local/lib/python3.11/site-packages/objection/utils/plugin.py", line 6, in <module>
    from ..state.api import api_state
  File "/home/Cheesemiss/.local/lib/python3.11/site-packages/objection/state/api.py", line 1, in <module>
    from ..api.app import create_app
  File "/home/Cheesemiss/.local/lib/python3.11/site-packages/objection/api/app.py", line 1, in <module>
    from flask import Flask
  File "/usr/lib/python3/dist-packages/flask/__init__.py", line 5, in <module>
    from .app import Flask as Flask
  File "/usr/lib/python3/dist-packages/flask/app.py", line 34, in <module>
    from . import cli
  File "/usr/lib/python3/dist-packages/flask/cli.py", line 15, in <module>
    from click.core import ParameterSource
ImportError: cannot import name 'ParameterSource' from 'click.core' (/usr/local/lib/python3.11/dist-packages/click/core.py)

Additional context

image
image
image
image

@kkeennyy-tan kkeennyy-tan added the freshissue Default label for new, untriaged issues. label Sep 15, 2023
@emonik
Copy link

emonik commented Oct 22, 2023

I've had the same issue , upgrading "click" and "black" solved it


pip3 install click --upgrade
pip3 install black --upgrade

@tennessine
Copy link

I've had the same issue , upgrading "click" and "black" solved it


pip3 install click --upgrade
pip3 install black --upgrade

still the same

@tennessine
Copy link

this works for me:

#644

check the best answer there

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

3 participants