Comments (9)
Working now. Looks like I was running into this issue: #2885 (comment)
Here's what fixed it.
cp plugins/magma/.env.template plugins/magma/.env
- 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 toVITE_CALDERA_URL=https://<CALDERA_IP>
(some iptables things going on in the background to redirect 443 -> 8443) 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.
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.
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.
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.
Just confirming, you pulled down Master branch with --recursive flag (to pick up more recent plugins/magma submodule) ?
from caldera.
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.
Master branch is what is getting the patches. Including this fix - #2881
from caldera.
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.
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)
- Unable to complete installation Caldera on Ubuntu 22.04 LTS as the docs described HOT 11
- Fact Sources tab button, redirects to the wrong location HOT 4
- Red user missing abilities HOT 5
- Reliance on non-static IDs for third-party abilities triggers Warnings at every startup HOT 1
- CORS - Connection Error HOT 3
- . HOT 1
- Unable to run Caldera 5.x on Ubuntu 20.04.6 LTS using either docker build or standard build HOT 15
- Builder plugin error upon server startup: "Error enabling plugin=builder, 'function' object has no attribute 'list'" HOT 8
- Is there a way to execute abilities only on the new agent? HOT 4
- FileNotFoundError: [Errno 2] No such file or directory: 'data/sources/7feb6c49-bc49-4aa8-ad56-401100797750.yml' HOT 4
- Typo in Swagger documentation HOT 1
- Adversaries' Facts Breakdown and Unlocks/Requires loading always requires a second click
- Is there a way to execute multiple abilities (using the powershell executor) with one spawned powershell.exe? HOT 2
- Updating fact sources' facts generates ghost facts during operations HOT 2
- Trying to start caldera with --build fails HOT 4
- HTML contact point /weather does not work in 5.0.0 HOT 2
- Caldera uses insecure_certificate.pem even when the haproxy conf states a different certificate HOT 3
- Unused variable in ability marked as requirement HOT 8
- How can I do fronting with Caldera? HOT 3
- Build failed with error Cannot assign to "envs" because it is a constant. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caldera.