Try using medusa
I'm attacking my ssh server with hydra and if I give it a username and password using -l and -p it works fine. If, however, the password is contained within a wordlist, hydra skips it and does not report a successful login. I at first thought the number of tasks might be too high but even on -t1 it still skips the password if it's in a wordlist. Any ideas? Here are the commands I'm using:
works
failsCode:hydra -l [username] -p [password] -t2 -f -vV 10.10.100.100 ssh2
UPDATE: I think the problem is that it's trying too fast. I found out that if I put the password at the very beginning of the list (the first word) then it will work as expected. If the correct password is any lower down the list than the 3rd or 4th word then it just gets skipped. I have -t1 which is as low as I can get it. I'm out of ideas at this point.Code:hydra -l [username] -P [path/to/wordlist] -t1 -f -vV 10.10.100.100 ssh2
Last edited by Archangel-Amael; 11-15-2010 at 08:22 PM.
Try using medusa
Back|track giving machine guns to monkeys since 2007 !
Do not read the Wiki, most your questions will not be answered there !
Do not take a look at the: Forum Rules !
I ran into the same issue. At first I thought hydra was broken, but when I put the known password in a file with just 4 other words hydra cracked it.
Medusa is ok, but it takes absolutely forever compared to hydra. Even if you try to bump up medusa's simultaneous logins, medusa will complain and lower the number automatically because it can't keep up.
Hopefully someone can come up with a fix.
Also, for what it's worth, there is the ssh_login auxiliary module in metasploit.
If you happen to use it, there is a fairly long delay from issuing the "run" command and the module actually running -- the bigger the word list, the longer the delay (a half hour or more at times).
I don't think it's any faster than medusa, but it's there to try, and unlike medusa it doesn't continually eat up more RAM, so you don't have to keep restarting a scan while using big word lists.
Last edited by sickness; 01-19-2011 at 01:44 AM. Reason: Merged posts.
Also, for what it's worth, there is the ssh_login auxiliary module in metasploit.
If you happen to use it, there is a fairly long delay from issuing the "run" command and the module actually running -- the bigger the word list, the longer the delay (a half hour or more at times).
I don't think it's any faster than medusa, but it's there to try, and unlike medusa it doesn't continually eat up more RAM, so you don't have to keep restarting a scan while using big word lists.
hydra 6.0 will be out soon, with a ssh module fix, hope it will work in your case![]()
Was happy to find this thread! Not happy that there is no answer!
Exact symptoms, known password works when in the first few of a wordlist, but is not found when placed down in the wordlist.... Tried alot of different combinations of thread/timeouts....
Hope someone comes up with an answer!
anyone found an answer yet?
I wish I could help im stuck at the same spot except i can't even get this working to crack my router... I've read every damn post on this forum that had the word hydra in it, and still i get the same results every time I run this tool it tells me that the first word in my list is the correct password. I've tried using http-get, and http-head. I've even tried the latest version of hydra still nothing.
Just an update to this, I downloaded version 6.1 and it works fine now
Id recommended manually installing it and using the very latest version rather then the one installed on BT
You could also look at ncrack from the nmap suite.
I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.
I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.