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

Match files inside zip against tool inputs #212

Open
emanueldima opened this issue Jul 1, 2021 · 2 comments
Open

Match files inside zip against tool inputs #212

emanueldima opened this issue Jul 1, 2021 · 2 comments

Comments

@emanueldima
Copy link
Collaborator

Some applications require a zip file as input, and then apply their functionality to (each of the) files inside the zip file.

Examples: GrETEL 4 (https://gretel-upload.hum.uu.nl/gretel-upload/ ) and PaQu https://paqu.let.rug.nl:8068/

(use case by Jan Odijk)

@proycon
Copy link

proycon commented Jul 1, 2021

fyi, CLAM-based webservices may support archive upload as well (zip/tar.gz/tar.bz2), if the input template is configured with acceptarchive=True and multi=True, the files within the archive must be of a single type then.

@emanueldima
Copy link
Collaborator Author

The difficulty of this issue is finding out the data profiles of all the files inside a zip archive. This is of course doable but takes more time, so it should be an asynchronous task, which makes it more tricky to implement. Security is also a concern as zip bombs are a thing.

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

No branches or pull requests

2 participants