Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

brute library retry count is one off #1004

Closed
nnposter opened this Issue Sep 6, 2017 · 1 comment

Comments

Projects
None yet
2 participants

nnposter commented Sep 6, 2017

Library brute.lua allows specifying a number of retries for each credential guess with script argument brute.retries. The implemented counting is one off, so brute.retries=1 means that no retries are attempted and brute.retries=0 results in infinite looping.

This sounds like a disagreement between the name of the variable (retries) and the intent (tries). I tried to write up my thoughts, but ended up just writing a patch. Fix incoming; feel free to comment if you think I did the wrong thing.

@nmap-bot nmap-bot closed this in afcd81b Sep 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment