mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
fix for Bug #183 (--threads dot output)
This commit is contained in:
parent
1aeaa5db47
commit
938a3ab0b9
2 changed files with 28 additions and 2 deletions
|
|
@ -34,6 +34,7 @@ import urlparse
|
|||
|
||||
from ConfigParser import ConfigParser
|
||||
|
||||
from lib.core.common import getConsoleWidth
|
||||
from lib.core.common import getFileType
|
||||
from lib.core.common import normalizePath
|
||||
from lib.core.common import ntToPosixSlashes
|
||||
|
|
@ -904,10 +905,12 @@ def __setConfAttributes():
|
|||
conf.threadException = False
|
||||
conf.wFileType = None
|
||||
|
||||
width = getConsoleWidth()
|
||||
|
||||
if conf.eta:
|
||||
conf.progressWidth = 54
|
||||
conf.progressWidth = width-26
|
||||
else:
|
||||
conf.progressWidth = 34
|
||||
conf.progressWidth = width-46
|
||||
|
||||
def __setKnowledgeBaseAttributes():
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue