mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor update for an Issue #287
This commit is contained in:
parent
32b39c72e4
commit
c3f20a136f
5 changed files with 58 additions and 16 deletions
|
|
@ -31,3 +31,7 @@ FORMATTER = logging.Formatter("\r[%(asctime)s] [%(levelname)s] %(message)s", "%H
|
|||
LOGGER_HANDLER.setFormatter(FORMATTER)
|
||||
LOGGER.addHandler(LOGGER_HANDLER)
|
||||
LOGGER.setLevel(logging.WARN)
|
||||
|
||||
def setLoggerHandler(handler):
|
||||
LOGGER.handlers = []
|
||||
LOGGER.addHandler(handler)
|
||||
|
|
|
|||
|
|
@ -1487,6 +1487,7 @@ def _setKnowledgeBaseAttributes(flushAll=True):
|
|||
|
||||
kb.brute = AttribDict({"tables":[], "columns":[]})
|
||||
kb.bruteMode = False
|
||||
kb.busyFlag = False
|
||||
|
||||
kb.cache = AttribDict()
|
||||
kb.cache.content = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue