mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-08 17:53:47 +03:00
just a minor fix to stop nagging with "Do you want to skip test payloads specific for other DBMSes?" if n is pressed
This commit is contained in:
parent
5f2fcd1eea
commit
a6ab24e0b5
|
@ -156,6 +156,8 @@ def checkSqlInjection(place, parameter, value):
|
||||||
|
|
||||||
if conf.realTest or readInput(msg, default="Y") in ("y", "Y"):
|
if conf.realTest or readInput(msg, default="Y") in ("y", "Y"):
|
||||||
kb.skipOthersDbms = Backend.getErrorParsedDBMSes()
|
kb.skipOthersDbms = Backend.getErrorParsedDBMSes()
|
||||||
|
else:
|
||||||
|
kb.skipOthersDbms = []
|
||||||
|
|
||||||
if kb.skipOthersDbms and dbms not in kb.skipOthersDbms:
|
if kb.skipOthersDbms and dbms not in kb.skipOthersDbms:
|
||||||
debugMsg = "skipping test '%s' because " % title
|
debugMsg = "skipping test '%s' because " % title
|
||||||
|
|
Loading…
Reference in New Issue
Block a user