Commit Graph

29 Commits (main)

Author SHA1 Message Date
Raphaël Vinot aca8c5c2fb fix: rar mimetype alias 2022-11-11 15:31:43 +01:00
Raphaël Vinot cc081a921d fix: Make sure the test suite passes 2022-11-11 14:59:41 +01:00
Bo Frese 3c2b98e91b Removed print statement when overriding ext. 2020-09-06 15:56:33 +02:00
Bo Frese 5be5d5212c Ignoring system files and directories. Temporary fix for CSV files 2020-09-03 13:00:52 +02:00
Raphaël Vinot 852002e4c8 fix: undefined variable, missing f-formated string marking 2020-08-10 11:20:18 +02:00
Raphaël Vinot a834cfea39 fix: Don't fail on create dir if an intermediate is missing 2020-01-16 13:36:20 +01:00
Raphaël Vinot 55b56c2422 fix: Do not fail if a file couldn't be copied 2020-01-16 11:36:44 +01:00
Raphaël Vinot f3cbeb87e4 fix: Archives support 2020-01-15 17:51:51 +01:00
Raphaël Vinot 9f74587cc1 fix: Set the right destination path. 2020-01-15 16:35:43 +01:00
Raphaël Vinot e25acb05d7 fix: Keep the whole path on the destination key 2020-01-15 15:30:49 +01:00
Raphaël Vinot 2fb8db047a fix: PDF processing 2020-01-13 21:20:58 +01:00
Raphaël Vinot f88a0c8291 fix: Support Python 3.6 2020-01-13 17:50:50 +01:00
Raphaël Vinot d0f7d1bf81 new: Add typing everywhere, use pathlib when possible 2020-01-13 17:37:19 +01:00
Raphaël Vinot 8af6f44c49 fix: Initialize is_empty_file 2019-08-29 13:04:15 +02:00
Raphaël Vinot 97b2edb184 chg: Update oletools usage 2019-08-29 11:44:52 +02:00
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