mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +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: 4a0a0047304502204f64b0bf8d5eece665dc3234c773553f23dceb0c0b1b07a247ec76ba6ac7593a022100c942317baeefa9c8c859abe6ec5bebd133481d76b67365d77608570f3dafcbbe:922c64590222798bb761d5b6d8e72950 |