mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-06 18:53:16 +08:00
54 lines
1.2 KiB
YAML
54 lines
1.2 KiB
YAML
id: wordpress-plugins-detect
|
|
|
|
info:
|
|
name: WordPress Plugins Detection
|
|
author: 0xcrypto
|
|
severity: info
|
|
metadata:
|
|
max-request: 100564
|
|
tags: fuzz,wordpress,fuzzing
|
|
|
|
flow: http(1) && http(2)
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET / HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "wp-content"
|
|
- "WordPress"
|
|
- "wordpress"
|
|
condition: or
|
|
internal: true
|
|
|
|
- raw:
|
|
- raw:
|
|
- |
|
|
GET /wp-content/plugins/{{pluginSlug}}/readme.txt HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
payloads:
|
|
pluginSlug: helpers/wordlists/wordpress-plugins.txt
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
words:
|
|
- "== Description =="
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
group: 1
|
|
regex:
|
|
- "===\\s(.*)\\s===" # extract the plugin name
|
|
- "(?m)Stable tag: ([0-9.]+)" # extract the plugin version
|
|
# digest: 4a0a004730450221008c06e0f02f3ae99cbe2afd234a86bef00dec97074e69bb185e3e3f3c711b5eba0220582d5fccaf06621f3e4eb8529a97251e04984f360c32507857b41c3cb540bd94:922c64590222798bb761d5b6d8e72950 |