Dirk Jan
Dirk Jan

Reputation: 2469

Using PHP, how can I determine which CMS or framework is used?

Using PHP, can I find out which CMS or framework is used on a particular website. Eg Wordpress, Magento or Codigniter, Laravel.

I've tried this approach: http://dailyblogging.org/internet/detect-cms-and-scripts-of-websites/

This is what I actually want, but in code form, not as an online service: http://onlinewebtool.com/cmsdetector.php This should be a PHP script that does not run as an online service.

What will it take to do this, or at least give me a hint?

Upvotes: 2

Views: 3024

Answers (2)

Mark Labenski
Mark Labenski

Reputation: 321

Update 2018

Github repo moved: https://github.com/AliasIO/Wappalyzer/blob/master/src/apps.json


There is a Chrome extension called Wappalyzer. You can see some regexp which are included in the wappalyzer project for detecting servers, cms and frameworks. Maybe you can include this and write a php script that uses this:

https://github.com/ElbertF/Wappalyzer/blob/master/share/apps.json

Upvotes: 3

Pupil
Pupil

Reputation: 23948

For Drupal, view source

And if you find

/sites/all

/sites/

For including image/javascript/css, its Drupal based site.

Same way, if you find wp_content, its wordpress.

For MVC ftameworks, its difficult to determine as url routing is same for all.

Upvotes: -1

Related Questions