-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
Copy pathad-inserter.yaml
50 lines (42 loc) · 1.12 KB
/
ad-inserter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
id: wordpress-ad-inserter
info:
name: Ad Inserter – Ad Manager & AdSense Ads Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/ad-inserter/
metadata:
max-request: 1
plugin_namespace: ad-inserter
wpscan: https://wpscan.com/plugin/ad-inserter
tags: tech,wordpress,wp-plugin,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/ad-inserter/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/ad-inserter.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.]+)'