Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Ruby 3.2 #19573

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

adfoster-r7
Copy link
Contributor

@adfoster-r7 adfoster-r7 commented Oct 18, 2024

Updates Metasploit to Ruby 3.2.5

This aligns Metasploit and the omnibus installer to now be on the same version rapid7/metasploit-omnibus#211

Verification

  • Ensure CI passes
  • Ensure you can install Ruby 3.2.5 locally and boot up msfconsole successfully

@adfoster-r7 adfoster-r7 force-pushed the update-to-ruby-3.2 branch 3 times, most recently from 4f30629 to d9a2dba Compare October 18, 2024 21:01
@adfoster-r7 adfoster-r7 added the rn-enhancement release notes enhancement label Oct 18, 2024
@adfoster-r7
Copy link
Contributor Author

Release Notes

Updates Metasploit to Ruby 3.2.5

@adfoster-r7
Copy link
Contributor Author

retest this please

@sjanusz-r7
Copy link
Contributor

No issues on my Mac here:

HEAD is now at d9a2dba3fa Update to Ruby 3.2

> rvm install ruby-3.2.5
Installing Ruby from source to: ...
...
Install of ruby-3.2.5 - #complete

> bundle                            
Bundler 2.4.19 is running, but your lockfile was generated with 2.5.10. Installing Bundler 2.5.10 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
...

> bundle exec 'ruby ./msfconsole -q'
msf6 > irb
[*] Starting IRB shell...
[*] You are in the "framework" object

RUBirb: warn: can't alias jobs from irb_jobs.
>> RUBY_DESCRIPTION
=> "ruby 3.2.5 (2024-07-26 revision 31d0f1a2e7) [x86_64-darwin23]"

> cat ~/.bundle/config
---

@cgranleese-r7 cgranleese-r7 self-assigned this Nov 4, 2024
Copy link
Contributor

@cgranleese-r7 cgranleese-r7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Console boots for me when using ruby-3.2.5 👍

metasploit-framework (69dabe6) [$] via  desktop-linux via  v3.2.5 via ⍱ took 23s
❯ rvm list
   ruby-2.1.5 [ x86_64 ]
   ruby-2.5.1 [ x86_64 ]
   ruby-2.6.3 [ x86_64 ]
   ruby-2.6.6 [ x86_64 ]
 * ruby-2.7.2 [ x86_64 ]
   ruby-3.0.0 [ x86_64 ]
   ruby-3.0.2 [ x86_64 ]
   ruby-3.0.5 [ x86_64 ]
   ruby-3.1.4 [ x86_64 ]
   ruby-3.1.5 [ x86_64 ]
   ruby-3.1.6 [ x86_64 ]
   ruby-3.2.0 [ x86_64 ]
=> ruby-3.2.5 [ x86_64 ]
   ruby-3.3.0-preview1 [ x86_64 ]

# => - current
# =* - current && default
#  * - default


metasploit-framework (69dabe6) [$] via  desktop-linux via  v3.2.5 via ⍱
❯ bundle exec ruby ./msfconsole
Metasploit tip: You can use help to view all available commands
[*] New in Metasploit 6.4 - The CreateSession option within this module can open an interactive session


         .                                         .
 .

      dBBBBBBb  dBBBP dBBBBBBP dBBBBBb  .                       o
       '   dB'                     BBP
    dB'dB'dB' dBBP     dBP     dBP BB
   dB'dB'dB' dBP      dBP     dBP  BB
  dB'dB'dB' dBBBBP   dBP     dBBBBBBB

                                   dBBBBBP  dBBBBBb  dBP    dBBBBP dBP dBBBBBBP
          .                  .                  dB' dBP    dB'.BP
                             |       dBP    dBBBB' dBP    dB'.BP dBP    dBP
                           --o--    dBP    dBP    dBP    dB'.BP dBP    dBP
                             |     dBBBBP dBP    dBBBBP dBBBBP dBP    dBP

                                                                    .
                .
        o                  To boldly go where no
                            shell has gone before


       =[ metasploit v6.4.31-dev-69dabe6817               ]
+ -- --=[ 2459 exploits - 1265 auxiliary - 430 post       ]
+ -- --=[ 1468 payloads - 49 encoders - 11 nops           ]
+ -- --=[ 9 evasion                                       ]

Metasploit Documentation: https://docs.metasploit.com/

msf6 auxiliary(scanner/smb/smb_login) >

@cgranleese-r7 cgranleese-r7 merged commit 145ab02 into rapid7:master Nov 4, 2024
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn-enhancement release notes enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants