Code Monkey home page Code Monkey logo

Comments (9)

aut0exec avatar aut0exec commented on June 12, 2024 5

Working now. Looks like I was running into this issue: #2885 (comment)

Here's what fixed it.

  1. cp plugins/magma/.env.template plugins/magma/.env
  2. Modified the VITE_CALDERA_URL to reflect the IP and protocol for my setup in plugins/magma/.env. Since I'm using the TLS (SSL) plugin, not running as root, and wanting port 443, I changed the line to VITE_CALDERA_URL=https://<CALDERA_IP> (some iptables things going on in the background to redirect 443 -> 8443)
  3. python3 server.py --build

Is there a way to simply use a wildcard here rather than a hardcoded IP? I tried the typical 0.0.0.0 as the <CALDERA_IP> but it didn't work.

@edenqyb Sounds like it'll probably be the same issue you're running into from your setup's description.

--- EDIT ----
Looks like you can wildcard it. ReplacedVITE_CALDERA_URL=https://<CALDERA_IP> with simplyVITE_CALDERA_URL=https://. Then rebuilt withpython3 server.py --build and any IP seems to be able to connect to the Web UI now. Not sure if this is intended but it does work!

from caldera.

googlier325 avatar googlier325 commented on June 12, 2024 1

Yep, @elegantmoose can confirm that I am pulling from the master branch

@aut0exec copy and edit the .env file to my actual ip address worked

from caldera.

github-actions avatar github-actions commented on June 12, 2024

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/

from caldera.

googlier325 avatar googlier325 commented on June 12, 2024

2024-02-25 14:22:04 INFO new connection from 10.0.4.14:54112 server.py:888
2024-02-25 14:22:07 ERROR dispatcher caught exception server.py:964
╭────────────────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ───────────────────────────────────────────────────────────────────────────────────────╮
│ /usr/local/lib/python3.8/dist-packages/aioftp/server.py:936 in dispatcher │
│ │
│ 933 │ │ │ │ connection.extra_workers -= done │
│ 934 │ │ │ │ for task in done: │
│ 935 │ │ │ │ │ try: │
│ ❱ 936 │ │ │ │ │ │ result = task.result() │
│ 937 │ │ │ │ │ except errors.PathIOError: │
│ 938 │ │ │ │ │ │ connection.response("451", "file system error") │
│ 939 │ │ │ │ │ │ continue │
│ │
│ /usr/local/lib/python3.8/dist-packages/aioftp/server.py:847 in parse_command │
│ │
│ 844 │ │ """ │
│ 845 │ │ line = await stream.readline() │
│ 846 │ │ if not line: │
│ ❱ 847 │ │ │ raise ConnectionResetError │
│ 848 │ │ s = line.decode(encoding=self.encoding).rstrip() │
│ 849 │ │ cmd, _, rest = s.partition(" ") │
│ 850 │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ConnectionResetError
INFO closing connection from 10.0.4.14:54112

from caldera.

elegantmoose avatar elegantmoose commented on June 12, 2024

Just confirming, you pulled down Master branch with --recursive flag (to pick up more recent plugins/magma submodule) ?

from caldera.

nizzy714 avatar nizzy714 commented on June 12, 2024

I had the same issue when pulling with --recursive flag and specifying --branch 5.0.0. However, when omitting a specific branch it worked as intended. Hope this helps.

from caldera.

elegantmoose avatar elegantmoose commented on June 12, 2024

Master branch is what is getting the patches. Including this fix - #2881

from caldera.

edenqyb avatar edenqyb commented on June 12, 2024

hey, I have the same problem. I pulled master branch(using --recursive) and tried using Safari, Chrome and firefox but still can't login.(the server is on Ubuntu machine and I'm using it remotely using the ip)

from caldera.

aut0exec avatar aut0exec commented on June 12, 2024

Experiencing the same issue with a fresh pull of caldera this morning. Used git clone --recursive https://github.com/mitre/caldera.git. Ran though the build instructions in the readme. Get to the login page but typing in any credentials and submitting them results in nothing occurring. I've tried Chrome and Safari from a Mac via Caldera server's IP (Caldera is running on Devuan 5, npm version 9.2.0, golang 1.19).

from caldera.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.