Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Improve the tests suite #18

Open
punkeel opened this issue May 3, 2017 · 0 comments
Open

Improve the tests suite #18

punkeel opened this issue May 3, 2017 · 0 comments

Comments

@punkeel
Copy link
Contributor

punkeel commented May 3, 2017

Unit tests should be improved

To be useful, the bleach would have to be split into smaller chunks (the PDF Bleach being ~500 lines is awful)

Integration/Functional/Whatever tests

Having a corpus of documents would be awesome, using olevba/pdfid/grep/file/zip to detect multiple points. The docs would need to be non sensitive/copyrighted documents.

  • the file looks like it's a valid file (mime type, Office OOXML document contains a rels file, ...)
  • No threats recognised by another tool are present
  • Scan the file using VirusTotal?

I have started a corpus, and will work harder to have one file of each format and for each threat.

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

No branches or pull requests

1 participant