mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-14 15:14:31 +03:00
Minor update for an (Issue #254)
This commit is contained in:
parent
753d0f18bf
commit
35d1146fd1
|
@ -1988,6 +1988,10 @@ def __basicOptionValidation():
|
|||
errMsg = "option '--dump-format' accepts one of following values: %s" % ", ".join(getPublicTypeMembers(DUMP_FORMAT, True))
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.dumpFormat != defaults.dumpFormat and not conf.dumpTable:
|
||||
errMsg = "option '--dump-format' requires usage of switch '--dump'"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.skip and conf.testParameter:
|
||||
errMsg = "option '--skip' is incompatible with option '-p'"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
|
Loading…
Reference in New Issue
Block a user