run_hydra
Brute-force login credentials against SSH, FTP, HTTP forms, RDP, SMB, and other services using Hydra, with auto-routing to tmux for background execution.
Instructions
š Run Hydra brute force (auto-routed to tmux).
service: ssh | ftp | http-get | http-post-form | rdp | smb | ...
For HTTP forms (Jenkins, Tomcat, etc.): service = "http-post-form" http_form_path = "/j_spring_security_check" http_form_body = "j_username=^USER^&j_password=^PASS^&from=%2F&Submit=Sign+in" http_fail_string = "loginError"
Example for Jenkins: run_hydra( target="10.129.25.247", service="http-post-form", port="8000", http_form_path="/j_spring_security_check", http_form_body="j_username=^USER^&j_password=^PASS^&from=%2F", http_fail_string="loginError", wordlist="/path/to/passwords.txt" )
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"service": "<service>"
},
"name": "run_hydra"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| target | Yes | ||
| service | Yes | ||
| username | No | admin | |
| wordlist | No | /home/kali/SecLists/Passwords/Default-Credentials/default-passwords.txt | |
| extra_flags | No | ||
| http_form_body | No | ||
| http_form_path | No | ||
| http_fail_string | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |