diff --git a/CHANGES b/CHANGES index 237e1a6..da0b624 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,7 @@ Changelog for hydra ------------------- Release 8.6-dev +* added radmin2 module by catatonic prime - great work! * smb module now checks if SMBv1 is supported by the server and now signing is required * http-form module now supports URLs up to 6000 bytes (thanks to petrock6@github for the patch) * Fix for SSL connections that failed with error:00000000:lib(0):func(0):reason(0) (thanks gaia@github for reporting) diff --git a/configure b/configure index f774b8c..482217c 100755 --- a/configure +++ b/configure @@ -257,7 +257,7 @@ done if [ -n "$HAVE_GCRYPT" ]; then echo " ... found" else - echo " ... gcrypt not found, gcrypt support disabled" + echo " ... gcrypt not found, radmin2 module disabled" fi diff --git a/hydra.c b/hydra.c index d432c38..d7be204 100644 --- a/hydra.c +++ b/hydra.c @@ -2136,6 +2136,10 @@ int32_t main(int32_t argc, char *argv[]) { SERVICES = hydra_string_replace(SERVICES, "firebird ", ""); strcat(unsupported, "firebird "); #endif +#ifndef HAVE_GCRYPT + SERVICES = hydra_string_replace(SERVICES, "radmin2 ", ""); + strcat(unsupported, "radmin2 "); +#endif #ifndef LIBAFP SERVICES = hydra_string_replace(SERVICES, "afp ", ""); strcat(unsupported, "afp "); @@ -3089,7 +3093,7 @@ int32_t main(int32_t argc, char *argv[]) { #ifdef HAVE_GCRYPT i = 1; #else - bail("hydra was not compiled with gcrypt support, radmin2 module can not be used"); + bail("hydra was not compiled with gcrypt support, radmin2 module not available"); #endif }