Code Monkey home page Code Monkey logo

Comments (8)

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.

Guil33 avatar Guil33 commented on June 12, 2024

I am unable to reproduce this behavior on Edge 123.0.2420.81 & Chrome 123.0.6312.123 with Caldera v5. Does it happen with any adversary, or maybe a specific one?

from caldera.

wilczekj avatar wilczekj commented on June 12, 2024

It happens with any Operation using any Adversary. Are there any additional logs I can look at?

from caldera.

Guil33 avatar Guil33 commented on June 12, 2024

You already have the server in Debug mode, so none that I know of. However, you could probably try to debug manually, the base_obfuscator.py file is very small, and in fact there are 3 possible lines for your error.

For starters, maybe just modify lines 20/21 to see what's happening, e.g.:

except Exception as e:
    logging.error('Failed to run BaseObfuscator, returning default decoded bytes. Error: ', e)

from caldera.

Guil33 avatar Guil33 commented on June 12, 2024

I find it weird that it happens so consistently on your instance while I can not see it. Did you customize any part of the code?

EDIT: on a fresh codebase, no configuration nor code change, this doesn't happen to me.

from caldera.

wilczekj avatar wilczekj commented on June 12, 2024

Are you on Ubuntu 22.04?

I performed an install exactly per the docs for version 5.0.0 and then experienced a ton of issues (some of which are currently tracked as issues, others were not)
Example issues on 5.0.0 (both of which were solved using the suggested steps)

After all the issues with 5.0.0, I created a new Ubuntu 22.04 VM and installed 4.2.0 where I encountered many of the same issues.

In both instances, this was a base Ubuntu install with no other packages/installations installed beyond those requested in the Caldera install instructions (which are very, very minimal - meaning it's 4 commands, copy/pasted to the command line - not sure how I would have messed that up twice).

from caldera.

Guil33 avatar Guil33 commented on June 12, 2024

I'm on Ubuntu (Server) 22.04, the only issue I encounter when following the README (I think the docs are outdated) is for the remote access, solved in #2885.

Assuming we have the same code, I can only imagine a difference in the dependencies. I had some trouble with vue when I upgraded to V5 (right when it got released), a guy on Slack gave this which ended up working for me:

FYI all, I was able to get a functional caldera v5 with the following installation steps on a fresh ubuntu 22.04:
1) Install git\python\pip\virtualenv
sudo apt update && sudo apt upgrade -y && sudo apt install python3-venv python3-dev npm git -y
2) Update Node & NPM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
source ~/.bashrc
nvm install stable
3) Download Caldera
git clone https://github.com/mitre/caldera.git --recursive
4) Create environment & activate
cd caldera
python3 -m venv venv
source venv/bin/activate
5) Install requirements
pip install -r requirements.txt
pip install donut-shellcode==1.0.2
6) Install Go & UPX
sudo snap install go --classic && sudo snap install upx
7) Run caldera
python3 server.py --insecure --build 

Here are my versions:

  • Python 3.10.12
  • node v21.6.2
  • go v1.22.2

from caldera.

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

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

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.