Page cover

tools/hydra

Hydra

Hydra is a fast and flexible password-cracking tool used to perform brute-force attacks on login pages and network services.

Usage

Basic Usage

# Password Spraying
hydra -L USER_DICT -p PASS TARGET SERVICE
# Dictionary Attack
hydra -l USER -P PASS_DICT TARGET SERVICE
hydra -L USER_DICT -P PASS_DICT TARGET SERVICE

Other Usages

# Service Specification Alternative
hydra -L USER_DICT -P PASS_DICT SERVICE://TARGET
# Service on Custom Port
hydra -L USER_DICT -P PASS_DICT TARGET SERVICE -s PORT
# Multiple Host Attack
hydra -L USER_DICT -P PASS_DICT -M TARGETS_FILE SERVICE
# Targeted Combinations (user:pass format)
hydra -C COMBINATION_FILE TARGET SERVICE

Useful Options

HTTP Login Forms

Hydra can handle HTTP login forms with special options to specify the URL, request type, parameters, and error messages.

Login Form Type

Login Path

The LOGIN_PATH string has the following combination: PATH:FORM_DATA:CONDITION

Last updated