Skip to content

Commit

Permalink
Add github actions for Windows C Meterpreter payload
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed Dec 8, 2023
1 parent f539248 commit 851e23e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ permissions:
on:
push:
paths:
- 'python/**'
- 'c/**'
- '.github/**'
pull_request:
paths:
- 'python/**'
- 'c/**'
- '.github/**'

jobs:
verify:
Expand Down
20 changes: 19 additions & 1 deletion .github/workflows/windows_meterpreter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 851e23e

Please sign in to comment.