Download and Install metasploit2 version 2.7 on Mac OS X
Thursday the 24th of July, 2008

    metasploit2  most recent diff


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



      # $Id: Portfile 23053 2007-03-23 20:35:47Z pipping macports.org $

      PortSystem 1.0
      Name: metasploit2
      Version: 2.7
      revision 0
      Category: security
      Maintainers: opendarwin.org darkart.com
      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://www.metasploit.com/tools/

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

      checksums md5 ea592cfb006e1b2510b533cece4ecb18 sha1 da5d41dfa13e549aacd4fbf2994877cbe80ceed9

      depends_lib port:perl5.8 port:p5-term-readline-gnu port:p5-net-ssleay

      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/metasploit2"
      xinstall -d -m 755 ${destroot}/${prefix}/${metasploitTargetDir}
      foreach file [glob -directory ${workpath}/${worksrcdir} *] {
      file copy ${file} ${destroot}/${prefix}/${metasploitTargetDir}
      }
      cd ${destroot}/${prefix}/sbin
      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 "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/metasploit2
      % sudo port install metasploit2
      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 metasploit2
      ---> Verifying checksum for metasploit2
      ---> Extracting metasploit2
      ---> Configuring metasploit2
      ---> Building metasploit2 with target all
      ---> Staging metasploit2 into destroot
      ---> Installing metasploit2
    - 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 metasploit2 with these commands:
      %  man metasploit2
      % apropos metasploit2
      % which metasploit2
      % locate metasploit2

     Where to find more information:

    Darwin Ports



    image test