New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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

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.

@dmiller-nmap

This comment has been minimized.

dmiller-nmap commented Sep 6, 2017

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