I'm pretty sure $login can be set to true/false somewhere on top of the file as 'configuration'. Only it gets overwritten by the call to extract().
It was not meant to be user input
I feel stupid. Of course, you are right.
Re:Every C99.php shell is backdoored
by heydenberk on Tuesday June 24, 2014 @07:21AM
(#7937087)
Don't feel stupid. This is difficult to reason about, hence the existence of the bug and the inadvisability of PHP's `extract` function.
The security problem lies in the fact that the authentication code is conditionally called depending on user input.
is not less safe than would have been.