From f7acf70ea74e9b29286891e5db91dfd0ad11d40e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Stucke?= Date: Wed, 4 Sep 2024 16:37:41 +0200 Subject: [PATCH] chore(config): extended default mime blacklist --- fact_extractor/config/main.cfg | 35 ++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/fact_extractor/config/main.cfg b/fact_extractor/config/main.cfg index 5061222d..6487bf39 100644 --- a/fact_extractor/config/main.cfg +++ b/fact_extractor/config/main.cfg @@ -1,5 +1,28 @@ [unpack] -blacklist = audio/mpeg, image/png, image/jpeg, image/gif, application/x-shockwave-flash, video/mp4, video/mpeg, video/quicktime, video/x-msvideo, video/ogg, text/plain, application/pdf +blacklist = + application/json, + application/pdf, + application/x-java-applet, + application/x-object, + application/x-sharedlib, + application/x-shockwave-flash, + application/x-terminfo + audio/mpeg, + font/sfnt, + image/bmp, + image/gif, + image/jpeg, + image/png, + image/x-tga, + image/x-win-bitmap, + inode/symlink, + text/csv, + text/plain, + video/mp4, + video/mpeg, + video/ogg, + video/quicktime, + video/x-msvideo, data_folder = /tmp/extractor exclude = @@ -7,4 +30,12 @@ exclude = statistics = True unpack_threshold = 0.8 header_overhead = 256 -compressed_file_types = application/x-shockwave-flash, audio/mpeg, audio/ogg, image/png, image/jpeg, image/gif, video/mp4, video/ogg +compressed_file_types = + application/x-shockwave-flash, + audio/mpeg, + audio/ogg, + image/gif, + image/jpeg, + image/png, + video/mp4, + video/ogg