mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
bug fix of re-introduced bug (in multiple target mode sites with similar URI weren't skipped)
This commit is contained in:
@@ -183,6 +183,7 @@ def start():
|
||||
if paramKey not in kb.testedParams:
|
||||
testSqlInj = True
|
||||
|
||||
testSqlInj &= (conf.hostname, conf.path, None, None) not in kb.testedParams
|
||||
if not testSqlInj:
|
||||
infoMsg = "skipping '%s'" % targetUrl
|
||||
logger.info(infoMsg)
|
||||
@@ -366,6 +367,8 @@ def start():
|
||||
|
||||
if test[0] in ("n", "N"):
|
||||
proceed = False
|
||||
paramKey = (conf.hostname, conf.path, None, None)
|
||||
kb.testedParams.add(paramKey)
|
||||
break
|
||||
else:
|
||||
warnMsg = "%s parameter '%s' is not " % (place, parameter)
|
||||
|
||||
Reference in New Issue
Block a user