Package Details: metasploit-git 1:

Git Clone URL: (read-only, click to copy)
Package Base: metasploit-git
Description: Advanced open-source platform for developing, testing, and using exploit code
Upstream URL:
Licenses: BSD
Conflicts: metasploit
Provides: metasploit
Submitter: axper
Maintainer: anthraxx (Shibumi)
Last Packager: anthraxx
Votes: 17
Popularity: 0.000000
First Submitted: 2014-10-19 15:27
Last Updated: 2018-09-23 15:54

Latest Comments

1 2 3 4 5 Next › Last »

Arko commented on 2020-09-12 15:19

Add to dependencies inetutils. Without it msfconsole doesn't start and gives error:

/opt/metasploit-git/msfconsole: No such file or directory - hostname
Traceback (most recent call last):
7: from /opt/metasploit-git/msfconsole:23:in `<main>'
6: from /opt/metasploit-git/lib/metasploit/framework/command/base.rb:82:in `start'
5: from /opt/metasploit-git/lib/metasploit/framework/command/console.rb:48:in `start'
4: from /opt/metasploit-git/lib/metasploit/framework/command/console.rb:62:in `driver'
3: from /opt/metasploit-git/lib/metasploit/framework/command/console.rb:62:in `new'
2: from /opt/metasploit-git/lib/msf/ui/console/driver.rb:90:in `initialize'
1: from /opt/metasploit-git/lib/rex/ui/text/dispatcher_shell.rb:343:in `initialize'
/opt/metasploit-git/lib/rex/ui/text/shell.rb:60:in `initialize': undefined method `split' for nil:NilClass (NoMethodError)

FoxFromDarkness commented on 2020-02-03 15:40

@algebro just run gem install bundler:1.17.3

dani commented on 2019-08-18 15:10

documentation/ direction is necessary for web ui. please do not mv it.

algebro commented on 2019-05-29 19:35

I'm getting the following error related to Bundler when trying to install this package. Any ideas?

==> Starting prepare()...
Traceback (most recent call last):
        2: from /usr/bin/bundle:23:in `<main>'
        1: from /usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': Could not find 'bundler' (1.17.3) required by your /home/algebro/.cache/yay/metasploit-git/src/metasploit-git/Gemfile.lock. (Gem::GemNotFoundException)
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:1.17.3`
==> ERROR: A failure occurred in prepare().
Error making: metasploit-git

anthraxx commented on 2018-03-15 02:16

Fixed plus switched to ruby 2.5 a small feedback would be appreciated if the regular workflow and exploitation works as always

digital commented on 2018-03-14 05:31

==> Validating source files with sha512sums...

metasploit-git ... Skipped

metasploit-dont-restrict-aggregator.patch ... Passed

==> Extracting sources...

-> Creating working copy of metasploit-framework git repo...

Switched to a new branch 'makepkg'

==> Starting prepare()...

patching file Gemfile

Hunk #1 FAILED at 19.

1 out of 1 hunk FAILED -- saving rejects to file Gemfile.rej

==> ERROR: A failure occurred in prepare().


anthraxx commented on 2016-02-20 16:18

@ext: try rebuilding and reinstalling. works fine
@mxgr: i will investigate how that can be achieved without the .git directory as the release tarball also does not provide any so i will not include the .git directory here.

digital commented on 2016-02-20 08:22

$ msfconsole
fatal: Not a git repository (or any of the parent directories): .git
Could not find activesupport-4.0.13 in any of the sources
Run `bundle install` to install missing gems.

mxgr commented on 2015-12-18 12:58

The package() function removes the .git folder. However, a repository is necessary for the msfupdate command to work. There is an error message "Cannot determine checkout type".

If I replace the line:

find . -maxdepth 1 -mindepth 1 -not -path './.git*' -exec cp -r '{}' "${pkgdir}/opt/${pkgname}" \;


find . -maxdepth 1 -mindepth 1 -exec cp -r '{}' "${pkgdir}/opt/${pkgname}" \;

Then msfupdate runs without error.

jgabrito commented on 2015-08-08 15:04


The 2015-07-18 update to the PKGBUILD script breaks the packaging. The line:

mkdir -p "${pkgdir}/opt" "${pkgdir}/usr/bin"

should be changed to:

mkdir -p "${pkgdir}/opt/${pkgname}" "${pkgdir}/usr/bin"

Otherwise the main installation directory is not created and the cp's in the next line don't work.