Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Expires header to guess if a site is built in Drupal #380

Open
emmajane opened this issue Apr 11, 2022 · 0 comments
Open

Use Expires header to guess if a site is built in Drupal #380

emmajane opened this issue Apr 11, 2022 · 0 comments

Comments

@emmajane
Copy link

Sites built with Drupal, and using the standard configuration, will always use a specific date for the header expires. This date is set to the birthday of the founder of the project, Dries Buytaert.

expires: Sun, 19 Nov 1978 05:00:00 GMT

This header is not always set so it is not a perfect indication of whether or not a site is built in Drupal. However, if it is set one can assume with almost 100% certainty that the site is a Drupal site.

This check could be added to: https://github.com/urbanadventurer/WhatWeb/blob/master/plugins/drupal.rb

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant