Giter Site home page Giter Site logo

Comments (4)

marirs avatar marirs commented on July 1, 2024

Hi,

Can you edit the "CAPE/modules/reporting/mongodb.py"
And goto
Line# 264 (it will look like the below) You can delete the following lines. Kevin is fixing that in the next push :)

# Compress virustotal results
if "virustotal" in report:
	compressed_vt = zlib.compress(JSONEncoder().encode(report["virustotal"]).encode('utf8'))
    report["virustotal"] = Binary(compressed_vt)	

from cape.

enzok avatar enzok commented on July 1, 2024

That code will be removed in the next push? Or, the fix will be made for that code to work?

I already added the decompress code to my fork. Just wanted to let him know that the code was missing.

from cape.

marirs avatar marirs commented on July 1, 2024

Unfortunately, that code will be removed in the next push... Not decompressing the VT results. this bug was noticed, only after pushing it to main branch. Sorry about that, I take responsibility for not checking it thoroughly.
the upcoming code will only compress the cape & behavior (summary & enhanced) results. and will get decompressed back in the view. That is backward compatible too. I did this to handle the 16MB limit of mongodb.

from cape.

enzok avatar enzok commented on July 1, 2024

OK thanks.

from cape.

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.