From 66e12546490e9d6d0345f961d5e6695bac3dcbf2 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 18 Aug 2010 17:13:57 +0000 Subject: [PATCH] Require -d2 to print out each guess in brute.lua, not just -d1. --- nselib/brute.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nselib/brute.lua b/nselib/brute.lua index 3ee0da963..c7d4ec376 100644 --- a/nselib/brute.lua +++ b/nselib/brute.lua @@ -411,7 +411,7 @@ Engine = msg = "Trying" end - stdnse.print_debug( "%s %s against %s:%d", msg, creds, self.host.ip, self.port.number ) + stdnse.print_debug(2, "%s %s against %s:%d", msg, creds, self.host.ip, self.port.number ) status, response = driver:login( username, password ) driver:disconnect() @@ -488,7 +488,7 @@ Engine = interval_start = os.time() local tps = self.counter / ( os.time() - self.starttime ) table.insert(self.tps, tps ) - stdnse.print_debug("threads=%d,tps=%d", self:activeThreads(), tps ) + stdnse.print_debug(2, "threads=%d,tps=%d", self:activeThreads(), tps ) end -- if delay was speciefied, do sleep