Minor adjustments

This commit is contained in:
Bernardo Damele
2010-03-03 16:19:17 +00:00
parent 156fdd96ef
commit a654a426ef
5 changed files with 15 additions and 13 deletions

View File

@@ -48,6 +48,7 @@ from lib.core.convert import urlencode
from lib.core.exception import sqlmapFilePathException
from lib.core.exception import sqlmapNoneDataException
from lib.core.exception import sqlmapSyntaxException
from lib.core.settings import DESCRIPTION
from lib.core.settings import IS_WIN
from lib.core.settings import SITE
from lib.core.settings import SQL_STATEMENTS
@@ -515,9 +516,9 @@ def banner():
"""
print """
%s - %s
%s
%s
""" % (VERSION_STRING, SITE)
""" % (VERSION_STRING, DESCRIPTION, SITE)
def parsePasswordHash(password):
blank = " " * 8

View File

@@ -46,12 +46,12 @@ optDict = {
"aCred": "string",
"aCert": "string",
"proxy": "string",
"ignoreProxy": "boolean",
"threads": "integer",
"delay": "float",
"timeout": "float",
"retries": "integer",
"scope": "string",
"ignoreProxy": "boolean"
"scope": "string"
},
"Injection": {

View File

@@ -28,7 +28,8 @@ import sys
# sqlmap version and site
VERSION = "0.8-rc7"
VERSION_STRING = "sqlmap/%s - automatic SQL injection and database takeover tool" % VERSION
VERSION_STRING = "sqlmap/%s" % VERSION
DESCRIPTION = "automatic SQL injection and database takeover tool"
SITE = "http://sqlmap.sourceforge.net"
# sqlmap logger