Skip to content
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

"Delay" help output correctly reflects behavior. #61

Closed
wants to merge 1 commit into from
Closed

"Delay" help output correctly reflects behavior. #61

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 31, 2017

The --delay $n causes ruler to postpone the next round of guesses until $n minutes have passed. The current help output incorrectly says this value is measured in seconds.

The --delay $n causes ruler to postpone the next round of guesses until $n minutes have passed. The current help output incorrectly says this value is measured in seconds.
@staaldraad staaldraad closed this Jan 28, 2018
@ghost
Copy link
Author

ghost commented Feb 3, 2018

Why was this closed?
In autodiscover.go you can see that the time duration is measured in minutes. It also states that it delays for "minutes" in the line above the following:

utils.Info.Printf("\033[31mMultiple attempts. To prevent lockout - delaying for %d minutes.\033[0m\n", delay)

time.Sleep(time.Minute * (time.Duration)(delay))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant