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

Metasploit problem how can I fix it #14746

Closed
BLUE-444 opened this issue Feb 12, 2021 · 3 comments
Closed

Metasploit problem how can I fix it #14746

BLUE-444 opened this issue Feb 12, 2021 · 3 comments
Labels
ruby-3.0.0 Tracking issues related to adding ruby-3.0.0 support termux Used when an issue is related to Termux

Comments

@BLUE-444
Copy link

/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:44: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
Doing require 'backports' is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.
/data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/object/duplicable.rb:111:in <class:BigDecimal>': undefined method new' for BigDecimal:Class (NoMethodError)
from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/object/duplicable.rb:106:in <top (required)>' from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/object.rb:3:in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext/object.rb:3:in <top (required)>' from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext.rb:2:in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext.rb:2:in block in <top (required)>' from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext.rb:1:in each'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/core_ext.rb:1:in <top (required)>' from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/all.rb:3:in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/activesupport-4.2.11.3/lib/active_support/all.rb:3:in <top (required)>' from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/metasploit_data_models-3.0.10/lib/metasploit_data_models.rb:17:in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/metasploit_data_models-3.0.10/lib/metasploit_data_models.rb:17:in <top (required)>' from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/metasploit-credential-4.0.3/lib/metasploit/credential.rb:11:in require'
from /data/data/com.termux/files/usr/lib/ruby/gems/3.0.0/gems/metasploit-credential-4.0.3/lib/metasploit/credential.rb:11:in <top (required)>' from /data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:22:in require'
from /data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:22:in optionally' from /data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:68:in optionally_include_metasploit_credential_creation'
from /data/data/com.termux/files/home/metasploit-framework/lib/metasploit/framework/require.rb:115:in optionally_include_metasploit_credential_creation' from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/db_manager.rb:61:in class:DBManager'
from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/db_manager.rb:23:in <top (required)>' from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/framework.rb:61:in require'
from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/framework.rb:61:in <class:Framework>' from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/framework.rb:26:in module:Msf'
from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/framework.rb:18:in <top (required)>' from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core.rb:47:in require'
from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core.rb:47:in <top (required)>' from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload/apk.rb:3:in require'
from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload/apk.rb:3:in <top (required)>' from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload_generator.rb:2:in require'
from /data/data/com.termux/files/home/metasploit-framework/lib/msf/core/payload_generator.rb:2:in <top (required)>' from /data/data/com.termux/files/usr/bin/msfconsole:47:in require'
from /data/data/com.termux/files/usr/bin/msfconsole:47:in `

'

@BLUE-444 BLUE-444 added the question Questions about Metasploit Usage label Feb 12, 2021
@bcoles bcoles added ruby-3.0.0 Tracking issues related to adding ruby-3.0.0 support termux Used when an issue is related to Termux and removed question Questions about Metasploit Usage labels Feb 12, 2021
@label-actions
Copy link

label-actions bot commented Feb 12, 2021

This issue appears to be related to Ruby 3.0.0. At this time Metasploit does not support Ruby 3.0.0.
Please try using Ruby 2.7.x with Metasploit.

Closing this issue as a duplicate of #14666 - which aims to track this feature request.

@label-actions label-actions bot closed this as completed Feb 12, 2021
@label-actions
Copy link

label-actions bot commented Feb 12, 2021

Termux is not officially supported. #11023

However, Metasploit reportedly does work with Termux.

Refer to the following for more information:

@dorianmariecom
Copy link

dorianmariecom commented Mar 26, 2022

This warning is because the original poster was using an outdated version of bundler: 1.17.3, 2.3.10 is the latest https://rubygems.org/gems/bundler

You might want to update your Gemfile.lock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ruby-3.0.0 Tracking issues related to adding ruby-3.0.0 support termux Used when an issue is related to Termux
Projects
None yet
Development

No branches or pull requests

3 participants