Package Details: metasploit-git 1:6.3.31.71421.28ba19a12f-1

Git Clone URL: https://aur.archlinux.org/metasploit-git.git (read-only, click to copy)
Package Base: metasploit-git
Description: Advanced open-source platform for developing, testing, and using exploit code
Upstream URL: https://www.metasploit.com/
Licenses: BSD
Conflicts: metasploit
Provides: metasploit
Submitter: axper
Maintainer: anthraxx
Last Packager: anthraxx
Votes: 17
Popularity: 0.000000
First Submitted: 2014-10-19 15:27 (UTC)
Last Updated: 2023-08-29 23:46 (UTC)

Required by (7)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

algebro commented on 2019-05-29 19:35 (UTC)

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().
    Aborting...
Error making: metasploit-git

anthraxx commented on 2018-03-15 02:16 (UTC)

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 (UTC) (edited on 2018-03-14 05:31 (UTC) by digital)

==> 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().

Aborting...

anthraxx commented on 2016-02-20 16:18 (UTC)

@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 (UTC)

$ 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 (UTC)

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}" \; with: find . -maxdepth 1 -mindepth 1 -exec cp -r '{}' "${pkgdir}/opt/${pkgname}" \; Then msfupdate runs without error.

jgabrito commented on 2015-08-08 15:04 (UTC)

Hi, 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 (UTC)

@Shibumi 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 : update_ruby_deps(){ ... find /opt/metasploit-git/vendor/bundle/ruby -name robots.rb -exec chmod o+r '{} \' \; } to this : update_ruby_deps(){ ... find /opt/metasploit-git/vendor/bundle/ruby -name robots.rb -exec chmod o+r '{}' \; } After that, all works great ;)