Add github actions for Windows C Meterpreter payload

This commit is contained in:
adfoster-r7 2023-12-08 00:03:19 +00:00
parent f539248b2e
commit 851e23e07b
2 changed files with 23 additions and 3 deletions

View File

@ -19,10 +19,12 @@ permissions:
on:
push:
paths:
- 'python/**'
- 'c/**'
- '.github/**'
pull_request:
paths:
- 'python/**'
- 'c/**'
- '.github/**'
jobs:
verify:

View File

@ -20,12 +20,14 @@ on:
push:
paths:
- 'c/**'
- '.github/**'
pull_request:
paths:
- 'c/**'
- '.github/**'
jobs:
verify:
mingw:
runs-on: ubuntu-latest
timeout-minutes: 40
name: Meterpreter MinGW Docker Build
@ -39,3 +41,19 @@ jobs:
run: |
cd c/meterpreter
script --return --command 'make docker'
windows:
runs-on: windows-2019
timeout-minutes: 40
name: Meterpreter Visual Studio 2019 Build
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Compile
shell: cmd
run: |-
cd c/meterpreter
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\Tools\VsDevCmd.bat" && make.bat