Package Details: metasploit-git 1:

Git Clone URL: (read-only)
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.000002
First Submitted: 2014-10-19 15:27
Last Updated: 2018-09-23 15:54

Required by (8)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

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

ext 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.

ext 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.

Foryah commented on 2015-07-17 08:06


Hey, I just wanted to let you know that you still get this error :

find: missing argument to `-exec`

I fixed it the way @p0ng fixed it, namely modify in the metasploit.install file, the update_ruby_deps() function, from this :

find /opt/metasploit-git/vendor/bundle/ruby -name robots.rb -exec chmod o+r '{} \'

to this :

find /opt/metasploit-git/vendor/bundle/ruby -name robots.rb -exec chmod o+r '{}' \;

After that, all works great ;)

Shibumi commented on 2015-05-23 09:50


thx for reporting this issue.. I fixed this.

If you get a downgrading-message while upgrading the metasploit-git package this is normal because I had to remove the first part of the versionnumber.

dopeadmin commented on 2015-05-22 16:25

Error: pkgver is not allowed to contain colon,hyphens or whitepsace.
error:pkgver(1) generated an invalid version: blog-20150522.33532.03b70e3
any ideas ?

Shibumi commented on 2015-05-15 12:13

@Knight fixed...