cookie injection

Although the injection of different locations, but the principles are the same

Principle: change the password, because the password is required to modify the login name called by the cookie (loginname) to modify, that might appear injection vulnerability.

  • cookie you want to change or add their own url encoded coding mark

1. First, we inject judgment
1 cookie injection
2. Here we inject marked in accordance with normal procedure, keywords blind, the result will not do, we look at the error
cookie injection of 2
cookie injection 3
here the easy way to directly read the database, according to the normal procedure is to determine where it should be filtering a.
cookie injection 4
3. Well according to the figure we have found that he is to the filter bracket (actually forget the database parentheses url encoding artefacts form of bracket to be filtered), where we replaced the coding url
cookie injection of 5
4. successful implantation, happy
cookie injection 6

Published 13 original articles · won praise 0 · Views 446

Guess you like

Origin blog.csdn.net/m0_46230316/article/details/105290942