mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
bug fix of re-introduced bug (in multiple target mode sites with similar URI weren't skipped)
This commit is contained in:
parent
5a0aef0f33
commit
73f33c1999
2 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue