From f4e455ee45fb4f8cc91de4def0b2c168e54ab557 Mon Sep 17 00:00:00 2001 From: raptor Date: Sun, 17 Apr 2022 10:22:06 +0200 Subject: [PATCH] Update Haruspex.java --- Haruspex.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Haruspex.java b/Haruspex.java index 274664b..15412d0 100644 --- a/Haruspex.java +++ b/Haruspex.java @@ -61,6 +61,7 @@ public class Haruspex extends GhidraScript printf("\nHaruspex.java - Extract Ghidra decompiler's pseudo-code\n"); printf("Copyright (c) 2022 Marco Ivaldi \n\n"); + // ask for output directory path try { outputPath = askString("Please enter the path of the output directory", "Path:"); } catch (Exception e) { @@ -112,7 +113,6 @@ public class Haruspex extends GhidraScript try { FileWriter fw = new FileWriter(path + "/" + name); PrintWriter pw = new PrintWriter(fw); - pw.write(output); pw.close();