Skip to content
Snippets Groups Projects
Commit 4ad5f0eb authored by alexjacks92's avatar alexjacks92
Browse files

Finished first run of code.

parent d1534464
Branches
Tags
No related merge requests found
...@@ -18,6 +18,7 @@ public class Sample { ...@@ -18,6 +18,7 @@ public class Sample {
public static void run(String imagePath) { public static void run(String imagePath) {
try { try {
SleuthkitCase sk = SleuthkitCase.newCase(imagePath + ".db"); SleuthkitCase sk = SleuthkitCase.newCase(imagePath + ".db");
String timezone = ""; String timezone = "";
sk.makeAddImageProcess(timezone, true, false); sk.makeAddImageProcess(timezone, true, false);
...@@ -37,11 +38,10 @@ public static void run(String imagePath) { ...@@ -37,11 +38,10 @@ public static void run(String imagePath) {
} catch (TskCoreException e) { } catch (TskCoreException e) {
System.out.println("Exception caught: " + e.getMessage()); System.out.println("Exception caught: " + e.getMessage());
} }
}
public static void main(String[] args) {
Sample.run("C:\\Users\\ajacks\\TSK\\xp-sp3-v4\\xp-sp3-v4.001");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment