thc-hydra
thc-hydra copied to clipboard
fix smb password expired vs account expired confusion
- If SMB password is MUST_CHANGE or EXPIRED, it is still valid, it is possible to change it remotely, so it should be returned as valid.
- If the account is EXPIRED, it is no longer usable, even if the password is ok. It should be returned as invalid.
Testing is in this thread: https://twitter.com/an0n_r0/status/1731109539204710416
Originally Hydra returned valid if the account was expired but invalid if the password was expired. It is wrong, it should be exactly the opposite: valid if password was expired, but invalid if account was expired.
looks good just one minor nit
@tothi can you please fix the "Error" string to "Information" so I can merge this? thanks you
Carynw_ Instagram password
added some logging fix. sorry for the super long delay, totally forgot it :)