File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626
2727import sys
2828
29- from lib .core .settings import REVISION
3029from lib .core .settings import VERSION
3130from lib .core .settings import VERSION_STRING
3231
@@ -91,8 +90,7 @@ def unhandledException():
9190 errMsg = "unhandled exception in %s, please copy " % VERSION_STRING
9291 errMsg += "the command line and the following text and send by e-mail "
9392 errMsg += "to [email protected] . The developers will " 94- errMsg += "fix it as soon as possible:\n sqlmap version: %s " % VERSION
95- errMsg += "(SVN revision: %s)\n " % REVISION
93+ errMsg += "fix it as soon as possible:\n sqlmap version: %s\n " % VERSION
9694 errMsg += "Python version: %s\n " % sys .version .split ()[0 ]
9795 errMsg += "Operating system: %s" % sys .platform
9896 return errMsg
Original file line number Diff line number Diff line change 3030
3131
3232# sqlmap version and site
33- REVISION = "$Revision$"
3433VERSION = "0.6.3-rc3"
3534VERSION_STRING = "sqlmap/%s" % VERSION
3635SITE = "http://sqlmap.sourceforge.net"
Original file line number Diff line number Diff line change 2929import time
3030import traceback
3131
32+ try :
33+ import psyco
34+ psyco .full ()
35+ psyco .profile ()
36+ except ImportError , _ :
37+ pass
38+
3239from lib .controller .controller import start
3340from lib .core .common import banner
3441from lib .core .common import setPaths
You can’t perform that action at this time.
0 commit comments