Showing posts with label hydra. Show all posts
Showing posts with label hydra. Show all posts

Monday, February 4, 2019

Hyrda Seg Faults

Trying to red team test and Hydra is segmentation faulting on a list of IP addresses I'm feeding it

~# hydra -l xxx -p xxx -M ips.txt -t 4 ssh
     Segmentation Fault

I tried apt-get remove and apt-get install but it still does the same thing.

So as a temporary sequential work-around I wrote a python script that calls it 1 record at a time and that worked

import fileinput
import subprocess
for line in fileinput.input("ips.txt"):
 x = "hydra " + line.strip() + " -l xxx -p xxx -t 4 ssh
 print(x)
 subprocess.run(x, shell=True)

Friday, February 1, 2019

Kali Hydra ssh to Cisco timing out

In Kali , I was trying to use Hydra to ssh to a Cisco device but it kept failing/timing out

root@kali:~# hydra -l Account -p Password 10.10.10.10 ssh

The fix was to install libssh-dev

root@kali:~# apt-get install libssh-dev

Then hyrda worked