From cc209e5227814dd9af8cd1df7bc73604f8c293fb Mon Sep 17 00:00:00 2001 From: van Hauser Date: Thu, 4 Jan 2018 10:52:09 +0100 Subject: [PATCH] 2018 year update --- Makefile.am | 2 +- README | 4 ++-- README.md | 4 ++-- hydra-oracle.c | 4 +++- hydra.1 | 2 +- hydra.c | 4 ++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile.am b/Makefile.am index 8a293c9..f6b1a37 100755 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ # -# Makefile for Hydra - (c) 2001-2017 by van Hauser / THC +# Makefile for Hydra - (c) 2001-2018 by van Hauser / THC # OPTS=-I. -O3 # -Wall -g -pedantic diff --git a/README b/README index b3a3d14..b661a7e 100644 --- a/README +++ b/README @@ -1,7 +1,7 @@ H Y D R A - (c) 2001-2017 by van Hauser / THC + (c) 2001-2018 by van Hauser / THC http://www.thc.org many modules were written by David (dot) Maciejak @ gmail (dot) com BFG code by Jan Dlabal @@ -377,7 +377,7 @@ Version 1.00 example: "These are very free form" ], "generator": { - "built": "2017-03-01 14:44:22", + "built": "2018-01-01 14:44:22", "commandline": "hydra -b jsonv1 -o results.json ... ...", "jsonoutputversion": "1.00", "server": "127.0.0.1", diff --git a/README.md b/README.md index b3a3d14..c5c0dfb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ H Y D R A - (c) 2001-2017 by van Hauser / THC + (c) 2001-2018 by van Hauser / THC http://www.thc.org many modules were written by David (dot) Maciejak @ gmail (dot) com BFG code by Jan Dlabal @@ -377,7 +377,7 @@ Version 1.00 example: "These are very free form" ], "generator": { - "built": "2017-03-01 14:44:22", + "built": "2018-03-01 14:44:22", "commandline": "hydra -b jsonv1 -o results.json ... ...", "jsonoutputversion": "1.00", "server": "127.0.0.1", diff --git a/hydra-oracle.c b/hydra-oracle.c index e598401..1adefba 100644 --- a/hydra-oracle.c +++ b/hydra-oracle.c @@ -83,7 +83,9 @@ int32_t start_oracle(int32_t s, char *ip, int32_t port, unsigned char options, c return 4; } - if (OCILogon(o_environment, o_error, &o_servicecontext, (const OraText *) login, strlen(login), (const OraText *) pass, strlen(pass), (const OraText *) buffer, strlen(buffer))) { + // deprecated: if (OCILogon(o_environment, o_error, &o_servicecontext, (const OraText *) login, strlen(login), (const OraText *) pass, strlen(pass), (const OraText *) buffer, strlen(buffer))) { + if (oci_connect(login, pass, connect + o_environment, o_error, &o_servicecontext, (const OraText *) login, strlen(login), (const OraText *) pass, strlen(pass), (const OraText *) buffer, strlen(buffer))) { OCIErrorGet(o_error, 1, NULL, &o_errorcode, o_errormsg, sizeof(o_errormsg), OCI_HTYPE_ERROR); //database: oracle_error: ORA-01017: invalid username/password; logon denied //database: oracle_error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor diff --git a/hydra.1 b/hydra.1 index 2b64218..e627042 100644 --- a/hydra.1 +++ b/hydra.1 @@ -1,4 +1,4 @@ -.TH "HYDRA" "1" "01/03/2017" +.TH "HYDRA" "1" "01/01/2018" .SH NAME hydra \- a very fast network logon cracker which support many different services .SH SYNOPSIS diff --git a/hydra.c b/hydra.c index aa463ce..ec31348 100644 --- a/hydra.c +++ b/hydra.c @@ -1,5 +1,5 @@ /* - * hydra (c) 2001-2017 by van Hauser / THC + * hydra (c) 2001-2018 by van Hauser / THC * http://www.thc.org * * Parallized network login hacker. @@ -2123,7 +2123,7 @@ int main(int argc, char *argv[]) { struct sockaddr_in6 *ipv6 = NULL; 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); + printf("%s %s (c) 2018 by %s - Please do not use in military or secret service organizations, or for illegal purposes.\n\n", PROGRAM, VERSION, AUTHOR); #ifndef LIBAFP SERVICES = hydra_string_replace(SERVICES, "afp ", ""); strcat(unsupported, "afp ");