diff --git a/CHANGES b/CHANGES index 4a5d8d6..45c2b43 100644 --- a/CHANGES +++ b/CHANGES @@ -7,6 +7,8 @@ Release 8.1-pre * Added xhydra gtk patch by Petar Kaleychev to support -e r reverse login attempt, thanks! * Fixed a crash in the cisco module (thanks to Anatoly Mamaev for reporting) * Small fix for HTTP form module for redirect pages where a S= string match would not work (thanks to mkosmach for reporting) +* Updated configure to detect subversion packages on current Cygwin +* Fixed RDP module to support the port option (thanks to and.enshin(at)gmail.com) Release 8.0 diff --git a/configure b/configure index 4bb8f6f..85eea5b 100755 --- a/configure +++ b/configure @@ -313,6 +313,12 @@ for i in $LIBDIRS ; do APR_PATH="$i" fi fi + if [ "X" = "X$SVN_PATH" ]; then + if [ -f "$i/libsvn_client-1.dll.a" ]&&[ -f "$i/libapr-1.dll.a" ]&&[ -f "$i/libaprutil-1.dll.a" ]; then + SVN_PATH="$i" + APR_PATH="$i" + fi + fi if [ "X" = "X$SVN_PATH" ]; then if [ -f "$i/libsvn_client-1.dylib" ]&&[ -f "$i/libapr-1.dylib" ]&&[ -f "$i/libaprutil-1.dylib" ]; then SVN_PATH="$i" diff --git a/hydra-rdp.c b/hydra-rdp.c index f01ee96..9b747bd 100644 --- a/hydra-rdp.c +++ b/hydra-rdp.c @@ -2453,6 +2453,9 @@ void service_rdp(char *ip, int sp, unsigned char options, char *miscptr, FILE * int run = 1, next_run = 1; int myport = PORT_RDP; + if (port != 0) + myport = port; + hydra_register_socket(sp); if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0) return;