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