Merge branch 'master' into linpeas_dev
This commit is contained in:
commit
96c1b5fbd9
54
.github/workflows/CI-linpeas_master_test.yml
vendored
54
.github/workflows/CI-linpeas_master_test.yml
vendored
@ -1,54 +0,0 @@
|
|||||||
name: CI-linpeas_master_test
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Build_and_test_linpeas_master:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build linpeas
|
|
||||||
run: |
|
|
||||||
python3 -m pip install PyYAML
|
|
||||||
cd linPEAS
|
|
||||||
python3 -m builder.linpeas_builder
|
|
||||||
|
|
||||||
- name: Run linpeas
|
|
||||||
run: linPEAS/linpeas.sh
|
|
||||||
|
|
||||||
- name: Create local changes
|
|
||||||
run: git add linPEAS/linpeas.sh
|
|
||||||
|
|
||||||
- name: Commit results to Github
|
|
||||||
run: |
|
|
||||||
git config --local user.email ""
|
|
||||||
git config --global user.name "CI-linpeas-ubuntu"
|
|
||||||
git commit -m "linpeas.sh auto update" -a --allow-empty
|
|
||||||
|
|
||||||
- name: Push changes
|
|
||||||
uses: ad-m/github-push-action@master
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
branch: ${{ github.ref }}
|
|
||||||
|
|
||||||
Build_and_test_macpeas_master:
|
|
||||||
runs-on: macos-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Build macpeas
|
|
||||||
run: |
|
|
||||||
python3 -m pip install PyYAML
|
|
||||||
cd linPEAS
|
|
||||||
python3 -m builder.linpeas_builder
|
|
||||||
|
|
||||||
- name: Run macpeas
|
|
||||||
run: linPEAS/linpeas.sh -o SysI,Container,Devs,AvaSof,ProCronSrvcsTmrsSocks,Net,UsrI,SofI
|
|
21
.github/workflows/CI-master_tests.yml
vendored
21
.github/workflows/CI-master_tests.yml
vendored
@ -11,6 +11,7 @@ jobs:
|
|||||||
|
|
||||||
Build_and_test_winpeas_master:
|
Build_and_test_winpeas_master:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
needs: Build_and_test_linpeas_master
|
||||||
|
|
||||||
# environment variables
|
# environment variables
|
||||||
env:
|
env:
|
||||||
@ -21,7 +22,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# checkout
|
# checkout
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
|
||||||
- name: Setup MSBuild.exe
|
- name: Setup MSBuild.exe
|
||||||
@ -105,22 +108,21 @@ jobs:
|
|||||||
git config --global user.name "CI-winpeas"
|
git config --global user.name "CI-winpeas"
|
||||||
git commit -m "winpeas binaries auto update" -a --allow-empty
|
git commit -m "winpeas binaries auto update" -a --allow-empty
|
||||||
|
|
||||||
# Git Pull
|
|
||||||
- name: Pull possible previous changes
|
|
||||||
run: git pull
|
|
||||||
|
|
||||||
# Git push
|
# Git push
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
branch: master
|
branch: ${{ github.ref }}
|
||||||
|
|
||||||
Build_and_test_linpeas_master:
|
Build_and_test_linpeas_master:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout
|
||||||
|
uses: actions/checkout@master
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Build linpeas
|
- name: Build linpeas
|
||||||
run: |
|
run: |
|
||||||
@ -128,7 +130,7 @@ jobs:
|
|||||||
cd linPEAS
|
cd linPEAS
|
||||||
python3 -m builder.linpeas_builder
|
python3 -m builder.linpeas_builder
|
||||||
- name: Run linpeas
|
- name: Run linpeas
|
||||||
run: linPEAS/linpeas.sh
|
run: linPEAS/linpeas.sh -h
|
||||||
|
|
||||||
- name: Create local changes
|
- name: Create local changes
|
||||||
run: git add linPEAS/linpeas.sh
|
run: git add linPEAS/linpeas.sh
|
||||||
@ -138,9 +140,6 @@ jobs:
|
|||||||
git config --local user.email ""
|
git config --local user.email ""
|
||||||
git config --global user.name "CI-linpeas-ubuntu"
|
git config --global user.name "CI-linpeas-ubuntu"
|
||||||
git commit -m "linpeas.sh auto update" -a --allow-empty
|
git commit -m "linpeas.sh auto update" -a --allow-empty
|
||||||
|
|
||||||
- name: Pull possible previous changes
|
|
||||||
run: git pull
|
|
||||||
|
|
||||||
- name: Push changes
|
- name: Push changes
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
|
Loading…
Reference in New Issue
Block a user