Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - metasploit-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: metasploit-git 1:

Git Clone URL: https://aur-dev.archlinux.org/metasploit-git.git (read-only)
Package Base: metasploit-git
Description: Advanced open-source platform for developing, testing, and using exploit code
Upstream URL: http://www.metasploit.com/
Licenses: BSD
Conflicts: metasploit
Provides: metasploit
Submitter: axper
Maintainer: anthraxx (Shibumi)
Last Packager: anthraxx
Votes: 15
Popularity: 1.937886
First Submitted: 2014-10-19 15:27
Last Updated: 2016-10-27 22:03

Required by (3)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

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

Knight commented on 2015-04-29 11:01


echo "BUNDLE_GEMFILE=/opt/${pkgname}/Gemfile bundle exec ruby (no linebreak)/opt/${pkgname}/`basename "${f}"` \"\$@\"" > ${_msffile}

Shibumi commented on 2015-04-29 09:40


Thx I changed this in the metasploit.install


could you please upload your version of the PKGBUILD? Don't know what you mean exactly.