Hallo,
ich habe soeben Metasploit über die 1 Click Installation der URL https://software.opensuse.org/package/metasploit vorgenommen. Das Paktet wird über die RPM-Abfrage angezeigt:
linux-pl9t:~ # rpm -qi metasploit
Name : metasploit
Version : 20160424
Release : 7.1
Architecture: x86_64
Install Date: Thu May 26 22:50:45 2016
Group : Applications/Security
Size : 49552414
License : BSD-3
Signature : RSA/SHA256, Mon Apr 25 20:20:52 2016, Key ID ee46e321fcb92094
Source RPM : metasploit-20160424-7.1.src.rpm
Build Date : Mon Apr 25 20:19:53 2016
Build Host : cloud105
Relocations : (not relocatable)
Vendor : obs://build.opensuse.org/home:alanbortu
URL : Penetration Testing Software | Metasploit
Summary : Provides useful information and tools for testers,researchers,and developers
Description :
Knowing the adversary's moves helps you better prepare your defenses.
Metasploit,backed by a community of 200,000 users and contributors,gives you that insight.
It's the most impactful penetration testing solution on the planet.
With it,uncover weaknesses in your defenses,focus on the highest risks,and improve your security outcomes.
Distribution: home:alanbortu:metasploit / openSUSE_Leap_42.1
linux-pl9t:~ # rpm -qi ruby2.1-rubygem-bundler-1.10.6-4.6.x86_64
Name : ruby2.1-rubygem-bundler
Version : 1.10.6
Release : 4.6
Architecture: x86_64
Install Date: Thu May 26 15:35:09 2016
Group : Development/Languages/Ruby
Size : 1108036
License : MIT
Signature : RSA/SHA256, Sun Oct 25 14:24:48 2015, Key ID b88b2fd43dbdc284
Source RPM : rubygem-bundler-1.10.6-4.6.src.rpm
Build Date : Sun Oct 25 14:24:23 2015
Build Host : build30
Relocations : (not relocatable)
Packager : openSUSE:Submitting bug reports - openSUSE
Vendor : openSUSE
URL : Bundler: The best way to manage a Ruby application's gems
Summary : The best way to manage your application's dependencies
Description :
Bundler manages an application's dependencies through its entire life, across
many machines, systematically and repeatably.
Distribution: openSUSE Leap 42.1
Leider lässt sich msfconsole nicht starten
linux-pl9t:~ # msfconsole
[!] There was an error parsing `Gemfile`: There was a Errno::ENOENT while loading metasploit-framework.gemspec:
No such file or directory - git from
/usr/share/metasploit/metasploit-framework.gemspec:27:in ``'
. Bundler cannot continue.
# from /usr/share/metasploit/Gemfile:4
# -------------------------------------------
# # spec.add_runtime_dependency '<name>', [<version requirements>]
> gemspec name: 'metasploit-framework'
#
# -------------------------------------------
Die Datei /usr/share/metasploit/metasploit-framework.gemspec sieht wie folgt aus:
# coding: utf-8
# During build, the Gemfile is temporarily moved and
# we must manually define the project root
if ENV['MSF_ROOT']
lib = File.realpath(File.expand_path('lib', ENV['MSF_ROOT']))
else
# have to use realpath as metasploit-framework is often loaded through a symlink and tools
like Coverage and debuggers
# require realpaths.
lib = File.realpath(File.expand_path('../lib', __FILE__))
end
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'metasploit/framework/version'
require 'metasploit/framework/rails_version_constraint'
Gem::Specification.new do |spec|
spec.name = 'metasploit-framework'
spec.version = Metasploit::Framework::GEM_VERSION
spec.authors = ['Metasploit Hackers']
spec.email = ['metasploit-hackers@lists.sourceforge.net']
spec.summary = 'metasploit-framework'
spec.description = 'metasploit-framework'
spec.homepage = 'https://www.metasploit.com'
spec.license = 'BSD-3-clause'
spec.files = `git ls-files`.split($/).reject { |file|
file =~ /^documentation|^data\/gui|^external/
}
spec.bindir = '.'
if ENV['CREATE_BINSTUBS']
spec.executables = [
'msfbinscan',
'msfconsole',
'msfd',
'msfelfscan',
'msfmachscan',
'msfpescan',
'msfrop',
'msfrpc',
'msfrpcd',
'msfupdate',
'msfvenom'
]
end
spec.test_files = spec.files.grep(%r{^spec/})
spec.require_paths = ["lib"]
# Database support
spec.add_runtime_dependency 'activerecord', *Metasploit::Framework::RailsVersionConstraint
::RAILS_VERSION
# Need 3+ for ActiveSupport::Concern
spec.add_runtime_dependency 'activesupport', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
# Needed for config.action_view for view plugin compatibility for Pro
spec.add_runtime_dependency 'actionpack', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
# Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
spec.add_runtime_dependency 'bcrypt'
# Needed for Javascript obfuscation
spec.add_runtime_dependency 'jsobfu', '~> 0.4.1'
# Needed for some admin modules (scrutinizer_add_user.rb)
spec.add_runtime_dependency 'json'
# Metasm compiler/decompiler/assembler
spec.add_runtime_dependency 'metasm', '~> 1.0.2'
# Metasploit::Concern hooks
spec.add_runtime_dependency 'metasploit-concern'
# Metasploit::Credential database models
spec.add_runtime_dependency 'metasploit-credential', '1.1.0'
# Database models shared between framework and Pro.
spec.add_runtime_dependency 'metasploit_data_models', '1.3.0'
# Things that would normally be part of the database model, but which
# are needed when there's no database
spec.add_runtime_dependency 'metasploit-model', '1.1.0'
# Needed for Meterpreter
spec.add_runtime_dependency 'metasploit-payloads', '1.1.6'
# Needed by msfgui and other rpc components
spec.add_runtime_dependency 'msgpack'
# get list of network interfaces, like eth* from OS.
spec.add_runtime_dependency 'network_interface', '~> 0.0.1'
# Needed by anemone crawler
spec.add_runtime_dependency 'nokogiri'
# Needed by db.rb and Msf::Exploit::Capture
spec.add_runtime_dependency 'packetfu', '1.1.11'
# For sniffer and raw socket modules
spec.add_runtime_dependency 'pcaprub'
# Needed for module caching in Mdm::ModuleDetails
spec.add_runtime_dependency 'pg', '>= 0.11'
# Run initializers for metasploit-concern, metasploit-credential, metasploit_data_models Rails::Engines
spec.add_runtime_dependency 'railties'
# required for OS fingerprinting
spec.add_runtime_dependency 'recog', '2.0.14'
# required for bitlocker fvek extraction
spec.add_runtime_dependency 'openssl-ccm', '1.2.1'
# Needed for documentation generation
spec.add_runtime_dependency 'octokit'
spec.add_runtime_dependency 'redcarpet'
# Needed for Microsoft patch finding tool (msu_finder)
spec.add_runtime_dependency 'patch_finder', '>= 1.0.2'
# rb-readline doesn't work with Ruby Installer due to error with Fiddle:
# NoMethodError undefined method `dlopen' for Fiddle:Module
unless Gem.win_platform?
# Command line editing, history, and tab completion in msfconsole
# Use the Rapid7 fork until the official gem catches up
spec.add_runtime_dependency 'rb-readline-r7'
end
# Needed by anemone crawler
spec.add_runtime_dependency 'robots'
# Needed by some modules
spec.add_runtime_dependency 'rubyzip', '~> 1.1'
# Needed for some post modules
spec.add_runtime_dependency 'sqlite3'
# required for Time::TZInfo in ActiveSupport
spec.add_runtime_dependency 'tzinfo'
# Needed so that disk size output isn't horrible
spec.add_runtime_dependency 'filesize'
end
Als Betriebssystem/Kernel verwende ich:
inux-pl9t:~ # cat /etc/issue
Welcome to openSUSE Leap 42.1 - Kernel \r (\l).
linux-pl9t:~ # uname -a
Linux linux-pl9t 4.1.21-14-default #1 SMP PREEMPT Sun Apr 17 07:27:45 UTC 2016 (fc187c1) x86_64 x86_64 x86_64 GNU/Linux
Kann mir jemand sagen was ich ändern / anpassen muss?