thc-hydra icon indicating copy to clipboard operation
thc-hydra copied to clipboard

How can Hydra stop automatically

Open Doraemon959d opened this issue 2 years ago • 10 comments

When I explode the RDP protocol, if the target system is installed with anti-virus software and the explosion is blocked, Hydra will always be in the scanning state. Specifying - t 1 has no effect. The test scan has a total of 6 passwords, and the scan cannot exit normally. The output above seems that the scan has been completed, but it will still be scanned, I don't know how to solve this problem. image

Doraemon959d avatar Jan 08 '22 09:01 Doraemon959d

I hope hydra can stop scanning this host in this case. Is there a way to achieve it. image False positives may also occur when the target host opens anti-virus software image

Doraemon959d avatar Jan 08 '22 09:01 Doraemon959d

please compile from github. this is not the current version.

vanhauser-thc avatar Jan 08 '22 10:01 vanhauser-thc

please compile from github. this is not the current version. Just compiled the latest version. It seems that this is still the case image

Doraemon959d avatar Jan 08 '22 11:01 Doraemon959d

On Debian/Ubuntu/Kali freerdp does not have a timeout setting for connections in the API, on github it does. weird. I dont see anything I can do to set a timeout on connections

vanhauser-thc avatar Jan 08 '22 16:01 vanhauser-thc

Therefore, the reason for this problem is that freerdp does not return normally due to being intercepted by anti-virus software, so the program cannot continue scanning. Can it be solved at present?

Doraemon959d avatar Jan 09 '22 02:01 Doraemon959d

maybe there is a way. I dont know. I didnt code that module. I dont see anything in the API that is available in the kali/ubuntu/debian package.

vanhauser-thc avatar Jan 09 '22 13:01 vanhauser-thc

Thank you for your reply. The current problem is due to freerdp provided by freerdp_ Connect is always executing, causing the program to block. Right? Can you set a method to automatically close the call after a period of time. image

Doraemon959d avatar Jan 09 '22 14:01 Doraemon959d

feel free to implement a non-blocking connect etc. and send a PR

vanhauser-thc avatar Jan 10 '22 08:01 vanhauser-thc

Is there any workaround for this issue?

xanus-7 avatar May 15 '22 17:05 xanus-7

if someone invests their time and implements it - then there is a solution. otherwise no.

vanhauser-thc avatar Jun 08 '22 07:06 vanhauser-thc