Metasploit3 version 3.0 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    metasploit3  most recent diff


    version 3.0

      View the most recent changes for the metasploit3 port at: metasploit3.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for metasploit3.
      The raw portfile for metasploit3 3.0 is located here:
      http://metasploit3.darwinports.com/dports/security/metasploit3/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/metasploit3


      The metasploit3 Portfile 50984 2009-05-14 21:08:43Z and.damore macports.org $

      PortSystem 1.0
      Name: metasploit3
      Version: 3.0
      Revision: 0
      Category: security
      Maintainers: darkart.com:opendarwin.org
      Description: Tools and information for security research and pentesting
      Homepage: http://metasploit.com/
      Platform: darwin

      Long Description: The Metasploit Project goal is to provide useful information to people who perform penetration testing, IDS signature development, and exploit research. This framework was created to fill the gaps in the information publicly available on various exploitation techniques and to create a useful resource for exploit developers. The tools and information are provided for legal security research and testing purposes only.

      Master Sites: http://framework.metasploit.com/releases/

      distfiles framework-${version}.tar.gz
      worksrcdir framework-${version}

      Checksums: md5 ab98f0a09b371f9638c7f49f1b83f5c4 sha1 e6636cb5849f2403c8b6a8812205f4a249d63df3

      depends_lib port:ruby port:rb-rails port:readline

      Patch Files: patch-data-msfweb-config-environment.rb patch-msfcli patch-msfconsole patch-msfd patch-msfencode patch-msfgui patch-msfopcode patch-msfpayload patch-msfpescan patch-msfweb patch-tools-module_license.rb patch-tools-msf_irb_shell.rb


      use_configure no
      build {
      ## remove the .svn/ directories, no need to move them around
      system "cd ${worksrcpath} && find . -type d -name '\.svn' | xargs /bin/rm -rf"
      foreach file [glob -directory ${worksrcpath} msf*] {
      reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" $file
      }
      }
      destroot {
      set metasploitTargetDir "libexec/metasploit3"
      xinstall -d -m 755 ${destroot}/${prefix}/${metasploitTargetDir}
      foreach file [glob -directory ${workpath}/${worksrcdir} *] {
      file copy ${file} ${destroot}/${prefix}/${metasploitTargetDir}
      }
      foreach file [glob -directory ${destroot}/${prefix}/${metasploitTargetDir} msf*] {
      set useFile [file tail ${file}]
      ## 'file link' doesn't play nice, it doesn't (seem) to want to do relative paths...
      ## file link -symbolic ${useFile} ../${metasploitTargetDir}/${useFile}
      ## so use 'system "ln -s ..."' instead.
      system "cd ${destroot}/${prefix}/sbin && /bin/ln -s ../${metasploitTargetDir}/${useFile} ${useFile}"
      }
      }



      #
      ##EOF

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/metasploit3
      % sudo port install metasploit3
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching metasploit3
      ---> Verifying checksum for metasploit3
      ---> Extracting metasploit3
      ---> Configuring metasploit3
      ---> Building metasploit3 with target all
      ---> Staging metasploit3 into destroot
      ---> Installing metasploit3
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using metasploit3 with these commands:
      %  man metasploit3
      % apropos metasploit3
      % which metasploit3
      % locate metasploit3

     Where to find more information:

    Darwin Ports



    Lightbox this page.