caldera icon indicating copy to clipboard operation
caldera copied to clipboard

Not able to login

Open morpheuslord opened this issue 1 year ago • 12 comments

Describe the bug I had installed the tool via docker and I have taken all necessary steps to ensure it correctly installed like using the --recursive option but it won't go past the login screen To Reproduce Steps to reproduce the behaviour:

  1. clone the repo
  2. create a docker instance
  3. make sure all of it is installed properly.
  4. try logging in

Expected behaviour

I enter the password and it will log in to the user panel

Screenshots https://github.com/mitre/caldera/assets/70637311/0bea5011-6cab-496e-96fb-85499ddba01a

Desktop (please complete the following information):

  • OS: Windows and Deployed in Kali WSL
  • Browser: Brave
  • Version: 1.65.114

Additional context I tried all the suggested fixes from other issues but none worked.

morpheuslord avatar Apr 23 '24 12:04 morpheuslord

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

github-actions[bot] avatar Apr 23 '24 12:04 github-actions[bot]

Whats the URL/IP you are using to access it?

If deploying locally, try localhost:8888

mkultraWasHere avatar Apr 23 '24 16:04 mkultraWasHere

I tried both 127.0.0.1 and localhost

morpheuslord avatar Apr 24 '24 02:04 morpheuslord

https://github.com/mitre/caldera/assets/70637311/4e87787d-742e-483f-9ecc-33a4004f5cbb

morpheuslord avatar Apr 24 '24 08:04 morpheuslord

Hello,

I have exactly same issue . with master or 5.0.0 same issue

Jycreyn avatar Apr 24 '24 09:04 Jycreyn

image

Jycreyn avatar Apr 24 '24 09:04 Jycreyn

It's working in 4.2.0

Jycreyn avatar Apr 24 '24 09:04 Jycreyn

Hmm, shell I just shift cause I want to try this tool 😅. (I checked it and it works)

morpheuslord avatar Apr 24 '24 11:04 morpheuslord

Dang, this one is hounding us. And I cant duplicate locally. Let me try to get other team members with some slack on it.

Very sorry for the hold up!

mkultraWasHere avatar May 09 '24 03:05 mkultraWasHere

Dang, this one is hounding us. And I cant duplicate locally. Let me try to get other team members with some slack on it.

Very sorry for the hold up!

Not an issue, Best of luck with it 👍 .

morpheuslord avatar May 09 '24 12:05 morpheuslord

Same issue here. What I have done:

  • Running in WSL2 Ubuntu22.04
  • git clone https://github.com/mitre/caldera.git --recursive --branch 5.0.0
  • install requirement.txt and requirement-dev.txt
  • python3 server.py --insecure --build

gent79reid avatar May 10 '24 10:05 gent79reid

Same issue here. What I have done:

  • Running in WSL2 Ubuntu22.04
  • git clone https://github.com/mitre/caldera.git --recursive --branch 5.0.0
  • install requirement.txt and requirement-dev.txt
  • python3 server.py --insecure --build

Yup, that is whats whats happening to all of us. Can you provide any logs or screenshots to give a better view on this from your end maybe we can determine something via that?

morpheuslord avatar May 10 '24 11:05 morpheuslord

@morpheuslord @gent79reid @Jycreyn We believe we fixed this issue with https://github.com/mitre/caldera/pull/2977.

Reopen issue if not the case.

*Also, DONT pull down --branch 5.0.0, pull down master as has all the fixes. We will mint 5.1.0 when issues stabilize.

mkultraWasHere avatar May 15 '24 14:05 mkultraWasHere

Solution Using Python Method:

I ran into a similar issue and decided to provide some more detail on how to solve the problem.

  • --insecure flag uses default.yml
  • Not using --insecure will autogenerate a local.yml
# first setup nodejs , golang , & git caldera:
cd caldera
python3 server.py --build 
# This will autogenerate a local.yml
# Once finished, then exit
ctrl + c

npm audit fix --force
vim  /caldera/conf/local.yml

app.contact.http: http://SERVER-IP:8888
app.frontend.api_base_url: http://SERVER-IP:8888

vim /caldera/plugins/magma/.env
VITE_CALDERA_URL=http://SERVER-IP:8888

python3 server.py --build --fresh

cat /caldera/conf/local.yml
# find passwords to login.
  • If you are having issues, you can delete caldera directory and git clone caldera again.
  • If you made many changes, sometimes there can be build errors. This will solve that.
  • I found changing all the 0.0.0.0 and localhost in local.yml breaks things. For example 7010 & 2222

decyphertek-io avatar Aug 17 '24 19:08 decyphertek-io