Your WordPress site probably got hacked because there was an insecure template or plug-in in it. That is how many sites - including some of mine - were compromised. Having users sharing different domains allows one infected site to spread to others. Both WordPress and Dreamhost have undertaken security upgrades recently to harden both the one-click installations and the WP software. Keeping WordPress upgraded is essential. Also, your plug-ins and templates.
You say you could recreate these pretty easily? Then I might suggest this…
Get rid of that htaccess file, delete it. Log-in via the shell if you have to.
See if you can log into your WordPress dashboard.
If you can, export your content using the WordPress exporter.
(that is, if you think this might be helpful to have your post and page copy)
Delete All of the WordPress files and anything else you find in your web directories. (keep track of what theme and plug-ins you want to re-install).
The hack going around earlier also created bogus directories and additional php files in your web directory and some of those were invisible - at least that’s what I saw in the mess that awaited one of my WP sites. Everything must go!
Re-Install a clean WordPress and create a fresh database for it (or use the DH one-click installer).
Import the content from the XML file WordPress gives you.
If you need to retrieve your images, save them before you zap the rest of the infected WP files. Your images should be ok.
To stay secure, continually check on the status of any plug-ins you may have been using to make sure they are up-to-date and secure. In general, never install any plug-in except ones that are available at WordPress.org.
Run each site (domain) as a separate user and set Extra Security for those users and Extra Security for your domains.
And a last thought…
If your sites are super simple and essentially static, you may be better off with a manually maintained HTML-based site.