Skip to content

Commit

Permalink
metasploit-payloads testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cgranleese-r7 committed Jan 9, 2025
1 parent 95dd2cd commit 5a005b2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/shared_meterpreter_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ jobs:
- name: Checkout metasploit-framework commit
uses: actions/checkout@v4
with:
repository: rapid7/metasploit-framework
repository: cgranleese-r7/metasploit-framework
path: metasploit-framework
ref: ${{ inputs.metasploit_framework_commit }}
ref: meterpreter-resolve-multiple-hosts

- name: Setup Ruby
env:
Expand Down Expand Up @@ -246,9 +246,9 @@ jobs:
if: ${{ inputs.build_metasploit_payloads && matrix.meterpreter.name != 'mettle' }}
uses: actions/checkout@v4
with:
repository: rapid7/metasploit-payloads
repository: cgranleese-r7/metasploit-payloads
path: metasploit-payloads
ref: ${{ inputs.metasploit_payloads_commit }}
ref: meterpreter-resolve-multiple-hosts

- name: Get metasploit-payloads version
if: ${{ inputs.build_metasploit_payloads && matrix.meterpreter.name != 'mettle' }}
Expand All @@ -271,6 +271,7 @@ jobs:
if: ${{ inputs.build_metasploit_payloads && matrix.meterpreter.name != 'mettle' }}
run: |
bundle exec gem install metasploit-payloads-${{ env.METASPLOIT_PAYLOADS_VERSION }}.gem
ruby -pi.bak -e "gsub(/'metasploit-payloads', '.*'/, '\'metasploit-payloads\'')" metasploit-framework.gemspec
bundle config unset deployment
bundle update metasploit-payloads
bundle install
Expand Down

0 comments on commit 5a005b2

Please sign in to comment.