Hacked? How to Get Back Into the WordPress Admin
So your website has been hacked and you can’t log in, no matter what username and password combination you try. Fortunately, you’re not completely screwed – your database offers a convenient backdoor to help you regain access.