/drupal-scan

A script to scan federal domains to identify sites running Drupal

Primary LanguageShell

Scanning for Drupal

A script to scan federal domains to identify sites running Drupal. This script uses data from this GSA repository. The script makes a curl request to a website URL and looks for the X-Generator response header to identify Drupal sites. (Note - this is not a bulletproof way of identifying Drupal sites, but it's common for Drupal sites to use this response header.)

Usage

Modify the default settings if needed. Invoke the script and direct output to a file, like so:

~$ ./scan.sh > site-generators.csv

Other sources of similar data