Malicious Code in Index.php WordPress [closed]

This is a great article on WordPress security, loads of great advice… https://codex.wordpress.org/Hardening_WordPress.

I’d follow the advice in the article above, and make sure to change all your passwords for FTP, blog login, etc so they’re all unique, long and random.