-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCargo.toml
207 lines (170 loc) · 5.55 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
[package]
name = "dfir-toolkit"
version = "0.11.2"
edition = "2021"
authors = ["Jan Starke <[email protected]>", "Deborah Mahn <[email protected]>"]
description = "CLI tools for digital forensics and incident response"
repository = "https://github.com/dfir-dd/dfir-toolkit"
license = "GPL-3.0"
# this version is required, because earlier versions handle missing `created`
# timestamps as `Uncategorized`, instead of `Unsupported`
rust-version = "1.80"
[package.metadata.deb]
maintainer-scripts = "scripts/maintainer"
[[bin]]
name = "mactime2"
path = "src/bin/mactime2/main.rs"
required-features = ["mactime2"]
[[bin]]
name = "evtxscan"
path = "src/bin/evtxscan/main.rs"
required-features = ["evtxscan"]
[[bin]]
name = "evtxcat"
path = "src/bin/evtxcat/main.rs"
required-features = ["evtxcat"]
[[bin]]
name = "evtxls"
path = "src/bin/evtxls/main.rs"
required-features = ["evtxls"]
[[bin]]
name = "evtxanalyze"
path = "src/bin/evtxanalyze/main.rs"
required-features = ["evtxanalyze"]
[[bin]]
name = "evtx2bodyfile"
path = "src/bin/evtx2bodyfile/main.rs"
required-features = ["evtx2bodyfile"]
[[bin]]
name = "pol_export"
path = "src/bin/pol_export/main.rs"
required-features = ["pol_export"]
[[bin]]
name = "regdump"
path = "src/bin/regdump/main.rs"
required-features = ["regdump"]
[[bin]]
name = "hivescan"
path = "src/bin/hivescan/main.rs"
required-features = ["hivescan"]
[[bin]]
name = "cleanhive"
path = "src/bin/cleanhive/main.rs"
required-features = ["cleanhive"]
[[bin]]
name = "ipgrep"
path = "src/bin/ipgrep/main.rs"
required-features = ["ipgrep"]
[[bin]]
name = "ts2date"
path = "src/bin/ts2date/main.rs"
required-features = ["ts2date"]
[[bin]]
name = "lnk2bodyfile"
path = "src/bin/lnk2bodyfile/main.rs"
required-features = ["lnk2bodyfile"]
[[bin]]
name = "pf2bodyfile"
path = "src/bin/pf2bodyfile/main.rs"
required-features = ["pf2bodyfile"]
[[bin]]
name = "zip2bodyfile"
path = "src/bin/zip2bodyfile/main.rs"
required-features = ["zip2bodyfile"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["pol_export", "mactime2", "evtxtools", "regdump", "hivescan", "cleanhive", "ipgrep", "ts2date", "lnk2bodyfile", "pf2bodyfile", "zip2bodyfile"]
mactime2 = ["gzip", "chrono-tz", "thiserror", "bitflags", "encoding_rs_io", "color-print", "strum", "strum_macros", "sha2"]
gzip = ["flate2"]
evtxtools = ["evtxscan", "evtxcat", "evtxls", "evtxanalyze", "evtx2bodyfile"]
pol_export = []
evtxscan = ["evtx"]
evtxcat = ["evtx", "colored_json", "term-table", "termsize"]
evtxls = ["evtx", "colored", "lazy-regex", "regex", "sigpipe", "dfirtk-eventdata"]
evtxanalyze = ["evtx", "dfirtk-sessionevent-derive", "dfirtk-eventdata", "exitcode", "walkdir", "serde_json"]
evtx2bodyfile = ["evtx", "getset", "ouroboros", "indicatif"]
ipgrep = []
ts2date = ["regex"]
lnk2bodyfile = ["lnk"]
pf2bodyfile = ["num", "libc", "frnsc-prefetch", "forensic-rs"]
zip2bodyfile = ["zip", "time"]
regdump = ["nt_hive2"]
hivescan = ["nt_hive2"]
cleanhive = ["nt_hive2"]
[dependencies]
anyhow = "1.0"
binread = "2.2.0"
chrono = "0.4"
clap = {version = "4.5", features = ["derive", "wrap_help", "cargo"] }
clap-verbosity-flag = "2.0.0"
csv = "1.2.2"
encoding_rs = "0.8"
flow-record = "0.4.7"
#flow-record = {path="../flow-record"}
## setting release_max_level_info conflicts with evtx
# log = {version = "0.4", features = [ "release_max_level_info" ]}
log = {version = "0.4"}
serde = { version = "1.0", features = ["derive"] }
simplelog = "0.12"
winstructs = "0.3.0"
lazy_static = "1.4"
regex = {version = "1", optional=true}
clap-markdown-dfir = "0.2.0"
clap_complete = "4"
clio = {version="0.3", features=["clap-parse"] }
#clio = {path="../clio", features=["clap-parse"]}
# mactime2
chrono-tz = {version="0", optional=true}
serde_json = {version = "1", optional=true}
flate2 = {version="1", optional=true}
thiserror = {version="1", optional=true}
bitflags = {version="2", optional=true}
encoding_rs_io = {version="0.1", optional=true}
color-print = {version="0.3.6", optional=true}
# evtxtools
dfirtk-eventdata = {version="0.1.3", optional=true}
dfirtk-sessionevent-derive = {version="0.1", optional=true}
evtx={version="0.8", optional=true}
colored_json = {version="3", optional=true}
term-table = {version = "1.3", optional=true}
termsize = {version = "0.1", optional=true}
colored = {version = "2", optional=true}
lazy-regex = {version = "3.0.0", optional=true}
sigpipe = {version = "0", optional=true}
phf = {version = "0.11", optional=true}
exitcode = {version="1.1.2", optional=true}
walkdir = {version="2.5.0", optional=true}
# evtx2bodyfile
indicatif = {version="0.17", optional=true}
getset = {version="0.1", optional=true}
ouroboros = {version="0.18", optional=true}
# bodyfile, es4forensics
duplicate = "1"
sha2 = {version="0.10", optional=true}
base64 = {version="0.21", optional=true}
num-traits = {version="0.2", optional=true}
num-derive = {version="0", optional=true}
strum = { version = "0", features = ["derive"], optional=true }
strum_macros = {version="0", optional=true}
# nt-hive2
nt_hive2 = {version="4.2.3", optional=true}
#nt_hive2 = {path="../nt-hive2", optional=true}
# lnk2bodyfile
lnk = {version="0.5.1", optional=true}
# pf2bodyfile
libc = {version="0.2", optional=true}
num = {version="0", optional=true}
frnsc-prefetch = {version="0.13", optional=true}
forensic-rs = {version="0.13", optional=true}
# zip2bodyfile
zip = {version="2.1.3", optional=true, features=["time"]}
time = {version="0.3.36", optional=true}
[dev-dependencies]
# mactime2
more-asserts = "0.3"
rand = "0.8"
# bodyfile
matches = "0.1"
# es4forensics
assert-json-diff = "2.0"
assert_cmd = "2"