PeehPee
Difficulty
Easy
Points
150
Description
Are you able to access the secret area of Naruto ? I guess it's not that hard for you!
Quick Analysis
View the application source code via /?source
endpoint
From the source code to obtain the flag:
The request method should be
POST
request.The email parameter value must be
admin@naruto.com
.The regex match a single character not present in
a-z
orA-Z
or0-9
or$
for the pass parameter.The pass parameter value shouldn't equal
SuperSecRetPassw0rd
.The eval function evaluates the pass parameter value.
The test parameter value is stored in the
$x
variable.
Since the pass parameter value is evaluated, the password SuperSecRetPassw0rd
can be returned after evaluation via the test parameter $x
variable.
Exploitation
The Flag
Last updated