-
Notifications
You must be signed in to change notification settings - Fork 290
Home
Thomas D edited this page Aug 16, 2020
·
7 revisions
Welcome to the thc-hydra-windows
wiki !
- How to compile on Cygwin without
xhydra
$ ./configure --debug --disable-xhydra --prefix=$PWD/build
- How to make a portable version once it is compiled on Cygwin
$ ldd hydra.exe | grep -iv WINDOWS | cut -d '>' -f 2 | cut -d ' ' -f 2-|sed -r 's/(.*)\s[(].*/\1/g'| xargs -n1 -I {} sh -c 'cp "{}" .'
- How to compile with Oracle support on Cygwin: https://github.com/vanhauser-thc/thc-hydra/issues/520 (archived here)
- Install packages
$ pacman -S -s make gcc mingw-w64-x86_64-libssh openssl-devel libgcrypt-devel libidn-devel libpcre pcre-devel mingw-w64-x86_64-postgresql subversion apr-devel apr-util-devel mingw-w64-x86_64-firebird2-git mingw-w64-x86_64-libmariadbclient
Note that unlike Cygwin, there is currently no freerdp
package for MSYS, hence rdp
will not be supported in the build.
- How to compile on MSYS2 without
xhydra
: https://github.com/vanhauser-thc/thc-hydra/issues/552 - How to make a portable version once it is compiled on MSYS2:
$ pacman -S -s mingw64/mingw-w64-x86_64-ntldd-git
$ /mingw64/bin/ntldd.exe -R hydra.exe | grep -iv WINDOWS | grep -iv "not found"|cut -d '>' -f 2 | cut -d ' ' -f 2-|sed -r 's/(.*)\s[(].*/\1/g'|sed '/^C\:/!d' | sed -r 's/C\:\\msys64\\/\//g' | tr \\\\ / | xargs -n1 -I {} sh -c 'cp "{}" .'