mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
added support for displaying revision number at unhandled exception message
This commit is contained in:
parent
9a7fd29d4f
commit
264e0a6fda
4 changed files with 45 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
from lib.core.settings import PLATFORM
|
||||
from lib.core.settings import PYVERSION
|
||||
from lib.core.settings import VERSION
|
||||
from lib.core.settings import REVISION
|
||||
from lib.core.settings import VERSION_STRING
|
||||
|
||||
|
||||
|
|
@ -75,7 +76,7 @@ def unhandledException():
|
|||
errMsg += "following text and any information needed to reproduce the "
|
||||
errMsg += "bug. The developers will try to reproduce the bug, fix it "
|
||||
errMsg += "accordingly and get back to you.\n"
|
||||
errMsg += "sqlmap version: %s\n" % VERSION
|
||||
errMsg += "sqlmap version: %s%s\n" % (VERSION, " (r%d)" % REVISION if REVISION else "")
|
||||
errMsg += "Python version: %s\n" % PYVERSION
|
||||
errMsg += "Operating system: %s" % PLATFORM
|
||||
return errMsg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue