Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1569 commits
Select commit Hold shift + click to select a range
9e5dd09
Add some features and delete old files for CVE-2025-33053 exploit module
DevBuiHieu Jun 17, 2025
20629fe
Add some features and fix all errors for CVE-2025-33053 exploit module
DevBuiHieu Jun 17, 2025
04c368f
Merge pull request #20109 from dwelch-r7/rails-7.2-upgrade
adfoster-r7 Jun 17, 2025
fb02b4a
Revert "Bump rails version to 7.2"
adfoster-r7 Jun 17, 2025
ab2c693
Merge pull request #20320 from rapid7/revert-20109-rails-7.2-upgrade
dwelch-r7 Jun 17, 2025
fda69e0
Add some features and fix all errors for CVE-2025-33053 exploit module
DevBuiHieu Jun 17, 2025
cb7badb
Add some features and fix bugs for CVE-2025-33053 exploit module
DevBuiHieu Jun 18, 2025
58609f3
Add some features and fix bugs for CVE-2025-33053 exploit module
DevBuiHieu Jun 18, 2025
20b8a9f
Add some features and fix bugs for CVE-2025-33053 exploit module
DevBuiHieu Jun 18, 2025
ec5ba0b
Final code for CVE-2025-33053 exploit module
DevBuiHieu Jun 18, 2025
1d27be2
Final code for CVE-2025-33053 exploit module
DevBuiHieu Jun 18, 2025
b1e1fbc
alias.rb
00nx Jun 18, 2025
5ff0588
Bump version of framework to 6.4.71
msjenkins-r7 Jun 19, 2025
c0dfbf4
Merge pull request #20235 from Chocapikk/vbulletin_replace_ad_templat…
dledda-r7 Jun 19, 2025
4fde40a
Update modules/exploits/windows/fileformat/cve_2025_33053.rb
DevBuiHieu Jun 19, 2025
600ffdb
Update modules/exploits/windows/fileformat/cve_2025_33053.rb
DevBuiHieu Jun 19, 2025
efc0c25
Update cve_2025_33053.rb
DevBuiHieu Jun 19, 2025
a0f1b0c
Update modules/exploits/windows/fileformat/cve_2025_33053.rb
DevBuiHieu Jun 19, 2025
f3c4d95
Update modules/exploits/windows/fileformat/cve_2025_33053.rb
DevBuiHieu Jun 19, 2025
9eef0cf
Adds Rubocop rule to detect leading/trailing whitespace in module met…
cgranleese-r7 Jun 16, 2025
dd51952
Update cve_2025_33053.rb
DevBuiHieu Jun 19, 2025
65ed80f
Add flag to vuln command to show vuln attempts
cgranleese-r7 Jun 17, 2025
00852f4
Adding PPC64 template, fixing PPC64 single payloads
msutovsky-r7 Feb 26, 2025
be394b7
Adding PPC64 template, fixing PPC64 single payloads
msutovsky-r7 Feb 26, 2025
6d897ea
Merge pull request #20327 from cgranleese-r7/update-vulns-command
adfoster-r7 Jun 19, 2025
b0dbe03
Merge pull request #20315 from cgranleese-r7/adds-rubocop-rule-to-det…
adfoster-r7 Jun 19, 2025
2122a34
Removes overlooked file
msutovsky-r7 Jun 20, 2025
42f31c0
Fixes some conditionals in modules
cgranleese-r7 Jun 20, 2025
7208c10
Merge pull request #20330 from cgranleese-r7/fixes-conditional
adfoster-r7 Jun 20, 2025
a4b14d8
Runs Rubocop to fix layout in modules
cgranleese-r7 Jun 20, 2025
83a03ef
aux module for CVE-2024-51978
sfewer-r7 Jun 20, 2025
04a6185
Merge pull request #20329 from cgranleese-r7/runs-layout-rubocop-on-m…
adfoster-r7 Jun 20, 2025
21e093a
Slightly better module popularity counter
todb Jun 20, 2025
81cb85e
Make msfbase actually do something useful
todb Jun 20, 2025
539514b
Add payload/linux/x64/set_hostname module.
Jun 21, 2025
e65532a
Rubocop: Lint/DetectMetadataTrailingLeadingWhitespace: Except BadChars
bcoles Jun 21, 2025
0307bab
Update opennms_horizon_authenticated_rce.rb
BitTheByte Jun 21, 2025
8ab2591
Land #20336: opennms_horizon_authenticated_rce: Set Arch to ARCH_CMD
bcoles Jun 22, 2025
cede075
opentsdb_key_cmd_injection: Set Arch to ARCH_CMD
bcoles Jun 22, 2025
17125b4
Merge pull request #20335 from bcoles/rubocop-Lint/DetectMetadataTrai…
adfoster-r7 Jun 22, 2025
b8c375d
Merge pull request #20337 from bcoles/exploit-linux-http-opentsdb_key…
adfoster-r7 Jun 22, 2025
c0baf18
exploit/windows/fileformat/ms_visual_basic_vbp: Add offsets, cleanup,…
bcoles Jun 22, 2025
e1dec29
exploit/windows/browser/ms08_070_visual_studio_msmask: Cleanup and ad…
bcoles Jun 22, 2025
51e71dc
Merge pull request #20332 from todb/update-module-counter
adfoster-r7 Jun 22, 2025
b37b648
Land #20340, adds documentation and cleans up exploit/windows/browser…
msutovsky-r7 Jun 23, 2025
ca14259
Module init
msutovsky-r7 Jun 23, 2025
ade9b54
Runs Style/TrailingCommaInArguments Rubocop against modules
cgranleese-r7 Jun 23, 2025
8c2d0f5
Merge pull request #20342 from cgranleese-r7/runs-trailing-comma-in-a…
adfoster-r7 Jun 23, 2025
b483312
Modules: Convert SSL default option to Boolean in several modules
bcoles Jun 23, 2025
b16732c
Updates enforce notes rubocop rule to add notes to modules that are m…
cgranleese-r7 Jun 23, 2025
be8864f
Merge pull request #20339 from bcoles/exploit-windows-fileformat-ms_v…
adfoster-r7 Jun 23, 2025
4c4a864
Merge pull request #20326 from 00nx/patch-1
adfoster-r7 Jun 23, 2025
0972888
Update Mettle 1.0.42
adfoster-r7 May 19, 2025
37388ca
Adds sentinel values to modules missing notes
cgranleese-r7 Jun 23, 2025
6aa24a0
Adds researchers in author section, base for WebDAV server
msutovsky-r7 Jun 23, 2025
edea803
add in references
sfewer-r7 Jun 24, 2025
14191f6
use Base64.strict_encode64
sfewer-r7 Jun 24, 2025
3d9cc60
Adds SMB server to send payload
msutovsky-r7 Jun 24, 2025
dd6bb2c
Remove debug statements
msutovsky-r7 Jun 24, 2025
a454217
Update info -d markdown
cgranleese-r7 Jun 23, 2025
30c1553
Adds a check to skip modules with execellent ranking and sentinel values
cgranleese-r7 Jun 24, 2025
78f982e
Merge pull request #1 from msutovsky-r7/collab/webdav_working_dir_exp…
DevBuiHieu Jun 24, 2025
fa0d01f
Update modules/exploits/windows/fileformat/cve_2025_33053.rb
DevBuiHieu Jun 24, 2025
1224551
Merge pull request #20206 from adfoster-r7/update-mettle
smcintyre-r7 Jun 24, 2025
a67c883
Removes unnecessary header
msutovsky-r7 Jun 24, 2025
13cd2d2
Minor code changes, updates documentation
msutovsky-r7 Jun 24, 2025
e198cf6
Merge pull request #2 from msutovsky-r7/collab/webdav_working_dir_exp…
DevBuiHieu Jun 24, 2025
475760a
Add helper methods for ace type checks
zeroSteiner Jun 11, 2025
70f7dfe
Initial commit of AD DS LDAP mixin
zeroSteiner Jun 9, 2025
7b1af9f
Initial implementation of #adds_sd_grants_permissions?
zeroSteiner Jun 11, 2025
cf53956
Add a method to get domain info
zeroSteiner Jun 17, 2025
b8ecd50
Add and use a generic LDAP entry cache
zeroSteiner Jun 17, 2025
23c85a2
Add some documentation for the methods
zeroSteiner Jun 17, 2025
cf48211
Update the RBCD module to use the new mixin
zeroSteiner Jun 18, 2025
6334996
Use the smaller base64 encoder
zeroSteiner Jun 24, 2025
82018b6
Merge pull request #20343 from cgranleese-r7/adds-sentinel-vales-to-m…
adfoster-r7 Jun 25, 2025
afdad8e
chore(wp_tatsu_rce): msftidy_docs fix
dledda-r7 Jun 25, 2025
40ca2b3
Adds sentinel notes to modules that are missing stability, reliabilit…
cgranleese-r7 Jun 25, 2025
f91f525
Merge pull request #20350 from cgranleese-r7/adds-sentinel-values-to-…
adfoster-r7 Jun 25, 2025
6d84338
Merge pull request #20301 from msutovsky-r7/exploit/cve-2021-25094
dledda-r7 Jun 25, 2025
fde78bf
Land #20324, adds exploit for UNC path in .url files (CVE-2025-33053)
msutovsky-r7 Jun 25, 2025
fda250d
Merge pull request #19910 from msutovsky-r7/fix/add-PPC64-template
dledda-r7 Jun 25, 2025
0a39f66
Fixing payload execution
msutovsky-r7 Jun 25, 2025
fdc78b4
Add more clear installation steps
msutovsky-r7 Jun 25, 2025
6450431
Updates module validation to check description and name for non-print…
cgranleese-r7 Jun 25, 2025
04a18fb
Updates modules to remove non-printable chars
cgranleese-r7 Jun 25, 2025
bbcac72
Merge pull request #20351 from cgranleese-r7/fix-non-printable-chars-…
adfoster-r7 Jun 25, 2025
a9a8ac7
Adds validation for arch values
cgranleese-r7 Jun 25, 2025
00c88ca
Updates incorrect arch values in modules
cgranleese-r7 Jun 25, 2025
256ad33
Merge pull request #20353 from cgranleese-r7/add-validation-for-arch-…
adfoster-r7 Jun 25, 2025
a6cdb6d
Adds support for MITRE ATT&CK References
cgranleese-r7 Jun 6, 2025
d787444
Add exploit module for ISPConfig language_edit.php PHP Code Injection…
happybear-21 Jun 25, 2025
016f4ea
resolved: issues
happybear-21 Jun 26, 2025
29b0efc
Bump version of framework to 6.4.72
msjenkins-r7 Jun 26, 2025
240bc82
Removing header
msutovsky-r7 Jun 26, 2025
7b845fa
Fixed documentation issues
msutovsky-r7 Jun 26, 2025
a0bb2d8
Merge pull request #20298 from bcoles/modules-SSL
adfoster-r7 Jun 26, 2025
c6ffcdb
This resolves the 'Proto is not included in the list' error during cr…
sfewer-r7 Jun 26, 2025
f66389b
include the password in the verbose status message
sfewer-r7 Jun 26, 2025
a7b26ac
fail with a message that includes the unexpected length value
sfewer-r7 Jun 26, 2025
84dda69
this status message should explicitly say it has generated the *defau…
sfewer-r7 Jun 26, 2025
6bdebf6
add the salt_table_index value in the failure message
sfewer-r7 Jun 26, 2025
18b00ce
Use a more permissive regex to pull out the logbox name value
sfewer-r7 Jun 26, 2025
37e8780
Code refactor, docs
msutovsky-r7 Jun 27, 2025
ee890a8
Adds BadChars
msutovsky-r7 Jun 27, 2025
a7b038b
Merge pull request #20341 from msutovsky-r7/exploit/skyvern_ssti_rce
dledda-r7 Jun 27, 2025
840ae0f
resolved: issues
happybear-21 Jun 27, 2025
93a8334
fixed: build issue
happybear-21 Jun 27, 2025
126bff1
Land #20346, fixes payload encoding and substitutes for smaller base6…
msutovsky-r7 Jun 27, 2025
50a2749
Merge pull request #20289 from cgranleese-r7/adds-mitre-attack-refere…
smcintyre-r7 Jun 27, 2025
1dadec8
Revive windows/aarch64/exec Payload
xaitax Jun 27, 2025
114def2
Merge branch 'rapid7:master' into add-windows-aarch64-winexec-payload
xaitax Jun 27, 2025
7b76a83
Add ASM template
xaitax Jun 28, 2025
e77abd9
added: automatic admin_allow_langedit permission checking and enablin…
happybear-21 Jun 28, 2025
af4cd2a
Addresses comments, fixes check method
msutovsky-r7 Jun 28, 2025
5c8d918
Fixes documentation
msutovsky-r7 Jun 28, 2025
3069d6a
Readability
xaitax Jun 28, 2025
66bae42
Fix module cache generation
adfoster-r7 Jun 29, 2025
ff15b58
resolved: issues
happybear-21 Jun 29, 2025
8034930
Fix payload module reloading functionality
xaitax Jun 29, 2025
f57a3c2
Merge pull request #20358 from adfoster-r7/fix-module-cache-generation
cgranleese-r7 Jun 29, 2025
583ffce
automatic module_metadata_base.json update
Jun 29, 2025
bdc368f
Add syslog to gemspec
adfoster-r7 Jun 29, 2025
07ae49d
Merge pull request #20360 from adfoster-r7/add-syslog-to-gemspec
cgranleese-r7 Jun 29, 2025
65faeb4
Bump version of framework to 6.4.73
msjenkins-r7 Jun 29, 2025
f0626b3
Update ruby version 3.3.8
adfoster-r7 May 20, 2025
41b83b7
Fix Bleichenbacher Oracle module on hosts with Python 2
sjanusz-r7 Jun 30, 2025
91a3cc2
Update modules/payloads/singles/windows/aarch64/exec.rb
xaitax Jun 30, 2025
3a034ba
Merge pull request #20362 from sjanusz-r7/improve-bleichenbacher-orac…
adfoster-r7 Jun 30, 2025
eb63882
automatic module_metadata_base.json update
Jun 30, 2025
47f2ba2
removed: unused imports, and functions, removed: falsey statements, r…
happybear-21 Jun 30, 2025
232f1b4
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
18ec6af
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
e657aee
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
f2b3e00
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
74de17f
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
efc6152
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
743478b
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
d77d053
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
9470a8b
Update lib/msf/core/module_manager/reloading.rb
xaitax Jul 1, 2025
20134b5
resolved: changes
happybear-21 Jul 1, 2025
14512d7
favor AUTO over ANY for this enum
sfewer-r7 Jul 1, 2025
5635484
favor AUTO over ANY for this enum usage
sfewer-r7 Jul 1, 2025
a7e4b56
update the docs to use AUTO for the enum option
sfewer-r7 Jul 1, 2025
03e9437
resolved: changes updated methods
happybear-21 Jul 1, 2025
1a4a15e
Add WingFTP unauthenticated RCE (CVE-2025-47812)
Chocapikk Jul 1, 2025
5d9eb58
Remove useless mixin
Chocapikk Jul 1, 2025
f7a649c
Remove php mixin and arch
Chocapikk Jul 1, 2025
5b268bd
Fix documentation and typos
Chocapikk Jul 1, 2025
32f7754
Update modules/exploits/multi/http/wingftp_null_byte_rce.rb
Chocapikk Jul 2, 2025
e11277f
Update reloading.rb
xaitax Jul 3, 2025
5c08321
Bump version of framework to 6.4.74
msjenkins-r7 Jul 3, 2025
8bf1c40
Update reloading.rb
xaitax Jul 3, 2025
9445bb3
Fixing payload reloading
msutovsky-r7 Jul 3, 2025
b9e8c9d
Removes debug stuff
msutovsky-r7 Jul 3, 2025
e351da4
Merge pull request #1 from msutovsky-r7/collab/fix/payload-reload
xaitax Jul 3, 2025
d625ab5
Update modules/exploits/multi/http/wingftp_null_byte_rce.rb
Chocapikk Jul 3, 2025
d79810a
Update modules/exploits/multi/http/wingftp_null_byte_rce.rb
Chocapikk Jul 3, 2025
1944c69
Fix `exploit/unix/http/maltrail_rce.rb`
Chocapikk Jul 3, 2025
0553d6b
Land #20365, fixes/refactors the Maltrail RCE module
msutovsky-r7 Jul 3, 2025
346c17d
automatic module_metadata_base.json update
Jul 3, 2025
1700b2e
fixed: rubocop issues, changes resolved
happybear-21 Jul 3, 2025
ef3ddec
Update documentation/modules/exploit/multi/http/wingftp_null_byte_rce.md
Chocapikk Jul 3, 2025
6edbfb3
Update modules/exploits/multi/http/wingftp_null_byte_rce.rb
Chocapikk Jul 3, 2025
b9ee9ba
Update wingftp_null_byte_rce.md
Chocapikk Jul 3, 2025
195b874
Addressing comments
msutovsky-r7 Jul 4, 2025
d0df343
Rewriting shellcode, making it smaller
msutovsky-r7 Jul 4, 2025
dbe4226
Updates cached_size
msutovsky-r7 Jul 4, 2025
b1de0c6
Removes null-bytes
msutovsky-r7 Jul 4, 2025
4e27e2f
Merge pull request #1 from msutovsky-r7/collab/payload/set_hostname_l…
xHector1337 Jul 4, 2025
a09415f
Updates specs for set_hostname payload
msutovsky-r7 Jul 4, 2025
2c16779
Merge pull request #2 from msutovsky-r7/collab/payload/update_specs
xHector1337 Jul 4, 2025
4cb523a
Add exit(0) syscall
xHector1337 Jul 4, 2025
f0a64b9
Update CachedSize
xHector1337 Jul 4, 2025
1ee9d61
Running Rubocop
msutovsky-r7 Jul 5, 2025
7629dd7
DRY code, grab wingftp version in check method
Chocapikk Jul 5, 2025
bc705b8
Land #20334, adds payload linux/x64/set_hostname
msutovsky-r7 Jul 6, 2025
1e0a3de
automatic module_metadata_base.json update
Jul 6, 2025
ada43cd
Merge pull request #20209 from adfoster-r7/update-ruby-version-3.3.8
adfoster-r7 Jul 7, 2025
7d88156
Refactors code
msutovsky-r7 Jul 7, 2025
ffa2152
Updates docs
msutovsky-r7 Jul 7, 2025
11099c2
Bump IRB
szymonj99 Dec 9, 2024
93f902f
Land #20364, adds WingFTP unauthenticated RCE module
msutovsky-r7 Jul 7, 2025
a8bb218
automatic module_metadata_base.json update
Jul 7, 2025
3068408
Merge pull request #19709 from szymonj99/bump-irb
adfoster-r7 Jul 7, 2025
432bcfc
Mention our corporate sponsors in the banner
zeroSteiner Jun 4, 2025
3dc9e6a
Merge pull request #20371 from zeroSteiner/feat/ui/r7-banner
adfoster-r7 Jul 8, 2025
ef611d1
Merge pull request #1 from msutovsky-r7/collab/cve-2023-46818
happybear-21 Jul 8, 2025
fe4da47
Update Metasploit docs branding
adfoster-r7 Jul 8, 2025
65124d0
Merge pull request #20373 from adfoster-r7/update-metasploit-docs-bra…
smcintyre-r7 Jul 8, 2025
c2a06e3
Expand on the matcher logic
zeroSteiner Jun 23, 2025
7cacc4c
Update the ad_cs_cert_template module too
zeroSteiner Jun 25, 2025
8b8b350
Use the new function instead of the old
zeroSteiner Jun 26, 2025
d0d3a27
Add some commented code for debugging
zeroSteiner Jul 7, 2025
a93d20c
Add some basic tests
zeroSteiner Jul 3, 2025
2650956
Add special handling for more groups
zeroSteiner Jul 7, 2025
23c02d6
Note the permissions required for checking permissions
zeroSteiner Jul 8, 2025
566020a
Cache the result of whoami
zeroSteiner Jul 8, 2025
2ab90df
Check for full permissions on certs too
zeroSteiner Jul 8, 2025
79d67dd
Merge pull request #20345 from zeroSteiner/feat/lib/ldap-adds/1
jheysel-r7 Jul 8, 2025
4626e8f
automatic module_metadata_base.json update
Jul 8, 2025
ffdfa07
Land #20354, adds module for ISPConfig code injection (CVE-2023-46818)
msutovsky-r7 Jul 9, 2025
32559a3
automatic module_metadata_base.json update
Jul 9, 2025
34952d7
display the AuthCookie if one is received
sfewer-r7 Jul 9, 2025
ea68ee5
chore: update template_aarch64_windows.exe
dledda-r7 Jul 9, 2025
ab913b0
make this error message not that no password may be present on the de…
sfewer-r7 Jul 9, 2025
df24090
fix typo in message
sfewer-r7 Jul 9, 2025
36675cc
Merge pull request #20349 from sfewer-r7/0day-cve-2024-51978
bwatters-r7 Jul 9, 2025
14fb001
automatic module_metadata_base.json update
Jul 9, 2025
8e16a50
Adds reloading for stagers/stages/adapters
msutovsky-r7 Jul 10, 2025
b643c62
Appeasing the RuboCop gods: added docs, fixed warnings, made it happy.
xaitax Jul 10, 2025
622072b
WP Photo Gallery by 10Web Unauthenticated SQLi (CVE-2022-0169)
Chocapikk Jul 10, 2025
8d0aaac
Update data/templates/src/pe/exe/template_aarch64_windows.asm
xaitax Jul 10, 2025
69f8679
Update modules/auxiliary/gather/wp_photo_gallery_sqli.rb
Chocapikk Jul 10, 2025
cf0596a
Update modules/auxiliary/gather/wp_photo_gallery_sqli.rb
Chocapikk Jul 10, 2025
9d56001
fix
Chocapikk Jul 10, 2025
c2007c7
Update license generation
adfoster-r7 Jul 10, 2025
7a2753f
Merge pull request #20377 from adfoster-r7/update-license-generation
adfoster-r7 Jul 10, 2025
74cce35
Bump version of framework to 6.4.75
msjenkins-r7 Jul 10, 2025
3e5bdda
Land #20359, fixes payload reloading
msutovsky-r7 Jul 11, 2025
b4188e7
Merge pull request #20357 from xaitax/add-windows-aarch64-winexec-pay…
bwatters-r7 Jul 11, 2025
60a6658
automatic module_metadata_base.json update
Jul 11, 2025
914f874
Merge pull request #20216 from sjanusz-r7/add-graphql-aux-scanner-module
jheysel-r7 Jul 15, 2025
04c7945
automatic module_metadata_base.json update
Jul 15, 2025
e328a8f
Fix update action in ad_cs_cert_template
jheysel-r7 Jul 16, 2025
166479f
Merge pull request #20388 from jheysel-r7/fix/regression/ad_cs_cert_t…
sjanusz-r7 Jul 16, 2025
87122cb
automatic module_metadata_base.json update
Jul 16, 2025
f773e3a
Updates docs
msutovsky-r7 Jul 16, 2025
0f86dd7
Bump data_models gem to 6.0.10 and model gem to 5.0.4
cdelafuente-r7 Jul 16, 2025
8fdf0ea
Merge pull request #20389 from cdelafuente-r7/enh/gems_version_bump
adfoster-r7 Jul 16, 2025
850b934
Pin StringIO version
adfoster-r7 Jul 16, 2025
be10b82
Add a missing keyword for option validation
zeroSteiner Jul 16, 2025
2810851
Remove the version from the default prompt
zeroSteiner Jul 16, 2025
efa49d2
refactor(wp_photo_gallery): drop unused action + guard against LocalJ…
Chocapikk Jul 16, 2025
170cb15
Merge pull request #20391 from zeroSteiner/fix/issue/20366
cgranleese-r7 Jul 17, 2025
73470fe
Merge pull request #20392 from zeroSteiner/fix/issue/20355
cgranleese-r7 Jul 17, 2025
f16de58
Merge pull request #20390 from adfoster-r7/pin-stringio-version
cgranleese-r7 Jul 17, 2025
469f102
Updates docs to reflect new default prompt
cgranleese-r7 Jul 17, 2025
3bb3429
Bump rex-socket to 0.1.63
sjanusz-r7 Jul 17, 2025
99c9e8c
Fix acceptance tests prompt matching
sjanusz-r7 Jul 17, 2025
ca9535e
Update pandora_fms_auth_netflow_rce.md
dledda-r7 Jul 17, 2025
cf13498
Merge pull request #20395 from sjanusz-r7/bump-rex-socket
adfoster-r7 Jul 17, 2025
18d61d3
Merge pull request #20356 from msutovsky-r7/exploit/pandorafms_netflo…
dledda-r7 Jul 17, 2025
2601c07
automatic module_metadata_base.json update
Jul 17, 2025
adff497
Updates msf5 as well
cgranleese-r7 Jul 17, 2025
8fe815d
Merge pull request #20394 from cgranleese-r7/update-docs-to-reflect-n…
adfoster-r7 Jul 17, 2025
b6a04c2
Bump version of framework to 6.4.76
msjenkins-r7 Jul 17, 2025
00c8c77
Merge pull request #20375 from Chocapikk/wp_photo_gallery_sqli
jheysel-r7 Jul 18, 2025
6dcefab
automatic module_metadata_base.json update
Jul 18, 2025
d45829d
fix: Gemfile to reduce vulnerabilities
snyk-bot Oct 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
40 changes: 27 additions & 13 deletions .github/workflows/command_shell_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,21 +63,23 @@ jobs:
fail-fast: false
matrix:
os:
- windows-2019
- ubuntu-20.04
- windows-2022
- ubuntu-latest
ruby:
- '3.2'
- '3.4'
include:
# Powershell
- { command_shell: { name: powershell }, os: windows-2019 }
- { command_shell: { name: powershell }, os: windows-2022 }
- { command_shell: { name: powershell }, ruby: '3.4', os: windows-2022 }
- { command_shell: { name: powershell }, ruby: '3.4', os: windows-2025 }

# Linux
- { command_shell: { name: linux }, os: ubuntu-20.04 }
- { command_shell: { name: linux }, ruby: '3.4', os: ubuntu-latest }

# CMD
- { command_shell: { name: cmd }, os: windows-2019 }
- { command_shell: { name: cmd }, os: windows-2022 }
- { command_shell: { name: cmd }, ruby: '3.4', os: windows-2022 }

# TODO: Tests currently fail:
# - { command_shell: { name: cmd }, ruby: '3.4', os: windows-2025 }

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -126,10 +128,16 @@ jobs:
with:
path: metasploit-framework

- name: Setup Ruby
env:
BUNDLE_FORCE_RUBY_PLATFORM: true
uses: ruby/setup-ruby@v1
# https://github.com/orgs/community/discussions/26952
- name: Support longpaths
if: runner.os == 'Windows'
run: git config --system core.longpaths true

- name: Setup '${{ matrix.ruby }}' Ruby
# Skip for now to ensure CI passes on Windows server 2025 powershell tests
#env:
# BUNDLE_FORCE_RUBY_PLATFORM: true
uses: ruby/setup-ruby@eaecf785f6a34567a6d97f686bbb7bccc1ac1e5c
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
Expand Down Expand Up @@ -175,13 +183,19 @@ jobs:
if: always()
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz

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

- name: Setup Ruby
if: always()
env:
BUNDLE_FORCE_RUBY_PLATFORM: true
uses: ruby/setup-ruby@v1
with:
ruby-version: '${{ matrix.ruby }}'
# use the default version from the .ruby-version file
ruby-version: '.ruby-version'
bundler-cache: true
cache-version: 4

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/ldap_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ on:
- 'metsploit-framework.gemspec'
- 'Gemfile.lock'
- '**/**ldap**'
- 'lib/metasploit/framework/tcp/**'
- 'lib/metasploit/framework/login_scanner/**'
- 'spec/acceptance/**'
- 'spec/support/acceptance/**'
- 'spec/acceptance_spec_helper.rb'
Expand Down Expand Up @@ -72,6 +74,11 @@ jobs:
docker compose build
docker compose up --wait -d

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

- name: Setup Ruby
env:
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
Expand Down Expand Up @@ -121,6 +128,11 @@ jobs:
if: always()
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz

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

- name: Setup Ruby
if: always()
env:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/mssql_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Setup Ruby
env:
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
Expand Down Expand Up @@ -138,6 +143,11 @@ jobs:
if: always()
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz

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

- name: Setup Ruby
if: always()
env:
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/mysql_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Setup Ruby
env:
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
Expand Down Expand Up @@ -137,6 +142,11 @@ jobs:
if: always()
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz

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

- name: Setup Ruby
if: always()
env:
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/postgres_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ on:
- 'metsploit-framework.gemspec'
- 'Gemfile.lock'
- '**/**postgres**'
- 'lib/metasploit/framework/tcp/**'
- 'lib/metasploit/framework/login_scanner/**'
- 'spec/acceptance/**'
- 'spec/support/acceptance/**'
- 'spec/acceptance_spec_helper.rb'
Expand Down Expand Up @@ -82,6 +84,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

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

- name: Setup Ruby
env:
# Nokogiri doesn't release pre-compiled binaries for preview versions of Ruby; So force compilation with BUNDLE_FORCE_RUBY_PLATFORM
Expand Down Expand Up @@ -139,6 +146,11 @@ jobs:
if: always()
run: sudo apt-get -y --no-install-recommends install libpcap-dev graphviz

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

- name: Setup Ruby
if: always()
env:
Expand Down
69 changes: 69 additions & 0 deletions .github/workflows/shared_gem_verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Shared Gem Verify
on:
workflow_call:
inputs:
test_commands:
description: 'Test commands'
required: false
default: "bundle exec rspec"
type: string
dependencies:
description: 'Array of system dependencies to install'
required: false
default: "[]"
type: string

jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 40

strategy:
fail-fast: false
matrix:
ruby:
- '3.2'
- '3.3'
- '3.4'
os:
- ubuntu-22.04
- ubuntu-24.04
- ubuntu-latest
- windows-2022
- windows-2025
- macos-13

env:
RAILS_ENV: test

name: ${{ matrix.os }} - Ruby ${{ matrix.ruby }}
steps:
- name: Install system dependencies
if: ${{ inputs.dependencies != '[]' && !contains(matrix.os, 'macos') && !contains(matrix.os, 'windows') }}
run: |
dependencies=$(echo '${{ inputs.dependencies }}' | jq -r '.[]')
for dep in $dependencies; do
sudo apt-get -y --no-install-recommends install "$dep"
done
shell: bash

- name: Install system dependencies (Windows)
if: ${{ contains(matrix.os, 'windows') && inputs.dependencies != '[]' }}
run: |
$dependencies = (echo '${{ inputs.dependencies }}' | jq -r '.[]')
foreach ($dep in $dependencies) {
choco install $dep -y
}
shell: pwsh

- name: Checkout code
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Test
run: ${{ inputs.test_commands }}
90 changes: 90 additions & 0 deletions .github/workflows/shared_gem_verify_rails.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: Shared Gem Verify Rails/PostgreSQL
on:
workflow_call:
inputs:
test_commands:
description: 'Test commands'
required: false
default: "bundle exec rspec"
type: string
dependencies:
description: 'Array of system dependencies to install'
required: false
default: "[]"
type: string

jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 40

strategy:
fail-fast: false
matrix:
ruby:
- '3.2'
- '3.3'
- '3.4'
rails:
- '~> 7.0.0'
- '~> 7.1.0'
- '~> 7.2.0'
postgres:
- '9.6'
- '16.8'
os:
- ubuntu-latest

env:
RAILS_ENV: test

name: ${{ matrix.os }} - Ruby ${{ matrix.ruby }} - Rails ${{ matrix.rails }} - PostgreSQL ${{ matrix.postgres }}
steps:
- name: Install system dependencies
run: |
dependencies=$(echo '${{ inputs.dependencies }}' | jq -r '.[]')
for dep in $dependencies; do
sudo apt-get -y --no-install-recommends install "$dep"
done
shell: bash

- name: Set up PostgreSQL service
run: |
docker run --name postgres -d -p 5432:5432 \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
--health-cmd="pg_isready" \
--health-interval="10s" \
--health-timeout="5s" \
--health-retries=5 \
postgres:${{ matrix.postgres }}

- name: Wait for PostgreSQL to be healthy
run: |
docker exec postgres sh -c 'until pg_isready -U postgres; do echo waiting for postgres; sleep 2; done; echo postgres is ready'

- name: Checkout code
uses: actions/checkout@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true

- name: Update Rails version
run: |
# Add the gem explicitly if it doesn't exist
if ! grep -q "gem ['\"]rails['\"]" Gemfile; then
echo 'gem "rails"' >> Gemfile
fi

# Ensure the gem is on the latest version
ruby -pi -e "gsub(/gem ['\"]rails['\"](, *['\"].*['\"])?/, \"gem 'rails', '${{ matrix.rails }}'\")" Gemfile
bundle update
bundle install
bundle show rails
shell: bash

- name: Test
run: ${{ inputs.test_commands }}
Loading
Loading