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 (8)

Sources (1)

Latest Comments

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

Shibumi commented on 2015-05-15 12:13 (UTC)

@Knight fixed...

Knight commented on 2015-04-29 11:01 (UTC)

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

Shibumi commented on 2015-04-29 09:40 (UTC)

@p0ng Thx I changed this in the metasploit.install @Knight could you please upload your version of the PKGBUILD? Don't know what you mean exactly.

Knight commented on 2015-04-28 10:05 (UTC)

@Shibumi It seems that the lines written to /usr/bin/msf* should be in one line, otherwise msf* will fail to load the Gem files.

p0ng commented on 2015-04-28 04:42 (UTC)

@Shibumi The 'find' line was wrong. update_ruby_deps() { cd /opt/metasploit-git bundle install --path vendor/bundle find /opt/metasploit-git/vendor/bundle/ruby -name robots.rb -exec chmod o+r '{}' \; } I changed for this update_ruby_deps() { cd /opt/metasploit-git bundle install --path vendor/bundle find /opt/metasploit-git/vendor/bundle/ruby -name robots.rb -exec chmod o+r '{}' \; } And works like a charm! :D Thanks :D

Shibumi commented on 2015-04-27 20:04 (UTC)

I changed the paths in the .install file. should work now. But I still think it would be better when everybody would install the gems for metasploit by his/herself with bundle install instead of doing this per root..

Shibumi commented on 2015-04-27 09:35 (UTC)

Thx currently not at home. Will change this. I don't Like .install maybe it would be better when the user installs the bundles by his/herself

Knight commented on 2015-04-27 09:31 (UTC)

@p0ng It seems that the path to metasploit in the .INSTALL file is not correct, which should be /opt/metasploit-git instead of /opt/metasploit

p0ng commented on 2015-04-27 03:31 (UTC)

"Houston, we have a problem" root ~ > /home/p0ng/aur/metasploit-git pacman -U metasploit-git-2015042001.32859.4ffffa5-1-x86_64.pkg.tar loading packages... resolving dependencies... looking for conflicting packages... Packages (1) metasploit-git-2015042001.32859.4ffffa5-1 Total Installed Size: 528.66 MiB :: Proceed with installation? [Y/n] (1/1) checking keys in keyring [######################################] 100% (1/1) checking package integrity [######################################] 100% (1/1) loading package files [######################################] 100% (1/1) checking for file conflicts [######################################] 100% (1/1) checking available disk space [######################################] 100% (1/1) installing metasploit-git [######################################] 100% Installing necessary ruby dependencies with ruby-bundle /tmp/alpm_0EPui7/.INSTALL: line 4: cd: /opt/metasploit: No such file or directory Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Could not locate Gemfile find: missing argument to `-exec' /tmp/alpm_0EPui7/.INSTALL: line 7: ;: command not found error: command failed to execute correctly Optional dependencies for metasploit-git java-runtime: msfgui support ruby-pg: database support What did I do wrong?

Shibumi commented on 2015-04-26 22:28 (UTC)

@anonymous_42 The package should work now. :)