Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: added zip compression for Json & html reports #254

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

FEATURE: added zip compression for Json & html reports #254

wants to merge 2 commits into from

Conversation

muhviehstah
Copy link
Contributor

Zip compressing reports.json and reports.html
changed api and web interface as well

Zip compressing reports.json and reports.html
changed api and web interface as well
@spender-sandbox
Copy link
Owner

This should be added to my existing compression.py reporting module (with an added config option) instead of adding another reporting module.

-Brad

@mallorybobalice
Copy link

mallorybobalice commented Aug 23, 2016

[Will have to rename compression to zcompression instead of just adding to compression.Py
Otherwise it runs before reports are generated. Hence why he renamed it to zcompession ]Ps might as well add pdf as well?

Pps also see
#142

@spender-sandbox
Copy link
Owner

The order of the reporting module is determined by its 'order' field. All it needs is a line here: https://github.com/spender-sandbox/cuckoo-modified/blob/master/modules/reporting/compression.py#L12 with a number higher than the reporting modules it wants to compress the output of, and a number lower than mongodb.py

@muhviehstah
Copy link
Contributor Author

Thank you for the Info Brad. Im still learning python and i try to make my first contributions :)

@mallorybobalice
Copy link

Pdf as well please?

@muhviehstah
Copy link
Contributor Author

yes i will add pdf too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants