mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 17:23:30 +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: 4a0a0047304502206dafbc97640191cdfea8aa14787e8dcee76d9c12ea5fd4293f3590a22fad7a08022100d24d33232081cc1f45ec00ac96e792b35d472ca8838861587ed42286c1b75e9f:922c64590222798bb761d5b6d8e72950 |