mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 13:23:57 -07:00
configure_and_rdp_fixes
This commit is contained in:
parent
499c57f877
commit
6d326078f1
3 changed files with 11 additions and 0 deletions
2
CHANGES
2
CHANGES
|
@ -7,6 +7,8 @@ Release 8.1-pre
|
||||||
* Added xhydra gtk patch by Petar Kaleychev to support -e r reverse login attempt, thanks!
|
* 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)
|
* 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)
|
* 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
|
Release 8.0
|
||||||
|
|
6
configure
vendored
6
configure
vendored
|
@ -313,6 +313,12 @@ for i in $LIBDIRS ; do
|
||||||
APR_PATH="$i"
|
APR_PATH="$i"
|
||||||
fi
|
fi
|
||||||
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 [ "X" = "X$SVN_PATH" ]; then
|
||||||
if [ -f "$i/libsvn_client-1.dylib" ]&&[ -f "$i/libapr-1.dylib" ]&&[ -f "$i/libaprutil-1.dylib" ]; then
|
if [ -f "$i/libsvn_client-1.dylib" ]&&[ -f "$i/libapr-1.dylib" ]&&[ -f "$i/libaprutil-1.dylib" ]; then
|
||||||
SVN_PATH="$i"
|
SVN_PATH="$i"
|
||||||
|
|
|
@ -2453,6 +2453,9 @@ void service_rdp(char *ip, int sp, unsigned char options, char *miscptr, FILE *
|
||||||
int run = 1, next_run = 1;
|
int run = 1, next_run = 1;
|
||||||
int myport = PORT_RDP;
|
int myport = PORT_RDP;
|
||||||
|
|
||||||
|
if (port != 0)
|
||||||
|
myport = port;
|
||||||
|
|
||||||
hydra_register_socket(sp);
|
hydra_register_socket(sp);
|
||||||
if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0)
|
if (memcmp(hydra_get_next_pair(), &HYDRA_EXIT, sizeof(HYDRA_EXIT)) == 0)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue