Skip to content

Instantly share code, notes, and snippets.

@mohamadaliakbari
Last active May 8, 2018 15:23
Show Gist options
  • Save mohamadaliakbari/424b3749c23e98f4fd5322f3ef458376 to your computer and use it in GitHub Desktop.
Save mohamadaliakbari/424b3749c23e98f4fd5322f3ef458376 to your computer and use it in GitHub Desktop.
Cleanup Hacked Drupal

Scan for back doors

$ find ./sites/default/files -type f -name "*.php"

Some known backdoors

Scan for backdoors and affected files

Do not forget to update clamav viruse definition database.

$ freshclam
$ clamscan -r -i ./
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment