diff --git a/atomics/T1016/T1016.yaml b/atomics/T1016/T1016.yaml index 53677485..74f5de05 100644 --- a/atomics/T1016/T1016.yaml +++ b/atomics/T1016/T1016.yaml @@ -97,11 +97,11 @@ atomic_tests: prereq_command: | if (Test-Path "#{port_file}") {exit 0} else {exit 1} get_prereq_command: | - New-Item -Type Directory (split-path #{port_file}) -ErrorAction ignore | Out-Null + New-Item -Type Directory (split-path "#{port_file}") -ErrorAction ignore | Out-Null Invoke-WebRequest "#{portfile_url}" -OutFile "#{port_file}" executor: command: | - $ports = Get-content #{port_file} + $ports = Get-content "#{port_file}" $file = "#{output_file}" $totalopen = 0 $totalports = 0