Skip to content

Commit

Permalink
Merge pull request #8279 from sullo/main
Browse files Browse the repository at this point in the history
Joomla! version matching fixes
  • Loading branch information
pussycat0x authored Sep 29, 2023
2 parents dd0d479 + 4afb8a0 commit aed5b2c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions http/technologies/joomla-detect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ info:
author: ricardomaia
severity: info
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:
- https://www.joomla.org/
- https://github.com/joomla/joomla-cms
Expand All @@ -20,11 +20,11 @@ info:
http:
- method: GET
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}}/language/en-GB/en-GB.xml" # >= 1.5.0 and <= 1.5.26
- "{{BaseURL}}/README.txt"
- "{{BaseURL}}/modules/custom.xml" # < 1.5.0
- "{{BaseURL}}" # >= 1.5.0 and <= 1.5.26

stop-at-first-match: true
host-redirects: true
Expand All @@ -44,13 +44,14 @@ http:
regex:
- '(?i)<meta.name="generator".content="(Joomla!).*/>'
- '(?i)Joomla_([\d.|\d]+)_version_history'
- 'FILES_JOOMLA_XML_DESCRIPTION'
condition: or

extractors:
- type: regex
name: version
group: 1
regex:
- "(?i)<version>(.*)</version>"
- '<version>(.*?)</version>'
- '(?i)Joomla_([\d.|\d]+)_version_history'
part: body

0 comments on commit aed5b2c

Please sign in to comment.