Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions .github/workflows/shared_meterpreter_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ jobs:
- name: Checkout metasploit-payloads
uses: actions/checkout@v4
with:
repository: rapid7/metasploit-payloads
repository: zeroSteiner/metasploit-payloads
path: metasploit-payloads
ref: ${{ inputs.metasploit_payloads_commit }}
ref: fix/met/php-udp-sockets-2

- name: Build Meterpreter payloads
run: |
Expand All @@ -67,7 +67,7 @@ jobs:
fail-fast: false
matrix:
os:
- macos-13
- macos-14
- windows-2022
- ubuntu-latest
ruby:
Expand Down Expand Up @@ -112,11 +112,12 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz

- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231
- uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1
if: ${{ matrix.meterpreter.name == 'php' }}
with:
php-version: ${{ matrix.meterpreter.runtime_version }}
tools: none
extensions: sockets

- name: Set up Python
if: ${{ matrix.meterpreter.name == 'python' }}
Expand Down Expand Up @@ -192,10 +193,14 @@ jobs:
ref: ${{ inputs.metasploit_framework_commit }}

# https://github.com/orgs/community/discussions/26952
- name: Support longpaths
- name: Support longpaths when running on Windows
if: runner.os == 'Windows'
run: git config --system core.longpaths true

- name: Install PostgreSQL client libraries when running on MacOS
if: runner.os == 'macos'
run: brew install postgresql

- name: Setup Ruby
env:
# Introduces flakiness when downloading zlib etc: https://github.com/sparklemotion/nokogiri/issues/3521
Expand Down Expand Up @@ -255,9 +260,9 @@ jobs:
if: ${{ inputs.build_metasploit_payloads && matrix.meterpreter.name != 'mettle' }}
uses: actions/checkout@v4
with:
repository: rapid7/metasploit-payloads
repository: zeroSteiner/metasploit-payloads
path: metasploit-payloads
ref: ${{ inputs.metasploit_payloads_commit }}
ref: fix/met/php-udp-sockets-2

- name: Build Windows payloads via Visual Studio 2019 Build (Windows)
shell: cmd
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ PATH
metasploit-concern
metasploit-credential
metasploit-model
metasploit-payloads (= 2.0.237)
metasploit-payloads (= 2.0.238)
metasploit_data_models (>= 6.0.7)
metasploit_payloads-mettle (= 1.0.45)
mqtt
Expand Down Expand Up @@ -352,7 +352,7 @@ GEM
drb
mutex_m
railties (~> 7.0)
metasploit-payloads (2.0.237)
metasploit-payloads (2.0.238)
metasploit_data_models (6.0.9)
activerecord (~> 7.0)
activesupport (~> 7.0)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE_GEMS
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ metasploit-concern, 5.0.5, "New BSD"
metasploit-credential, 6.0.19, "New BSD"
metasploit-framework, 6.4.101, "New BSD"
metasploit-model, 5.0.4, "New BSD"
metasploit-payloads, 2.0.237, "3-clause (or ""modified"") BSD"
metasploit-payloads, 2.0.238, "3-clause (or ""modified"") BSD"
metasploit_data_models, 6.0.9, "New BSD"
metasploit_payloads-mettle, 1.0.45, "3-clause (or ""modified"") BSD"
method_source, 1.1.0, MIT
Expand Down
2 changes: 1 addition & 1 deletion metasploit-framework.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ Gem::Specification.new do |spec|
# are needed when there's no database
spec.add_runtime_dependency 'metasploit-model'
# Needed for Meterpreter
spec.add_runtime_dependency 'metasploit-payloads', '2.0.237'
spec.add_runtime_dependency 'metasploit-payloads', '2.0.238'
# Needed for the next-generation POSIX Meterpreter
spec.add_runtime_dependency 'metasploit_payloads-mettle', '1.0.45'
# Needed by msfgui and other rpc components
Expand Down
Loading