Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fc9e82 commit 32bcca0Copy full SHA for 32bcca0
1 file changed
lib/core/option.py
@@ -2179,6 +2179,14 @@ def _basicOptionValidation():
2179
errMsg = "switch '--forms' requires usage of option '-u' ('--url'), '-g', '-m' or '-x'"
2180
raise SqlmapSyntaxException(errMsg)
2181
2182
+ if conf.csrfUrl and not conf.csrfToken:
2183
+ errMsg = "option '--csrf-url' requires usage of option '--csrf-token'"
2184
+ raise SqlmapSyntaxException(errMsg)
2185
+
2186
+ if conf.csrfToken and conf.threads:
2187
+ errMsg = "option '--csrf-url' is incompatible with option '--threads'"
2188
2189
2190
if conf.requestFile and conf.url and conf.url != DUMMY_URL:
2191
errMsg = "option '-r' is incompatible with option '-u' ('--url')"
2192
0 commit comments