mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
fixes
This commit is contained in:
parent
423fcbc7ff
commit
c9dd573e61
@ -211,7 +211,7 @@ class GPXParserFileIngestModule(FileIngestModule):
|
|||||||
attributes.add(BlackboardAttribute(
|
attributes.add(BlackboardAttribute(
|
||||||
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PROG_NAME.getTypeID(), self.moduleName, "GPXParser"))
|
BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PROG_NAME.getTypeID(), self.moduleName, "GPXParser"))
|
||||||
|
|
||||||
artifact = abstractFile.newDataArtifact(BlackboardArtifact.Type(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_BOOKMARK), attributes)
|
art = file.newDataArtifact(BlackboardArtifact.Type(BlackboardArtifact.ARTIFACT_TYPE.TSK_GPS_BOOKMARK), attributes)
|
||||||
|
|
||||||
self.blackboard.postArtifact(art, self.moduleName)
|
self.blackboard.postArtifact(art, self.moduleName)
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ class ViberAnalyzer(general.AndroidComponentAnalyzer):
|
|||||||
current_case = Case.getCurrentCase().getSleuthkitCase()
|
current_case = Case.getCurrentCase().getSleuthkitCase()
|
||||||
attributes = ArrayList()
|
attributes = ArrayList()
|
||||||
attributes.add(BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_NAME.getTypeID(), self._PARSER_NAME, contacts_parser.get_contact_name()))
|
attributes.add(BlackboardAttribute(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_NAME.getTypeID(), self._PARSER_NAME, contacts_parser.get_contact_name()))
|
||||||
artifact = abstractFile.newDataArtifact(BlackboardArtifact.Type(BlackboardArtifact.ARTIFACT_TYPE.TSK_CONTACT), attributes)
|
artifact = contacts_db.getDBFile().newDataArtifact(BlackboardArtifact.Type(BlackboardArtifact.ARTIFACT_TYPE.TSK_CONTACT), attributes)
|
||||||
|
|
||||||
# Post the artifact to blackboard
|
# Post the artifact to blackboard
|
||||||
current_case.getBlackboard().postArtifact(artifact, self._PARSER_NAME)
|
current_case.getBlackboard().postArtifact(artifact, self._PARSER_NAME)
|
||||||
|
@ -745,8 +745,8 @@ class ExtractRegistry extends Extract {
|
|||||||
for (Map.Entry<String, String> userMap : userNameMap.entrySet()) {
|
for (Map.Entry<String, String> userMap : userNameMap.entrySet()) {
|
||||||
String sid = "";
|
String sid = "";
|
||||||
try{
|
try{
|
||||||
sid = (String)userMap.getKey();
|
sid = userMap.getKey();
|
||||||
String userName = (String)userMap.getValue();
|
String userName = userMap.getValue();
|
||||||
createOrUpdateOsAccount(regFile, sid, userName, null);
|
createOrUpdateOsAccount(regFile, sid, userName, null);
|
||||||
} catch(TskCoreException | TskDataException | NotUserSIDException ex) {
|
} catch(TskCoreException | TskDataException | NotUserSIDException ex) {
|
||||||
logger.log(Level.WARNING, String.format("Failed to update Domain for existing OsAccount: %s, sid: %s", regFile.getId(), sid), ex);
|
logger.log(Level.WARNING, String.format("Failed to update Domain for existing OsAccount: %s, sid: %s", regFile.getId(), sid), ex);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user