mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 10:37:27 -07:00
Fixing logic issue with hydra.c file
Did not do proper check for freerdp2 or freerdp3 modules
This commit is contained in:
parent
bc6e8aec41
commit
fdc460c7fb
1 changed files with 1 additions and 4 deletions
5
hydra.c
5
hydra.c
|
@ -2906,10 +2906,7 @@ int main(int argc, char *argv[]) {
|
|||
|
||||
if (strcmp(hydra_options.service, "rdp") == 0) {
|
||||
#if !defined(LIBFREERDP2)|| (LIBFREERDP3)
|
||||
if(!LIBFREERDP2)
|
||||
bail("Compiled without FREERDP2 support, module not available!");
|
||||
else
|
||||
bail("Compiled without FREERDP3 support, module not available!");
|
||||
bail("Compiled without FREERDP2 or FREERDP3 support, modules not available!");
|
||||
#endif
|
||||
}
|
||||
if (strcmp(hydra_options.service, "pcnfs") == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue