Skip to content

Commit e00d1f4

Browse files
bcarrierclaude
andcommitted
Rename tool pages to lowercase/underscore CLI names
- 26 tool pages renamed: Hfind→hfind, Icat→icat, Blkcalc→blkcalc, etc. - Underscore names: img_cat, img_stat, disk_stat, disk_sreset, tsk_comparedir, tsk_gettimes, tsk_loaddb, tsk_recover - Each renamed page includes redirect_from for old capitalised URL so existing links and bookmarks continue to work - 404.html REDIRECT_MAP updated to point to new lowercase slugs - index.md Tools section now shows lowercase tool names - convert.py updated with TITLE_OVERRIDES dict for future re-runs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 57543d8 commit e00d1f4

43 files changed

Lines changed: 302 additions & 144 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ _site/
1616
# counterproductive to check this file into the repository.
1717
# Details at https://github.com/github/pages-gem/issues/768
1818
Gemfile.lock
19+
20+
.DS_Store
21+
.github/.DS_Store

404.html

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,18 +119,19 @@ <h1 class="page-title mb-4">Page Not Found</h1>
119119
// Covers all #REDIRECT pages from the original export.
120120
// ---------------------------------------------------------------------------
121121
var REDIRECT_MAP = {
122+
// --- #REDIRECT pages from the original wiki ---
122123
'autopsy 3': 'Autopsy',
123124
'autopsy 3 data flow': 'Autopsy-3-Nodes-and-Data-Flow',
124125
'autopsy forensic browser': 'Autopsy',
125126
'books on tsk': 'Books-and-Courses',
126127
'books and courses on tsk': 'Books-and-Courses',
127128
'data units': 'Data-unit',
128-
'dcalc': 'Blkcalc',
129-
'dcat': 'Blkcat',
129+
'dcalc': 'blkcalc',
130+
'dcat': 'blkcat',
130131
"developer's guide": 'TSK-Developers-Guide',
131-
'dls': 'Blkls',
132+
'dls': 'blkls',
132133
'documents on using tsk': 'Books-and-Courses',
133-
'dstat': 'Blkstat',
134+
'dstat': 'blkstat',
134135
'ext2/3': 'ExtX',
135136
'fragments': 'Fragment',
136137
"library user's guide": 'TSK-Library-Users-Guide',
@@ -142,7 +143,37 @@ <h1 class="page-title mb-4">Page Not Found</h1>
142143
'sectors': 'Sector',
143144
'tsk': 'The-Sleuth-Kit',
144145
'timeline': 'Timelines',
145-
'tools using tsk': 'Tools-Using-TSK-or-Autopsy'
146+
'tools using tsk': 'Tools-Using-TSK-or-Autopsy',
147+
// --- Renamed tool pages (old capitalised slug → new lowercase slug) ---
148+
// Handles ?title=Blkcalc, /wiki/Blkcalc, etc. where titleToSlug fallback
149+
// would produce the wrong capitalised URL.
150+
'blkcalc': 'blkcalc',
151+
'blkcat': 'blkcat',
152+
'blkls': 'blkls',
153+
'blkstat': 'blkstat',
154+
'ffind': 'ffind',
155+
'fls': 'fls',
156+
'fsstat': 'fsstat',
157+
'hfind': 'hfind',
158+
'icat': 'icat',
159+
'ifind': 'ifind',
160+
'ils': 'ils',
161+
'istat': 'istat',
162+
'jcat': 'jcat',
163+
'jls': 'jls',
164+
'mac-robber': 'mac-robber',
165+
'mactime': 'mactime',
166+
'sigfind': 'sigfind',
167+
'sorter': 'sorter',
168+
// --- Tools with underscores (old ?title=Disk_stat → "disk stat" after _ replace) ---
169+
'disk sreset': 'disk_sreset',
170+
'disk stat': 'disk_stat',
171+
'img cat': 'img_cat',
172+
'img stat': 'img_stat',
173+
'tsk comparedir': 'tsk_comparedir',
174+
'tsk gettimes': 'tsk_gettimes',
175+
'tsk loaddb': 'tsk_loaddb',
176+
'tsk recover': 'tsk_recover'
146177
};
147178

148179
// ---------------------------------------------------------------------------

Body-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ redirect_from:
1111
last_modified: 2009-04-27
1212
---
1313

14-
The body file is an intermediate file when creating a [timeline](/Timeline/) of file activity. It is a pipe ("|") delimited text file that contains one line for each file (or other even type, such as a log or registry key). The [fls](/Fls/), [ils](/Ils/), and [mac-robber](/Mac-robber/) tools all output this data format. The [mactime](/Mactime/) tool reads this file and sorts the contents (therefore the format is sometimes referred to as the "mactime format").
14+
The body file is an intermediate file when creating a [timeline](/Timeline/) of file activity. It is a pipe ("|") delimited text file that contains one line for each file (or other even type, such as a log or registry key). The [fls](/fls/), [ils](/ils/), and [mac-robber](/mac-robber/) tools all output this data format. The [mactime](/mactime/) tool reads this file and sorts the contents (therefore the format is sometimes referred to as the "mactime format").
1515

1616
The body file format in TSK 3.0+ is different from the format used in TSK 1.X and 2.X.
1717

FAT-Implementation-Notes.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ non-"data area" sectors.
4141

4242
This problem was solved by making the sector as the addressable
4343
unit, instead of the cluster. When a file is described (using
44-
[istat](/Istat/) for example), the sector addresses are given. In the
45-
output of [fsstat](/Fsstat/), the File Allocation Table contents are displayed
46-
in sectors and when using [blkls](/Blkls/) -l, the sector status is given.
44+
[istat](/istat/) for example), the sector addresses are given. In the
45+
output of [fsstat](/fsstat/), the File Allocation Table contents are displayed
46+
in sectors and when using [blkls](/blkls/) -l, the sector status is given.
4747

4848
This actually makes manual data recovery easier because one can
4949
use 'dd' to carve out data using the sector addresses. If clusters
@@ -55,7 +55,7 @@ FAT describes its files in a directory entry structure, which is
5555
contained in the sectors allocated by the parent directory. The
5656
directory entry structures have a fixed size of 32-bytes, not
5757
addressed, and can exist anywhere in the partition. The Sleuth
58-
Kit needs some form of [Metadata Address](/Metadata-Address/) for each file,
58+
Kit needs some form of [Metadata Address](/Metadata-address/) for each file,
5959
so this became a problem. Also, the root directory does not have
6060
a directory entry. In other words, there is no descriptive
6161
information for the root directory.
@@ -85,10 +85,10 @@ If the tool displays the time in a nice ASCII format, the same
8585
timezone will be used to translate the offset value into a date.
8686
Therefore, you can use any timezone value and the time will not
8787
change (just the timezone name). On the other hand, if you use a
88-
tool such as [ils](/Ils/) or [fls](/Fls/) -m, which display the time in the offset
88+
tool such as [ils](/ils/) or [fls](/fls/) -m, which display the time in the offset
8989
format, then it will have the offset of the current timezone or
9090
the one specified with '-z'. Therefore, ensure that the same '-z'
91-
argument is used with [mactime](/Mactime/) to display the correct time in
91+
argument is used with [mactime](/mactime/) to display the correct time in
9292
the [timeline](/Timeline/).
9393

9494
# General Notes on Time

FS-Analysis.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ education.
2727
The techniques used here apply to both UNIX and Windows file systems.
2828

2929
# Timelines
30-
The steps from the [timeline](/Timeline/) Sleuth Kit Implementation Notes are followed and you notice some interesting activity from unallocated inodes, namely MFT Entry 5035 from image c_drive.dd. To display the contents of this file, use [icat](/Icat/):
30+
The steps from the [timeline](/Timeline/) Sleuth Kit Implementation Notes are followed and you notice some interesting activity from unallocated inodes, namely MFT Entry 5035 from image c_drive.dd. To display the contents of this file, use [icat](/icat/):
3131

3232
```
3333
# icat images/c_drive.dd 5035 | less
@@ -37,7 +37,7 @@ NOTE: To prevent your terminal from getting messed up, pipe all
3737
output of "icat" through a pager like "less".
3838

3939
# Search
40-
In this scenario, we will search the unallocated space of the "wd0e.dd" image for the string "abcdefg". The first step is to extract the unallocated disk units using the [blkls](/Blkls/) tool (as this is an FFS image, the addressable units are fragments).
40+
In this scenario, we will search the unallocated space of the "wd0e.dd" image for the string "abcdefg". The first step is to extract the unallocated disk units using the [blkls](/blkls/) tool (as this is an FFS image, the addressable units are fragments).
4141

4242
```
4343
# blkls images/wd0e.dd > output/wd0e.blkls
@@ -57,7 +57,7 @@ Use the UNIX grep(1) utility to search the strings file.
5757
```
5858

5959
We notice that the string is located at byte 10389739. Next,
60-
determine what fragment. To do this, we use the [fsstat](/Fsstat/) tool:
60+
determine what fragment. To do this, we use the [fsstat](/fsstat/) tool:
6161

6262
```
6363
# fsstat -t ufs images/wd0e.dd
@@ -72,7 +72,7 @@ determine what fragment. To do this, we use the [fsstat](/Fsstat/) tool:
7272
This shows us that each fragment is 1024 bytes long. Using a
7373
calculator, we find that byte 10389739 divided by 1024 is 10146
7474
(and change). This means that the string "abcdefg" is located in
75-
fragment 10146 of the [blkls](/Blkls/) generated file. This does not really
75+
fragment 10146 of the [blkls](/blkls/) generated file. This does not really
7676
help us because the blkls image is not a real file system. To view
7777
the full fragment from the blkls image, we can use dd:
7878

@@ -81,7 +81,7 @@ the full fragment from the blkls image, we can use dd:
8181
```
8282

8383
Next, we will identify where this fragment is in the original image.
84-
The [blkcalc](/Blkcalc/) tool will be used for this. "blkcalc" will return the
84+
The [blkcalc](/blkcalc/) tool will be used for this. "blkcalc" will return the
8585
"address" in the original image when given the "address" in the
8686
blkls generated image. (NOTE, this is currently kind of slow). The
8787
'-u' flag shows that we are giving it an blkls address. If the '-d'
@@ -102,15 +102,15 @@ the contents of this fragment, we can use "blkcat".
102102

103103
To make more sense of this, let us identify if there is a meta data
104104
structure that still has a pointer to this fragment. This is achieved
105-
using [ifind](/Ifind/). The '-a' argument means to find all occurrences.
105+
using [ifind](/ifind/). The '-a' argument means to find all occurrences.
106106

107107
```
108108
# ifind -a images/wd0e.dd 59382
109109
493
110110
```
111111

112112
Inode 493 has a pointer to fragment 59382. Let us get more information
113-
about inode 493, using [istat](/Istat/).
113+
about inode 493, using [istat](/istat/).
114114

115115
```
116116
# istat images/wd0e.dd 493
@@ -128,7 +128,7 @@ about inode 493, using [istat](/Istat/).
128128
```
129129

130130
Next, let us find out if there is a file that is still associated with
131-
this (unallocated) inode. This is done using [ffind](/Ffind/).
131+
this (unallocated) inode. This is done using [ffind](/ffind/).
132132

133133
```
134134
# ffind -a images/wd0e.dd 493
@@ -151,7 +151,7 @@ As previously mentioned, Autopsy will do all of this for you when
151151
you do a keyword search of unallocated space.
152152

153153
# Deleted Content
154-
To view all of the deleted file names in an image, use the [fls](/Fls/) tool.
154+
To view all of the deleted file names in an image, use the [fls](/fls/) tool.
155155
For all deleted files, use the '-r' flag for recursive and '-d' flag
156156
for deleted.
157157

0 commit comments

Comments
 (0)