vanhauser-thc / thc-hydra

hydra
GNU Affero General Public License v3.0
9.72k stars 2.02k forks source link

SMB2 module not working? #603

Closed RuiNatario closed 3 years ago

RuiNatario commented 3 years ago

When trying to use the brand new SMB2 module, I get an error stating the app was compiled without the proper library:

hydra -L /usr/share/wordlists/csa_users.txt -P /usr/share/wordlists/csa_passwords.txt 172.16.1.10 smb2                               255 ⨯
Hydra v9.1 (c) 2020 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).

Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2021-02-13 19:44:50
[ERROR] Compiled without LIBSMBCLIENT support, module not available!
vanhauser-thc commented 3 years ago

you have to install the library, checkout the repo, ./configure;make;sudo make install .... the usual stuff :)

RuiNatario commented 3 years ago

In the changelog there is a line:

new module: smb2 which also supports smb3 (uses libsmbclient-dev) (thanks to Karim Kanso for the module!)

I assumed the release file had already been compiled with this lib in order to enable the new module.

My bad, sorry :-)

vanhauser-thc commented 3 years ago

that is the responsibility of the package maintainer of the linux distro you are using... :)

RuiNatario commented 3 years ago

Got it, I'm using the latest Kali ;-)

gioguanuo commented 1 year ago

Hello everybodies also with Kali 2022.4 doesn't work