mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-02 08:43:27 +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: 490a0046304402206ed0f2f33941862b49405885578b63669aa237507f2d033818f30de8ba28a49f0220434a6553a875588f241806463fdb1733870be755b7bc4906b7874d91e652c179:922c64590222798bb761d5b6d8e72950 |