Skip to content

Make asterisk work with --csrf-token option#4305

Merged
stamparm merged 1 commit into
sqlmapproject:masterfrom
tree-chtsec:master
Aug 13, 2020
Merged

Make asterisk work with --csrf-token option#4305
stamparm merged 1 commit into
sqlmapproject:masterfrom
tree-chtsec:master

Conversation

@tree-chtsec

Copy link
Copy Markdown
Contributor

--csrf-token option works well if specify parameter through -p csrf explicitly.
For some user, who didn't trace code that deep, may encounter that
[CRITICAL] anti-CSRF token parameter 'csrf-token' not found in provided GET, POST, Cookie or header values, when using asterisk in commands or request files without -p. For example, --data "id=1*&csrf=xxx"
This commit solves the problem mentioned above, make --csrf-token more general in sqlmap.

@stamparm stamparm merged commit b3f4c6d into sqlmapproject:master Aug 13, 2020
@stamparm

Copy link
Copy Markdown
Member

@tree-chtsec thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants