The basic command syntax for Hydra is as follows:
hydra [options] [target] [service]
Key Components:
- options: Various command-line options to customize the attack (e.g.,
-lfor a single username,-Lfor a list of usernames,-pfor a single password,-Pfor a list of passwords). - target: The IP address or hostname of the target system.
- service: The service you want to attack (e.g.,
ssh,ftp,http, etc.).
Example Command:
To perform a brute-force attack on an SSH service, you might use:
hydra -l username -P password_list.txt ssh://target_ip
Common Options:
-l <username>: Specify a single username.-L <userfile>: Specify a file containing a list of usernames.-p <password>: Specify a single password.-P <passfile>: Specify a file containing a list of passwords.-t <number>: Set the number of parallel tasks (default is 16).-vV: Enable verbose mode to see detailed output.
You can view all available options by running:
hydra -h
