mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Implementation for an Issue #507
This commit is contained in:
@@ -287,7 +287,13 @@ def start():
|
||||
if paramKey not in kb.testedParams:
|
||||
testSqlInj = True
|
||||
|
||||
testSqlInj &= conf.hostname not in kb.vulnHosts
|
||||
if testSqlInj and conf.hostname in kb.vulnHosts:
|
||||
if kb.skipVulnHost is None:
|
||||
message = "vulnerability has already been detected "
|
||||
message += "against '%s'. Do you want to skip " % conf.hostname
|
||||
message += "further tests involving it? [Y/n]"
|
||||
kb.skipVulnHost = readInput(message, default="Y").upper() != 'N'
|
||||
testSqlInj = not kb.skipVulnHost
|
||||
|
||||
if not testSqlInj:
|
||||
infoMsg = "skipping '%s'" % targetUrl
|
||||
|
||||
Reference in New Issue
Block a user