Related to the highly critical security issue PSA-2018-001 I would like to find out who of our customers are using Drupal based on accessing the fileshare they are using. Something like using a specific "find" statement to locate Drupal 7 and 8 installations would be handy.

1 Answer 1


You could do something like this:

find / -name "bootstrap.inc" -exec grep "VERSION" {} \;

According to this question this should be the file containing the version of Drupal. This command will search for every bootstrap.inc file in / and search for the line containing the keyword VERSION

By the way, I think your question belong to the Drupal StackExchange.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .