mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Fix for an Issue #438
This commit is contained in:
parent
0cb3ce5765
commit
6e0aaafdea
|
@ -6,6 +6,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
"""
|
||||
|
||||
import bdb
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import time
|
||||
|
@ -21,6 +22,7 @@ from lib.controller.controller import start
|
|||
from lib.core.common import banner
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.common import setColor
|
||||
from lib.core.common import setPaths
|
||||
from lib.core.common import weAreFrozen
|
||||
from lib.core.data import cmdLineOptions
|
||||
|
@ -115,7 +117,8 @@ def main():
|
|||
print
|
||||
errMsg = unhandledExceptionMessage()
|
||||
logger.critical(errMsg)
|
||||
traceback.print_exc()
|
||||
kb.stickyLevel = logging.CRITICAL
|
||||
dataToStdout(setColor(traceback.format_exc()))
|
||||
|
||||
finally:
|
||||
dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True)
|
||||
|
|
Loading…
Reference in New Issue
Block a user