mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-13 00:16:16 +00:00
Add min file size for file type module processing
This commit is contained in:
parent
523e3373c2
commit
db165a968b
@ -49,6 +49,7 @@ public class FileTypeIdIngestModule extends org.sleuthkit.autopsy.ingest.IngestM
|
|||||||
private static int messageId = 0;
|
private static int messageId = 0;
|
||||||
private static long numFiles = 0;
|
private static long numFiles = 0;
|
||||||
private static boolean skipKnown = true;
|
private static boolean skipKnown = true;
|
||||||
|
private static long MIN_FILE_SIZE = 512;
|
||||||
|
|
||||||
private FileTypeIdSimpleConfigPanel simpleConfigPanel;
|
private FileTypeIdSimpleConfigPanel simpleConfigPanel;
|
||||||
private IngestServices services;
|
private IngestServices services;
|
||||||
@ -92,6 +93,10 @@ public class FileTypeIdIngestModule extends org.sleuthkit.autopsy.ingest.IngestM
|
|||||||
return ProcessResult.OK;
|
return ProcessResult.OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (abstractFile.getSize() < MIN_FILE_SIZE) {
|
||||||
|
return ProcessResult.OK;
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
long startTime = System.currentTimeMillis();
|
long startTime = System.currentTimeMillis();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user