News for hackers. Stuff that matters.
Re:OpenX.org compromised and downloads injected with a backdoor by wvh on Tuesday August 06, 2013 @05:06PM (#6169171)
How does PHP code inside a JS file get executed? Sounds to me like that's not the only problem in the code...
Re:OpenX.org compromised and downloads injected with a backdoor by daviddede on Tuesday August 06, 2013 @05:44PM (#6169397)
The .js file is actually included in one of their templates (using include()). So the <?php code is executed at that point.
Re:OpenX.org compromised and downloads injected with a backdoor by mahmud on Wednesday August 07, 2013 @05:56AM (#6171776)
Why isn't the Javascript code in a PHP comment? That is the usual way of "embedding" stringly-typed languages.