answer:The best thing to do would be to simply reinstall all of Wordpress. Back up your upload directory, because it contains all your images/videos etc. and delete and reinstall. Use the same database as you did before, and all your posts will be there. It probably also goes without saying that you should find out how the attacker broke into your site and stop that from happening again.