40 lines
936 B
YAML
40 lines
936 B
YAML
id: wordpress-detect
|
|
|
|
info:
|
|
name: WordPress Detection
|
|
author: pdteam
|
|
severity: info
|
|
tags: tech,wordpress
|
|
metadata:
|
|
shodan-query: http.component:"WordPress"
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{RootURL}}"
|
|
|
|
redirects: true
|
|
max-redirects: 2
|
|
matchers-condition: or
|
|
matchers:
|
|
|
|
- type: regex
|
|
regex:
|
|
- '<link[^>]+s\d+\.wp\.com'
|
|
- '<!-- This site is optimized with the Yoast (?:WordPress )?SEO plugin v([\d.]+) -'
|
|
- '<!--[^>]+WP-Super-Cache'
|
|
condition: or
|
|
|
|
- type: word
|
|
words:
|
|
- '/wp-content/themes/'
|
|
- '/wp-includes/'
|
|
- 'name="generator" content="wordpress'
|
|
- '<!-- performance optimized by w3 total cache. learn more: http://www.w3-edge.com/wordpress-plugins/'
|
|
condition: or
|
|
|
|
extractors:
|
|
- type: regex
|
|
group: 1
|
|
regex:
|
|
- 'content="WordPress ([0-9.]+)"' |