Autopsy
4.12.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 ISevenZipInArchive | 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 905 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 1077 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 952 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 995 of file SevenZipExtractor.java.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setCompleted | ( | long | value | ) | throws SevenZipException |
Definition at line 1065 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 1025 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.getSize(), and org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.modTimeInSeconds.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setTotal | ( | long | value | ) | throws SevenZipException |
Definition at line 1060 of file SevenZipExtractor.java.
boolean org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.wasSuccessful | ( | ) |
Definition at line 1081 of file SevenZipExtractor.java.
|
private |
Definition at line 918 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 911 of file SevenZipExtractor.java.
|
private |
Definition at line 908 of file SevenZipExtractor.java.
|
private |
Definition at line 916 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 909 of file SevenZipExtractor.java.
|
private |
Definition at line 914 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 920 of file SevenZipExtractor.java.
|
private |
Definition at line 917 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 921 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.cryptoGetTextPassword().
|
private |
Definition at line 912 of file SevenZipExtractor.java.
|
private |
Definition at line 910 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.getStream().
|
private |
Definition at line 923 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.wasSuccessful().
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.