mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
support uncommon mysql ports
This commit is contained in:
parent
650a8185c6
commit
eb064c4222
4 changed files with 2 additions and 1 deletions
1
CHANGES
1
CHANGES
|
@ -3,6 +3,7 @@ Changelog for hydra
|
||||||
|
|
||||||
|
|
||||||
Release 8.7-dev
|
Release 8.7-dev
|
||||||
|
* mysql module: a non-default port was not working, fixed
|
||||||
* added -w timeout support to ssh module
|
* added -w timeout support to ssh module
|
||||||
* fixed various memory leaks in http-form module
|
* fixed various memory leaks in http-form module
|
||||||
* corrected hydra return code to be 0 on success
|
* corrected hydra return code to be 0 on success
|
||||||
|
|
0
Makefile.am
Executable file → Normal file
0
Makefile.am
Executable file → Normal file
|
@ -212,7 +212,7 @@ int32_t start_mysql(int32_t sock, char *ip, int32_t port, unsigned char options,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*mysql_options(&mysql,MYSQL_OPT_COMPRESS,0); */
|
/*mysql_options(&mysql,MYSQL_OPT_COMPRESS,0); */
|
||||||
if (!mysql_real_connect(mysql, hydra_address2string(ip), login, pass, database, 0, NULL, 0)) {
|
if (!mysql_real_connect(mysql, hydra_address2string(ip), login, pass, database, port, NULL, 0)) {
|
||||||
int32_t my_errno = mysql_errno(mysql);
|
int32_t my_errno = mysql_errno(mysql);
|
||||||
|
|
||||||
if (debug)
|
if (debug)
|
||||||
|
|
0
hydra.h
Executable file → Normal file
0
hydra.h
Executable file → Normal file
Loading…
Add table
Add a link
Reference in a new issue