Files
nuclei-templates/http/technologies/wordpress/plugins/siteguard.yaml
2025-05-14 06:30:34 +00:00

49 lines
1.3 KiB
YAML

id: wordpress-siteguard
info:
name: SiteGuard WP Plugin Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/siteguard/
metadata:
plugin_namespace: siteguard
wpscan: https://wpscan.com/plugin/siteguard
tags: tech,wordpress,wp-plugin,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/siteguard/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/siteguard.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: 490a0046304402206c77f9d4184288d43722d4af8eb0a5548cabf58b2fc5f40df38e56dc74022da802204b8e2f9f0180b3b6876f6c7b063dea073dd8913dc4472630488d09a64671dc09:922c64590222798bb761d5b6d8e72950