No problem with code but what does it do?

/^(htxp(s)?:\/\/)?blocletters.com/

No problems with js, but why is it on that site. Site suspicious: http://siteinspector.comodo.com/public/reports/15978816
known seo spam site: http://sitecheck.sucuri.net/scanner/?scan=http%3A%2F%2Fblocletters.com
using div id=‘HideMeBetter’ injection → http://forum.joomla.org/viewtopic.php?f=432&t=765672

polonus

Hi Polonus,

That is a regular expression. It returns true if the tested string contains the given url.

Also see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp

~!Donovan

Hi !Donovan,

Thank you for establishing. The <?php echo $tmpTools-> there is part of a remote SQL Injection through a Joomla exploit.

polonus