j3ssie / osmedeus

A Workflow Engine for Offensive Security
https://osmedeus.org/
MIT License
5.33k stars 879 forks source link

Can't login to get JWT #206

Closed ims1337 closed 2 years ago

ims1337 commented 3 years ago
                        Osmedeus v2.2 by @j3ssiejjj

                                ¯\_(ツ)_/¯

[*] Loading config file from: /root/.osmedeus/client.conf

[RUN] Starting Django API

Traceback (most recent call last): File "server/manage.py", line 8, in from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "server/manage.py", line 14, in import django ModuleNotFoundError: No module named 'django'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "server/manage.py", line 17, in "Couldn't import Django. Are you sure it's installed and " ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment? [-] Authentication failed at: http://127.0.0.1:8000/auth/api/token/

    [!] This might happened by running Osmedeus with sudo but the install process running with normal user
    You should install the whole Osmedeus and running it with root user.
    Or whitelist masscan + nmap in sudoers file because it's required sudo permission.

[-] Can't login to get JWT

chinni8899 commented 3 years ago

] Loading config file from: /root/.osmedeus/client.conf [] Look like Django API already ran [-] Can't login to get JWT

i tried but failed install, reinstall it shows same error only

j3ssie commented 2 years ago

The issue is no longer exist due to the repo having been upgraded to Osmedeus Next Generation v4.0