Cosmetic fix

This commit is contained in:
Bernardo Damele 2010-10-16 22:07:29 +00:00
parent a2997a6dce
commit 7b71262de6
2 changed files with 2 additions and 2 deletions

View File

@ -648,7 +648,7 @@ def setPaths():
paths.SQLMAP_CONFIG = os.path.join(paths.SQLMAP_ROOT_PATH, "sqlmap-%s.conf" % randomStr())
paths.COMMON_OUTPUTS = os.path.join(paths.SQLMAP_TXT_PATH, 'common-outputs.txt')
paths.COMMON_TABLES = os.path.join(paths.SQLMAP_TXT_PATH, "common-tables.txt")
paths.SQLKEYWORDS = os.path.join(paths.SQLMAP_TXT_PATH, "keywords.txt")
paths.SQL_KEYWORDS = os.path.join(paths.SQLMAP_TXT_PATH, "keywords.txt")
paths.FUZZ_VECTORS = os.path.join(paths.SQLMAP_TXT_PATH, "fuzz_vectors.txt")
paths.DETECTION_RULES_XML = os.path.join(paths.SQLMAP_XML_PATH, "detection.xml")
paths.ERRORS_XML = os.path.join(paths.SQLMAP_XML_PATH, "errors.xml")

View File

@ -1058,7 +1058,7 @@ def __setKnowledgeBaseAttributes():
kb.injPlace = None
kb.injType = None
kb.injections = xmlobject.XMLFile(path=paths.INJECTIONS_XML)
kb.keywords = set(getFileItems(paths.SQLKEYWORDS))
kb.keywords = set(getFileItems(paths.SQL_KEYWORDS))
kb.nullConnection = None
# Back-end DBMS underlying operating system fingerprint via banner (-b)