mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 01:03:34 +08:00
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
id: wordpress-easy-wp-smtp
|
||
|
||
info:
|
||
name: Easy WP SMTP – WordPress SMTP and Email Logs' Gmail, Office 365, Outlook, Custom SMTP, and more Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/easy-wp-smtp/
|
||
metadata:
|
||
plugin_namespace: easy-wp-smtp
|
||
wpscan: https://wpscan.com/plugin/easy-wp-smtp
|
||
tags: tech,wordpress,wp-plugin,top-200,discovery
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/easy-wp-smtp/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/easy-wp-smtp.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: 4b0a004830460221009886ce80061da493e59370863a4717f01c0af3f9a4ce5ee403de13b89dc6189f022100c209230bd3f7022c8459a442441fc5d9872befe2511f1da33020c4cc3f339ec9:922c64590222798bb761d5b6d8e72950 |