Re:Every C99.php shell is backdoored
by zimbatm on Tuesday June 24, 2014 @07:24AM
(#7937100)
The problem is when unexpected variables are overwritten. It would be better to have a mandatory list of allowed variables that can be extracted.
(pardon my rusty PHP)
[ Parent
| on HN ]
> variables are overwritten. It would be better to have a mandatory list of allowed variables that can be extracted.
You can set the EXTR_SKIP flag to do something like that. There are a bunch of other flags as well to control how it works.