Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
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
Sleuthkit
Commits
9498cb2f
Commit
9498cb2f
authored
12 years ago
by
Brian Carrier
Browse files
Options
Downloads
Patches
Plain Diff
fixed hfind to work on EnCase hashsets with index is not specified
parent
3ca56c52
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS.txt
+1
-0
1 addition, 0 deletions
NEWS.txt
tsk/hashdb/tm_lookup.c
+12
-0
12 additions, 0 deletions
tsk/hashdb/tm_lookup.c
with
13 additions
and
0 deletions
NEWS.txt
+
1
−
0
View file @
9498cb2f
...
@@ -8,6 +8,7 @@ Core:
...
@@ -8,6 +8,7 @@ Core:
- Added NTFS FNAME times to time2 struct in TSK_FS_META to make them
- Added NTFS FNAME times to time2 struct in TSK_FS_META to make them
easier to access -- should have done this a long time ago!
easier to access -- should have done this a long time ago!
- fls -m and tsk_gettimes output NTFS FNAME times to output for timelines.
- fls -m and tsk_gettimes output NTFS FNAME times to output for timelines.
- hfind with EnCase hashsets works when DB is specified (and not only index)
---------------- VERSION 4.1.0 --------------
---------------- VERSION 4.1.0 --------------
...
...
This diff is collapsed.
Click to expand it.
tsk/hashdb/tm_lookup.c
+
12
−
0
View file @
9498cb2f
...
@@ -625,6 +625,18 @@ hdb_setupindex(TSK_HDB_INFO * hdb_info, uint8_t htype)
...
@@ -625,6 +625,18 @@ hdb_setupindex(TSK_HDB_INFO * hdb_info, uint8_t htype)
return
1
;
return
1
;
}
}
}
}
else
if
(
strcmp
(
ptr
,
TSK_HDB_DBTYPE_ENCASE_STR
)
==
0
)
{
if
((
hdb_info
->
db_type
!=
TSK_HDB_DBTYPE_ENCASE_ID
)
&&
(
hdb_info
->
db_type
!=
TSK_HDB_DBTYPE_IDXONLY_ID
))
{
tsk_release_lock
(
&
hdb_info
->
lock
);
tsk_error_reset
();
tsk_error_set_errno
(
TSK_ERR_HDB_UNKTYPE
);
tsk_error_set_errstr
(
"hdb_indexsetup: DB detected as %s, index type has EnCase"
,
ptr
);
return
1
;
}
}
else
if
(
hdb_info
->
db_type
!=
TSK_HDB_DBTYPE_IDXONLY_ID
)
{
else
if
(
hdb_info
->
db_type
!=
TSK_HDB_DBTYPE_IDXONLY_ID
)
{
tsk_release_lock
(
&
hdb_info
->
lock
);
tsk_release_lock
(
&
hdb_info
->
lock
);
tsk_error_reset
();
tsk_error_reset
();
...
...
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