This updates the order of files so that versions are extracted before generic Joomla! detection, fixes the regex for version matching, and adds a required AND matcher for the joomla.xml file.
parent
627e654d30
commit
4afb8a0587
|
@ -5,7 +5,7 @@ info:
|
||||||
author: ricardomaia
|
author: ricardomaia
|
||||||
severity: info
|
severity: info
|
||||||
description: |
|
description: |
|
||||||
Joomla, also spelled Joomla! (with an exclamation mark) and sometimes abbreviated as J!, is a free and open-source content management system (CMS) for publishing web content on websites.
|
Joomla! is a free and open-source content management system (CMS) for publishing content on websites.
|
||||||
reference:
|
reference:
|
||||||
- https://www.joomla.org/
|
- https://www.joomla.org/
|
||||||
- https://github.com/joomla/joomla-cms
|
- https://github.com/joomla/joomla-cms
|
||||||
|
@ -20,11 +20,11 @@ info:
|
||||||
http:
|
http:
|
||||||
- method: GET
|
- method: GET
|
||||||
path:
|
path:
|
||||||
- "{{BaseURL}}" # >= 1.5.0 and <= 1.5.26
|
|
||||||
- "{{BaseURL}}/language/en-GB/en-GB.xml" # >= 1.5.0 and <= 1.5.26
|
|
||||||
- "{{BaseURL}}/administrator/manifests/files/joomla.xml" # >= 1.6.0
|
- "{{BaseURL}}/administrator/manifests/files/joomla.xml" # >= 1.6.0
|
||||||
|
- "{{BaseURL}}/language/en-GB/en-GB.xml" # >= 1.5.0 and <= 1.5.26
|
||||||
- "{{BaseURL}}/README.txt"
|
- "{{BaseURL}}/README.txt"
|
||||||
- "{{BaseURL}}/modules/custom.xml" # < 1.5.0
|
- "{{BaseURL}}/modules/custom.xml" # < 1.5.0
|
||||||
|
- "{{BaseURL}}" # >= 1.5.0 and <= 1.5.26
|
||||||
|
|
||||||
stop-at-first-match: true
|
stop-at-first-match: true
|
||||||
host-redirects: true
|
host-redirects: true
|
||||||
|
@ -44,6 +44,7 @@ http:
|
||||||
regex:
|
regex:
|
||||||
- '(?i)<meta.name="generator".content="(Joomla!).*/>'
|
- '(?i)<meta.name="generator".content="(Joomla!).*/>'
|
||||||
- '(?i)Joomla_([\d.|\d]+)_version_history'
|
- '(?i)Joomla_([\d.|\d]+)_version_history'
|
||||||
|
- 'FILES_JOOMLA_XML_DESCRIPTION'
|
||||||
condition: or
|
condition: or
|
||||||
|
|
||||||
extractors:
|
extractors:
|
||||||
|
@ -51,6 +52,6 @@ http:
|
||||||
name: version
|
name: version
|
||||||
group: 1
|
group: 1
|
||||||
regex:
|
regex:
|
||||||
- "(?i)<version>(.*)</version>"
|
- '<version>(.*?)</version>'
|
||||||
- '(?i)Joomla_([\d.|\d]+)_version_history'
|
- '(?i)Joomla_([\d.|\d]+)_version_history'
|
||||||
part: body
|
part: body
|
||||||
|
|
Loading…
Reference in New Issue