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

    ophcrack  most recent diff


    version 3.3.1

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


      The ophcrack Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0

      Name: ophcrack
      Version: 3.3.1
      Category: security
      Maintainers: gmail.com:cedric.luthi
      Description: Microsoft Windows password cracker
      Long Description: Ophcrack is a free Windows password cracker based on rainbow tables. It is a very efficient implementation of rainbow tables done by the inventors of the method.

      Homepage: http://ophcrack.sourceforge.net
      Platform: darwin
      Master Sites: sourceforge

      use_bzip2 yes
      Checksums: ${distname}${extract.suffix} md5 740eef54e9082f26851e15c1cb4ef55c ${distname}${extract.suffix} sha1 65982407f0b7738940d5444530492ce1d81899f9 ${distname}${extract.suffix} rmd160 3a4562e861eb90030c68b067a02cc41271ee8c66

      configure.args --disable-gui --disable-graph

      set hasMoreThan512MBofRAM [expr [gets [open "|sysctl -n hw.memsize"]] >= 536870912]

      post-extract {
      if {[variant_isset tables]} {
      set tables_dir ${destroot}${prefix}/share/${name}/tables

      if ${hasMoreThan512MBofRAM} {
      xinstall -m 755 -d ${tables_dir}/xp_free_fast
      system "unzip ${distpath}/tables_xp_free_fast.zip -d ${tables_dir}/xp_free_fast"
      } else {
      xinstall -m 755 -d ${tables_dir}/xp_free_small
      system "unzip ${distpath}/tables_xp_free_small.zip -d ${tables_dir}/xp_free_small"
      }

      xinstall -m 755 -d ${tables_dir}/vista_free
      system "unzip ${distpath}/tables_vista_free.zip -d ${tables_dir}/vista_free"
      }
      }

      pre-build {
      if {[variant_isset tables]} {
      reinplace "s|QString()|QString(\"${prefix}/share/${name}/tables\")|g" ${worksrcpath}/src/gui/tabledialog.cpp
      }
      }

      destroot {
      if {[variant_isset gui]} {
      xinstall -m 755 -d ${destroot}${applications_dir}
      copy ${worksrcpath}/src/${name}.app ${destroot}${applications_dir}
      } else {
      xinstall -m 755 -d ${destroot}${prefix}/bin
      copy ${worksrcpath}/src/${name} ${destroot}${prefix}/bin
      }
      }

      post-activate {
      if {[variant_isset tables]} {
      ui_msg "****************************************************"
      ui_msg ""
      ui_msg " Free rainbow tables have been installed into"
      ui_msg " ${prefix}/share/${name}/tables"
      ui_msg ""
      ui_msg " Visit http://ophcrack.sourceforge.net/tables.php"
      ui_msg " to get more (non-free) rainbow tables."
      ui_msg ""
      ui_msg "****************************************************"
      }
      }

      Variant: gui description {Builds the GUI version instead of the CLI version, requires the qt4-mac port} {
      depends_lib-append port:qt4-mac

      configure.args-delete --disable-gui
      configure.args-append --with-libqt4=${prefix}/libexec/qt4-mac
      }

      Variant: tables description {Installs the free rainbow tables for Windows XP and Vista (700+ MB)} {
      if ${hasMoreThan512MBofRAM} {
      distfiles-append tables_xp_free_fast.zip
      checksums-append tables_xp_free_fast.zip sha1 141b8be045055068e8bae6542d484fffdd452641
      } else {
      distfiles-append tables_xp_free_small.zip
      checksums-append tables_xp_free_small.zip sha1 2933bc9e483f79966ee02569d3d91b4d0ecc5a8d
      }

      distfiles-append tables_vista_free.zip
      checksums-append tables_vista_free.zip sha1 31425c6b35679df53ba67cb1cc3807501eec3ced

      extract.only ${distname}${extract.suffix}
      }

      livecheck.type regex
      livecheck.url ${homepage}/download.php?type=ophcrack
      livecheck.regex The latest version of ophcrack is (\\d(\\.\\d+)*)

    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/ophcrack
      % sudo port install ophcrack
      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 ophcrack
      ---> Verifying checksum for ophcrack
      ---> Extracting ophcrack
      ---> Configuring ophcrack
      ---> Building ophcrack with target all
      ---> Staging ophcrack into destroot
      ---> Installing ophcrack
    - 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 ophcrack with these commands:
      %  man ophcrack
      % apropos ophcrack
      % which ophcrack
      % locate ophcrack

     Where to find more information:

    Darwin Ports



    Lightbox this page.