mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-09 04:03:16 +08:00
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
id: wordpress-password-protected
|
||
|
||
info:
|
||
name: Password Protected – Ultimate Plugin to Password Protect Your WordPress Content with Ease Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/password-protected/
|
||
metadata:
|
||
max-request: 1
|
||
plugin_namespace: password-protected
|
||
wpscan: https://wpscan.com/plugin/password-protected
|
||
tags: tech,wordpress,wp-plugin,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/password-protected/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/password-protected.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: 4b0a004830460221009badafdec35d1c733a5f2013d0d546b50cca750a01e52d4fdb6a131999c66144022100cac48cbc9245da2ae3f339937605e1b4f7dd66c68b97f0225fd609f64a187460:922c64590222798bb761d5b6d8e72950 |