Commit graph

47 commits

Author SHA1 Message Date
motypi
3635dff5ff handle libraries accommodate old version of TDS 2025-03-19 07:41:46 +01:00
vanhauser-thc
03cdc31f98 update oracle url 2024-04-01 14:18:47 +02:00
Florian Weimer
a41d10dc8c Various C99 compatibility fixes
strrchr is declared in <strings.h>, not <string.h>.

_GNU_SOURCE needs to be defined before any glibc headers are included,
otherwise it is not effective.

Also patch some old autoconf-internal issues in the hydra-gtk
configure script.
2023-01-18 16:30:24 +01:00
vanhauser-thc
c82e5d51c5 switch to pcre2 2022-03-01 14:56:05 +01:00
Dan Bungert
e40b0dc252 configure: openssl / memcached build fix
On Debian/Ubuntu, compilation against openssl 3.0 causes a failure to
find INT_MAX, despite the openssl headers including limits.h.  However,
the fact that the libmemcached-dev package provides both
/usr/include/libmemcached{,-1.0} directories, both of which contain
memcached.h, mean that MCACHED_IPATH ends up set to the libmemcached-1.0
one, which contains a limits.h, which shadows /usr/include/limits.h.
Don't do that.
2022-01-31 14:41:32 -07:00
vanhauser-thc
3e364483d2 support xcode 2021-10-20 16:29:52 +02:00
vanhauser-thc
ac2fd35b4f allow configure to pick up PKG_CONFIG 2021-02-19 09:19:05 +01:00
maaaaz
84e765d3a9 msys support 2020-08-16 04:10:38 -04:00
van Hauser
a73cd388f8 fix PR 2020-07-07 18:43:53 +02:00
Henry Robalino
fc196d7fc2
Updating freerdp logic to check v3 first
Updating the logic here to check for freerdpv3 first and if found do not check for freerdpv2. Also fixed paths for freerdpv2 paths.
Updated bash "or" to use "||" and "and" to use "&&" conditionals with proper POSIX specifications.
2020-07-07 11:25:09 -04:00
Henry Robalino
f5b3fe77d3
Fixing typo on xlibs path 2020-06-16 09:56:11 -04:00
Henry Robalino
54dd5667ff
Fixing XDEFINES
Trying to fix defines for freerdp
2020-06-16 09:53:24 -04:00
Henry Robalino
70fb9e4fa5
Fixing logic that checks for rdp libraries
Fixed logic inside of configure to properly check for freedrdp2 if not found check for freerdp3, if found to skip freerdp3
2020-06-12 12:11:03 -04:00
Henry Robalino
bc6e8aec41
Adding support to check for freerdp2 and freerdp3
Adding logic to check for freerdp2 first and if not the rdp module will check for freerdp3 to support the rdp module
2020-06-12 11:19:01 -04:00
Henry Robalino
a88198051b
add support for freerdp3"
Added support for freerdp module 3, this is the newest module from freerdp
2020-06-05 17:28:49 -04:00
maaaaz
8f45980625 oracle on cygwin support 2020-04-26 09:52:11 -04:00
maaaaz
e2dc1d5109 libfreerdp2 and libwinpr2 fix in configure 2020-04-26 06:44:12 -04:00
xambroz
4fd33e8ca2
Consider the /usr/include/firebird/ path for fb
For example on the Fedora 31 the path for the firebird include ibase.h is /usr/include/firebird/ibase.
This patch should also consider the firebird subdirectory inside the regular include directory.
2020-03-03 17:37:12 +01:00
Karim Kanso
2423cbd5d5 smb2 module, provides linkage with libsmbclient to interface with smbv2/v3 servers.
Developed against version: 2:4.7.6+dfsg~ubuntu-0ubuntu2.1
2020-01-17 19:04:13 +00:00
David Maciejak
9ae7ed075a
Improve support for macOS
That's fixing the compilation issues as /lib does not exist on these systems, remove pie warnings,  and add support for libraries installed with macPorts
2019-09-01 10:15:06 +08:00
David Maciejak
6e3f02b419 Add more check to detect missing header file for radmin support 2019-06-08 11:45:54 +08:00
Hank Leininger
db9025bf86
Worked around APR_PATH_MAX errors on some Linuxes when SVN is enabled.
On Gentoo Linux (and possibly others?) with Subversion 1.12.0,
compilation of hydra-svn.c fails with:

In file included from /usr/include/subversion-1/svn_client.h:34,
                 from hydra-svn.c:9:
/usr/include/apr-1/apr.h:632:2: error: #error no decision has been made on APR_PATH_MAX for your platform
 #error no decision has been made on APR_PATH_MAX for your platform
  ^~~~~

This happens when PATH_MAX is not defined.

PATH_MAX is defined by /usr/include/linux/limits.h, but rather than
include'ing that directly and possibly breaking other platforms,
include sys/param.h (which will include linux/limits.h indirectly)
iff PATH_MAX is not defined and sys/param.h exists.

I based the approach on how math.h is handled.
2019-05-18 15:56:08 -06:00
Tuan
f93b799384 replace rdesktop with freerdp for rdp module 2019-04-23 18:32:22 +07:00
David Maciejak
012fbe6d1b Add module for mongodb 2019-03-20 10:45:42 +08:00
David Maciejak
8e209b14f4 add memcached module 2019-03-09 08:30:16 +08:00
Dominyk Tiller
28e3e0b469
configure: find math.h on Xcode-only macOS systems
Should fix https://github.com/vanhauser-thc/thc-hydra/issues/255.
2017-09-01 12:53:23 +01:00
van Hauser
07acbda422 radmin2 enhancements 2017-07-08 14:42:23 +02:00
Catatonic
444a912b37 Removing unused variable 2017-07-07 15:39:49 -07:00
catatonic
cf089a6c75 Merge branch 'master' into HEAD
Conflicts:
	Makefile.am
	hydra.c
	hydra.h

Additional changes to better fit the newer design patterns.
2017-07-07 20:52:58 +00:00
catatonic
1503c8a381 Checking for gcrypt support & disabling radmin2 when it is unavailable. 2017-07-07 19:34:52 +00:00
van Hauser
9c3feee9b6 configure CC support, strrchr over rindex 2017-01-31 11:03:00 +01:00
Aaron Lewis
34f5d55b84 SunOS compile support: add -lrt to support nanosleep(); add definition of strndup() 2016-12-29 17:03:46 +08:00
van Hauser
9a048e5446 configure ] fix 2016-06-17 18:57:24 +02:00
van Hauser
533fb1772d ./configure --fhs support 2016-02-05 10:38:46 +01:00
van Hauser
725d14b9a5 ssl,ssh and http-form fixes 2016-01-20 15:41:09 +01:00
x0x7
c7c010e273 If prefix set then high chance of libs being there
If they are compiling to target an alternative directory there are likely dependencies to the same target.  Test for PREFIX/lib and PREFIX/include to be sure.
2016-01-01 04:20:55 -05:00
Dirk-jan
f449920822 Fix issue with hydra not compiling since adding custom ssl prefix 2015-12-28 18:56:55 +01:00
van Hauser
b5ed9cd634 osx -ssl prefix patch 2015-11-04 14:07:17 +01:00
Renato Alencar
1aeda5001c add gzip support for login and password files
* module hydra-teamspeak.c modified, because of
  conflict of crc32 with zlib crc32
2015-07-01 11:00:17 -03:00
Renato Alencar
78c4fd11d7 Update from original repository 2015-06-25 18:19:11 -03:00
van Hauser
dde425c757 configure fix 2014-12-10 22:18:28 +01:00
van Hauser
406e0f0714 configure enhancements for darwin homebrew 2014-12-10 09:17:33 +01:00
van Hauser
65a2c8d497 debug enhancements 2014-12-09 12:16:55 +01:00
van Hauser
6d326078f1 configure_and_rdp_fixes 2014-08-06 12:37:16 +02:00
vanhauser-thc
499c57f877 configure enhancements 2014-07-10 09:29:18 +02:00
vanhauser-thc
99d32d9284 Anroid_mySQL 2014-05-29 12:04:46 +02:00
U-marc-win4\marc
6a94f708e8 initial commit 2014-04-24 16:49:18 +02:00