Re:Php.net detected as a malware host by Google Safe Browsing
by 0x0 on Thursday October 24, 2013 @11:13AM
(#6605716)
The obfuscated code in functions.js in the git repo is very strange, too... What did it do and why was it obfuscated? https://github.com/php/web-php/commit/06a06b561aa2fcf22ce52b...
[ Parent
| on HN ]
Re:Php.net detected as a malware host by Google Safe Browsing
by karma_fountain on Thursday October 24, 2013 @11:57AM
(#6605957)
It's a quick ref of functions for an autocomplete list.
If you have this in your html as the only form:
<form>
<input type="text" id="pattern"/>
<input type="text" id="show" value="quickref" />
</form>
<script>
document.forms[0].pattern = document.getElementById('pattern');
document.forms[0].show = document.getElementById('show');
</script>
then include the functions js you will see an autocomplete list of functions when you type into the pattern box. The lists of function names are stored in a compressed string at the top so it's not really obfuscated, just minified. They shouldn't store it minified though.