python-apps icon indicating copy to clipboard operation
python-apps copied to clipboard

Velociraptor app cannot quarantine clients: Errors out due to TypeError

Open DavidHoenisch opened this issue 2 years ago • 1 comments

Problem

The velociraptor app errors our when executing the add_client_quarantine function (https://github.com/Shuffle/python-apps/blob/d8a41141006aa1b14d2d903ccee85834dfd54ea3/velociraptor/1.0.0/src/app.py#L73). This seems be caused by improper concatenation in the query string.

Exception Raised:

TypeError: can only concatenate str (not "dict") to str

Steps to reproduce

  1. Create Workflow
  2. Use velociraptor app
  3. Use the "Add Client Quarantine" action
  4. Run the flow

Screenshots

image

image

image

DavidHoenisch avatar Jan 30 '23 15:01 DavidHoenisch

Thanks for bringing attention to this issue! I'll take a look soon.

weslambert avatar Jan 30 '23 17:01 weslambert