Comments (11)
@iknowjason I actually got the server up and running just now because of the hint of upgrading packages - it was not pyOpenSSL
but cryptography
for me, so before running the python3 server.py
command, I ran
pip3 install cryptography --upgrade
which upgraded cryptography 42.0.2
to cryptography 42.0.3
. Making a small PR for this one.
from caldera.
@iknowjason for the web app being unresponsive - for me it was the same, it only works when really browsing via
localhost:8888
and not via a public/other IP. That is probably being set somewhere, so might need to dig in the conf to change how it is exposed.
That is probably the case. Might be good to link to this issue, looks like others are having the same. I ran a pcap trace of the connection. There is an HTTP response from the server, but the target VueJS application code might not be rendering due to the correct hostname, I gather.
Similar issue opened: #2881
from caldera.
@wiebewillems I opened up a new GH issue on the non-responsive:
#2885
from caldera.
But I'd also point out for your PR. This is only necessary and the issue is only seen when running on AWS EC2 running Ubuntu. From what I've seen from my testing. I just tested Ubuntu 22.04 not running on Amazon, and I didn't need to upgrade cryptography or pyOpenSSL. The default Caldera instructions just worked.
I wonder if it still makes sense to have it on 42.0.43 nonetheless? If not, I'll just remove the PR. Maybe @elegantmoose ?
from caldera.
We did the following to get working in Azure:
sudo pip3 install --upgrade pyOpenSSL
pip3 install cryptography --upgrade
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.
@wiebewillems I am doing extensive testing of Caldera 5.0 on Ubuntu 22.04 running on AWS EC2 AMI. I am not not able to duplicate your issue, however.
There is a hidden bug that is not in Caldera docs and I noticed this a long time ago, it is only related to running on EC2. Can you try this and see if this fixes the issue? I have this in the bootstrap script of this terraform lab that builds Caldera:
https://github.com/iknowjason/AutomatedEmulation/blob/master/files/bas/bootstrap.sh.tpl#L31
# Upgrade pyOpenSSL - weird issue only impacting AWS EC2 AMI images
sudo pip3 install --upgrade pyOpenSSL
from caldera.
@wiebewillems Perhaps we can share notes. My 5.0 VueJS application builds, but the web app is not responsive when I try to login. Is your VueJS app responsive when submitting user credentials?
from caldera.
@iknowjason for the web app being unresponsive - for me it was the same, it only works when really browsing via localhost:8888
and not via a public/other IP. That is probably being set somewhere, so might need to dig in the conf to change how it is exposed.
from caldera.
@iknowjason I actually got the server up and running just now because of the hint of upgrading packages - it was not
pyOpenSSL
butcryptography
for me, so before running thepython3 server.py
command, I ranpip3 install cryptography --upgrade
which upgraded
cryptography 42.0.2
tocryptography 42.0.3
. Making a small PR for this one.
@wiebewillems I think when you upgraded cryptography, it had the same effect as the upgrade of pyOpenSSL that I used. That is good news.
But I'd also point out for your PR. This is only necessary and the issue is only seen when running on AWS EC2 running Ubuntu. From what I've seen from my testing. I just tested Ubuntu 22.04 not running on Amazon, and I didn't need to upgrade cryptography or pyOpenSSL. The default Caldera instructions just worked.
from caldera.
@wiebewillems @iknowjason Just FYSA, looking into.
from caldera.
Related Issues (20)
- Bug: Remote Server Connections (non-localhost) are non-responsive on VueJS with connection refused HOT 15
- Vue Dependency Error when running "python3 server.py --insecure --build" HOT 14
- Cannot start ability manually HOT 4
- Any agents for ARM? HOT 4
- Dockerfile for 5.0.0 needs a small update to build the vue? HOT 6
- Caldera on MacOS HOT 5
- Error running server HOT 2
- Deploying agent through sshpass, second host acts odd - What am I missing? HOT 3
- Operation never finishes after a link/ability has failed HOT 1
- Plug-in img doesn't load HOT 2
- Cannot get past login page HOT 35
- Web interface does not display all the parser configurations of an ability HOT 1
- Having an 500 error when i run the Caldera server, even though it says all systems are ready HOT 4
- Template 'index.html' not found HOT 7
- Not being able to login in when using HTTPS? HOT 3
- Can't save Settings for Agents HOT 10
- Incomplete installation instructions HOT 2
- Untrimmed whitespaces in tab names triggers 404 error HOT 1
- Cannot build HOT 5
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.