From 67afbfe15cd72a25a6a5f0c2919a4f02b6413ca5 Mon Sep 17 00:00:00 2001 From: Burning_PM <78918118+burning-pm@users.noreply.github.com> Date: Fri, 17 Mar 2023 06:53:35 -0700 Subject: [PATCH] Fix-Cleanup-Command Fix the cleanup command to pass the output_path input argument instead of being hardcoded. --- atomics/T1033/T1033.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomics/T1033/T1033.yaml b/atomics/T1033/T1033.yaml index fe0d3fcb..0188909f 100644 --- a/atomics/T1033/T1033.yaml +++ b/atomics/T1033/T1033.yaml @@ -103,5 +103,5 @@ atomic_tests: whoami.exe /all >> #{output_path}\$file cleanup_command: | - Remove-Item -Path $env:temp\rad*.tmp -Force + Remove-Item -Path #{output_path}\rad*.tmp -Force name: powershell \ No newline at end of file