Merge branch 'master' into T1615jesseee
This commit is contained in:
@@ -9,8 +9,6 @@ jobs:
|
||||
steps:
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: setup ruby
|
||||
uses: ruby/setup-ruby@v1
|
||||
@@ -35,10 +33,9 @@ jobs:
|
||||
git config credential.helper 'cache --timeout=120'
|
||||
git config user.email "opensource@redcanary.com"
|
||||
git config user.name "Atomic Red Team GUID generator"
|
||||
|
||||
git add atomics
|
||||
git commit -am "Generate GUIDs from job=$GITHUB_JOB branch=$GITHUB_REF_NAME [skip ci]"
|
||||
git push -u origin $GITHUB_REF_NAME
|
||||
git push origin $GITHUB_REF_NAME -f
|
||||
fi
|
||||
|
||||
- name: generate markdown docs for atomics
|
||||
@@ -58,6 +55,6 @@ jobs:
|
||||
git config user.email "opensource@redcanary.com"
|
||||
git config user.name "Atomic Red Team doc generator"
|
||||
git add atomics
|
||||
git commit -am "ci/cd generated docs from job=$GITHUB_JOB branch=$GITHUB_REF_NAME [ci skip]"
|
||||
git push -u origin $GITHUB_REF_NAME
|
||||
git commit -am "Generated docs from job=$GITHUB_JOB branch=$GITHUB_REF_NAME [ci skip]"
|
||||
git push origin $GITHUB_REF_NAME -f
|
||||
fi
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user