From df9ac9950e429add209ef40e571b509adc3cec8f Mon Sep 17 00:00:00 2001 From: "patrick.pdb" Date: Tue, 7 Nov 2023 13:39:15 -0300 Subject: [PATCH] '#1859 Puts the CacheIndexParser in the second parsing queue and Discord Parser in the third. --- .../java/iped/engine/core/QueuesProcessingOrder.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/iped-engine/src/main/java/iped/engine/core/QueuesProcessingOrder.java b/iped-engine/src/main/java/iped/engine/core/QueuesProcessingOrder.java index d133026f0e..5a0be7e6cc 100644 --- a/iped-engine/src/main/java/iped/engine/core/QueuesProcessingOrder.java +++ b/iped-engine/src/main/java/iped/engine/core/QueuesProcessingOrder.java @@ -10,6 +10,7 @@ import org.apache.tika.mime.MediaTypeRegistry; import iped.parsers.ares.AresParser; +import iped.parsers.browsers.chrome.CacheIndexParser; import iped.parsers.discord.DiscordParser; import iped.parsers.emule.KnownMetParser; import iped.parsers.emule.PartMetParser; @@ -45,7 +46,6 @@ public class QueuesProcessingOrder { /** Definie as prioridades de processamento dos mimeTypes */ private static Map installTypesToPostProcess() { - Map mediaTypes = new HashMap(); // support for embedded splitted images, must be before all other artifacts @@ -60,18 +60,20 @@ private static Map installTypesToPostProcess() { // must be after sqlite processing to find storage_db.db mediaTypes.put(SkypeParser.SKYPE_MIME, 3); - + //must be processed after all files to link the attachments mediaTypes.put(TelegramParser.TELEGRAM_USER_CONF, 2); mediaTypes.put(TelegramParser.TELEGRAM_DB, 3); mediaTypes.put(TelegramParser.TELEGRAM_DB_IOS, 3); - mediaTypes.put(MediaType.parse(DiscordParser.INDEX_MIME_TYPE), 2); + mediaTypes.put(CacheIndexParser.CHROME_INDEX_MIME_TYPE, 2); + mediaTypes.put(MediaType.parse(DiscordParser.CHAT_MIME_TYPE), 3); + mediaTypes.put(MediaType.parse(KnownMetParser.EMULE_MIME_TYPE), 2); mediaTypes.put(MediaType.parse(PartMetParser.EMULE_PART_MET_MIME_TYPE), 2); mediaTypes.put(MediaType.parse(AresParser.ARES_MIME_TYPE), 2); mediaTypes.put(MediaType.parse(ShareazaLibraryDatParser.LIBRARY_DAT_MIME_TYPE), 2); - + mediaTypes.put(WhatsAppParser.WA_DB, 2); mediaTypes.put(WhatsAppParser.MSG_STORE, 3); mediaTypes.put(WhatsAppParser.MSG_STORE_2, 4);