Co-authored-by: Toua Lor <tlor@nti.local>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
tlor89
2022-09-22 20:56:45 -05:00
committed by GitHub
parent 5ea7cb3010
commit 99a21b04d4
+7
View File
@@ -109,6 +109,13 @@ atomic_tests:
if (Test-Path "#{mofcomp_path}") { exit 0} else { exit 1}
get_prereq_command: |
Validate MOFComp.exe is on disk somewhere and update input argument.
- description: |
MofComp.exe must exist on disk at specified location (#{mof_file})
prereq_command: |
if (Test-Path "#{mof_file}") { exit 0} else { exit 1}
get_prereq_command: |
New-Item -Type Directory (split-path #{mof_file}) -ErrorAction ignore | Out-Null
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1546.003/src/T1546.003.mof" -OutFile "#{mof_file}"
executor:
command: |
#{mofcomp_path} #{mof_file}