added support for displaying revision number at unhandled exception message

This commit is contained in:
Miroslav Stampar
2010-10-19 08:55:14 +00:00
parent 9a7fd29d4f
commit 264e0a6fda
4 changed files with 45 additions and 2 deletions

View File

@@ -12,8 +12,11 @@ import os
import subprocess
import sys
from lib.core.revision import getRevisionNumber
# sqlmap version and site
VERSION = "0.9-dev"
REVISION = getRevisionNumber()
VERSION_STRING = "sqlmap/%s" % VERSION
DESCRIPTION = "automatic SQL injection and database takeover tool"
SITE = "http://sqlmap.sourceforge.net"