mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-05-14 01:16:59 +00:00
Implementation for an Issue #874
This commit is contained in:
parent
6448d3caf4
commit
19aed90ae5
3 changed files with 50 additions and 3 deletions
|
|
@ -21,6 +21,7 @@ from lib.utils import versioncheck # this has to be the first non-standard impo
|
|||
|
||||
from lib.controller.controller import start
|
||||
from lib.core.common import banner
|
||||
from lib.core.common import createGithubIssue
|
||||
from lib.core.common import dataToStdout
|
||||
from lib.core.common import getUnicode
|
||||
from lib.core.common import setColor
|
||||
|
|
@ -127,9 +128,11 @@ def main():
|
|||
except:
|
||||
print
|
||||
errMsg = unhandledExceptionMessage()
|
||||
excMsg = traceback.format_exc()
|
||||
logger.critical(errMsg)
|
||||
kb.stickyLevel = logging.CRITICAL
|
||||
dataToStdout(setColor(traceback.format_exc()))
|
||||
dataToStdout(excMsg)
|
||||
createGithubIssue(errMsg, excMsg)
|
||||
|
||||
finally:
|
||||
if conf.get("showTime"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue