mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-imagify
|
||
|
||
info:
|
||
name: Imagify Image Optimization – Optimize Images | Compress Images | Convert WebP | Convert AVIF Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/imagify/
|
||
metadata:
|
||
plugin_namespace: imagify
|
||
wpscan: https://wpscan.com/plugin/imagify
|
||
tags: tech,wordpress,wp-plugin,top-100,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/imagify/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/imagify.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: 4a0a00473045022019e1c237d50bb0957367854deda51dcf3892ec5da386bdb8546bd44c2a70ed6e022100c4dbb11b36a1af6b8d9779c6359c8001f1bb617ca3a86aeb6feddd12f301eaf4:922c64590222798bb761d5b6d8e72950 |