mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-08 06:14:17 +00:00
Implements #3916
This commit is contained in:
parent
617c336813
commit
30fba849e2
6 changed files with 15 additions and 4 deletions
|
|
@ -2490,6 +2490,10 @@ def _basicOptionValidation():
|
|||
errMsg = "option '--csrf-url' requires usage of option '--csrf-token'"
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
||||
if conf.csrfMethod and not conf.csrfToken:
|
||||
errMsg = "option '--csrf-method' requires usage of option '--csrf-token'"
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
||||
if conf.csrfToken and conf.threads > 1:
|
||||
errMsg = "option '--csrf-url' is incompatible with option '--threads'"
|
||||
raise SqlmapSyntaxException(errMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue