Restore hacked website from database without source
You can set status to '0' in table 'system' for missing modules
P. S. 'drush cc all' is a must-run command after the manipulation like this or manually empty cache tables