Autopsy
4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits IArchiveExtractCallback, and ICryptoGetTextPassword.
Public Member Functions | |
String | cryptoGetTextPassword () throws SevenZipException |
ISequentialOutStream | getStream (int inArchiveItemIndex, ExtractAskMode mode) throws SevenZipException |
void | prepareOperation (ExtractAskMode mode) throws SevenZipException |
void | setCompleted (long value) throws SevenZipException |
void | setOperationResult (ExtractOperationResult result) throws SevenZipException |
void | setTotal (long value) throws SevenZipException |
boolean | wasSuccessful () |
Private Attributes | |
long | accessTimeInSeconds |
final Map< Integer, InArchiveItemDetails > | archiveDetailsMap |
final AbstractFile | archiveFile |
long | createTimeInSeconds |
final IInArchive | inArchive |
int | inArchiveItemIndex |
boolean | isFolder |
long | modTimeInSeconds |
final String | password |
final ProgressHandle | progressHandle |
UnpackStream | unpackStream = null |
boolean | unpackSuccessful = true |
Call back class used by extract to expand archive files. This is the most efficient way to process according to the sevenzip binding documentation.
Definition at line 1074 of file SevenZipExtractor.java.
String org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.cryptoGetTextPassword | ( | ) | throws SevenZipException |
Called when opening encrypted archive files.
SevenZipException |
Definition at line 1252 of file SevenZipExtractor.java.
ISequentialOutStream org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.getStream | ( | int | inArchiveItemIndex, |
ExtractAskMode | mode | ||
) | throws SevenZipException |
Get stream is called by the internal framework as it traverses the archive structure. The ISequentialOutStream is where the archive file contents will be expanded and written to the local disk.
Skips folders, as there is nothing to extract.
inArchiveItemIndex | current location of the |
mode | Will always be EXTRACT |
SevenZipException |
Definition at line 1120 of file SevenZipExtractor.java.
References org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.inArchiveItemIndex, org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.UnpackStream.setNewOutputStream(), and org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.unpackStream.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.prepareOperation | ( | ExtractAskMode | mode | ) | throws SevenZipException |
Retrieves the file metadata from the archive before extraction. Called after getStream.
mode | Will always be EXTRACT. |
SevenZipException |
Definition at line 1163 of file SevenZipExtractor.java.
References org::sleuthkit::datamodel::AbstractContent.getName(), and org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.inArchiveItemIndex.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setCompleted | ( | long | value | ) | throws SevenZipException |
Definition at line 1240 of file SevenZipExtractor.java.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult | ( | ExtractOperationResult | result | ) | throws SevenZipException |
Updates the unpackedNode data in the tree after the archive has been expanded to local disk.
result | - ExtractOperationResult |
SevenZipException |
Definition at line 1193 of file SevenZipExtractor.java.
References org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.accessTimeInSeconds, org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.UnpackStream.close(), org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.createTimeInSeconds, org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.UnpackStream.getMIMEType(), org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.UnpackStream.getSize(), org::sleuthkit::datamodel::AbstractFile.isMetaFlagSet(), org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.modTimeInSeconds, and org::sleuthkit::datamodel::TskData::TSK_FS_META_FLAG_ENUM.UNALLOC.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setTotal | ( | long | value | ) | throws SevenZipException |
Definition at line 1235 of file SevenZipExtractor.java.
boolean org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.wasSuccessful | ( | ) |
Definition at line 1256 of file SevenZipExtractor.java.
|
private |
Definition at line 1087 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 1080 of file SevenZipExtractor.java.
|
private |
Definition at line 1077 of file SevenZipExtractor.java.
|
private |
Definition at line 1085 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 1078 of file SevenZipExtractor.java.
|
private |
Definition at line 1083 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.getStream(), and org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.prepareOperation().
|
private |
Definition at line 1089 of file SevenZipExtractor.java.
|
private |
Definition at line 1086 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 1090 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.cryptoGetTextPassword().
|
private |
Definition at line 1081 of file SevenZipExtractor.java.
|
private |
Definition at line 1079 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.getStream().
|
private |
Definition at line 1092 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.wasSuccessful().
Copyright © 2012-2024 Sleuth Kit Labs. Generated on: Mon Mar 17 2025
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.