From 32033c20fe84943dc81a40176a742c4cbf4d841b Mon Sep 17 00:00:00 2001 From: nnposter Date: Mon, 20 Jul 2020 21:06:33 +0000 Subject: [PATCH] Clarify location of the Error object --- nselib/brute.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nselib/brute.lua b/nselib/brute.lua index 66e2f9b10..56579b929 100644 --- a/nselib/brute.lua +++ b/nselib/brute.lua @@ -33,8 +33,8 @@ -- The login method does not need a lot of explanation. The login -- function should return two parameters. If the login was successful it should -- return true and a creds.Account. If the login was a failure it --- should return false and an Error. The driver can signal the --- Engine to retry a set of credentials by calling the Error objects +-- should return false and a brute.Error. The driver can signal +-- the Engine to retry a set of credentials by calling the Error objects -- setRetry method. It may also signal the Engine to abort all -- password guessing by calling the Error objects setAbort method. -- Finally, the driver can notify the Engine about protocol related exception