diff --git a/hydra-memcached.c b/hydra-memcached.c index 83970fd..9065c1e 100644 --- a/hydra-memcached.c +++ b/hydra-memcached.c @@ -134,8 +134,6 @@ void service_mcached(char *ip, int32_t sp, unsigned char options, char *miscptr, } } -#endif - int32_t service_mcached_init(char *ip, int32_t sp, unsigned char options, char *miscptr, FILE * fp, int32_t port, char *hostname) { // called before the childrens are forked off, so this is the function // which should be filled if initial connections and service setup has to be @@ -177,3 +175,5 @@ int32_t service_mcached_init(char *ip, int32_t sp, unsigned char options, char * sock = hydra_disconnect(sock); return 0; } + +#endif diff --git a/hydra-mongodb.c b/hydra-mongodb.c index c5b69a6..9dd9a6a 100644 --- a/hydra-mongodb.c +++ b/hydra-mongodb.c @@ -143,8 +143,6 @@ void service_mongodb(char *ip, int32_t sp, unsigned char options, char *miscptr, } } -#endif - int32_t service_mongodb_init(char *ip, int32_t sp, unsigned char options, char *miscptr, FILE * fp, int32_t port, char *hostname) { // called before the childrens are forked off, so this is the function // which should be filled if initial connections and service setup has to be @@ -179,6 +177,8 @@ int32_t service_mongodb_init(char *ip, int32_t sp, unsigned char options, char * return 0; } +#endif + void usage_mongodb(const char* service) { printf("Module mongodb is optionally taking a database name to attack, default is \"admin\"\n\n"); }