Skip to main content
2 of 5
added 41 characters in body
No Sssweat
  • 31.6k
  • 14
  • 55
  • 91

If you're using Seven as your admin theme (which is the out of the box default) then the script may have been added in a template file inside /core/themes/seven

I think the easy approach would be to pretend you're upgrading Drupal 7 and delete all the files and folders with the exception of the sites folder.

After you "upgraded" your Drupal, if the problem still persists, then it means it may be somewhere in your sites folder. Check all template files, and keep a lookout for any .php file. Also, check if some module was added or altered using the Hacked! module.

If still no resolution, then most likely the script is in your Database.

No Sssweat
  • 31.6k
  • 14
  • 55
  • 91