mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 02:27:31 -07:00
beauty output
This commit is contained in:
parent
9ba5939ad5
commit
0a4f0987d1
1 changed files with 22 additions and 22 deletions
44
hydra.c
44
hydra.c
|
@ -2124,30 +2124,38 @@ int32_t main(int32_t argc, char *argv[]) {
|
|||
struct sockaddr_in *ipv4 = NULL;
|
||||
|
||||
printf("%s %s (c) 2017 by %s - Please do not use in military or secret service organizations, or for illegal purposes.\n\n", PROGRAM, VERSION, AUTHOR);
|
||||
#ifndef LIBPOSTGRES
|
||||
SERVICES = hydra_string_replace(SERVICES, "postgres ", "");
|
||||
strcat(unsupported, "postgres ");
|
||||
#endif
|
||||
#ifndef LIBSAPR3
|
||||
SERVICES = hydra_string_replace(SERVICES, "sapr3 ", "");
|
||||
strcat(unsupported, "sapr3 ");
|
||||
#ifndef LIBAFP
|
||||
SERVICES = hydra_string_replace(SERVICES, "afp ", "");
|
||||
strcat(unsupported, "afp ");
|
||||
#endif
|
||||
#ifndef LIBFIREBIRD
|
||||
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 ");
|
||||
#ifndef LIBMYSQLCLIENT
|
||||
SERVICES = hydra_string_replace(SERVICES, "mysql ", "mysql(v4) ");
|
||||
strcat(unsupported, "mysql5 ");
|
||||
#endif
|
||||
#ifndef LIBNCP
|
||||
SERVICES = hydra_string_replace(SERVICES, "ncp ", "");
|
||||
strcat(unsupported, "ncp ");
|
||||
#endif
|
||||
#ifndef LIBORACLE
|
||||
SERVICES = hydra_string_replace(SERVICES, "oracle ", "");
|
||||
strcat(unsupported, "oracle ");
|
||||
#endif
|
||||
#ifndef LIBPOSTGRES
|
||||
SERVICES = hydra_string_replace(SERVICES, "postgres ", "");
|
||||
strcat(unsupported, "postgres ");
|
||||
#endif
|
||||
#ifndef HAVE_GCRYPT
|
||||
SERVICES = hydra_string_replace(SERVICES, "radmin2 ", "");
|
||||
strcat(unsupported, "radmin2 ");
|
||||
#endif
|
||||
#ifndef LIBSAPR3
|
||||
SERVICES = hydra_string_replace(SERVICES, "sapr3 ", "");
|
||||
strcat(unsupported, "sapr3 ");
|
||||
#endif
|
||||
#ifndef LIBSSH
|
||||
SERVICES = hydra_string_replace(SERVICES, "ssh ", "");
|
||||
strcat(unsupported, "ssh ");
|
||||
|
@ -2158,14 +2166,6 @@ int32_t main(int32_t argc, char *argv[]) {
|
|||
SERVICES = hydra_string_replace(SERVICES, "svn ", "");
|
||||
strcat(unsupported, "svn ");
|
||||
#endif
|
||||
#ifndef LIBORACLE
|
||||
SERVICES = hydra_string_replace(SERVICES, "oracle ", "");
|
||||
strcat(unsupported, "oracle ");
|
||||
#endif
|
||||
#ifndef LIBMYSQLCLIENT
|
||||
SERVICES = hydra_string_replace(SERVICES, "mysql ", "mysql(v4) ");
|
||||
strcat(unsupported, "mysql5 ");
|
||||
#endif
|
||||
#ifndef LIBOPENSSL
|
||||
// for ftps
|
||||
SERVICES = hydra_string_replace(SERVICES, " ftps", "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue