mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Minor patch for an Issue #274 (just in case to avoid this kind of problems)
This commit is contained in:
parent
c636c26acc
commit
6b007ab188
|
@ -1964,6 +1964,10 @@ def __basicOptionValidation():
|
|||
errMsg = "switch '--forms' requires usage of option '-u' (--url)"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.requestFile and conf.url:
|
||||
errMsg = "option '-r' is incompatible with option '-u' (--url)"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
||||
if conf.tor and conf.ignoreProxy:
|
||||
errMsg = "switch '--tor' is incompatible with switch '--ignore-proxy'"
|
||||
raise sqlmapSyntaxException, errMsg
|
||||
|
|
Loading…
Reference in New Issue
Block a user