jekyc / wig

WebApp Information Gatherer
BSD 2-Clause "Simplified" License
539 stars 171 forks source link

Ez publish CMS support, fingerprint added #31

Open trond7 opened 7 years ago

trond7 commented 7 years ago

eZ publish is a common CMS i would like to support.

I tried to implement and commit the changes myself, but got som errors.

Here is what i have done: dictionary.json "ezpublish": {"name": "eZ publish"},

cms/string/ezpublish.json (this is working) ` [

{
    "url": "",
    "type": "string",
    "match": "<meta name=\"generator\" content=\"eZ Publish",
    "output": ""
}

]`

cms/regex/ezpublish.json (i got som errors on this) ` [

{
    "url": "/ezinfo/about",
    "type": "regex",
    "match": "eZ Publish .*: (\d.*)",
    "note": "Ez publish infopage",
    "weight": 100,
    "output": "%s"
},
{
    "url": "/ezinfo/copyright",
    "type": "regex",
    "match": ".*eZ Systems.*",
    "note": "Ez publish copyright",
    "weight": 100,
    "output": ""
}

]

`

About the CMS:

https://ez.no/
https://en.wikipedia.org/wiki/EZ_Publish
https://github.com/ezsystems/ezpublish-community
New version from 6.x will change name to eZ platform

Example sites running EZ to test against: https://www.informs.org/ezinfo/about http://www.afasi.no/ezinfo/about https://www.pw.edu.pl/ezinfo/about http://www.amnh.org/ http://www.hioa.no/eng/ http://www.defense.gouv.fr/ezinfo/about

More sites using EZ can be found here: https://ez.no/Clients-Partners/Clients

trond7 commented 7 years ago

Some sites have disabled the info/version page but the CMS have a standardize response to this. It is then difficult to find the version but the response is another proof of type of CMS.

Reponse: View is disabled

The view ezinfo/about is disabled and cannot be accessed.

Eksample of this response https://www.hks.harvard.edu/ezinfo/about http://www.amnh.org/ezinfo/about