Typo in prereq_command (#909)

There are two " in the prereq_command in T1035 leading to an error when running the CheckPrereqs flag.
This commit is contained in:
ckaadic
2020-03-27 15:29:04 +01:00
committed by GitHub
parent 537ce077f9
commit 6944366c06
+1 -1
View File
@@ -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