mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Putting 2 decimal places for debug messages with performed queries (e.g. to handle a problem with 0 seconds roundup)
This commit is contained in:
parent
bc4e1dab19
commit
6b280d8da4
5 changed files with 5 additions and 5 deletions
|
|
@ -99,7 +99,7 @@ def _goInference(payload, expression, charsetType=None, firstChar=None, lastChar
|
|||
kb.inferenceMode = False
|
||||
|
||||
if not kb.bruteMode:
|
||||
debugMsg = "performed %d queries in %d seconds" % (count, calculateDeltaSeconds(start))
|
||||
debugMsg = "performed %d queries in %.2f seconds" % (count, calculateDeltaSeconds(start))
|
||||
logger.debug(debugMsg)
|
||||
|
||||
return value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue