Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7b71262

Browse files
committed
Cosmetic fix
1 parent a2997a6 commit 7b71262

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def setPaths():
648648
paths.SQLMAP_CONFIG = os.path.join(paths.SQLMAP_ROOT_PATH, "sqlmap-%s.conf" % randomStr())
649649
paths.COMMON_OUTPUTS = os.path.join(paths.SQLMAP_TXT_PATH, 'common-outputs.txt')
650650
paths.COMMON_TABLES = os.path.join(paths.SQLMAP_TXT_PATH, "common-tables.txt")
651-
paths.SQLKEYWORDS = os.path.join(paths.SQLMAP_TXT_PATH, "keywords.txt")
651+
paths.SQL_KEYWORDS = os.path.join(paths.SQLMAP_TXT_PATH, "keywords.txt")
652652
paths.FUZZ_VECTORS = os.path.join(paths.SQLMAP_TXT_PATH, "fuzz_vectors.txt")
653653
paths.DETECTION_RULES_XML = os.path.join(paths.SQLMAP_XML_PATH, "detection.xml")
654654
paths.ERRORS_XML = os.path.join(paths.SQLMAP_XML_PATH, "errors.xml")

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ def __setKnowledgeBaseAttributes():
10581058
kb.injPlace = None
10591059
kb.injType = None
10601060
kb.injections = xmlobject.XMLFile(path=paths.INJECTIONS_XML)
1061-
kb.keywords = set(getFileItems(paths.SQLKEYWORDS))
1061+
kb.keywords = set(getFileItems(paths.SQL_KEYWORDS))
10621062
kb.nullConnection = None
10631063

10641064
# Back-end DBMS underlying operating system fingerprint via banner (-b)

0 commit comments

Comments
 (0)