Commit Graph

14 Commits (546a19caab14bbce7e73eaeb5999a80bf511cac5)

Author SHA1 Message Date
Raphaël Vinot 546a19caab fix: Encrypted is an indicator 2019-08-29 11:16:05 +02:00
seamus tuohy c45617c35f Don't mark empty files as dangerous.
This commit stops filecheck from marking empty files as dangerous.
The current code sees the MIMETYPE difference between None and the expected
mimetype as dangerous. But, empty files are just empty, not dangerous.
2019-07-27 12:15:04 -04:00
Raphaël Vinot e83acd5d00 fix: Avoid failing on files with aliased mimetypes. 2019-03-18 14:55:45 +01:00
Raphaël Vinot 91e3f8ad5d chg: Force python3 in filecheck 2018-01-29 17:12:12 +01:00
Raphaël Vinot 56f0ebb442 chg: Put all open in with statements 2017-12-21 16:06:41 +01:00
Raphaël Vinot 67c650e3a0 fix: Also skip non-existing files. 2017-12-21 13:47:46 +01:00
Raphaël Vinot 32a9197b88 fix: Properly handle images and directories 2017-12-21 13:29:09 +01:00
Raphaël Vinot de365a67bd new: Add counter-measures against TOCTOU attacks 2017-12-20 18:11:41 +01:00
Dan Puttick 3e6f1af2be Move config back into filecheck temporarily 2017-08-25 20:20:08 -04:00
Dan Puttick e0cad3a7f0 Add application/audio mimetypes to Config 2017-08-22 17:38:04 -04:00
Dan Puttick d80fb6d33a Add alias for .ogg files 2017-08-22 17:13:33 -04:00
Dan Puttick 77e0d55f95 Add comment clarifying 7zip command 2017-08-11 20:02:05 -04:00
Dan Puttick a1585113cd Fix issue with rar mimetypes
* Also removed some xfails from file catalog for tests that are now passing
2017-08-11 18:41:00 -04:00
Dan Puttick 7b275c7e6f Rename bin/ to filecheck/ 2017-08-10 18:12:30 -04:00