mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-15 23:23:33 +08:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-pixelyoursite
|
||
|
||
info:
|
||
name: PixelYourSite – Your smart PIXEL (TAG) & API Manager Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/pixelyoursite/
|
||
metadata:
|
||
plugin_namespace: pixelyoursite
|
||
wpscan: https://wpscan.com/plugin/pixelyoursite
|
||
tags: tech,wordpress,wp-plugin,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/pixelyoursite/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/pixelyoursite.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: 4b0a0048304602210091abf1e57f3568b9f0055fc702c80f7cf437190d494d31007503f3fe7a24bbe0022100ab9dd7705af308a6a3f2980c40845ff3fec1b99d71c8f3593cf11f1f1514153c:922c64590222798bb761d5b6d8e72950 |