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

Skip to content

Commit 645afee

Browse files
committed
some changes
1 parent 921e449 commit 645afee

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ def setPaths():
543543
paths.SQLMAP_HISTORY = os.path.join(paths.SQLMAP_ROOT_PATH, ".sqlmap_history")
544544
paths.SQLMAP_CONFIG = os.path.join(paths.SQLMAP_ROOT_PATH, "sqlmap-%s.conf" % randomStr())
545545
paths.FUZZ_VECTORS = os.path.join(paths.SQLMAP_TXT_PATH, "fuzz_vectors.txt")
546+
paths.DETECTION_RULES_XML = os.path.join(paths.SQLMAP_XML_PATH, "detection.xml")
546547
paths.ERRORS_XML = os.path.join(paths.SQLMAP_XML_PATH, "errors.xml")
547548
paths.QUERIES_XML = os.path.join(paths.SQLMAP_XML_PATH, "queries.xml")
548549
paths.GENERIC_XML = os.path.join(paths.SQLMAP_XML_BANNER_PATH, "generic.xml")

lib/utils/detection.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import re, sre_constants
2525
from xml.dom import minidom
2626

27-
from lib.core.data import conf
2827
from lib.core.data import paths
2928
from lib.core.data import logger
3029

0 commit comments

Comments
 (0)