From a62d04d4881fb7dee455b9b864fe28ebb90a40e2 Mon Sep 17 00:00:00 2001 From: Carrie Roberts Date: Fri, 26 May 2023 14:37:52 -0600 Subject: [PATCH] fix double quotes --- atomics/T1098/T1098.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/atomics/T1098/T1098.yaml b/atomics/T1098/T1098.yaml index 2b90c8f0..ab3958da 100644 --- a/atomics/T1098/T1098.yaml +++ b/atomics/T1098/T1098.yaml @@ -571,7 +571,7 @@ atomic_tests: get_prereq_command: | New-Item -Type Directory (split-path "#{cred_file}") -ErrorAction Ignore | Out-Null $cred = Get-Credential -UserName $env:USERNAME -message "Enter password for $env:USERNAME to use during password change attempt" - $cred.Password | ConvertFrom-SecureString | Out-File ""#{cred_file}" + $cred.Password | ConvertFrom-SecureString | Out-File "#{cred_file}" executor: name: powershell elevation_required: true @@ -628,7 +628,7 @@ atomic_tests: get_prereq_command: | New-Item -Type Directory (split-path "#{cred_file}") -ErrorAction Ignore | Out-Null $cred = Get-Credential -UserName $env:USERNAME -message "Enter password for $env:USERNAME to use during password change attempt" - $cred.Password | ConvertFrom-SecureString | Out-File ""#{cred_file}" + $cred.Password | ConvertFrom-SecureString | Out-File "#{cred_file}" executor: name: powershell elevation_required: true @@ -685,7 +685,7 @@ atomic_tests: get_prereq_command: | New-Item -Type Directory (split-path "#{cred_file}") -ErrorAction Ignore | Out-Null $cred = Get-Credential -UserName $env:USERNAME -message "Enter password for $env:USERNAME to use during password change attempt" - $cred.Password | ConvertFrom-SecureString | Out-File ""#{cred_file}" + $cred.Password | ConvertFrom-SecureString | Out-File "#{cred_file}" executor: name: powershell elevation_required: true @@ -742,7 +742,7 @@ atomic_tests: get_prereq_command: | New-Item -Type Directory (split-path "#{cred_file}") -ErrorAction Ignore | Out-Null $cred = Get-Credential -UserName $env:USERNAME -message "Enter password for $env:USERNAME to use during password change attempt" - $cred.Password | ConvertFrom-SecureString | Out-File ""#{cred_file}" + $cred.Password | ConvertFrom-SecureString | Out-File "#{cred_file}" executor: name: powershell elevation_required: true @@ -799,7 +799,7 @@ atomic_tests: get_prereq_command: | New-Item -Type Directory (split-path "#{cred_file}") -ErrorAction Ignore | Out-Null $cred = Get-Credential -UserName $env:USERNAME -message "Enter password for $env:USERNAME to use during password change attempt" - $cred.Password | ConvertFrom-SecureString | Out-File ""#{cred_file}" + $cred.Password | ConvertFrom-SecureString | Out-File "#{cred_file}" executor: name: powershell elevation_required: true @@ -856,7 +856,7 @@ atomic_tests: get_prereq_command: | New-Item -Type Directory (split-path "#{cred_file}") -ErrorAction Ignore | Out-Null $cred = Get-Credential -UserName $env:USERNAME -message "Enter password for $env:USERNAME to use during password change attempt" - $cred.Password | ConvertFrom-SecureString | Out-File ""#{cred_file}" + $cred.Password | ConvertFrom-SecureString | Out-File "#{cred_file}" executor: name: powershell elevation_required: true @@ -913,7 +913,7 @@ atomic_tests: get_prereq_command: | New-Item -Type Directory (split-path "#{cred_file}") -ErrorAction Ignore | Out-Null $cred = Get-Credential -UserName $env:USERNAME -message "Enter password for $env:USERNAME to use during password change attempt" - $cred.Password | ConvertFrom-SecureString | Out-File ""#{cred_file}" + $cred.Password | ConvertFrom-SecureString | Out-File "#{cred_file}" executor: name: powershell elevation_required: true