mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-05 20:33:10 +03:00
Removed REVISION, makes no sense.
Import and use python psyco library to speed up if it's installed: it's optional.
This commit is contained in:
parent
e3ddbe751f
commit
0f07e33e1a
|
@ -26,7 +26,6 @@ Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
from lib.core.settings import REVISION
|
|
||||||
from lib.core.settings import VERSION
|
from lib.core.settings import VERSION
|
||||||
from lib.core.settings import VERSION_STRING
|
from lib.core.settings import VERSION_STRING
|
||||||
|
|
||||||
|
@ -91,8 +90,7 @@ def unhandledException():
|
||||||
errMsg = "unhandled exception in %s, please copy " % VERSION_STRING
|
errMsg = "unhandled exception in %s, please copy " % VERSION_STRING
|
||||||
errMsg += "the command line and the following text and send by e-mail "
|
errMsg += "the command line and the following text and send by e-mail "
|
||||||
errMsg += "to sqlmap-users@lists.sourceforge.net. The developers will "
|
errMsg += "to sqlmap-users@lists.sourceforge.net. The developers will "
|
||||||
errMsg += "fix it as soon as possible:\nsqlmap version: %s " % VERSION
|
errMsg += "fix it as soon as possible:\nsqlmap version: %s\n" % VERSION
|
||||||
errMsg += "(SVN revision: %s)\n" % REVISION
|
|
||||||
errMsg += "Python version: %s\n" % sys.version.split()[0]
|
errMsg += "Python version: %s\n" % sys.version.split()[0]
|
||||||
errMsg += "Operating system: %s" % sys.platform
|
errMsg += "Operating system: %s" % sys.platform
|
||||||
return errMsg
|
return errMsg
|
||||||
|
|
|
@ -30,7 +30,6 @@ import sys
|
||||||
|
|
||||||
|
|
||||||
# sqlmap version and site
|
# sqlmap version and site
|
||||||
REVISION = "$Revision$"
|
|
||||||
VERSION = "0.6.3-rc3"
|
VERSION = "0.6.3-rc3"
|
||||||
VERSION_STRING = "sqlmap/%s" % VERSION
|
VERSION_STRING = "sqlmap/%s" % VERSION
|
||||||
SITE = "http://sqlmap.sourceforge.net"
|
SITE = "http://sqlmap.sourceforge.net"
|
||||||
|
|
|
@ -29,6 +29,13 @@ import sys
|
||||||
import time
|
import time
|
||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
|
try:
|
||||||
|
import psyco
|
||||||
|
psyco.full()
|
||||||
|
psyco.profile()
|
||||||
|
except ImportError, _:
|
||||||
|
pass
|
||||||
|
|
||||||
from lib.controller.controller import start
|
from lib.controller.controller import start
|
||||||
from lib.core.common import banner
|
from lib.core.common import banner
|
||||||
from lib.core.common import setPaths
|
from lib.core.common import setPaths
|
||||||
|
|
Loading…
Reference in New Issue
Block a user