From fbb0f42e2414bfcfaadf2cab4d09b4fb5658a1c4 Mon Sep 17 00:00:00 2001 From: Sle3pyHead Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] Added template for detect-woocommerce --- detect-woocommerce.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 detect-woocommerce.yaml 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