use raw url so you get a functional script

This commit is contained in:
Carrie Roberts
2022-04-26 10:44:23 -06:00
committed by GitHub
parent eaab79e13f
commit ab620dbbf3
+1 -1
View File
@@ -26,7 +26,7 @@ atomic_tests:
prereq_command: |
if (Test-Path #{file_path}\Get-Inbox.ps1) {exit 0} else {exit 1}
get_prereq_command: |
Invoke-WebRequest "https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1114.001/src/Get-Inbox.ps1" -OutFile "#{file_path}\Get-Inbox.ps1"
Invoke-WebRequest "https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1114.001/src/Get-Inbox.ps1" -OutFile "#{file_path}\Get-Inbox.ps1"
executor:
command: |
powershell -executionpolicy bypass -command #{file_path}\Get-Inbox.ps1 -file #{output_file}