Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#51545 - [metasploit] pattern_create.rb can't find rex-text gem
Attached to Project:
Community Packages
Opened by gozes (gozes) - Thursday, 27 October 2016, 09:06 GMT
Last edited by Levente Polyak (anthraxx) - Friday, 28 October 2016, 12:42 GMT
Opened by gozes (gozes) - Thursday, 27 October 2016, 09:06 GMT
Last edited by Levente Polyak (anthraxx) - Friday, 28 October 2016, 12:42 GMT
|
DetailsDescription:
when trying to use the pattern_create tool that comes with metasploit pattern_create fails to run and complains that it can't find the rex-text gem. See error below Additional info: /usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'rex-text' (>= 0) among 24 total gem(s) (Gem::LoadError) Checked in 'GEM_PATH=/home/gozes/.gem/ruby/2.3.0:/usr/lib/ruby/gems/2.3.0', execute `gem env` for more information from /usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec' from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem' from /usr/share/metasploit/tools/exploit/pattern_create.rb:11:in `<main>' gem env info RubyGems Environment: - RUBYGEMS VERSION: 2.5.1 - RUBY VERSION: 2.3.1 (2016-04-26 patchlevel 112) [x86_64-linux] - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/2.3.0 - USER INSTALLATION DIRECTORY: /home/gozes/.gem/ruby/2.3.0 - RUBY EXECUTABLE: /usr/bin/ruby - EXECUTABLE DIRECTORY: /usr/bin - SPEC CACHE DIRECTORY: /home/gozes/.gem/specs - SYSTEM CONFIGURATION DIRECTORY: /etc - RUBYGEMS PLATFORMS: - ruby - x86_64-linux - GEM PATHS: - /usr/lib/ruby/gems/2.3.0 - /home/gozes/.gem/ruby/2.3.0 - GEM CONFIGURATION: - :update_sources => true - :verbose => true - :backtrace => false - :bulk_threshold => 1000 - "gem" => "--user-install" - REMOTE SOURCES: - https://rubygems.org/ Steps to reproduce: type /usr/share/metasploit/tools/exploit/pattern_create.rb -h |
This task depends upon
Closed by Levente Polyak (anthraxx)
Friday, 28 October 2016, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: 4.12.38-1
Friday, 28 October 2016, 12:42 GMT
Reason for closing: Fixed
Additional comments about closing: 4.12.38-1
that said, I just remove the arch strike pkg and install the one from the community and got this
/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs': Could not find 'rex-text' (>= 0) among 24 total gem(s) (Gem::LoadError)
Checked in 'GEM_PATH=/home/gozes/.gem/ruby/2.3.0:/usr/lib/ruby/gems/2.3.0', execute `gem env` for more information
from /usr/lib/ruby/2.3.0/rubygems/dependency.rb:328:in `to_spec'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_gem.rb:65:in `gem'
from /opt/metasploit/tools/exploit/pattern_create.rb:11:in `<main>'
by running /opt/metasploit/tools/exploit/pattern_create.rb -h
Just wanted to make you aware that you want to switch to the one from our repos to get support :)
If yes please append the output of:
> pacman -Qi metasploit
and
> /opt/metasploit/tools/exploit/pattern_offset.rb -q 3Ac4