mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 17:23:30 +08:00
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-ocean-extra
|
|
|
|
info:
|
|
name: Ocean Extra Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/ocean-extra/
|
|
metadata:
|
|
plugin_namespace: ocean-extra
|
|
wpscan: https://wpscan.com/plugin/ocean-extra
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/ocean-extra/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/ocean-extra.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: 4a0a0047304502206aa8c2454d840deb0ac7ff633a6cca1f99ec98b82c14277e2eb0d961aa213f5b022100a1c8feb4b87b65ba0a0dd27da21801796c60d3b93fca65e2287cd0f7574420fd:922c64590222798bb761d5b6d8e72950 |