Skip to main content
added 238 characters in body
Source Link
mentallurg
  • 12.6k
  • 5
  • 38
  • 51

"dvwa" generates a new CSRF token for each each response. This is how CSRF protection should work. Where as in your script you extract it only once. Thus only your first request from "hydra" uses a correct CSRF token. All subsequent requests use an outdated CSRF token.

What can you do? Use some other tool, e.g. potator. Or create your own script in Python. The latter will have an advantage, that you will learn a lot about security in web applications.

"dvwa" generates a new CSRF token for each each response. This is how CSRF protection should work. Where as in your script you extract it only once. Thus only your first request from "hydra" uses a correct CSRF token. All subsequent requests use an outdated CSRF token.

"dvwa" generates a new CSRF token for each each response. This is how CSRF protection should work. Where as in your script you extract it only once. Thus only your first request from "hydra" uses a correct CSRF token. All subsequent requests use an outdated CSRF token.

What can you do? Use some other tool, e.g. potator. Or create your own script in Python. The latter will have an advantage, that you will learn a lot about security in web applications.

Source Link
mentallurg
  • 12.6k
  • 5
  • 38
  • 51

"dvwa" generates a new CSRF token for each each response. This is how CSRF protection should work. Where as in your script you extract it only once. Thus only your first request from "hydra" uses a correct CSRF token. All subsequent requests use an outdated CSRF token.