Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Autopsy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Autopsy
Commits
5648b0f9
Commit
5648b0f9
authored
3 years ago
by
Kelly Kelly
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a few issues
parent
daa66b72
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
RecentActivity/src/org/sleuthkit/autopsy/recentactivity/ExtractRegistry.java
+3
-27
3 additions, 27 deletions
...org/sleuthkit/autopsy/recentactivity/ExtractRegistry.java
with
3 additions
and
27 deletions
RecentActivity/src/org/sleuthkit/autopsy/recentactivity/ExtractRegistry.java
+
3
−
27
View file @
5648b0f9
...
@@ -658,30 +658,6 @@ private boolean parseAutopsyPluginOutput(String regFilePath, AbstractFile regFil
...
@@ -658,30 +658,6 @@ private boolean parseAutopsyPluginOutput(String regFilePath, AbstractFile regFil
osInfo
.
setProductId
(
productId
);
osInfo
.
setProductId
(
productId
);
osInfo
.
setRegOwner
(
regOwner
);
osInfo
.
setRegOwner
(
regOwner
);
osInfo
.
setRegOrg
(
regOrg
);
osInfo
.
setRegOrg
(
regOrg
);
// try {
// Collection<BlackboardAttribute> bbattributes = new ArrayList<>();
// bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_PROG_NAME, parentModuleName, version));
// if (installtime != null) {
// bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_DATETIME, parentModuleName, installtime));
// }
// bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_PATH, parentModuleName, systemRoot));
// bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_PRODUCT_ID, parentModuleName, productId));
// bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_OWNER, parentModuleName, regOwner));
// bbattributes.add(new BlackboardAttribute(ATTRIBUTE_TYPE.TSK_ORGANIZATION, parentModuleName, regOrg));
//
// // Check if there is already an OS_INFO artifact for this file, and add to that if possible.
// ArrayList<BlackboardArtifact> results = tskCase.getBlackboardArtifacts(ARTIFACT_TYPE.TSK_OS_INFO, regFile.getId());
// if (results.isEmpty()) {
// newArtifacts.add(createArtifactWithAttributes(BlackboardArtifact.Type.TSK_OS_INFO, regFile, bbattributes));
// } else {
// results.get(0).addAttributes(bbattributes);
// }
// } catch (TskCoreException ex) {
// logger.log(Level.SEVERE, String.format("Error adding installed program artifact to blackboard for file %d.", regFile.getId()), ex); //NON-NLS
// }
break
;
break
;
case
"Profiler"
:
// NON-NLS
case
"Profiler"
:
// NON-NLS
String
os
=
""
;
String
os
=
""
;
...
@@ -735,7 +711,7 @@ private boolean parseAutopsyPluginOutput(String regFilePath, AbstractFile regFil
...
@@ -735,7 +711,7 @@ private boolean parseAutopsyPluginOutput(String regFilePath, AbstractFile regFil
}
}
}
}
osInfo
.
set
Os
Name
(
compName
);
osInfo
.
set
Comp
Name
(
compName
);
osInfo
.
setDomain
(
domainName
);
osInfo
.
setDomain
(
domainName
);
for
(
Map
.
Entry
<
String
,
String
>
userMap
:
getUserNameMap
().
entrySet
())
{
for
(
Map
.
Entry
<
String
,
String
>
userMap
:
getUserNameMap
().
entrySet
())
{
...
@@ -2351,7 +2327,7 @@ private boolean isDomainIdInSAMList(String osAccountSID) {
...
@@ -2351,7 +2327,7 @@ private boolean isDomainIdInSAMList(String osAccountSID) {
// of TSK_OS_INFO is created per RA run.
// of TSK_OS_INFO is created per RA run.
private
class
OSInfo
{
private
class
OSInfo
{
private
String
compName
=
null
;
private
String
compName
=
null
;
private
String
progName
=
"Window"
;
private
String
progName
=
"Window
s
"
;
private
String
processorArchitecture
=
null
;
private
String
processorArchitecture
=
null
;
private
String
tempDir
=
null
;
private
String
tempDir
=
null
;
private
String
domain
=
null
;
private
String
domain
=
null
;
...
@@ -2415,7 +2391,7 @@ void setCompName(String compName) {
...
@@ -2415,7 +2391,7 @@ void setCompName(String compName) {
}
}
void
setOsName
(
String
progName
)
{
void
setOsName
(
String
progName
)
{
if
(
this
.
progName
=
=
null
||
this
.
progName
.
isEmpty
())
{
if
(
progName
!
=
null
&&
!
progName
.
isEmpty
())
{
this
.
progName
=
progName
;
this
.
progName
=
progName
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment