mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 01:03:34 +08:00
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
id: flexmls-idx-detect
|
|
|
|
info:
|
|
name: Flexmls IDX - Detect
|
|
author: rxerium,sorrowx3
|
|
severity: info
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: html:"/wp-content/plugins/flexmls-idx"
|
|
tags: tech,detect,flexmls,idx
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/flexmls-idx/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/flexmls-idx.txt
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
internal: true
|
|
name: internal_detected_version
|
|
group: 1
|
|
regex:
|
|
- '(?i)Stable.tag:\s?([\w.]+)'
|
|
|
|
- type: regex
|
|
part: body
|
|
name: detected_version
|
|
group: 1
|
|
regex:
|
|
- '(?i)Stable.tag:\s?([\w.]+)'
|
|
|
|
matchers-condition: or
|
|
matchers:
|
|
- type: dsl
|
|
name: "outdated_version"
|
|
dsl:
|
|
- compare_versions(internal_detected_version, concat("< ", last_version))
|
|
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '(?i)Stable.tag:\s?([\w.]+)'
|
|
# digest: 490a00463044022042b57f3c50d02639b539fd431f8f43d9a48112b0f28f0eb079dc754ad6a17b2902203d500be40b396af6f5c49c388ea0a5a29a11882de6860791ad38131d32185076:922c64590222798bb761d5b6d8e72950 |