Require -d2 to print out each guess in brute.lua, not just -d1.

This commit is contained in:
david 2010-08-18 17:13:57 +00:00
parent 018c6c5171
commit 66e1254649

View file

@ -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