diff --git a/detect-woocommerce.yaml b/detect-woocommerce.yaml new file mode 100644 index 00000000000..37a3f2471a4 --- /dev/null +++ b/detect-woocommerce.yaml @@ -0,0 +1,28 @@ +id: detect-woocommerce + +info: + name: WooCommerce Plugin Detection + author: aastikgakhar + severity: info + description: | + Detects if the WooCommerce plugin is installed on a website by checking for its readme file or other identifying markers. + tags: e-commerce, wordpress, woocommerce + +http: + - method: GET + path: + - "{{BaseURL}}/wp-content/plugins/woocommerce/readme.txt" + - "{{BaseURL}}/wp-content/plugins/woocommerce/assets/css/woocommerce.css" + + matchers-condition: or + matchers: + - type: status + status: + - 200 + - type: word + words: + - "WooCommerce" + part: body + - type: regex + regex: + - "WooCommerce Plugin" \ No newline at end of file