WPICTF - getaflag
14 Apr 2019description: Come on down and get your flag, all you have to do is enter the correct password …
category: Web - 150
Trying some input:
It seems that we have to guess the password, or maybe…?
The auth.php
file:
Hum -> extract($_GET)
That means we can rewrite previous variable declarations !
Considering the script is using get_contents
, we can suppose that changing the $passcode
will make get_contents
return an empty string.
Finally:
The flag is WPI{1_l0v3_PHP}