T1550.002 fix test 2 (#1747)

* fix test 2

* fix crackmapexec
This commit is contained in:
frack113
2022-01-31 17:51:40 +01:00
committed by GitHub
parent 51e66c9ab6
commit be58951361
+2 -2
View File
@@ -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