Download and Install hydra version 5.4 on Mac OS X
Wednesday the 23rd of July, 2008

    hydra  most recent diff


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



      # $Id: Portfile 37352 2008-06-04 10:04:55Z ryandesign macports.org $

      PortSystem 1.0

      Name: hydra
      Version: 5.4
      revision 2
      distname ${name}-${version}-src
      Category: security net
      Platform: darwin
      Maintainers: nomaintainer

      Description: A very fast network logon cracker which support many services

      Long Description: Hydra is a parallelized logon cracker utility. Hydra can brute force attack on FTP, POP3, IMAP, Telnet, HTTP Auth, NNTP, VNC, ICQ, Socks5, PCNFS and more services within SSL support.

      Homepage: http://www.thc.org/thc-hydra
      master_sites http://freeworld.thc.org/releases
      checksums md5 fa08b465d19321e77b1a0ef912eeecc1

      depends_lib port:openssl port:libssh01

      patchfiles patch-configure.diff

      post-patch {
      reinplace "s|SSL_PATH=\"\"|SSL_PATH=\"${prefix}/lib\"|" ${worksrcpath}/configure
      reinplace "s|SSL_IPATH=\"\"|SSL_IPATH=\"${prefix}/include\"|" ${worksrcpath}/configure
      reinplace "s|CRYPTO_PATH=\"\"|CRYPTO_PATH=\"${prefix}/lib\"|" ${worksrcpath}/configure
      reinplace "s|SSH_PATH=\"\"|SSH_PATH=\"${prefix}/lib/libssh01\"|" ${worksrcpath}/configure
      reinplace "s|SSH_IPATH=\"\"|SSH_IPATH=\"${prefix}/include/libssh01\"|" ${worksrcpath}/configure
      }

      configure.args --disable-xhydra

      post-configure {
      reinplace "s|CC=gcc|CC=${configure.cc}|" ${worksrcpath}/Makefile
      }

      build.args XIPATHS="-I${prefix}/include/libssh01 -I${prefix}/include" XLIBPATHS="-L${prefix}/lib/libssh01 -L${prefix}/lib"

      pre-destroot {
      reinplace "s|PREFIX=${prefix}|PREFIX=${destroot}${prefix}|" ${worksrcpath}/Makefile
      set docdir ${destroot}${prefix}/share/doc/${name}-${version}
      xinstall -d ${docdir}
      xinstall -m 644 -W ${worksrcpath} CHANGES LICENCE.HYDRA LICENSE.GNU README TODO ${docdir}
      }

      Variant: xhydra description {Add xhydra GUI} {
      depends_lib-append port:gtk2
      configure.args-delete --disable-xhydra
      }

      livecheck.check regex
      livecheck.url ${homepage}
      livecheck.regex "${name}-(.*?)-src"

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

     Where to find more information:

    Darwin Ports



    image test