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
a8dc242f
Commit
a8dc242f
authored
14 years ago
by
Brian Carrier
Browse files
Options
Downloads
Patches
Plain Diff
new TskAuto::findFilesInFs(TSK_FS_INFO *) method from Eamonn Saunders
parent
c01074b7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NEWS.txt
+1
-0
1 addition, 0 deletions
NEWS.txt
tsk3/auto/auto.cpp
+27
-7
27 additions, 7 deletions
tsk3/auto/auto.cpp
tsk3/auto/tsk_auto.h
+1
-0
1 addition, 0 deletions
tsk3/auto/tsk_auto.h
with
29 additions
and
7 deletions
NEWS.txt
+
1
−
0
View file @
a8dc242f
...
@@ -12,6 +12,7 @@ New Features:
...
@@ -12,6 +12,7 @@ New Features:
New Features:
New Features:
- new TskAuto method (handleNotification()) that gets verbose messages that allow for debugging when the class makes decisions.
- new TskAuto method (handleNotification()) that gets verbose messages that allow for debugging when the class makes decisions.
- DOS partitions are loaded even if an extended partition fails to load
- DOS partitions are loaded even if an extended partition fails to load
- new TskAuto::findFilesInFs(TSK_FS_INFO *) method
---------------- VERSION 3.2.2 --------------
---------------- VERSION 3.2.2 --------------
...
...
This diff is collapsed.
Click to expand it.
tsk3/auto/auto.cpp
+
27
−
7
View file @
a8dc242f
...
@@ -215,7 +215,7 @@ TSK_WALK_RET_ENUM
...
@@ -215,7 +215,7 @@ TSK_WALK_RET_ENUM
/**
/**
* Starts in a specified
sector
of the opened disk images and looks for a
* Starts in a specified
byte offset
of the opened disk images and looks for a
* volume system or file system. Will call processFile() on each file
* volume system or file system. Will call processFile() on each file
* that is found.
* that is found.
* @param a_start Byte offset to start analyzing from.
* @param a_start Byte offset to start analyzing from.
...
@@ -271,7 +271,7 @@ uint8_t TskAuto::findFilesInVs(TSK_OFF_T a_start, TSK_VS_TYPE_ENUM a_vtype)
...
@@ -271,7 +271,7 @@ uint8_t TskAuto::findFilesInVs(TSK_OFF_T a_start, TSK_VS_TYPE_ENUM a_vtype)
}
}
/**
/**
* Starts in a specified
sector
of the opened disk images and looks for a
* Starts in a specified
byte offset
of the opened disk images and looks for a
* volume system or file system. Will call processFile() on each file
* volume system or file system. Will call processFile() on each file
* that is found.
* that is found.
* @param a_start Byte offset to start analyzing from.
* @param a_start Byte offset to start analyzing from.
...
@@ -284,7 +284,7 @@ uint8_t TskAuto::findFilesInVs(TSK_OFF_T a_start)
...
@@ -284,7 +284,7 @@ uint8_t TskAuto::findFilesInVs(TSK_OFF_T a_start)
/**
/**
* Starts in a specified
sector
of the opened disk images and looks for a
* Starts in a specified
byte offset
of the opened disk images and looks for a
* file system. Will call processFile() on each file
* file system. Will call processFile() on each file
* that is found. Same as findFilesInFs, but gives more detailed return values.
* that is found. Same as findFilesInFs, but gives more detailed return values.
* @param a_start Byte offset to start analyzing from.
* @param a_start Byte offset to start analyzing from.
...
@@ -324,8 +324,28 @@ TSK_RETVAL_ENUM
...
@@ -324,8 +324,28 @@ TSK_RETVAL_ENUM
return
retval
;
return
retval
;
}
}
/**
* Processes the file system represented by the given TSK_FS_INFO
* pointer. Will Call processFile() on each file that is found.
*
* @param a_fs_info Pointer to a previously opened file system.
*
* @returns 1 on error and 0 on success
*/
uint8_t
TskAuto
::
findFilesInFs
(
TSK_FS_INFO
*
a_fs_info
)
{
if
(
a_fs_info
==
NULL
)
return
1
;
if
(
findFilesInFsInt
(
a_fs_info
,
a_fs_info
->
root_inum
)
==
TSK_ERR
)
return
1
;
else
return
0
;
}
/**
/**
* Starts in a specified
sector
of the opened disk images and looks for a
* Starts in a specified
byte offset
of the opened disk images and looks for a
* file system. Will call processFile() on each file
* file system. Will call processFile() on each file
* that is found.
* that is found.
*
*
...
@@ -343,7 +363,7 @@ uint8_t TskAuto::findFilesInFs(TSK_OFF_T a_start)
...
@@ -343,7 +363,7 @@ uint8_t TskAuto::findFilesInFs(TSK_OFF_T a_start)
/**
/**
* Starts in a specified
sector
of the opened disk images and looks for a
* Starts in a specified
byte offset
of the opened disk images and looks for a
* file system. Will call processFile() on each file
* file system. Will call processFile() on each file
* that is found.
* that is found.
*
*
...
@@ -361,7 +381,7 @@ uint8_t TskAuto::findFilesInFs(TSK_OFF_T a_start, TSK_FS_TYPE_ENUM a_ftype)
...
@@ -361,7 +381,7 @@ uint8_t TskAuto::findFilesInFs(TSK_OFF_T a_start, TSK_FS_TYPE_ENUM a_ftype)
}
}
/**
/**
* Starts in a specified
sector
of the opened disk images and looks for a
* Starts in a specified
byte offset
of the opened disk images and looks for a
* file system. Will start processing the file system at a specified
* file system. Will start processing the file system at a specified
* file system. Will call processFile() on each file
* file system. Will call processFile() on each file
* that is found in that directory.
* that is found in that directory.
...
@@ -410,7 +430,7 @@ uint8_t
...
@@ -410,7 +430,7 @@ uint8_t
/**
/**
* Starts in a specified
sector
of the opened disk images and looks for a
* Starts in a specified
byte offset
of the opened disk images and looks for a
* file system. Will start processing the file system at a specified
* file system. Will start processing the file system at a specified
* file system. Will call processFile() on each file
* file system. Will call processFile() on each file
* that is found in that directory.
* that is found in that directory.
...
...
This diff is collapsed.
Click to expand it.
tsk3/auto/tsk_auto.h
+
1
−
0
View file @
a8dc242f
...
@@ -75,6 +75,7 @@ class TskAuto {
...
@@ -75,6 +75,7 @@ class TskAuto {
uint8_t
findFilesInFs
(
TSK_OFF_T
start
,
TSK_INUM_T
inum
);
uint8_t
findFilesInFs
(
TSK_OFF_T
start
,
TSK_INUM_T
inum
);
uint8_t
findFilesInFs
(
TSK_OFF_T
start
,
TSK_FS_TYPE_ENUM
ftype
,
uint8_t
findFilesInFs
(
TSK_OFF_T
start
,
TSK_FS_TYPE_ENUM
ftype
,
TSK_INUM_T
inum
);
TSK_INUM_T
inum
);
uint8_t
findFilesInFs
(
TSK_FS_INFO
*
a_fs_info
);
TSK_RETVAL_ENUM
findFilesInFsRet
(
TSK_OFF_T
start
,
TSK_RETVAL_ENUM
findFilesInFsRet
(
TSK_OFF_T
start
,
TSK_FS_TYPE_ENUM
a_ftype
);
TSK_FS_TYPE_ENUM
a_ftype
);
...
...
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