mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-02 16:53:25 +08:00
49 lines
1.3 KiB
YAML
49 lines
1.3 KiB
YAML
id: wordpress-woo-inpost
|
|
|
|
info:
|
|
name: InPost for WooCommerce Detection
|
|
author: mailler
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/woo-inpost/
|
|
metadata:
|
|
plugin_namespace: woo-inpost
|
|
wpscan: https://wpscan.com/plugin/woo-inpost
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/woo-inpost/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/woo-inpost.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: 490a0046304402200ebcf1ea9f56607e28be2ae473a03783e7325d8f9f58eebb793fe79fc05f7728022064f311983d472adffc6d7b763ed06e6f2796e66ee000126ab40a24f83a42a2e3:922c64590222798bb761d5b6d8e72950 |