vanhauser-thc / thc-hydra

hydra
GNU Affero General Public License v3.0
9.78k stars 2.03k forks source link

[ERROR] all children were disabled due too many connection errors #813

Open Dly-orz opened 1 year ago

Dly-orz commented 1 year ago

I encountered the following error, hope to get help, thank you Hydra v9.5-dev (c) 2022 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

[DEBUG] Output color flag is 1 Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2022-12-20 17:11:17 [DEBUG] cmdline: hydra -l mysqluser -P pwd.txt -d -t 4 -vV "ip" mysql [DATA] max 4 tasks per 1 server, overall 4 tasks, 28 login tries (l:1/p:28), ~7 tries per task [DATA] attacking mysql://"ip":3306/ [VERBOSE] Resolving addresses ... [DEBUG] resolving "ip" [VERBOSE] resolving done [DEBUG] Code: attack Time: 1671527477 [DEBUG] Options: mode 1 ssl 0 restore 0 showAttempt 1 tasks 4 max_use 4 tnp 0 tpsal 0 tprl 0 exit_found 0 miscptr (null) service mysql [DEBUG] Brains: active 0 targets 1 finished 0 todo_all 28 todo 28 sent 0 found 0 countlogin 1 sizelogin 10 countpass 28 sizepass 249 [DEBUG] Target 0 - target "ip" ip "ip" login_no 0 pass_no 0 sent 0 pass_state 0 redo_state 0 (0 redos) use_count 0 failed 0 done 0 fail_count 0 login_ptr mysqluser pass_ptr Dengmysql1999 [DEBUG] Task 0 - pid 0 active 0 redo 0 current_login_ptr (null) current_pass_ptr (null) [DEBUG] Task 1 - pid 0 active 0 redo 0 current_login_ptr (null) current_pass_ptr (null) [DEBUG] Task 2 - pid 0 active 0 redo 0 current_login_ptr (null) current_pass_ptr (null) [DEBUG] Task 3 - pid 0 active 0 redo 0 current_login_ptr (null) current_pass_ptr (null) [DEBUG] Tasks 4 inactive 0 active [DEBUG] child 0 got target 0 selected [DEBUG] child 0 spawned for target 0 with pid 22314 [DEBUG] child 1 got target 0 selected [DEBUG] child 1 spawned for target 0 with pid 22315 [DEBUG] child 2 got target 0 selected [DEBUG] child 2 spawned for target 0 with pid 22316 [DEBUG] child 3 got target 0 selected [DEBUG] child 3 spawned for target 0 with pid 22317 [DEBUG] head_no 1 has pid 22315 [DEBUG] head_no 2 has pid 22316 [DEBUG] head_no 3 has pid 22317 [DEBUG] head_no 0 has pid 22314 [DEBUG] head_no[0] read n [DEBUG] send_next_pair_init target 0, head 0, redo 0, redo_state 0, pass_state 0. loop_mode 0, curlogin (null), curpass (null), tlogin mysqluser, tpass Dengmysql1999, logincnt 0/1, passcnt 0/28, loop_cnt 1 [DEBUG] send_next_pair_mid done 1, pass_state 3, clogin mysqluser, cpass Dengmysql1999, tlogin mysqluser, tpass sdadsa, redo 0 [ATTEMPT] target "ip" - login "mysqluser" - pass "Dengmysql1999" - 1 of 28 [child 0] (0/0) [DEBUG] head_no[1] read n [DEBUG] send_next_pair_init target 0, head 1, redo 0, redo_state 0, pass_state 3. loop_mode 0, curlogin (null), curpass (null), tlogin mysqluser, tpass sdadsa, logincnt 0/1, passcnt 1/28, loop_cnt 1 [DEBUG] send_next_pair_mid done 1, pass_state 3, clogin mysqluser, cpass sdadsa, tlogin mysqluser, tpass dsa, redo 0 [ATTEMPT] target "ip" - login "mysqluser" - pass "sdadsa" - 2 of 28 [child 1] (0/0) [DEBUG] head_no[2] read n [DEBUG] send_next_pair_init target 0, head 2, redo 0, redo_state 0, pass_state 3. loop_mode 0, curlogin (null), curpass (null), tlogin mysqluser, tpass dsa, logincnt 0/1, passcnt 2/28, loop_cnt 1 [DEBUG] send_next_pair_mid done 1, pass_state 3, clogin mysqluser, cpass dsa, tlogin mysqluser, tpass d, redo 0 [ATTEMPT] target "ip" - login "mysqluser" - pass "dsa" - 3 of 28 [child 2] (0/0) [DEBUG] head_no[3] read n [DEBUG] send_next_pair_init target 0, head 3, redo 0, redo_state 0, pass_state 3. loop_mode 0, curlogin (null), curpass (null), tlogin mysqluser, tpass d, logincnt 0/1, passcnt 3/28, loop_cnt 1 [DEBUG] send_next_pair_mid done 1, pass_state 3, clogin mysqluser, cpass d, tlogin mysqluser, tpass sad, redo 0 [ATTEMPT] target "ip" - login "mysqluser" - pass "d" - 4 of 28 [child 3] (0/0) DEBUG_CONNECT_OK DEBUG_CONNECT_OK DEBUG_CONNECT_OK DEBUG_CONNECT_OK DEBUG_RECV_BEGIN|J|END[0A] [DEBUG] SEND [pid:22316] (5 bytes): 0000: 0100 0000 01 [ ..... ] DEBUG_DISCONNECT [DEBUG] pid 22316 called child_exit with code 2 [DEBUG] head_no[2] read E [ATTEMPT-ERROR] target "ip" - login "mysqluser" - pass "dsa" - child 2 - 4 of 28 [DEBUG] hydra_increase_fail_count: 1 >= 0 => disable [DEBUG] - will be retried at the end: ip "ip" - login mysqluser - pass dsa - child 2 [DEBUG] head_no 2, kill 1, fail 2 [VERBOSE] Disabled child 2 because of too many errors DEBUG_RECV_BEGIN|J|END[0A] [DEBUG] SEND [pid:22317] (5 bytes): 0000: 0100 0000 01 [ ..... ] DEBUG_DISCONNECT [DEBUG] pid 22317 called child_exit with code 2 [DEBUG] head_no[3] read E [ATTEMPT-ERROR] target "ip" - login "mysqluser" - pass "d" - child 3 - 4 of 28 [DEBUG] hydra_increase_fail_count: 2 >= 0 => disable [DEBUG] - will be retried at the end: ip "ip" - login mysqluser - pass d - child 3 [DEBUG] head_no 3, kill 1, fail 2 [VERBOSE] Disabled child 3 because of too many errors DEBUG_RECV_BEGIN|J|END[0A] [DEBUG] SEND [pid:22314] (5 bytes): 0000: 0100 0000 01 [ ..... ] DEBUG_DISCONNECT [DEBUG] pid 22314 called child_exit with code 2 [DEBUG] head_no[0] read E [ATTEMPT-ERROR] target "ip" - login "mysqluser" - pass "Dengmysql1999" - child 0 - 4 of 28 [DEBUG] hydra_increase_fail_count: 3 >= 0 => disable [DEBUG] - will be retried at the end: ip "ip" - login mysqluser - pass Dengmysql1999 - child 0 [DEBUG] head_no 0, kill 1, fail 2 [VERBOSE] Disabled child 0 because of too many errors DEBUG_RECV_BEGIN|J|END[0A] [DEBUG] SEND [pid:22315] (5 bytes): 0000: 0100 0000 01 [ ..... ] DEBUG_DISCONNECT [DEBUG] pid 22315 called child_exit with code 2 [DEBUG] head_no[1] read E [ATTEMPT-ERROR] target "ip" - login "mysqluser" - pass "sdadsa" - child 1 - 4 of 28 [DEBUG] hydra_increase_fail_count: 4 >= 0 => disable [DEBUG] - will be retried at the end: ip "ip" - login mysqluser - pass sdadsa - child 1 [DEBUG] head_no 1, kill 1, fail 2 [ERROR] all children were disabled due too many connection errors [DEBUG] while loop left with -1 0 of 1 target completed, 0 valid password found [DEBUG] killing all remaining children now that might be stuck Hydra (https://github.com/vanhauser-thc/thc-hydra) finished at 2022-12-20 17:11:17

vanhauser-thc commented 1 year ago

well easy, the packet received from the server does not look like mysql. either it is not, or it is a new protocol version that hydra doesnt know about yet.

12320433 commented 5 months ago

hi how to solve this error "all children were disabled due too many connection error"