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: 490a0046304402203b2688153a8b9a5c05a3fcbae3304e80669daf72554a98016d7000386a97bed4022068d9faebc119f4fdb19202d0e6c85ef0e4335522aa4f9d876f52870100af345f:922c64590222798bb761d5b6d8e72950 |