Skip to content

Can't enable Builder plugin: Error enabling plugin=builder, request() got an unexpected keyword argument 'chunked' #2793

@heyquentin

Description

@heyquentin

I wanted to try out Caldera's dynamically compiled payloads so I read the docs and set up my abilities but nothing was happening. Eventually I clued in to the plugin not being actually enabled but when I tried to enable it I got the following error when starting up the server:
2023-07-24 17:39:18 - ERROR (c_plugin.py:70 enable) Error enabling plugin=builder, request() got an unexpected keyword argument 'chunked'

So I started putting debug strings in the plugin's hook.py, build_svc.py and c_plugin.py and eventually I figured out it had something to do with Docker. I did some digging and found this: docker/docker-py#3113

I do not have docker-py installed but once I set requests to 2.29.0 (pip install requests==2.29.0) the docker images started downloading. When you make an ability then check out the yml file, the format is a little different than the example format on the builder plugin's github page. This is what worked for me:
vmware_aeep0UETSO

And this version, which should compile HelloWorld.cs, failed for some reason.
vmware_1ybN9nAQTo

It looks like it created the exe but didn't xfer it to the target system? Idk, will play with it and see if I can get it working.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions