Skip to content

Commit

Permalink
Add support for Ruby 3.4.0-preview1
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed May 23, 2024
1 parent 7eefa4b commit efac947
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ jobs:
- '3.1'
- '3.2'
- '3.3.0-preview3'
- '3.4.0-preview1'
os:
- ubuntu-20.04
- ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.5
3.4.0-preview1
22 changes: 17 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ PATH
remote: .
specs:
metasploit-framework (6.4.11)
abbrev
actionpack (~> 7.0.0)
activerecord (~> 7.0.0)
activesupport (~> 7.0.0)
Expand All @@ -10,12 +11,16 @@ PATH
aws-sdk-iam
aws-sdk-s3
aws-sdk-ssm
base64
bcrypt
bcrypt_pbkdf
bigdecimal
bootsnap
bson
chunky_png
csv
dnsruby
drb
ed25519
em-http-request
eventmachine
Expand All @@ -24,6 +29,7 @@ PATH
faraday-retry
faye-websocket
filesize
getoptlong
hrr_rb_ssh-ed25519
http-cookie
irb (~> 1.7.4)
Expand All @@ -38,14 +44,15 @@ PATH
metasploit_payloads-mettle (= 1.0.26)
mqtt
msgpack (~> 1.6.0)
mutex_m
nessus_rest
net-imap
net-ldap
net-smtp
net-ssh
network_interface
nexpose
nokogiri (~> 1.14.0)
nokogiri
octokit (~> 4.0)
openssl-ccm
openvas-omp
Expand Down Expand Up @@ -104,6 +111,7 @@ GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.1.0)
abbrev (0.1.2)
actionpack (7.0.8.1)
actionview (= 7.0.8.1)
activesupport (= 7.0.8.1)
Expand Down Expand Up @@ -184,6 +192,7 @@ GEM
concurrent-ruby (1.2.3)
cookiejar (0.3.4)
crass (1.0.6)
csv (3.3.0)
daemons (1.4.1)
date (3.3.4)
debug (1.8.0)
Expand All @@ -194,6 +203,7 @@ GEM
simpleidn (~> 0.2.1)
docile (1.4.0)
domain_name (0.6.20240107)
drb (2.2.1)
ed25519 (1.3.0)
em-http-request (1.1.7)
addressable (>= 2.3.4)
Expand Down Expand Up @@ -225,6 +235,7 @@ GEM
ffi (1.16.3)
filesize (0.2.0)
fivemat (1.3.7)
getoptlong (0.2.1)
gssapi (1.3.1)
ffi (>= 1.0.1)
gyoku (1.4.0)
Expand Down Expand Up @@ -302,6 +313,7 @@ GEM
multi_json (1.15.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
mutex_m (0.2.0)
nessus_rest (0.1.6)
net-imap (0.4.10)
date
Expand All @@ -315,8 +327,8 @@ GEM
network_interface (0.0.4)
nexpose (7.3.0)
nio4r (2.7.1)
nokogiri (1.14.5)
mini_portile2 (~> 2.8.0)
nokogiri (1.16.5)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nori (2.7.0)
bigdecimal
Expand Down Expand Up @@ -350,7 +362,7 @@ GEM
public_suffix (5.0.5)
puma (6.4.2)
nio4r (~> 2.0)
racc (1.7.3)
racc (1.8.0)
rack (2.2.9)
rack-protection (3.2.0)
base64 (>= 0.1.0)
Expand Down Expand Up @@ -574,4 +586,4 @@ DEPENDENCIES
yard

BUNDLED WITH
2.1.4
2.3.9
18 changes: 15 additions & 3 deletions metasploit-framework.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'network_interface'
# NTLM authentication
spec.add_runtime_dependency 'rubyntlm'
# Needed by anemone crawler
# Locked until build env can handle newer version due to native compile issue in 1.15.x
spec.add_runtime_dependency 'nokogiri', '~> 1.14.0'
# Needed by for XML parsing
spec.add_runtime_dependency 'nokogiri'
# Needed by db.rb and Msf::Exploit::Capture
spec.add_runtime_dependency 'packetfu'
# For sniffer and raw socket modules
Expand Down Expand Up @@ -247,4 +246,17 @@ Gem::Specification.new do |spec|

# Needed for multiline REPL support for interactive SQL sessions
spec.add_runtime_dependency 'reline'

# Standard libraries: https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/
%w[
abbrev
base64
bigdecimal
csv
drb
getoptlong
mutex_m
].each do |library|
spec.add_runtime_dependency library
end
end
1 change: 0 additions & 1 deletion modules/auxiliary/crawler/msfcrawler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

# openssl before rubygems mac os
require 'openssl'
require 'rinda/tuplespace'
require 'pathname'
require 'uri'

Expand Down

0 comments on commit efac947

Please sign in to comment.