diff --git a/nxc/modules/get_gpos.py b/nxc/modules/get_gpos.py index 2de5d35d..42816740 100644 --- a/nxc/modules/get_gpos.py +++ b/nxc/modules/get_gpos.py @@ -86,9 +86,8 @@ class NXCModule: context.log.highlight(f"GPO Path: \\\\SYSVOL\\{gpo_path}") if self.download: - dest_folder = os.path.join(self.download_dest, gpo_path, gpo_guid.strip("{}")) context.log.display(f"Downloading GPO {gpo_guid} from SYSVOL share") - self.download_gpo(context, connection, gpo_path, dest_folder, gpo_guid) + self.download_gpo(context, connection, gpo_path, self.download_dest, gpo_guid) context.log.success(f"GPOs Found: {len(gpos_found)}") except Exception as e: