Results 1 to 8 of 8

Thread: Hydra compiled without LIBSSH support

  1. #1
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    14

    Lightbulb Hydra compiled without LIBSSH support

    Hi guys,

    Seems like the copy of Hydra in the BT4 pre-final is still lacking SSH2 support.

    # hydra -s 22 test.com ssh2

    returns:

    Error: Compiled without LIBSSH support, module not available!

    A fix for this was posted in the BT4 beta bugs & fixes forum (can't post links yet), but it would be nice to have native SSH2 support in the final release.
    [Update] This fix did not seem to work for me... see below.

    Thanks.

  2. #2
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    14

    Default Fyi

    After trying for a while, here is what I needed to do to get it working:

    Download Hydra 5.4 (hxxp://freeworld.thc.org/thc-hydra)

    sudo apt-get install libssh-2-dev

    Download this patch to make Hydra work with libssh 2:
    hxxp://0xbadc0de.be/libssh/hydra-libssh0.2.patch

    Untar hydra and apply patch:
    cd /path/to/hydra; patch -p1 < /path/to/patch

    './configure' (you should see that libssh was detected)

    'nano Makefile' and remove '-DLIBPOSTGRES' and '-lpq'

    'make' (should compile fine)

    'sudo make install'

    ---

    If you still have problems type 'dpkg -l | grep libssh' and make sure you don't have libssh2-1 installed.

  3. #3
    Just burned his ISO
    Join Date
    Jul 2009
    Posts
    1

    Default

    Thanks man, the fix works well.

  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    76

    Default

    If you still have problems type 'dpkg -l | grep libssh' and make sure you don't have libssh2-1 installed.
    and what if yes i do have it; how do i unistall it?

  5. #5
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    14

    Default

    Quote Originally Posted by manulu View Post
    and what if yes i do have it; how do i unistall it?
    sudo apt-get remove libssh2-1

  6. #6
    Just burned his ISO
    Join Date
    Dec 2009
    Posts
    1

    Default

    I have completed all these steps and have gone through them multiple times. Is this a sign that I have libssh2-1 installed?

    # dpkg -l | grep libssh
    ii libssh-2 0.2+svn20070321-4 A tiny C SSH library
    ii libssh-2-dev 0.2+svn20070321-4 A tiny C SSH library. Development files
    rc libssh2-1 0.18-1 SSH2 client-side library

    If so when I try and remove it, it will not remove. Any ideas? I just want good ol' hydra to work. BT3 works great. Thank you!

  7. #7
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    This is fixed now.

  8. #8
    Just burned his ISO
    Join Date
    Oct 2009
    Posts
    3

    Default

    Thx for the solution...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •