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)

No comments:

Post a Comment