FreeBSD Bugzilla – Attachment 247455 Details for
Bug 276006
security/metasploit: msfconsole fails to start on fresh install
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
security/metasploit: Adding patch files for Metasploit framework gemspec
metasploit.diff (text/plain), 3.87 KB, created by
tanawts
on 2024-01-05 04:47:00 UTC
(
hide
)
Description:
security/metasploit: Adding patch files for Metasploit framework gemspec
Filename:
MIME Type:
Creator:
tanawts
Created:
2024-01-05 04:47:00 UTC
Size:
3.87 KB
patch
obsolete
>From bea981ac46c29f6356113a8f48fc698735f7a2dd Mon Sep 17 00:00:00 2001 >From: JR Aquino > <root@PortFactory02.odq3au12hjsepmdgmqfzke0rda.bx.internal.cloudapp.net> >Date: Fri, 5 Jan 2024 04:31:28 +0000 >Subject: [PATCH 1/2] Adding patch files for Metasploit framework gemspec > >--- > .../files/patch-metasploit-framework.gemspec | 65 +++++++++++++++++++ > 1 file changed, 65 insertions(+) > create mode 100644 security/metasploit/files/patch-metasploit-framework.gemspec > >diff --git a/security/metasploit/files/patch-metasploit-framework.gemspec b/security/metasploit/files/patch-metasploit-framework.gemspec >new file mode 100644 >index 000000000000..1557de99a416 >--- /dev/null >+++ b/security/metasploit/files/patch-metasploit-framework.gemspec >@@ -0,0 +1,65 @@ >+--- metasploit-framework.gemspec.orig 2024-01-04 17:37:35 UTC >++++ metasploit-framework.gemspec >+@@ -25,9 +25,9 @@ Gem::Specification.new do |spec| >+ spec.homepage = 'https://www.metasploit.com' >+ spec.license = 'BSD-3-clause' >+ >+- # only do a git ls-files if the .git folder exists and we have a git binary in PATH >++ # only do a find . ! -type d | sed "s|^./||" if the .git folder exists and we have a git binary in PATH >+ if File.directory?(File.join(File.dirname(__FILE__), ".git")) && Msf::Util::Helper.which("git") >+- spec.files = `git ls-files`.split($/).reject { |file| >++ spec.files = `find . ! -type d | sed "s|^./||"`.split($/).reject { |file| >+ file =~ /^external|^docs|^\.solargraph\.yml/ >+ } >+ end >+@@ -77,14 +77,14 @@ Gem::Specification.new do |spec| >+ spec.add_runtime_dependency 'metasploit_payloads-mettle', '1.0.26' >+ # Needed by msfgui and other rpc components >+ # Locked until build env can handle newer version. See: https://github.com/msgpack/msgpack-ruby/issues/334 >+- spec.add_runtime_dependency 'msgpack', '~> 1.6.0' >++ spec.add_runtime_dependency 'msgpack', '~> 1.7.2' >+ # get list of network interfaces, like eth* from OS. >+ 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' >++ spec.add_runtime_dependency 'nokogiri', '~> 1.15.5' >+ # Needed by db.rb and Msf::Exploit::Capture >+ spec.add_runtime_dependency 'packetfu' >+ # For sniffer and raw socket modules >+@@ -147,7 +147,7 @@ Gem::Specification.new do |spec| >+ spec.add_runtime_dependency 'net-ssh' >+ spec.add_runtime_dependency 'ed25519' # Adds ed25519 keys for net-ssh >+ spec.add_runtime_dependency 'bcrypt_pbkdf' >+- spec.add_runtime_dependency 'ruby_smb', '~> 3.3.0' >++ spec.add_runtime_dependency 'ruby_smb' >+ spec.add_runtime_dependency 'net-imap' # Used in Postgres auth for its SASL stringprep implementation >+ spec.add_runtime_dependency 'net-ldap' >+ spec.add_runtime_dependency 'net-smtp' >+@@ -194,7 +194,6 @@ Gem::Specification.new do |spec| >+ # Library for exploit development helpers >+ spec.add_runtime_dependency 'rex-exploitation' >+ # Command line editing, history, and tab completion in msfconsole >+- spec.add_runtime_dependency 'rb-readline' >+ # Needed by some modules >+ spec.add_runtime_dependency 'rubyzip' >+ # Needed for some post modules >+@@ -216,7 +215,7 @@ Gem::Specification.new do |spec| >+ # SSH server library with ed25519 >+ spec.add_runtime_dependency 'hrr_rb_ssh-ed25519' >+ # Needed for irb internal command >+- spec.add_runtime_dependency 'irb', '~> 1.7.4' >++ spec.add_runtime_dependency 'irb', '~> 1.11.0' >+ >+ # AWS enumeration modules >+ spec.add_runtime_dependency 'aws-sdk-s3' >+@@ -235,7 +234,6 @@ Gem::Specification.new do |spec| >+ spec.add_runtime_dependency 'faraday-retry' >+ >+ # Required for windows terminal colors as of Ruby 3.0 >+- spec.add_runtime_dependency 'win32api' >+ >+ spec.add_runtime_dependency 'zeitwerk' >+ >-- >2.42.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276006
: 247455 |
247456