From 1ee43f35d99d87dd212e92135fb47396a873950d Mon Sep 17 00:00:00 2001 From: Priyank Panchal Date: Sun, 8 Dec 2024 02:48:34 -0500 Subject: [PATCH] fix: exfil script calling non-callable error while checking storage exist --- apps/Scripts/Windows_Exfil-GSHD.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/Scripts/Windows_Exfil-GSHD.js b/apps/Scripts/Windows_Exfil-GSHD.js index af6bd4697f..1212e1a3fe 100644 --- a/apps/Scripts/Windows_Exfil-GSHD.js +++ b/apps/Scripts/Windows_Exfil-GSHD.js @@ -17,7 +17,7 @@ let usbdisk = require("usbdisk"); let storage = require("storage"); print("Checking for Image..."); -if (storage.exists(image)) { +if (storage.fileExists(image)) { print ("Storage Exists."); } else {