3 ms·
Those themes just print out links to other sites. If you disallowed them to run any code, printing information out would be just as easy to hide: <script>.
by viraptor 16y ago
Those themes just print out links to other sites. If you disallowed them to run any code, printing information out would be just as easy to hide:
<script>......</script>
Nothing to do with the theme execution and still allows hiding code both via any encoding and via eval.
- jacques_chester 16y agoI don't follow. Could you rephrase your argument?
- viraptor 16y agoIf you disallow running encoded script in php as an argument to the `eval()` function, the code could just as well be run in javascript on the client side (although it's not as useful for search engine spamming anymore then). Basically for printing out some text on the website, it doesn't matter whether you're running <? echo eval($encrypted_code) ?> on some php code or <script>eval(encrypted_code)</script> in JS. The only thing it protects you from is local exploits, not adding content.
- jacques_chester 16y agoAh. Yes. I see now.