Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5294 commits
Select commit Hold shift + click to select a range
987af73
automatic module_metadata_base.json update
May 14, 2026
fe768b4
Merge pull request #21459 from adfoster-r7/fix-frozen-string-crash
smcintyre-r7 May 14, 2026
6b82053
Add exploit for cPanel/WHM auth bypass RCE (CVE-2026-41940)
Crypto-Cat May 6, 2026
020c880
Fixed some consistency issues, added comments to some parts of the co…
Crypto-Cat May 7, 2026
43514c9
Address review feedback: DefangedMode, retry_until_truthy, store_vali…
Crypto-Cat May 7, 2026
8510855
Fix CheckCode semantics in check method: Unknown -> Detected
Crypto-Cat May 7, 2026
60049c4
Update documentation: DefangedMode replaces ALLOW_PASSWORD_CHANGE
Crypto-Cat May 7, 2026
0a4df5a
Fix store_valid_credential: add origin_type, isolate from rotation re…
Crypto-Cat May 7, 2026
8350bc9
Fix check method: tighten expired_session match to avoid false positi…
Crypto-Cat May 7, 2026
65f6d78
Remove TMP_PASSWORD option; password complexity already guaranteed by…
Crypto-Cat May 11, 2026
7dba30e
Apply suggestions from code review
jburgess-r7 May 14, 2026
fd07c15
Move DefangedMode to advanced options
Crypto-Cat May 14, 2026
e6f7fdd
Removed frozen string comment from the top to fix build.. Note that e…
Crypto-Cat May 14, 2026
57affb8
Added back comment, as new framework fix will sort previous issue
Crypto-Cat May 15, 2026
074b032
Added module for CVE-2026-20182
Crypto-Cat May 15, 2026
560580f
Merge pull request #21285 from sjanusz-r7/rpc-creds-reports-domain
adfoster-r7 May 15, 2026
1af6e29
Merge pull request #21292 from sjanusz-r7/db-notes-rpc-return-notes-j…
adfoster-r7 May 15, 2026
b327f29
Raise an exception instead of returning a hash object in parent service
sjanusz-r7 May 15, 2026
2c07ad3
Merge pull request #21305 from sjanusz-r7/db-vulns-and-services-rpc-n…
adfoster-r7 May 15, 2026
f45b13d
Merge pull request #21458 from dwelch-r7/bump-sinatra-version
adfoster-r7 May 15, 2026
ea0cddc
add python2 and python2.7 in find_exec_program
dledda-r7 May 15, 2026
cef2625
Merge pull request #21177 from h00die/security_center
dledda-r7 May 15, 2026
c5e737a
automatic module_metadata_base.json update
May 15, 2026
88fc073
Add KerberosTicketTrace support for AS/TGS/AP exchanges
eve0805 Mar 7, 2026
a3b5f27
Address review feedback for Kerberos ticket trace logging
eve0805 Mar 8, 2026
43b4f90
Revert "Address review feedback for Kerberos ticket trace logging"
eve0805 Mar 8, 2026
5ae4ab3
Improve Kerberos trace output consistency and spec
eve0805 Mar 8, 2026
ce88e44
Improve Kerberos readable trace formatting and spec
eve0805 Mar 25, 2026
aa062a5
Improve Kerberos readable trace formatting and spec
eve0805 May 15, 2026
698bfe4
Improve Kerberos readable trace formatting and spec
eve0805 May 15, 2026
fbd9b88
Improve Kerberos readable trace formatting and spec
eve0805 May 15, 2026
72e60b6
Merge pull request #21463 from jburgess-r7/add-cisco-sdwan-vhub-auth-…
jheysel-r7 May 15, 2026
c6ae1bd
automatic module_metadata_base.json update
May 15, 2026
fed466f
Add CertificateTracePresenter with PKINIT certificate hook
Pushpenderrathore May 16, 2026
86088f9
Updates the module, adds more reliable exploits, finishes documentations
msutovsky-r7 May 17, 2026
aa664c8
Removes redundant file
msutovsky-r7 May 17, 2026
d6d5ea8
Removes wrong condition
msutovsky-r7 May 18, 2026
86016e3
Fix msfdb crash on windows
adfoster-r7 May 18, 2026
12338ac
Merge pull request #21474 from adfoster-r7/fix-msfdb-crash-on-windows
adfoster-r7 May 18, 2026
c9b2bde
Apply suggestions from code review
jburgess-r7 May 18, 2026
dbca860
Fix msfdb installation error on windows
adfoster-r7 May 18, 2026
996dbef
Merge pull request #21417 from jburgess-r7/add-cpanel-whm-auth-bypass…
cdelafuente-r7 May 18, 2026
8dcab01
automatic module_metadata_base.json update
May 18, 2026
8e1ba4a
Merge pull request #21475 from adfoster-r7/fix-msfdb-installation-err…
dwelch-r7 May 18, 2026
f7a549b
Update payload command handling and exec payload definitions
bhaskarbhar May 18, 2026
93acaae
rubocop correction
bhaskarbhar May 18, 2026
b03edca
Revert the module check
smcintyre-r7 May 18, 2026
cf84772
Refactor based on review
bhaskarbhar May 19, 2026
a516c8a
Fixes uninitialized datastore option
msutovsky-r7 May 19, 2026
966c0b6
Removes re-definition of datastore option
msutovsky-r7 May 19, 2026
f8d00b8
Updates the modules, fixes the exploits
msutovsky-r7 May 19, 2026
bd08ec7
Add exploit module for Dompdf RCE (CVE-2022-28368)
Adithyadspawar Mar 20, 2026
778678f
Merge pull request #21414 from dledda-r7/feat/copyfail/python2.7
smcintyre-r7 May 19, 2026
0d718a4
automatic module_metadata_base.json update
May 19, 2026
907960d
Move *brute.rb in favour of *_brute.rb
g0tmi1k Mar 11, 2026
0745cc6
#{rhost}:#{rport} -> #{Rex::Socket.to_authority(rhost, rport)}
g0tmi1k Apr 2, 2026
d7a9964
Fix typos
g0tmi1k Apr 16, 2026
f471646
Bump metasploit-credential to 6.0.24
jheysel-r7 May 11, 2026
e430e78
Merge pull request #9 from smcintyre-r7/pr/collab/21447
jheysel-r7 May 19, 2026
142bca2
Merge pull request #21460 from bhaskarbhar/mixin
smcintyre-r7 May 19, 2026
addb6da
automatic module_metadata_base.json update
May 19, 2026
25af935
Merge pull request #1 from msutovsky-r7/collab/exploit/cve-2023-7102
Alpenlol May 19, 2026
05e925c
Land #21035, adds module for arbitrary code execution in Barracuda ES…
msutovsky-r7 May 19, 2026
b770f64
automatic module_metadata_base.json update
May 19, 2026
02b7f46
Update modules/auxiliary/scanner/oracle/isqlplus_sidbrute.rb
jheysel-r7 May 19, 2026
8cde2fa
Hash reporting fix
jheysel-r7 May 19, 2026
6d4e7aa
Merge pull request #21127 from g0tmi1k/def_initialize
jheysel-r7 May 19, 2026
723507b
Merge pull request #21447 from jheysel-r7/fix/kerberoasting_realm_rep…
smcintyre-r7 May 19, 2026
57b074a
automatic module_metadata_base.json update
May 19, 2026
a8a5985
Fix and centralize Python SSL handling
zeroSteiner May 19, 2026
66f1097
Merge pull request #21101 from g0tmi1k/tftp_brute
jheysel-r7 May 19, 2026
0567ed7
automatic module_metadata_base.json update
May 19, 2026
8d3a56a
Updates the module
msutovsky-r7 May 20, 2026
304e639
Updates docs, fixes issues in module
msutovsky-r7 May 20, 2026
ad04063
Removes redundant documentation
msutovsky-r7 May 20, 2026
c62f3c4
Replace non-ASCII em-dashes with hyphens in CertificateTracePresenter
Pushpenderrathore May 20, 2026
0dca91b
Fix X.509 version display and SAN parsing in CertificateTracePresenter
Pushpenderrathore May 20, 2026
5882042
improve check routine to account for some responses containing a 200 …
sfewer-r7 May 20, 2026
2dcfb98
Bump version of framework to 6.4.135
May 20, 2026
d71cb64
Updates docs, adds payload cleanup, removes time delay
msutovsky-r7 May 20, 2026
281a4d4
Updates post request payload delivery
msutovsky-r7 May 20, 2026
75f7563
Adds JSON payload delivery
msutovsky-r7 May 20, 2026
2bbf6b6
Bump the version of metasm
zeroSteiner May 20, 2026
0befde5
Merge pull request #21451 from zeroSteiner/feat/replace-to-hex-cstrin…
sjanusz-r7 May 20, 2026
c3a4fe8
automatic module_metadata_base.json update
May 20, 2026
c76a3c8
Merge pull request #21443 from jheysel-r7/gem/bump/metasploit-credent…
smcintyre-r7 May 20, 2026
4a8bcef
Merge pull request #21204 from sfewer-r7/CVE-2026-3055
bwatters-r7 May 20, 2026
11c6caf
automatic module_metadata_base.json update
May 20, 2026
a6b20a6
Merge pull request #21390 from zeroSteiner/fix/skip-anonymous-relay
jheysel-r7 May 20, 2026
5f7aac8
Merge pull request #21271 from h00die/ollama_enum
bwatters-r7 May 20, 2026
60a59a9
automatic module_metadata_base.json update
May 20, 2026
5242db0
Add Python SSL shells to the acceptance tests
zeroSteiner May 20, 2026
5bf3eb1
Fix command shell acceptance matrix to run all configured jobs
zeroSteiner May 20, 2026
41090ce
Fix a typo
zeroSteiner May 20, 2026
bc26fed
kerberoast hash types added for cracking
h00die Jan 17, 2026
f28a84a
kerberoast hash types added for cracking
h00die Jan 18, 2026
1007648
finish fixing up hash_cracker_validator
h00die Jan 18, 2026
8e3580b
take incoming
h00die Jan 28, 2026
75f28b5
kerberoast cracking updates
h00die Jan 26, 2026
c54d005
remove bad rebase items
h00die Jan 28, 2026
55934bb
hash_crack_validator rewite and john krb5tgs working
h00die Feb 1, 2026
04743e8
testing
Mar 11, 2026
c2fa49a
Land #21155, adds exploit module for Dompdf (CVE-2022-28368)
msutovsky-r7 May 21, 2026
d59c2e0
automatic module_metadata_base.json update
May 21, 2026
b7466ba
fix: move CIDR filtering to RPC endpoint in rpc_hosts
kx7m2qd May 21, 2026
c31b6cb
Fix mcp server test failure
adfoster-r7 May 21, 2026
f432eca
Makes precompiled exploits static
msutovsky-r7 May 21, 2026
e7ed485
Merge pull request #21485 from adfoster-r7/fix-mcp-server-test-failure
dwelch-r7 May 21, 2026
c7684e2
Land #21434, adds Dirtyfrag privilege escalation modules (CVE-2026-43…
msutovsky-r7 May 21, 2026
af83872
automatic module_metadata_base.json update
May 21, 2026
9949cf2
Remove LDAP monkey patches
adfoster-r7 May 21, 2026
29b59c6
Tighten the conditions for running these tests
zeroSteiner May 20, 2026
cc9e202
fix gitlab version errors
May 21, 2026
ba71087
Merge pull request #21486 from adfoster-r7/remove-ldap-monkey-patches
adfoster-r7 May 21, 2026
e9f7fb2
working poc, still rough for activemq jolokia
May 22, 2026
697ed9b
Drop unimplemented csr mode from CertificateTrace option
Pushpenderrathore May 24, 2026
5fcd81e
Update modules/exploits/multi/http/wp_plugin_supsystic_contact_form_r…
bootstrapbool May 24, 2026
546a7f5
Update modules/exploits/multi/http/wp_plugin_supsystic_contact_form_r…
bootstrapbool May 24, 2026
84b0939
Update modules/exploits/multi/http/wp_plugin_supsystic_contact_form_r…
bootstrapbool May 24, 2026
afa2a24
Update modules/exploits/multi/http/wp_plugin_supsystic_contact_form_r…
bootstrapbool May 24, 2026
eb1a615
Update modules/exploits/multi/http/wp_plugin_supsystic_contact_form_r…
bootstrapbool May 24, 2026
f400931
Update modules/exploits/multi/http/wp_plugin_supsystic_contact_form_r…
bootstrapbool May 24, 2026
73d6d5f
Removes version check from exploit
bootstrapbool May 24, 2026
456bfe5
Merge branch 'supsystic_contact_form_cve_2026_4257' of https://github…
bootstrapbool May 24, 2026
165af78
cracking progress
h00die May 24, 2026
d812038
Msftidy fix
bootstrapbool May 25, 2026
89166b5
feat: initial work on payloads manager plugin
jbx81-1337 Mar 10, 2026
43ba8be
Update plugins/payloads_manager.rb
dledda-r7 Mar 17, 2026
3a56683
Update plugins/payloads_manager.rb
dledda-r7 Mar 17, 2026
5f3d177
Update plugins/payloads_manager.rb
dledda-r7 Mar 17, 2026
a0573ae
Update plugins/payloads_manager.rb
dledda-r7 Mar 17, 2026
8457ec6
fix: review updates
jbx81-1337 Mar 18, 2026
e1d2f54
docs: update How-To-Use-Plugins.md to include Payloads Manager plugin…
jbx81-1337 Mar 20, 2026
b496b7f
docs: add details for Payloads Manager plugin and its subcommands
jbx81-1337 Mar 20, 2026
e57c93c
fix: deactivate payloads and remove symlink on unselect
jbx81-1337 Mar 20, 2026
53f27e0
fix: improve target link handling for payloads and add validation
jbx81-1337 Mar 20, 2026
acfa621
fix: enhance payload activation by validating source paths and adding…
jbx81-1337 Mar 20, 2026
50e8957
fix: enhance payload removal process with error handling and status m…
jbx81-1337 Mar 20, 2026
531224f
fix: add error handling and usage messages for payloads_manager commands
jbx81-1337 Mar 20, 2026
e4274d6
fix: enhance payload fetching with improved error handling and size v…
jbx81-1337 Mar 20, 2026
25a4a0a
fix|draft: status display with custom color styling
jbx81-1337 Mar 20, 2026
e3bdead
Fixes columns color
msutovsky-r7 May 25, 2026
1b25feb
all tests running
h00die May 25, 2026
f4b25e6
all tests running
h00die May 25, 2026
cac87e4
all tests running
h00die May 25, 2026
f0cdbc5
activemq jolokia exploit
h00die May 25, 2026
fed3f7b
add more info for documentation in AGENTS.md
h00die May 25, 2026
b1a4c71
make sure module descriptions only use ASCII
h00die May 25, 2026
a8d7a5f
Merge pull request #21267 from bootstrapbool/supsystic_contact_form_c…
jheysel-r7 May 26, 2026
ea5bf14
automatic module_metadata_base.json update
May 26, 2026
6281eda
Update LicenseFinder dependency
adfoster-r7 May 21, 2026
72fb241
Merge pull request #21487 from adfoster-r7/update-licensefinder-depen…
adfoster-r7 May 26, 2026
071f2b6
Update LicenseFinder
adfoster-r7 May 26, 2026
5f16dc7
Merge pull request #21500 from adfoster-r7/update-licensefinder
cgranleese-r7 May 26, 2026
cc5507e
automatic module_metadata_base.json update
May 26, 2026
17cd9f5
Bump version of framework to 6.4.136
May 26, 2026
36efa28
fix snmp enum bug
May 26, 2026
5e87a48
Merge pull request #21502 from h00die/fix_snmp_no_system_date
adfoster-r7 May 26, 2026
5003379
automatic module_metadata_base.json update
May 26, 2026
464ca4f
guard wsl startup_folder persistence
h00die May 26, 2026
2dbc6a0
Merge pull request #20881 from h00die/krb5tgs_rc4
jheysel-r7 May 26, 2026
9013523
automatic module_metadata_base.json update
May 26, 2026
4f602b5
Fix MSSQL 'unsupported token: 169' error for SQL Server 2022
Aaditya1273 Oct 13, 2025
3210bd4
Multiple fixes
jheysel-r7 May 27, 2026
f80be5a
Land #21087, adds payload manager plugin
msutovsky-r7 May 27, 2026
aefbe06
add CVEs to modules
May 26, 2026
bd566bd
Rubocopes cassandra_web_file_read module
msutovsky-r7 May 27, 2026
428ff50
Land #21506, adds guard for wsl_startup_folder persistence
msutovsky-r7 May 27, 2026
89f8a09
Land #21504, adds CVE numbers to modules
msutovsky-r7 May 27, 2026
19d077a
automatic module_metadata_base.json update
May 27, 2026
14f03d3
Update --help-formats and --payload-options flags
orbit-bot May 27, 2026
f5dd9b4
Merge pull request #21484 from zeroSteiner/fix/issue/21301
bwatters-r7 May 27, 2026
533e554
automatic module_metadata_base.json update
May 27, 2026
8fba6e3
Fix spec and update to check ORDER token
jheysel-r7 May 27, 2026
ae573b9
Add Gogs rebase RCE exploit module
Crypto-Cat May 27, 2026
3cd90e0
Update modules/exploits/multi/http/apache_activemq_jolokia_rce.rb
h00die May 28, 2026
afcffdd
Update modules/exploits/multi/http/apache_activemq_jolokia_rce.rb
h00die May 28, 2026
9ccb1ef
Merge pull request #21514 from orbit-bot/fix/msfvenom-help-formats-flag
smcintyre-r7 May 28, 2026
4e0891f
Merge pull request #21498 from h00die/add_docs_to_agents
adfoster-r7 May 28, 2026
228f0aa
peer review
May 28, 2026
20396ee
WIP for auto update gitlab versions
May 28, 2026
fcc0389
Update the Attic label definition
jheysel-r7 May 28, 2026
379122e
Fix/msf host info cidr filtering
smcintyre-r7 May 28, 2026
f997e51
Merge pull request #21429 from zeroSteiner/fix/redundant-kernel-version
bwatters-r7 May 28, 2026
cf76707
Merge pull request #21432 from 4ravind-b/fix-check-simple-api
smcintyre-r7 May 28, 2026
a8d936a
Update github workflows messaging
jheysel-r7 May 28, 2026
84b54dd
Inserted missing word "author"
jheysel-r7 May 28, 2026
f912adf
automatic module_metadata_base.json update
May 28, 2026
eda55c6
Add service hierarchy reporting to HTTP login scanners
sjanusz-r7 May 18, 2026
53f3218
Land #21497, adds authenticated arbitrary OS command injection in Act…
msutovsky-r7 May 29, 2026
b3b3e35
automatic module_metadata_base.json update
May 29, 2026
6926ad5
Merge pull request #21488 from sjanusz-r7/add-service-hierarchy-to-lo…
adfoster-r7 May 29, 2026
faf6a25
Address code review feedback
Crypto-Cat May 29, 2026
ffaffbe
Changed reporting structure to recommended one
Crypto-Cat May 29, 2026
db5ac40
Do the CIDR parsing in PostgreSQL
smcintyre-r7 May 28, 2026
499043f
Fix Kerberos AP-REQ options trace label
eve0805 May 29, 2026
749e876
Merge pull request #21517 from jheysel-r7/docs/update_attic_definition
smcintyre-r7 May 29, 2026
90c9e96
Add RPC_Db#rpc_hosts CIDR filtering specs
smcintyre-r7 May 29, 2026
705b3a3
Fix handling of malformed replies in ipmi_cipher_zero
zeroSteiner May 29, 2026
9403460
Fixes two bugs in the single shell riscv payloads
bwatters-r7 May 29, 2026
d458b7b
Update IP addresses in rspec tests
bwatters-r7 May 29, 2026
3a7d455
Add Windows Kernel Pointer Exposure Enumerator (Info Gathering)
CharlesQuinnDev Mar 2, 2026
1a15a69
Move windows_kernel_pointer_enum from auxiliary to post/forensics
CharlesQuinnDev Mar 2, 2026
d3696af
Rubocop Problems Fixed
CharlesQuinnDev Mar 2, 2026
02c9405
Add Windows kernel handle enumeration library + address review feedback
CharlesQuinnDev Mar 17, 2026
6c0c136
Fix rubocop issues in module and library
CharlesQuinnDev Mar 17, 2026
28d1670
Add missing documentation comment to HandleEnum module
CharlesQuinnDev Apr 13, 2026
919c0dd
Fixes issues
msutovsky-r7 May 30, 2026
fc4714e
Address review feedback: shared CertificateTrace mixin, ms_icpr traci…
Pushpenderrathore May 30, 2026
07660de
offload gitlab versions and create automation tool
h00die May 31, 2026
b91ced6
rubocopy and cleanup
h00die May 31, 2026
92ca204
Land #21039, adds post module for Windows kernel pointer enumerator
msutovsky-r7 May 31, 2026
8b5f523
automatic module_metadata_base.json update
May 31, 2026
808d87d
rubocopy and cleanup
h00die May 31, 2026
99192a0
Apply suggestions from code review
jburgess-r7 Jun 1, 2026
033dc38
address feedback from jvoisin: report sevice with it's version no
Crypto-Cat Jun 1, 2026
d20d2b7
fix regex offense
Crypto-Cat Jun 1, 2026
5f926ff
Merge pull request #21448 from kx7m2qd/fix/msf-host-info-cidr-filtering
cdelafuente-r7 Jun 2, 2026
52ca58b
add edb references
Jun 2, 2026
eca4eb5
Stop scanning targets that do not appear to be IPMI
zeroSteiner May 29, 2026
1d8f78e
Properly format IPv6 addresses in ipmi_version
zeroSteiner May 29, 2026
fc30ade
Update modules/auxiliary/scanner/http/gitlab_version.rb
h00die Jun 2, 2026
3223605
Potential fix for pull request finding
h00die Jun 3, 2026
1f2e4d4
fix some review comments
Jun 3, 2026
ad7c055
Apply suggestions from code review
jburgess-r7 Jun 3, 2026
c3c3e23
move gitlab_versions file to data folder
Jun 3, 2026
6f9e2a2
Fix Unix payload delivery and address PR review feedback
Crypto-Cat Jun 3, 2026
8b22aa9
restructured service check to use layered services
Crypto-Cat Jun 3, 2026
2602f8b
fixed default writeable dir for fetch command on unix, should resolve…
Crypto-Cat Jun 3, 2026
c74a80f
Merge pull request #21515 from jburgess-r7/add-gogs-rebase-rce
cdelafuente-r7 Jun 3, 2026
1b13d2d
automatic module_metadata_base.json update
Jun 3, 2026
3d89bd0
Hex-encode undecodable certificate extensions in trace output
Pushpenderrathore Jun 3, 2026
5d07312
Merge pull request #21489 from h00die/fix_gitlab_errors
smcintyre-r7 Jun 3, 2026
5075c29
automatic module_metadata_base.json update
Jun 3, 2026
8d30819
Merge pull request #21412 from zeroSteiner/feat/default-session-id
adfoster-r7 Jun 3, 2026
628f66a
Merge pull request #21526 from zeroSteiner/fix/ipmi/scanner-multi
adfoster-r7 Jun 4, 2026
fce4cf3
automatic module_metadata_base.json update
Jun 4, 2026
51bb5b3
Bump version of framework to 6.4.137
Jun 4, 2026
464c808
Merge pull request #21519 from bwatters-r7/fix/riscv-single-shells
dledda-r7 Jun 4, 2026
5082648
automatic module_metadata_base.json update
Jun 4, 2026
12fc9bd
Merge pull request #21466 from eve0805/feature/kerberos-ticket-trace-…
jheysel-r7 Jun 4, 2026
7849690
Merge pull request #20618 from Aaditya1273/issue-20607-mssql-token-16…
adfoster-r7 Jun 4, 2026
5eb34bb
Merge pull request #21212 from h00die/clickfix
adfoster-r7 Jun 4, 2026
8332182
Merge pull request #21528 from h00die/edb_refs
adfoster-r7 Jun 5, 2026
b349c07
Decode Application Policies extension to OID labels in CertificateTra…
Pushpenderrathore Jun 5, 2026
0a5a037
Update additional callsites
adfoster-r7 Jun 5, 2026
406d51b
Merge pull request #21222 from g0tmi1k/rhost_rport
adfoster-r7 Jun 5, 2026
73ea324
automatic module_metadata_base.json update
Jun 5, 2026
f073ad6
Merge pull request #21198 from Pushpenderrathore/certificate-trace
jheysel-r7 Jun 5, 2026
74e4595
fix: Gemfile to reduce vulnerabilities
snyk-bot Jun 7, 2026
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.
3 changes: 3 additions & 0 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Copilot Instructions

Refer to [AGENTS.md](../AGENTS.md) in the repository root for all project conventions, coding standards, and AI agent guidelines.
19 changes: 19 additions & 0 deletions .github/workflows/add_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Add pull request to the kanban board

on:
pull_request_target:
types:
- opened
- reopened

jobs:
add-to-project:
name: Add pull request to the kanban board
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/rapid7/projects/17
# smcintyre/GITHUB_PROJECT_TOKEN (PAT), Expires on Wed, Jan 27 2027
github-token: ${{ secrets.GH_PROJECT_TOKEN }}

59 changes: 41 additions & 18 deletions .github/workflows/command_shell_acceptance.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Command Shell Acceptance

# Optional, enabling concurrency limits: https://docs.github.com/en/actions/using-jobs/using-concurrency
Expand Down Expand Up @@ -41,13 +40,17 @@ on:
branches:
- '*'
paths:
- 'metsploit-framework.gemspec'
- 'metasploit-framework.gemspec'
- 'Gemfile.lock'
- 'data/templates/**'
- 'modules/payloads/**'
- 'lib/msf/core/payload/**'
- 'lib/msf/core/**'
- 'lib/msf/core/handler/**'
- 'lib/msf/core/post/**'
- 'lib/msf/core/session/**'
- 'lib/msf/base/sessions/**'
- 'tools/dev/**'
- 'test/modules/post/**'
- 'spec/acceptance/**'
- 'spec/support/acceptance/**'
- 'spec/acceptance_spec_helper.rb'
Expand All @@ -62,22 +65,25 @@ jobs:
strategy:
fail-fast: false
matrix:
os:
- windows-2019
- ubuntu-20.04
ruby:
- '3.2'
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 }

# Python SSL
- { command_shell: { name: python_ssl_2_6 }, ruby: '3.4', os: ubuntu-latest }
- { command_shell: { name: python_ssl_2_7 }, ruby: '3.4', os: ubuntu-latest }
- { command_shell: { name: python_ssl_3_4 }, ruby: '3.4', os: ubuntu-latest }
- { command_shell: { name: python_ssl_3_13 }, ruby: '3.4', os: ubuntu-latest }

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

Expand Down Expand Up @@ -126,16 +132,27 @@ 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
working-directory: metasploit-framework
cache-version: 5

- name: Pull pyenv container image
if: startsWith(matrix.command_shell.name, 'python_ssl')
run: docker pull public.ecr.aws/n5b4u6h0/zerosteiner/pyenv@sha256:e686265001ee43333f14c896d8362970e816c5a7c661a6fa7e37a90770c9108a
working-directory: metasploit-framework

- name: Acceptance
env:
SPEC_HELPER_LOAD_METASPLOIT: false
Expand Down Expand Up @@ -175,13 +192,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
7 changes: 6 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,18 @@ jobs:
fail-fast: true
matrix:
ruby:
- '3.0'
- '3.3'

name: Ruby ${{ matrix.ruby }}
steps:
- 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
68 changes: 68 additions & 0 deletions .github/workflows/extended_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Extended Tests

# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
permissions:
actions: none
checks: none
contents: none
deployments: none
id-token: none
issues: none
discussions: none
packages: none
pages: none
# This action can update/close pull requests
pull-requests: write
repository-projects: none
security-events: none
statuses: none

on:
pull_request_target:
branches:
- '*'
paths:
- '**/**ldap**'
- '**/**kerberos**'
- '**/**gss**'

jobs:
add-labels:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
// NOTE: The following section is JavaScript. Note that backticks will need to be escaped within
// the multiline comment strings in the following config. When editing this file, using JavaScript
// syntax highlighting might be easier.
//
// This script has intentionally been inlined instead of using third-party Github actions for both
// security and performance reasons.
const currentLabelNames = context.payload.pull_request.labels.map(label => label.name);
const newLabelName = "additional-testing-required";
const comment = `
Thanks for your pull request! As part of our landing process, we manually verify that all modules work as expected.

We've added the \`${newLabelName}\` label to indicate that additional testing is required before this pull request can be merged.
For maintainers, this means visiting [here](https://jenkins-metasploit.build.r7ops.com/job/pro_manual_test_trigger/).
`;

if (!currentLabelNames.includes(newLabelName)) {
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: [newLabelName]
});

const precedingWhitespaceLength = comment.split("\n")[1].search(/\S/);
const commentWithoutPrecedingWhitespace = comment.split("\n").map(line => line.substring(precedingWhitespaceLength)).join("\n").trim();
await github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: commentWithoutPrecedingWhitespace
});
}
5 changes: 3 additions & 2 deletions .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,12 @@ jobs:

What does this generally mean? It could be one or more of several things:

- It doesn't look like there has been any activity on this pull request in a while
- It doesn't look like there has been any activity on this pull request in a while (60 days or more).
- We may not have the proper access or equipment to test this pull request, or the contributor doesn't have time to work on it right now.
- Sometimes the implementation isn't quite right and a different approach is necessary.

We would love to land this pull request when it's ready. If you have a chance to address all comments, we would be happy to reopen and discuss how to merge this!
Pull requests in the attic are open for community pickup — if you're a community member looking for something to work on, feel free to pick this up and carry it across the finish line. The original author may or may not return, if they do and want to continue the work, we'd welcome that too.
If you'd like to revive this PR, please comment below expressing your interest, then open a new pull request that references this one, and we'll be happy to review it.
`
},
'needs-docs': {
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
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@ jobs:
ln -sf ../../tools/dev/pre-commit-hook.rb ./.git/hooks/post-merge
ls -la ./.git/hooks
./.git/hooks/post-merge

- name: Verify encoding
run: |
bundle exec ruby tools/dev/verify_encoding.rb
1 change: 1 addition & 0 deletions .github/workflows/meterpreter_acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ on:
- 'Gemfile.lock'
- 'data/templates/**'
- 'modules/payloads/**'
- 'lib/msf/base/sessions/**'
- 'lib/msf/core/payload/**'
- 'lib/msf/core/**'
- 'test/modules/**'
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
Loading