From 6944366c066d87fc213a07a40ae8d429db2e03a3 Mon Sep 17 00:00:00 2001 From: ckaadic <48683125+ckaadic@users.noreply.github.com> Date: Fri, 27 Mar 2020 15:29:04 +0100 Subject: [PATCH] Typo in prereq_command (#909) There are two " in the prereq_command in T1035 leading to an error when running the CheckPrereqs flag. --- atomics/T1035/T1035.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomics/T1035/T1035.yaml b/atomics/T1035/T1035.yaml index 8157ecb8..306ab9ae 100644 --- a/atomics/T1035/T1035.yaml +++ b/atomics/T1035/T1035.yaml @@ -50,7 +50,7 @@ atomic_tests: - description: | PsExec tool from Sysinternals must exist on disk at specified location (#{psexec_exe}) prereq_command: | - if (Test-Path "#{psexec_exe}"") { exit 0} else { exit 1} + if (Test-Path "#{psexec_exe}") { exit 0} else { exit 1} get_prereq_command: | Invoke-WebRequest "https://download.sysinternals.com/files/PSTools.zip" -OutFile "$env:TEMP\PsTools.zip" Expand-Archive $env:TEMP\PsTools.zip $env:TEMP\PsTools -Force