Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize the
NcrackCredentialTester
module.
- Ncrack is not batched anymore: this means that only one `ncrack` process will handle all of the brute-force. Previously, credentials were batched to different ncrack process, making internal optimization impossible (e.g. if an account is cracked on one instance, other instance will continue trying to crack it); - We do not pass credential pairs to ncrack anymore: Instead of providing ncrack with precomuted pairs of login/credentials, we provide it with a username and password list that it can combine internally. This also seem to affect the ability of ncrack to internally optimize attempts. When performing local tests on my setup, this change decrease the overall running time of the module by about 10% (from ~43 to ~39 minutes). PiperOrigin-RevId: 672497135 Change-Id: I0c0816a459674ed0ab3b895aadce414d6304f140
- Loading branch information