mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 13:23:57 -07:00
rdp disabled
This commit is contained in:
parent
d76bfe440b
commit
6509f2d172
1 changed files with 5 additions and 4 deletions
9
hydra.c
9
hydra.c
|
@ -3017,16 +3017,17 @@ int main(int argc, char *argv[]) {
|
||||||
if (strcmp(hydra_options.service, "irc") == 0)
|
if (strcmp(hydra_options.service, "irc") == 0)
|
||||||
i = 1;
|
i = 1;
|
||||||
if (strcmp(hydra_options.service, "rdp") == 0) {
|
if (strcmp(hydra_options.service, "rdp") == 0) {
|
||||||
if (hydra_options.tasks > 4)
|
//if (hydra_options.tasks > 4)
|
||||||
fprintf(stderr,
|
// fprintf(stderr, "[WARNING] rdp servers often don't like many connections, use -t 1 or -t 4 to reduce the number of parallel connections and -W 1 or -W 3 to wait between connection to allow the server to recover\n");
|
||||||
"[WARNING] rdp servers often don't like many connections, use -t 1 or -t 4 to reduce the number of parallel connections and -W 1 or -W 3 to wait between connection to allow the server to recover\n");
|
|
||||||
//if (hydra_options.tasks > 4) {
|
//if (hydra_options.tasks > 4) {
|
||||||
// fprintf(stderr, "[INFO] Reduced number of tasks to 4 (rdp does not like many parallel connections)\n");
|
// fprintf(stderr, "[INFO] Reduced number of tasks to 4 (rdp does not like many parallel connections)\n");
|
||||||
// hydra_options.tasks = 4;
|
// hydra_options.tasks = 4;
|
||||||
//}
|
//}
|
||||||
//if (conwait == 0)
|
//if (conwait == 0)
|
||||||
// hydra_options.conwait = conwait = 1;
|
// hydra_options.conwait = conwait = 1;
|
||||||
printf("[WARNING] the rdp module is currently reported to be unreliable, most likely against new Windows version. Please test, report - and if possible, fix.\n");
|
//printf("[WARNING] the rdp module is currently reported to be unreliable, most likely against new Windows version. Please test, report - and if possible, fix.\n");
|
||||||
|
printf("[ERROR] the rdp module does not support the current protocol, hence it is disabled. If you want to add it, please contact vh@thc.org\n");
|
||||||
|
exit(-1);
|
||||||
i = 1;
|
i = 1;
|
||||||
}
|
}
|
||||||
if (strcmp(hydra_options.service, "radmin2") == 0) {
|
if (strcmp(hydra_options.service, "radmin2") == 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue