-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from dfir-dd/37-error-in-hivescan-unexpectedeof
37 error in hivescan unexpectedeof
- Loading branch information
Showing
19 changed files
with
65 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
target | ||
!Cargo.lock | ||
.vscode | ||
.idea | ||
tmp | ||
temp |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
mod testhive; | ||
mod new_dirty_hive1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
use std::path::PathBuf; | ||
|
||
use assert_cmd::Command; | ||
|
||
#[test] | ||
fn scan_new_dirty_hive1() { | ||
let mut cmd = Command::cargo_bin("hivescan").unwrap(); | ||
let mut data_path = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap()); | ||
data_path.push("tests"); | ||
data_path.push("data"); | ||
data_path.push("hivescan"); | ||
data_path.push("NewDirtyHive1"); | ||
data_path.push("NewDirtyHive"); | ||
cmd.arg(data_path).assert().success(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
use std::path::PathBuf; | ||
|
||
use assert_cmd::Command; | ||
|
||
#[test] | ||
fn scan_testhive() { | ||
let mut cmd = Command::cargo_bin("hivescan").unwrap(); | ||
let mut data_path = PathBuf::from(std::env::var("CARGO_MANIFEST_DIR").unwrap()); | ||
data_path.push("tests"); | ||
data_path.push("data"); | ||
data_path.push("hivescan"); | ||
data_path.push("testhive"); | ||
cmd.arg(data_path).assert().success(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
mod mactime2; | ||
mod ts2date; | ||
mod lnk2bodyfile; | ||
mod lnk2bodyfile; | ||
mod hivescan; |