Skip to content
Snippets Groups Projects
Commit d8185d2c authored by Sean-M's avatar Sean-M
Browse files

Fixed getTSKData

parent e0bde22c
No related branches found
No related tags found
No related merge requests found
...@@ -189,8 +189,11 @@ public boolean accept(java.io.File f) { ...@@ -189,8 +189,11 @@ public boolean accept(java.io.File f) {
*/ */
private static void getTSKData(String standardPath, List<String> img) { private static void getTSKData(String standardPath, List<String> img) {
String tsk_loc; String tsk_loc;
java.io.File up = new java.io.File(System.getProperty("user.dir"));
up = up.getParentFile();
up = up.getParentFile();
if (System.getProperty("os.name").contains("Windows")) { if (System.getProperty("os.name").contains("Windows")) {
tsk_loc = "\\Users\\" + System.getProperty("user.name") + "\\Documents\\GitHub\\sleuthkit\\win32\\Release\\tsk_gettimes"; tsk_loc = up.getAbsolutePath() + "\\win32\\Release\\tsk_gettimes";
} else { } else {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment