mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
fix attempt for smb2
This commit is contained in:
parent
5ab0b95f8f
commit
04204f7d9b
1 changed files with 5 additions and 1 deletions
|
@ -126,7 +126,11 @@ bool smb2_run_test(creds_t *cr, const char *server, uint16_t port) {
|
||||||
|
|
||||||
*/
|
*/
|
||||||
switch (errno) {
|
switch (errno) {
|
||||||
case 0: break;
|
case 0:
|
||||||
|
// maybe false positive? unclear ... :( ... needs more testing
|
||||||
|
smbc_free_context(ctx, 1);
|
||||||
|
return true;
|
||||||
|
break;
|
||||||
case ENOENT:
|
case ENOENT:
|
||||||
// Noticed this when connecting to older samba servers on linux
|
// Noticed this when connecting to older samba servers on linux
|
||||||
// where any credentials are accepted.
|
// where any credentials are accepted.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue