I need to delete all of the files in the public_html directory, except for the "myemail" subdirectory, which I'd like to leave as is.
Because of the large number of files that have been generated because of malicious activity, I am having difficulty in deleting them. I get a "warning: unresponsive script" error.
If you can access Cpanel you can use the filemanager to delete the files.
My site has been 'hacked' so there are more than 9K files to delete . . . which prompts the error message mentioned
Is a wordpress??
Save your theme, uploads and db.
Take note the plugins you are using to reinstall later.
Desinfect your theme manually, you need to open file by file and check.
Delete all your wordpress and resintall a new one with the latest version.
Reinstall the plugins.
Reupload your theme, uploads, db.
Install ithemes security.
Cross your fingers and good luck.