mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Implements option --csrf-data (#5199)
This commit is contained in:
parent
d7ee423fc5
commit
aa9cc3987e
6 changed files with 13 additions and 2 deletions
|
|
@ -276,6 +276,9 @@ def cmdLineParser(argv=None):
|
|||
request.add_argument("--csrf-method", dest="csrfMethod",
|
||||
help="HTTP method to use during anti-CSRF token page visit")
|
||||
|
||||
request.add_argument("--csrf-data", dest="csrfData",
|
||||
help="POST data to send during anti-CSRF token page visit")
|
||||
|
||||
request.add_argument("--csrf-retries", dest="csrfRetries", type=int,
|
||||
help="Retries for anti-CSRF token retrieval (default %d)" % defaults.csrfRetries)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue