How we gonna do it ? Further analysis shows that we need a way to write to the session file the following line:
admin 1
Easy! The name parameter is written to the session file. We can append it the required line by sending the following name as parameter:
hacker%0Aadmin%201Unescaped:
hackerThen the session file will look like this:
admin 1
name hackerAnd when it will be read, we will have admin field set to 1 in our session --> got admin !
admin 1
The next level credentials will be printed. GAME OVER :)
No comments :
Post a Comment