diff --git a/atomics/T1550.002/T1550.002.yaml b/atomics/T1550.002/T1550.002.yaml index 8df1f003..6cafb023 100644 --- a/atomics/T1550.002/T1550.002.yaml +++ b/atomics/T1550.002/T1550.002.yaml @@ -75,10 +75,10 @@ atomic_tests: - description: | CrackMapExec executor must exist on disk at specified location (#{crackmapexec_exe}) prereq_command: | - if(Test-Path #{crackmapexec_exe}) { 0 } else { -1 } + if(Test-Path #{crackmapexec_exe}) {exit 0} else {exit 1} get_prereq_command: | Write-Host Automated installer not implemented yet, please install crackmapexec manually at this location: #{crackmapexec_exe} executor: command: | - crackmapexec #{domain} -u #{user_name} -H #{ntlm} -x #{command} + #{crackmapexec_exe} #{domain} -u #{user_name} -H #{ntlm} -x #{command} name: command_prompt