From 1f33d210db82a0c66d0f9d75e42a8a12ccd049e7 Mon Sep 17 00:00:00 2001 From: Ann Priestman Date: Wed, 1 Mar 2017 11:23:55 -0500 Subject: [PATCH] Remove possible colon from Virtual Machine Extractor output directory name. This was causing the module to fail on local disks. --- .../autopsy/modules/vmextractor/VMExtractorIngestModule.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Core/src/org/sleuthkit/autopsy/modules/vmextractor/VMExtractorIngestModule.java b/Core/src/org/sleuthkit/autopsy/modules/vmextractor/VMExtractorIngestModule.java index 8c1aae74ec..35e66647d8 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/vmextractor/VMExtractorIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/modules/vmextractor/VMExtractorIngestModule.java @@ -86,6 +86,7 @@ final class VMExtractorIngestModule extends DataSourceIngestModuleAdapter { SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy_MM_dd_HH_mm_ss"); String timeStamp = dateFormat.format(Calendar.getInstance().getTime()); String ingestJobOutputDirName = context.getDataSource().getName() + "_" + context.getDataSource().getId() + "_" + timeStamp; + ingestJobOutputDirName = ingestJobOutputDirName.replace(':', '_'); ingestJobOutputDir = Paths.get(Case.getCurrentCase().getModuleDirectory(), VMExtractorIngestModuleFactory.getModuleName(), ingestJobOutputDirName); // create module output folder to write extracted virtual machine files to Files.createDirectories(ingestJobOutputDir);