mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Merge branch 'master' of https://github.com/sleuthkit/autopsy
This commit is contained in:
commit
5e8cd31a23
@ -80,18 +80,24 @@ public class BlackboardArtifactNode extends AbstractNode implements DisplayableI
|
|||||||
|
|
||||||
ss.put(new NodeProperty("File Name",
|
ss.put(new NodeProperty("File Name",
|
||||||
"File Name",
|
"File Name",
|
||||||
"no description",
|
NO_DESCR,
|
||||||
associated.accept(new NameVisitor())));
|
associated.accept(new NameVisitor())));
|
||||||
|
|
||||||
ATTRIBUTE_TYPE[] attributeTypes = ATTRIBUTE_TYPE.values();
|
|
||||||
for(Map.Entry<Integer, Object> entry : map.entrySet()){
|
for(Map.Entry<Integer, Object> entry : map.entrySet()){
|
||||||
if(attributeTypes.length > entry.getKey()){
|
ss.put(new NodeProperty(BlackboardAttribute.ATTRIBUTE_TYPE.fromID(entry.getKey()).getDisplayName(),
|
||||||
ss.put(new NodeProperty(attributeTypes[entry.getKey()-1].getDisplayName(),
|
BlackboardAttribute.ATTRIBUTE_TYPE.fromID(entry.getKey()).getDisplayName(),
|
||||||
attributeTypes[entry.getKey()-1].getDisplayName(),
|
|
||||||
NO_DESCR,
|
NO_DESCR,
|
||||||
entry.getValue()));
|
entry.getValue()));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(artifact.getArtifactTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_HASHSET_HIT.getTypeID()
|
||||||
|
|| artifact.getArtifactTypeID() == BlackboardArtifact.ARTIFACT_TYPE.TSK_KEYWORD_HIT.getTypeID()) {
|
||||||
|
ss.put(new NodeProperty("File Path",
|
||||||
|
"File Path",
|
||||||
|
NO_DESCR,
|
||||||
|
DataConversion.getformattedPath(ContentUtils.getDisplayPath(associated), 0, 1)));
|
||||||
|
}
|
||||||
|
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user