Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b007ab

Browse files
committed
Minor patch for an Issue #274 (just in case to avoid this kind of problems)
1 parent c636c26 commit 6b007ab

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/core/option.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,6 +1964,10 @@ def __basicOptionValidation():
19641964
errMsg = "switch '--forms' requires usage of option '-u' (--url)"
19651965
raise sqlmapSyntaxException, errMsg
19661966

1967+
if conf.requestFile and conf.url:
1968+
errMsg = "option '-r' is incompatible with option '-u' (--url)"
1969+
raise sqlmapSyntaxException, errMsg
1970+
19671971
if conf.tor and conf.ignoreProxy:
19681972
errMsg = "switch '--tor' is incompatible with switch '--ignore-proxy'"
19691973
raise sqlmapSyntaxException, errMsg

0 commit comments

Comments
 (0)