Two things - first of all do you have a backup? If so then you can easily restore your database. However unless you are secure they will probably return.

You will need to update your passwords to your database, and make sure that you are running the latest version on threads (6.5.4).

Also ensure that any other scripts you might run are secure and updated.