Merge pull request #1891 from redcanaryco/clr2of8-patch-14

use raw url so you get a functional script
This commit is contained in:
Jose Enrique Hernandez
2022-04-26 12:46:17 -04:00
committed by GitHub
+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}