Skip to content

Commit

Permalink
Auto WordPress Plugins Update [Thu May 11 04:02:11 UTC 2023] :robot:
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 11, 2023
1 parent 27e95ef commit f06f67f
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 3 deletions.
1 change: 1 addition & 0 deletions helpers/wordpress/plugins/gdpr-cookie-compliance.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4.12.2
2 changes: 1 addition & 1 deletion helpers/wordpress/plugins/nextgen-gallery.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.35
3.36
2 changes: 1 addition & 1 deletion helpers/wordpress/plugins/post-smtp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.0
2.5.1
2 changes: 1 addition & 1 deletion helpers/wordpress/plugins/shortpixel-image-optimiser.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.2.1
5.2.2
49 changes: 49 additions & 0 deletions http/technologies/wordpress/plugins/gdpr-cookie-compliance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
id: wordpress-gdpr-cookie-compliance

info:
name: GDPR Cookie Compliance (CCPA, DSGVO, Cookie Consent) Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/gdpr-cookie-compliance/
metadata:
plugin_namespace: gdpr-cookie-compliance
wpscan: https://wpscan.com/plugin/gdpr-cookie-compliance
tags: tech,wordpress,wp-plugin,top-200

http:
- method: GET

path:
- "{{BaseURL}}/wp-content/plugins/gdpr-cookie-compliance/readme.txt"

payloads:
last_version: helpers/wordpress/plugins/gdpr-cookie-compliance.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.]+)'

0 comments on commit f06f67f

Please sign in to comment.