Autopsy
4.16.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 937 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 1108 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 983 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 1026 of file SevenZipExtractor.java.
void org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setCompleted | ( | long | value | ) | throws SevenZipException |
Definition at line 1096 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 1056 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 1091 of file SevenZipExtractor.java.
boolean org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.wasSuccessful | ( | ) |
Definition at line 1112 of file SevenZipExtractor.java.
|
private |
Definition at line 950 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 943 of file SevenZipExtractor.java.
|
private |
Definition at line 940 of file SevenZipExtractor.java.
|
private |
Definition at line 948 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 941 of file SevenZipExtractor.java.
|
private |
Definition at line 946 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 952 of file SevenZipExtractor.java.
|
private |
Definition at line 949 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.setOperationResult().
|
private |
Definition at line 953 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.cryptoGetTextPassword().
|
private |
Definition at line 944 of file SevenZipExtractor.java.
|
private |
Definition at line 942 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.getStream().
|
private |
Definition at line 955 of file SevenZipExtractor.java.
Referenced by org.sleuthkit.autopsy.modules.embeddedfileextractor.SevenZipExtractor.StandardIArchiveExtractCallback.wasSuccessful().
Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.