Drupal site forensics
Submitted by clemens on Wed, 2008/09/24 - 10:41am
What tools do we have for a forensic research of a Drupal site. This question popped into my head after seeing a request on the consulting mailing list.
My naive approach is
wget -r -l 1 example.com
This way we get a one link level deep site of which we can grep the modules used on these pages. Then grep -r -h "modules" | sort -u
gives a nice idea of the modules used.
But this beauty gives us the full file names.
grep -h -r -o "[[:alnum:]\/]*modules[[:alnum:]\.\/]*" * | sort -u | xargs -I {} echo {}