I have recently been hacked on a self hosting Redhat server. As a result, all of my theme folders have been hacked with an iframe injection.
I have 400+ themes installed so reinstalling them all one-by-one isn't really an option.
I would delete them all and just have my users reinstall what they would like, but if i delete them, the wordpress sites don't work.
So my question is how do i either (a)reinstall them (b)delete them and still keep the sites working.