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

Skip to content

Commit 95f2e61

Browse files
committed
Minor fix related to the Issue #2
1 parent 01f4b76 commit 95f2e61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ def _basicOptionValidation():
21832183
errMsg = "option '--csrf-url' requires usage of option '--csrf-token'"
21842184
raise SqlmapSyntaxException(errMsg)
21852185

2186-
if conf.csrfToken and conf.threads:
2186+
if conf.csrfToken and conf.threads > 1:
21872187
errMsg = "option '--csrf-url' is incompatible with option '--threads'"
21882188
raise SqlmapSyntaxException(errMsg)
21892189

0 commit comments

Comments
 (0)